External Reference to Richfaces modal
Posted
by John
on Stack Overflow
See other posts from Stack Overflow
or by John
Published on 2010-03-25T06:59:30Z
Indexed on
2010/03/25
7:03 UTC
Read the original article
Hit count: 514
Hi,
I need to get a
<rich:modalPanel id="mod1" .../>
component to load an external page on "show" action, defined as:
<a4j:commandButton value="link" id="l1" reRender="mod1" oncomplete="Richfaces.showModalPanel('mod1')">
<f:setPropertyActionListener target="#{mybean.someParam}" value="#{myOtherbean.someOtherparam}" />
</a4j:commandButton>
. My first try was with
<rich:modalPanel id="mod1">
<ui:include src="#{mybean.generateURL()"/>
</rich:modalPanel>
but it just throws me a 404 page not found error, typing the generated URL directly into the address bar works perfectly fine.
Does anyone know what's causing the problem , or what's the correct way to do this?
The system is running on seam/richfaces.
Thanks!
© Stack Overflow or respective owner