To my strange i changed the jsp code to this
<h:panelGrid columns="1" columnClasses="top,top"> <h:panelGrid columns="2"> <h:outputText value="Course Name to approve : " /> <rich:comboBox value="#{approveCoursesBean.courseName}" directInputSuggestions="true" defaultLabel="Enter Course Name"> <f:selectItems value="#{nominationSessionBean.courseNames}" /> </rich:comboBox> <a4j:commandButton value="Get Nominated List" action="#{approveCoursesBean.populateNominationListBasedOnCourseSelected}" rendered="approveLS" /> </h:panelGrid> <rich:spacer height="20" /> <rich:listShuttle sourceValue="#{approveCoursesBean.approvedList}" targetValue="#{approveCoursesBean.nominatedList}" var="people" sourceCaptionLabel="Nominated people" targetCaptionLabel="Approved people" id="approveLS" converter="approveCoursesConverter"> <rich:column width="18"> <h:graphicImage value="#{people.iconURI}" width="30px" height="30px" /> </rich:column> <rich:column> <h:outputText value="#{people.userId}" /> </rich:column> <rich:column> <h:outputText value="#{people.userName}" /> </rich:column> <!--<a4j:support event="onlistchanged" reRender="toolBar" /> <a4j:support event="onorderchanged" reRender="toolBar" /> --> </rich:listShuttle> </h:panelGrid>
rendered="approveLS" and how this should be evaluated? :)
Oooops ...!!! :-P
that solved teh issue thanks a lot ilya.