You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2007/05/06 10:37:16 UTC
where to call AddResource
For adding some javascript to a page, where to call AddResource? I want to make sure it is called once and only once during render phase.
If I use <outputText> to call a method(return null) to add javascript, it looks like a workaround, not a nice solution.
<h:outputText value="#{bean.addResource}"/>
Thanks for ideas.
dave
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.