0 Replies Latest reply on May 29, 2012 10:43 AM by deiver rovira

    popupPanel problem with RF4.0 y JSF 2.0, WebLogicServer 10.3 the popup is shown as an image

    deiver rovira Newbie

      HI, i have a big problem with a popupPanel, I'm using richFaces 4.0 and JSF2.0, I'm trying with the code in the Jboss comunitty example, but it doesn't works...when I click the button, the popup shows as a image and not as a popup.



      please.. helpme.. this is the code: http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=popup&skin=blueSky


      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
          <ui:composition template="/view/template/home.xhtml">
              <ui:define name="title">Validación de Direcciones Online</ui:define>
              <ui:define name="message"> #{validarDirUnoAUnoMBean.message}</ui:define>
              <ui:define name="content">
                  <h:commandButton value="Call the popup">
                      <rich:componentControl target="popup" operation="show" />
                  <rich:popupPanel id="popup" modal="false" autosized="true" resizeable="false">
                      <f:facet name="header">
                          <h:outputText value="Simple popup panel" />
                      <f:facet name="controls">
                          <h:outputLink value="#" onclick="#{rich:component('popup')}.hide(); return false;">
                      <p>Any content might be inside this panel.</p>
                      <p>             The popup panel is open and closed from the javascript function of component client side object. The following code            
                          <a href="#" onclick="#{rich:component('popup')}.hide()">hide this panel</a>:
                          <f:verbatim>&#35;</f:verbatim>{rich:component('popup')}.hide()         </p>



      Please, I need help !!


      PS: If any piece of code is required just tell me and I'll upload it


      Thank you


      Thank you