This content has been marked as final.
Show 2 replies
-
1. Re: Modalpanel
miguelcpjava May 2, 2008 1:39 PM (in response to miguelcpjava)"MiguelCPJava" wrote:
hey everybody good afternoon,
I would like to know, how i do to button to works
my code is this<rich:modalPanel id="panel" width="750" height="300"> <f:facet name="header"> <h:panelGroup> <h:outputText value="Dados"></h:outputText> </h:panelGroup> </f:facet> <f:facet name="controls"> <h:panelGroup> <h:graphicImage value="/close.png" style="cursor:pointer" id="hidelink"/> <rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/> </h:panelGroup> </f:facet> <table id="mainDataTable"> <tr> <td> <h:outputText value="Confira os dados: " style="font-style: italic; font-size: 1.5em"/> </td> </tr><br/> <br/> <tr> <td> <h:outputText value="Nome:" style="font-style: italic"/></td> <td> <h:outputText id="textnome" value="#{ususario.nome}"/> </td></tr> <tr> <td> Sobrenome</td> <td> <h:outputText id="textsobrenome" value="#{ususario.sobrenome}"/> </td></tr> <tr> <td> CPF </td> <td><h:outputText id="textcpf" value="#{ususario.cpf}"/></td></tr> <tr> <td> Endereço </td> <td> <h:outputText id="textendereco" value="#{ususario.endereco}"/></td> </tr> <tr> <td> <h:commandButton id="inser" value="Inserir Dados" action="#{ususario.inserir}" /> </td> <td> </td> </tr> </table> </rich:modalPanel>
the action of commandbutton don´t works and i don´t know what i do. -
2. Re: Modalpanel
eicki May 9, 2008 6:29 PM (in response to miguelcpjava)The modal panel must define its own form as due to some ie bug it is moved to the top of the dom so buttons won't work if the panel does not define its own form.