0 Replies Latest reply on May 21, 2012 11:25 AM by Madhu K

    list shuttle is working alternatively..

    Madhu K Newbie

      Hi,

       

      I am using the two list shuttle components to satisfy the business need. First time it is working fine, second time i am getting following error.. it is working alternatively..

       

      11:23:16,466 INFO  [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.

      sourceId=bodyTile:manageSysSettingForm:test1ID:OrderByIDTwo[severity=(ERROR 2), summary=("Component bodyTile:manageSysSettingForm:test1ID:OrderByIDTwo has invalid value expression xxxxxx"), detail=("Component bodyTile:manageSysSettingForm:test1ID:OrderByIDTwo has invalid value expression xxxxxx")]

       

      and here is the code snippet...

       

      <rich:listShuttle sourceValue="#{manageSystemSettingsBean.totalAvailableFieldsList}" converter="ListShuttleDataConverter"

                                                                                                 id="OrderByID" sourceCaptionLabel="#{bundle['Manage System Settings,page.label.AvailableFields']}" targetCaptionLabel="#{bundle['Manage System Settings,page.label.TotalSelectedFields']}"

                                                                                                targetValue="#{manageSystemSettingsBean.totalSelectedFieldsList}" var="items" switchByDblClick="false" oncopyclick="disableInputControls('portalsettingsCallout');" onremoveclick="disableInputControls('portalsettingsCallout');"

                                                                                                listsHeight="170" sourceListWidth="150" targetListWidth="150" style="border-style:solid; border-color:#bcbbb7;border-width: 1px;background-color:#FFFDF7;"

                                                                                                fastMoveControlsVisible="false" fastOrderControlsVisible="false" >

                                                                                      <rich:column>

                                                                                                <t:outputText value="#{items}" />

                                                                                      </rich:column>  

                                                        <a4j:support id="a4jSearchBestSuccessorsBtn" event="onlistchanged" actionListener="#{manageSystemSettingsAction.copySelectedFields}" oncomplete="enableInputControls('portalsettingsCallout');" reRender="OrderByIDTwo,freezeFld" />

                                                        </rich:listShuttle>

                                                        <h:panelGrid columns="1" columnClasses="userFormLableTextAlign">

                                                                  <h:outputText id="defaultFldMssg" value="#{bundle['Manage System Settings,page.label.SelectedFields']}" />

                                                                  <h:outputText id="maxDefaultMessage" value="#{bundle['Manage System Settings,page.label.MaxDefaultFields']}" styleClass="runningTextBold"/>

                                                        </h:panelGrid>

                                                        <rich:listShuttle sourceValue="#{manageSystemSettingsBean.selectedFieldsList}" converter="ListShuttleDataConverter"

                                                                                                 id="OrderByIDTwo" sourceCaptionLabel="#{bundle['Manage System Settings,page.label.SelectedFields']}" targetCaptionLabel="#{bundle['Manage System Settings,page.label.DefaultFields']}"

                                                                                                targetValue="#{manageSystemSettingsBean.defaultFieldsList}" var="etems" switchByDblClick="false" oncopyclick="disableInputControls('portalsettingsCallout');" onremoveclick="disableInputControls('portalsettingsCallout');"

                                                                                                listsHeight="170" sourceListWidth="150" targetListWidth="150" style="border-style:solid; border-color:#bcbbb7;border-width: 1px;background-color:#FFFDF7;"

                                                                                                fastMoveControlsVisible="false" fastOrderControlsVisible="false">

                                                                                      <h:column>

                                                                                                <h:outputText value="#{etems}" />

                                                                                      </h:column>

                                                                                      <a4j:support id="rerenderFreezeButton" event="onlistchanged" actionListener="#{manageSystemSettingsAction.copySelectedFields}" oncomplete="enableInputControls('portalsettingsCallout');" reRender="recrSett,freezeFld" />  

                                                        </rich:listShuttle>

       

      Please suggest someone..i appreciate your help..

       

      Thanks...