myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sieppl <>
Subject Solution
Date Thu, 25 Jan 2007 19:50:08 GMT

Hi Bernd,

you were completey right. Folllowing peace of code works perfect:



			<f:facet name="popup">
				<tc:popup width="640" height="480" id="itemDetailPopup">
							<tc:button label="Cancel">
								<tc:attribute name="popupClose" value="immediate" />
				<tc:sheet value="#{myController}"
					id="sheet" columns="50px" var="item"

					<tc:column label="action" sortable="false" align="center">
							<tc:link id="link1" image="img/show.gif"
								<f:param name="value" value="#{myValue}" />
								<tc:popupReference for=":page:itemDetailPopup" />
							<tc:link id="link2" image="img/edit.gif" />


Thank you!



sieppl wrote:
> Hi!
> I have read about the new way (and I think simple one) to open Popups from
> buttons, links etc. without using Actions or ActionListeners. Furtermore I
> have understood the purpose of the PopUpReferenceTag and how to use it.
> But I have still problems to write a clean code for opening popups from
> sheet columns. 
> 1. Rendered attribute does not work anymore due to latest changes.
> 2. Putting a button or a link into the column and use a facet for the
> popup does not work from inside the sheet row. The same code works fine
> when the button is placed anywhere outside the sheet column.
> 3. Placing a hidden button with popup anywere on the form and call it via
> a reference tag is very dirty.
> Could anyone give me a hint or a piece of clean and working code? We need
> that popups all over our pages. :)
> Regards
> Sebastian
> PS: Keep up the good work on Tobago!

View this message in context:
Sent from the MyFaces - Users mailing list archive at

View raw message