permaculture playing cards*
The moose likes JSF and the fly likes Conditional include of <script> tag in a JSF page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Conditional include of <script> tag in a JSF page" Watch "Conditional include of <script> tag in a JSF page" New topic
Author

Conditional include of <script> tag in a JSF page

satya anvesh
Greenhorn

Joined: Sep 23, 2008
Posts: 16
Hi

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.

Anvesh
satya anvesh
Greenhorn

Joined: Sep 23, 2008
Posts: 16
can any one please answer the question??
Thanks
Anvesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Conditional include of <script> tag in a JSF page