2 Replies Latest reply on Mar 17, 2008 4:35 PM by rhephner

    DataTable + ModalPanel?

      I'm using a RichFaces DataTable to present data. When a row in the table is clicked, I'd like to present the user with a form inside of a modalPanel that asks for information specific to the row clicked. Here sis the code:


                                         <rich:componentControl event="onRowClick" for="assignmentPanel"                     operation="show">
      <f:param value="#{match.nodeId}" name="nodeId"/>
      </rich:componentControl>


      Each row is a match object with a property of nodeId. If I can get the nodeId into the modalPanel, I can add it to the modalPanel Form data.


      I'm referencing the nodeId within the ModalPanel as {nodeId}, but it isn't interpolating.


      I'm using the example listed here: http://livedemo.exadel.com/richfaces-demo/richfaces/componentControl.jsf


      as a guide.


      Anyone have any ideas how I can get a parameter into a Modal Panel?


      Thanks.