Java Mailing List Archive

http://www.junlu.com/

Home » users.myfaces »

Use a button in a sheet and open a popup with the same row

AM

2012-03-26

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello!

I have a tc:sheet and I want for each row a button.
This button has to open a pop up.

^^ it works well!

My problem is that I would like to get the data from a row, which
button I had clicked.

<tc:sheet value="#{suchController.suchPerGesuchter}" var="perGes" columns="*;*">

    <tc:column label="NAME">   <tc:out value="#{per [0]}" /> </tc:column>

    <tc:column>
      <jsp:include page="/PopUp.jsp" /> <tc:button label="TEST" />--%>
      <tc:panel>

          <tc:button label="Detail">
            <f:facet name="popup">
               <tc:popup width="950" height="400">
                  <tc:box label="Details">
                    <f:facet name="layout">
                       <tc:gridLayout columns="*" rows="*;fixed"/>
                    </f:facet>
                    <tc:panel>
                       <f:facet name="layout">
                          <tc:gridLayout
columns="*;*;*;*;*" rows="fixed"/>
                       </f:facet>
                       <tc:out value="PRINT ANOTHER INDEX
OF THE ROW BEFORE " />
                    </tc:panel>
      …..
  </tc:sheet>
©2008 junlu.com - Jax Systems, LLC, U.S.A.