voyent
Messages posted by: aberrant80  XML
Profile for aberrant80 -> Messages posted by aberrant80 [33] Go to Page: Previous  1, 2, 3
Author Message
What is the proper way of localizing ice:commandButtons? I am using unicode encoding for localization. Both outputText and commandButtons don't work because they use the value attribute. I supposed the value attribute isn't parsed with locale information. The label attribute of outputLabel works as expected.

I find using the value attribute for button labels to be counter-intuitive, since the value should be allowed different from the label. May I ask what is the correct way of handling this? Pointing me to some reference is also very much appreciated. Thanks.
Hi, here it is:

<ice:selectOneListbox value="#{mybean.selectedItem}"
styleClass="listStyle">
<f:selectItems value="#{mybean.allItems}" />
</ice:selectOneListbox>

Wrapped inside a panelGroup and then a panelGrid. The listbox looks like a combobox when my list of items is empty or just has 1 item. Could this be a Firefox problem? I'm still trying to figure out which script is preventing my app from working in IE.
Hi, I have a question regarding selectOneListbox.

Apaprently, if I have 0 or 1 item inside it, the component actually renders like an elongated combobox. When I add more items, the component will switch back to look like a normal listbox (with the scrollbars and all). So it the listbox is rendered as a combobox with 0 or 1 item, but rendered as a listbox with 2 items or more.

What I'm not sure is if this is a bug, or just some attribute or style that I've overlooked.
 
Profile for aberrant80 -> Messages posted by aberrant80 [33] Go to Page: Previous  1, 2, 3
Go to:   
Powered by JForum 2.1.7ice © JForum Team