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.
posted 6 years ago
can any one please answer the question??