Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

js file is not getting loaded in icefaces head  RSS feed

Rajeshwar Tripathi
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
I am using component(ice:tooltip) of ICEFaces in products.xhtml, which requires some javascript files to be added in the head tag.
This file uses a template and hence the content of this files will be inserted in the template. The head tag is defined in the template file.

Scenario 1:
I try to access products.xhtml by typing the entire path in the URL.

Scenario 2:
I call products.xhtml from mypage.xhtml on click of a command link.

My Observation

The first scenario works fine and the necessary javascript files are added in head tag.
The second scenario loads contents of products.xhtml page but gives javavscript errors as the required js files are not getting loaded.

any help is appreciable .

thanks & regards.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!