myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luka Surija <l...@iytim.hr>
Subject [Trinidad] Multiple dialogs
Date Wed, 08 Aug 2007 14:10:37 GMT
Is there any chance to use multiple popup dialogs? For example, i 1. 
dialog, I want to open 2. dialog, but 2. dialog opens when I close 1. 
dialog?

I'm calling always the same dialog, because I use facelets <ui:include> 
in popup.xhtml. If this is cousing problems, what I have to do, to open 
2. dialog from 1. dialog.

popup.xhtml:
<f:view 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:tr="http://myfaces.apache.org/trinidad"
locale="#{MainMB.locale}" id="#{PopUp.page}">

<f:loadBundle basename="hr.iytim.resource.messages" var="msg" />
<tr:document title="#{msg.main_title}" >
<tr:form >
<tr:panelPage>
<tr:panelButtonBar halign="right" rendered="#{PopUp.closeButtonVisible}" >
<tr:commandButton text="#{msg.close}" 
actionListener="#{PopUp.closePopup}" />
</tr:panelButtonBar>
<tr:messages />
<ui:include src="#{PopUp.page}">
<ui:param name="loadedInPopUp" value="#{PopUp.loadedInPopUp}" />
</ui:include>
</tr:panelPage>
</tr:form>
</tr:document>
</f:view>

tnx

Mime
View raw message