4 Replies Latest reply on Jul 12, 2008 11:34 AM by gibiman

    modalPanel and h:input not working  - BUG ?

    gibiman

      Hi ,


      I tried adding an h:input to a modalPanel and it didn't work . I removed the modalPanel and all worked smoothly .

      here is my code :

      <f:loadBundle basename="ro.msf.messages.labels" var="msg" />
      <f:loadBundle basename="ro.msf.messages.errors" var="errors" />
      <f:loadBundle basename="ro.msf.messages.componentSizes" var="size" />
      <f:view>
       <html>
       <head>
       </head>
       <body>
       <a4j:form>
      
       <rich:modalPanel id="panel"
       width="#{size.subview_cumparator_modalPanelWidth}"
       height="#{size.subview_cumparator_modalPanelHeight}">
      
       <f:facet name="controls">
       <h:panelGroup>
       <h:graphicImage value="/images/modal/close.png"
       style="cursor:pointer" id="hidelink" />
       <rich:componentControl for="panel" attachTo="hidelink"
       operation="hide" event="onclick" />
       </h:panelGroup>
       </f:facet>
       <h:outputText id="test" value="test :#{clientsBean.clientSelectat}"></h:outputText>
      
       <h:inputText styleClass="inputText"
       value="#{clientsBean.clientSelectat}" id="text" />
       <a4j:commandButton styleClass="commandButton"
       id="SDSDSDSDSDSDSDSDSDSSSDDDDSDDSDD"
       value="#{msg.subview_cumparator_MeniuSelectareClient_EtichetaButonSubmit }"
       action="#{ clientsBean.fillClientBeanWithSelectedClient}"
       reRender="panel,cumparatorTable" />
       </rich:modalPanel>
       <h:outputLink value="#" id="linkNume">
       <h:outputText styleClass="subviewCumparatorOutputText"
       value=" #{ client.numeClient} SRL" />
       <rich:componentControl for="panel" attachTo="linkNume"
       operation="show" event="onclick" />
       </h:outputLink>
       </a4j:form>
      
       </body>
       </html>
      </f:view>