External Reference to Richfaces modal
- by John
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!