JSF User wrote:
>
> Hi,
>
> did anybody used this component before ?
>
> http://livedemo.exadel.com/richfaces-demo/richfaces/modalPanel.jsf?s=blueSky
>
> I'm trying to use it, and I have some errors...
>
> If anybody has more documentation, would appreciate, or any example for
> the
> implementation.
>
> Thanks,
> Carla.
> IN source page
> <a4j:commandLink
> action="#{backingBean.setSelectedItem(item)}"
>
> onclick="javascript:Richfaces.showModalPanel('editSecurityGroup',{width:450,height:470})"
> reRender="editSecurityGroupForm">
> <h:outputText value="#{messages['action.add']}" styleClass="linkText"/>
> </a4j:commandLink>
> In Destination Page
> <ui:composition
> xmlns="http://www.w3.org/1999/xhtml"
> xmlns:s="http://jboss.com/products/seam/taglib"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:a4j="http://richfaces.org/a4j">
>
> <rich:modalPanel id="editSecurityGroup">
>
> <f:facet name="header">
> <h:outputLabel
> value="#{messages['maintainSecurityGroups.securityGroup']}"/>
> </f:facet>
>
> <f:facet name="controls">
> <h:graphicImage
> value="/img/icons/xtiny/close.png"
> styleClass="linkImage"/>
> </f:facet>
>
> <h:form id="editSecurityGroupForm">
> PLEASE PUT YOUR COMPONENTS HERE !
> </h:form>
>
> </rich:modalPanel>
>
> </ui:composition>
> And the way I am including the modalPanel inside the main page. Note that
> I am using two different forms one for the main composition and one for
> modalPanel. The following inclusion can not be done inside the main form,
> because a know nested form in some broswer (i.e. Internet Explorer)
>
> <ui:include src="/security/dialog/editSecurityGroup.xhtml" />
>
>
>
--
View this message in context:
http://www.nabble.com/Rich-ModalPanel-tp9461267p20357202.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.