1 Reply Latest reply on Sep 28, 2010 6:48 AM by amarkhel

    Rich skin lost with include page in modalPanel.

    chakri_jboss

      hello all ,

       

      can some one suggest me how can i add a webpage in modalPanel popup? i tried using <a4j: include viewId="/mypage.xhtml"/> and also

       

      <ui:include src="/mypage.xhtml"> but of them resulted in losing the richfaces skin upon rendering. my code is

       

      <rich:modalPanel id="wizard" zindex="20">

       

                      <f:facet name="header">New Picture</f:facet>
                      <f:facet name="controls">
                          <h:panelGrid>
                              <a4j:commandButton value="X" action="closeImageWizard"
                                  onclick="javascript:Richfaces.hideModalPanel('wizard');" />
                          </h:panelGrid>
                      </f:facet>
                          <a4j: include viewId="/mypage.xhtml"/>
                                    
              </rich:modalPanel>

       

       

      and the calling of modelPanel that is

       

       

      <rich:panel header="Profile Picture" style="width:15cm;">
                              <a4j:commandLink ajaxSingle="true"
                                  onmouseover="javascript:Richfaces.showModalPanel('wizard',{width:400,height:300});"
                                 
                                  action="startImageWizard" value="Add/Update Picture" />
                          </rich:panel>

       

       

      is in <rich:tab> of a <rich:tabPanel> so i am losing all these richfaces look on rendering .... and whatever page i render in modalPanel is to be interactng with Spring Webflow subflow. that is the modalPanel wizard is to be synchronized with subflow

       

      so some one pls help me , i cant get any relevant suggestion on web regarding this issue.

       

       

       

      THANK YOU.