hello all,
i'm wondering can anybody else help me with this issue.(please say it’s a
common problem and easily fixable)
i have a selectManyCheckbox within a datatable , heres the snippet
<t:column id="checkboxCOL">
<f:facet name="header">
<t:selectManyCheckbox id="items" layout="spread"
value="#{supplierProductPortSetEditTab.checkedPortItems}" immediate="true">
<f:selectItems
value="#{supplierProductPortSetEditTab.availablePortSetSelectItems}"/>
</t:selectManyCheckbox>
</f:facet>
<t:checkbox for="items" index="#{index}"/>
</t:column>
where checkedPortItems is of type Long[] .
i get what seems to be the common error of “Value is not a valid option.”
when I make a submit (commandButton not shown as its irrelevant );
also the Type in the SelectItems is of Type Long.
I have tried different Types (Long ,String, int, long) and still no success.
Also when I use a List for checkedPortItems instead of an array of objects
it still doesn’t help.
removing the selectManyCheckbox from the dataTable and constructing it
normally also doesn’t help.
The said datatable is sitting within <t: panelTab>
I’m using myfaces-api-1.1.3 and myfaces-impl-1.1.3
With tomahawk tomahawk-1.1.3 (recently upgraded from version 1.1.2 hoping
the issue would disappear)
Also with tomahawk 1.3 most links appear to break!(such as collapsiblePanel
link and table sort header links)
Also this isn’t one of those lazy post (normally don’t post as I normally
resolve issues is good time, am also relatively new to JSF), and I have
genuinely tried every possible scenario to get this working, but this
honestly has me perplexed.
Thanks in advance
Ivan
--
View this message in context:
http://www.nabble.com/selectManyCheckbox-issue-t1809976.html#a4932639
Sent from the MyFaces - Users forum at Nabble.com.