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 Java script is not populated on webpage. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Java script is not populated on webpage." Watch "Java script is not populated on webpage." New topic
Author

Java script is not populated on webpage.

Daniel Winz
Greenhorn

Joined: Aug 19, 2010
Posts: 8
I am not sure if it is a JSF problem. Maybe I missconfigured something wrong on JBOSS - but anyway ..

an onchange=submit statement that is part of a JSF selectOneMenu tag doesn't appear at HTML source.

JSF/JSP:


HTML source:


Where is the onchange statement? Why java scirpt is not rendered to the webpage? Does anyone have a clue?

Thanks,
Daniel
Daniel Winz
Greenhorn

Joined: Aug 19, 2010
Posts: 8
Problem solved. I removed a second jsf-api.jar from "jboss-5.1.0.GA/common" folder - I copied and forgot it there.

The only one that must exist is the one at "jboss-5.1.0.GA/server/default/deploy/jbossweb.sar".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java script is not populated on webpage.
 
Similar Threads
Help with this code
Help with this code
pass the value to next form
Selecting option in second selectOneMenu not setting property value
Html glass pane