4 Replies Latest reply on Nov 17, 2009 6:31 AM by ilya_shaikovsky

    modelPanel.js not implemented error

      I'm using browser IE8. And the hide function on modalpanel doesn't work under


      <rich:modalPanel id="errormsg" autosized="true" height="35">
      <f:facet name="header">
      <h:panelGroup>
      <h:outputText value="#{msg.title}" />
      </h:panelGroup>
      </f:facet>

      <h:outputText value="#{msg.javascripterror_email_ctrl_v_key}" />





      <a4j:commandButton
      value="#{msg.button_o_warning_close}"
      onclick="javascript:Richfaces.hideModalPanel('errormsg');return false;" />



      </rich:modalPanel>

        • 1. Re: modelPanel.js not implemented error

          Hi,

          This is my Actual code. Pls can u help me any one

          <rich:modalPanel id="app" autosized="true" height="35">
           <f:facet name="header">
           <h:panelGroup>
           <h:outputText value="#{msg.title}" />
           </h:panelGroup>
           </f:facet>
           <img alt="warning"
           src="<%=request.getContextPath() %>/image/warningtext.GIF" />
           <h:outputText value="#{msg.message_email}" />
          
          
           <a4j:commandButton
           value="#{msg.button_confirm_submit}"
           id="updateconfirmbutton"
           action="#{AppAction.updateApp}"
           reRender="apppoll,updateapp"
           onclick="javascript:Richfaces.hideModalPanel('app');" />
          
           <a4j:commandButton
           value="#{msg.button_confirm_cancel}"
           onclick="javascript:Richfaces.hideModalPanel('app');" />
          
          </rich:modalPanel>



          Regards,
          Tharves

          • 2. Re: modelPanel.js not implemented error
            ilya_shaikovsky

            you missed form in modal panel.

            • 3. Re: modelPanel.js not implemented error

              Hi ilya,

              Thanks for your reply.

              I am newer of richfaces. I didn't get your answer. I am using

              <a4j:form id="upappl">

              //The above code i am using here
              </a4j:form>

              I don't know, where i made mistake .

              Tharves

              • 4. Re: modelPanel.js not implemented error
                ilya_shaikovsky

                read please about form and modal panel limitations in developer guide section for modal panel component.