jsf - h:selectManyCheckbox loses values when navigating -
Text after "
My problem is that: selectManyCheckbo loses values when navigating, here's my code below:
& lt; H: selectManyCheckbox id = "selectGroupsBox" value = "{userCreationWizardBean.selectedGroupsId}" layout = "page direction" & gt; & Lt; F: selectItems var = "group" value = "# {userCreationWizardBean.terminalsGroups}" itemLabel = "# {terminalsGroup.groupName}" itemValue = "# {terminalsGroup.id}" itemDisabled = "# {Group.defaultGroup}" & gt; ; & Lt; / F: selectItems & gt; & Lt; P: ajax event = "change" update = ": form-top-wizard: numBase" process = "selectGroupsBox" listener = "# {userCreationWizardBean.selectedGroupListner}" & gt; & Lt; / P: ajax & gt; & Lt; / H: selectManyCheckbox & gt; If I go back and forth using my navigation pad, then the checkbox loses value:
& lt; Div id = "top-wizard" class = "# {class}" & gt; & Lt; Ul & gt; & Lt; Li class = "prime minister # {wizard_step == '0'" _ active ':' '?} "& Gt; & Lt; P: commandLink action = "# {userCreationWizardBean.getViewAt (0)}" ajax = "true" update = ": msg-form: popup_face-message" /> & Lt; / Li & gt; & Lt; Li class = "Deuxième # {wizard_step == '1'" _active ':' '?} "& Gt; & Lt; P: commandLink action = "# {userCreationWizardBean.getViewAt (1)}" ajax = "true" update = ": msg-form: popup_face-message" /> & Lt; / Li & gt; & Lt; Li class = "Troisieme # {wizard_step == '2'" _active ':' '} "& gt; & Lt; P: commandLink action = "# {userCreationWizardBean.getViewAt (2)}" ajax = "true" update = ": msg-form: popup_face-message" /> & Lt; / Li & gt; & Lt; Li class = "quatrieme # {wizard_step == '3'? _ _ Active '}' '}}
I believe the problem you are facing is the fact That the value of an incompatible component or item is not sent to the server .. I am also trying to find an alternate solution. See that it can be helpful.
Comments
Post a Comment