In case you are using facelets or ajax4jsf or could consider using them:

If you are using facelets, use ui:import
If you are using ajax4jsf, use a4j:import

-Andrew

On 5/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
In some cases, I want to dynamically import fragment of page. Such as:
<c:import url="#{masterBean.action}" />

I used <h:outputText value="#{masterBean.action}"/> to test
masterBean.action returns correct value, for instance, main.jsp.

But it seem it could not be imported in this way, I was told:
The requested resource (/myproject-name/#{masterBean.action}) is not
available.

Could anyone give me any clue how to deal with this? Or an alternate
solution.

Appreciate.


Reply via email to