1 Reply Latest reply on May 5, 2009 8:21 PM by Nick Belaevski

    rich modal panel and seam bean

    Smitha Ramaswamy Newbie

      I have a main page where I have a html button to invoke the modal panel window. I have some heavy business logic in the backend bean that needs to be called when the modal panel is invoked, one of the method in the bean initializes the list.

      So I am unable to invoke the bean method when modal in invoked, either add button is clicked.

      I have run out of ideas after trying couple of things. Help appreciated.

      Here is the code:

      <h:form>
       <div class="actionButtons">
      
       <h:commandButton id="add" styleClass="button"
       value="Add"
       onclick="return false"
       action="#{objectPickerManager.populateAvailableList}">
       <rich:componentControl for="objectPicker" attachTo="add" operation="show" event="onclick"/>
       </h:commandButton>