combobox selected attribute removed?
I am using Netbeans 5.5 with Visual Web Pack. I've installed the JMaki plugin,
placed a combobox widget on a page and used the "value" attribute of the tag to
load the list data from a session bean. So far, so good.
Now I want to use the "selected" attribute to get the currently selected item
from the session bean. I've used the pattern I've seen in various
JMaki documentation -- such as
"Using JMaki Widgets as JavaServer Faces Components" -- to create the tag:
The "value" attribute works fine for me. However, when I add the
"selected" attribute I get an error message indicating the "selected"
attribute is not valid for a combobox. Looking at some recent forum
answers/blog entries it looks like the "selected" attribute has indeed
been removed from the JMaki 1.0. So, how do I bind the combobox
currently selected item to the "SessionBean1" session bean?