Hi Boris,

inside the <tc:button/> , place the popup related code and u ll be getting the 
popup when the button is clicked.

Hope this code snippet helps you

<tc:sheet>
<tc:column label="Click Button" >
<tc:button label="Click Here" id="buttonId">
  <tc:attribute name="renderedPartially" value="sheetConfigPopup"/>
    <f:facet name="popup">
       <tc:popup width="400px" height="400px" id="sheetConfigPopup">
            <tc:box label="Popup">
                <%-- Your contents goes here --%>
            </tc:box>
       </tc:popup>
    </f:facet>
  </tc:attribute>
</tc:button>
</tc:column>
</tc:sheet>

Regards,
Madan
    

----- Original Message ----
From: Boris Kovalenko <[EMAIL PROTECTED]>
To: MyFaces Discussion <[email protected]>
Sent: Friday, 6 April, 2007 2:16:30 PM
Subject: [Tobago] More popup example

Hello!

    How to use tc:popup? I looked into sheet example but can't 
understand how to implement with my code. What I wan to do:
I have a sheet where rows are displayed. Each row has a column with 
tc:button. I want when user press the button the popup open with edit 
form. Thanks in advance.

With respect,
    Boris








                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Reply via email to