File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Contents of h:head are not getting updated while using template in JSF (ICEFACES) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Contents of h:head are not getting updated while using template in JSF (ICEFACES)" Watch "Contents of h:head are not getting updated while using template in JSF (ICEFACES)" New topic
Author

Contents of h:head are not getting updated while using template in JSF (ICEFACES)

Ravi Mirani
Greenhorn

Joined: Aug 09, 2011
Posts: 19
Requirement:
Adding javascript file for a given page (which uses templates).

Details:
After successful login, user is navigated to a page, where he can perform different actions.
I have used common template in all the pages (apart from login page).
The template contains head tag, code for including header, footer and body (in which dynamic content will be included).

I observed that contents of head tag of the template are not getting updated (i.e. title tag, script tag).
The contents of head tag remains same as that of login page and also the URL of my browser.

Can you please let me know the possible cause for above.



 
 
subject: Contents of h:head are not getting updated while using template in JSF (ICEFACES)
 
It's not a secret anymore!