On 9/21/06, Stefan Puchmann <[EMAIL PROTECTED]> wrote:
Simply try to set a value in the selectOneMenu:
<h:selectOneMenu required="true" value="#{whateveryouwant}">
<f:selectItems value="#{tableform.tables}"/>
</h:selectOneMenu>
Even that doesn't work. Earlier I was getting an error, value is not a string. I was using value="#{tableform.selectedTable}" with the get method returning a new SelectItem("Table 1", "1");
Then I tried with an ordinary getter. That doesn't work either, probably because the default value is still null.
No idea what I am missing. :-|
Aneesha

