Let RichFaces calendar's drop down menu be always opened - calendar

Usually the RichFaces calendar widget drop down menu, that helps the user choosing a date, appears only if you click this widget's icon. Is there a chance to have this drop down menu be opened by default? I want the user to always see all dates as I want to add some meta information for each day, e. g. coloring.

Ok, here we go. Setting popup to false is the answer.
<rich:calendar value="#{bean.selectedDate}" id="calendar" locale="de_DE"
      popup="false" datePattern="dd/MM/yyyy HH:mm" cellWidth="24px" cellHeight="22px">
</rich:calendar>

Related

oracle database modeler missing toolbar

I am fairly new to oracle database modeler. the first time I ran the application I seem to noticed that my toolbar isnt showing. is there a way to activate it?missing toolbar
Right click on the Logical Model and select "Show". A new window opens up in the middle section and the tool bar should appear.
Hope it helps.
It is not missing. You're not on the right item(page). Go to the view/subview and open a model (diagram) and the toolbars will appear. The toolbar changes based on the page. You're currently on the home page. Easiest way to see the page is double click on the sub-view and it will open a new diagram and the toolbar should appear.
If toolbar does not appear although doing all steps in previous responses try this:
Click "Tools" and then "Preferences"
Select "Environment" option.
In the dropdown of "Appearence" change the selected option (Usually are 'Oracle' and 'Windows').
Click in 'Ok' to save changes.
After step 4 the program will require to be restarted, accept it and when it restarts the toolbar will be visible again.
Click View
->Go to Drop Down and click Browser
->To the left of the "data modeler screen" click
under Browser and click Logical Model Drop
down and then Subviews
->Once you click Subviews, click new Subview and
then this will create the new view (in the middle screen) along with
displaying the toolbar
Hope this helps!
On macos, you should double click on the Logical Model tab in the browser. Then check the "visible" box and "apply".

Outlook, change text size in group calender

I need to change the text size in my group calendar. (The calendar that shows an overview of the content of my colleagues calendars)
Can anyone tell me where to do this? - Can't find anything about it using google.
Thx
(Can't post picture of the icon opening the calendar, as I'm new at this site.)
To change the font type that is used in your Calendar, right click an empty space in your Calendar and from the context menu choose: Other Settings
Here you can set different fonts for the Time, general text and your Monthly calendar. Additionally you can set if certain items should show in bold or not.

need way to close datebook when shown inline

I am using the stable version jQM DateBox with JQM 1.4.5 and jQuery 2.
I have a popup form that has a datebook widget on it. I use inline blind because the initial value is set for the date. But the user can click into the field, the datebook opens up the calendar and the user can pick a new date.
However, if the user opens up the datebook calendar, there's no way to close it without them picking a date. It would be nice if either clicking on the date field again closes the calendar (like a toggle) or there's an explicit close button that is shown when the calendar is shown.
Thanks.

GtkNotebook: Appending to the Default Popup Menu

Is there a way to append a menu item to the popup menu that appears by default on right-clicking a GtkNotebook's tab (the one that contains the names of all the open tabs)?
As a somewhat gross hack, it might be possible to use gtk_notebook_get_menu_label() to get the GtkLabel in one of the tab's menu items on that menu, and then use parent-walking from there to find the menu.
Possibly this only works when the menu is being realized/shown, you could try adding event handlers on that label to detect that.
On the other hand, user4815162342's suggestion of re-implementing the menu is way easier.
Looking at the source code, it would appear that there is no way to append to the existing menu: the menu is kept in a private structure, and it is popped up directly on button-press event.
You can disable the default menu, connect to button-press event, and popup your own menu.

how can I know how a popup menu was closed?

I have a WPF DatePicker, and like any datepicker, it has a built-in calendar that you can open by clicking on the small calendar icon.
this calendar is put in a popup menu, so that it behaves like one, i.e.: once it is opened, there are 2 ways to close it:
Validate you choice (click on a date with the mouse, hit "Enter" with a date highlighted, etc...)
cancel (hit "Echap", click outside the popup, etc...)
My problem is, I need to know which one was used, and I can't seem to find a way to do this.
Right now I listen to the "CalendarClosedEvent" but it doesn't tell me How the calendar was closed.
I also used the "PreviewKeyDownEvent" to trap the "Echap" key, which works well, except it does not cover the case when the user clicks outside the calendar to close it.
Is there a way to do this? if so, what is it?
(NB: I'd be happy with a generic answer about the popup menu object and not the calendar object in the datePicker)
For the DatePicker at least, you can set the SelectedDate to null (which is actually the default so, just leave it). Then the SelectedDateChanged fires any time the user clicks inside the control.
This is the only thing I could find to mark a difference. Hope it helps.

Resources