Hi;

 

I want to use <s:selectedManyPickList> in Jenia4Faces popup-box <jp:popupBox>

for dataselection. How is it possible to determine the SelectedItems in the selectedManyPickList.

in the methode assumeUserGroup, as the set-methode of the managed bean does not work.

I have tried to find out the SelectedItems by determine the UIComponet (HtmlSelectManyPicklist).

But I have not found a solution.

 

Sourcecode:

 

<jp:popupBox id="popupBox_document_authority_id">

                        <f:facet name="button">

                             <h:outputText value="#{documentAuthority_messages['document_authority_addusergroup']}" />

                        </f:facet>

                        <f:facet name="content">

                             <h:panelGrid id="panelGrid_document_authority_user_group_id" columns="1" styleClass="panelGrid_document_authority_user_group" rowClasses="panelGrid_document_authority_user_group_row">

                                   <h:panelGroup>

                                         <s:selectManyPicklist id="selectManyPicklist_document_authority_user_group_id" styleClass="selectManyPicklist_document_authority_user_group" size="12" immediate="true" value="#{documentAuthorityManagedBean.listSelectedUserAndGroup}"

                                               valueChangeListener="#{documentAuthorityManagedBean.onChangedListSelectedUserAndGroup}">

                                               <f:converter converterId="resourceConverter" />

                                               <f:selectItems value="#{documentAuthorityManagedBean.listAvailableUserAndGroup}" />

                                         </s:selectManyPicklist>

                                   </h:panelGroup>

                                   <h:panelGroup>

                                         <t:commandLink value="#{button_messages['button_assume']}" action="#{documentAuthorityManagedBean.assumeUserGroup}" />

                                         <f:verbatim>&nbsp;&nbsp;</f:verbatim>

                                         <t:commandLink value="#{button_messages['button_cancel']}" action="#{documentAuthorityManagedBean.cancelUserGroup}" />

                                   </h:panelGroup>

                             </h:panelGrid>

                        </f:facet>

                  </jp:popupBox>

 

 

Best

 

Regards

 

Matthias Köhler

--------------------------------------------------------
empolis GmbH
part of arvato: a Bertelsmann company
An der Autobahn

Tel. +49 (0) 5241 - 80-89635
http://www.empolis.com

[EMAIL PROTECTED]

 

 

Reply via email to