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

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

    deiver2005

      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.

      error.png

       

      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"
                      xmlns:h="http://java.sun.com/jsf/html"
                      xmlns:f="http://java.sun.com/jsf/core"
                      xmlns:ui="http://java.sun.com/jsf/facelets"
                      xmlns:a4j="http://richfaces.org/a4j"
                      xmlns:rich="http://richfaces.org/rich">
          <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" />
                  </h:commandButton>
                  <rich:popupPanel id="popup" modal="false" autosized="true" resizeable="false">
                      <f:facet name="header">
                          <h:outputText value="Simple popup panel" />
                      </f:facet>
                      <f:facet name="controls">
                          <h:outputLink value="#" onclick="#{rich:component('popup')}.hide(); return false;">
                              X
                          </h:outputLink>
                      </f:facet>
                      <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>
                  </rich:popupPanel>
              </ui:define>
          </ui:composition>
      </ui:composition>

       

       

      Please, I need help !!

       

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

       

      Thank you

       

      Thank you