I want to include a .js script in a jsf page conditionally. That is, if a bean condition is true, one.js should be included otherwise two.js should be included in the JSF page. I am using JSF 1.1 so it does not support 'rendered' tag in <f:verbatim>. How can I achieve this? Thanks for your help.
Joined: Sep 23, 2008
can any one please answer the question??
subject: Conditional include of <script> tag in a JSF page