This content has been marked as final.
Show 3 replies
-
1. Re: getting value from combobox
nbelaevski Jun 5, 2009 5:38 AM (in response to sparklink)Hi,
<rich:comboBox value="#{...}"> should be enough. Does this work well with a4j:commandLink? -
2. Re: getting value from combobox
sparklink Jun 5, 2009 11:36 PM (in response to sparklink)i haven't try yet with a4j:commandLink but i think it's quite similar with a4j:support, doesn't it? i'm able to fetch all data from database using :
<rich:comboBox id="combo1"> <f:selectItems value="#{someClass.list}"/> </rich:comboBox>
But once i select an item, i cannot get what value is the selected item.. any clue? because it's quite different with native HTML combo box... -
3. Re: getting value from combobox
timbooo Jun 6, 2009 8:54 AM (in response to sparklink)"sparklink" wrote:
i haven't try yet with a4j:commandLink but i think it's quite similar with a4j:support, doesn't it? i'm able to fetch all data from database using :<rich:comboBox id="combo1"> <f:selectItems value="#{someClass.list}"/> </rich:comboBox>
But once i select an item, i cannot get what value is the selected item.. any clue? because it's quite different with native HTML combo box...<rich:comboBox id="combo1" value="#{someClass.string}"> <f:selectItems value="#{someClass.list}"/> </rich:comboBox>
as nbelaevski already said.
tim