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 JSF: Jscolor stops working after first postback of fresh deploy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF: Jscolor stops working after first postback of fresh deploy" Watch "JSF: Jscolor stops working after first postback of fresh deploy" New topic
Author

JSF: Jscolor stops working after first postback of fresh deploy

Petr Dusek
Greenhorn

Joined: Nov 26, 2012
Posts: 23


Could anyone tell me something helpful to the following behavior in JSF with Jscolor component?

I have got this simple xhtml code:



TestBean.java:


If I do the first deployment and click on the "server" button, the Jscolor will go away and does not work (it is like destroying the javascript on the page)! If I then reload the page and click on the same button, the Jscolor works normally. There's no exception in server log, nor any error in Firebug JS console. How is this caused and how can I solve it?

Thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF: Jscolor stops working after first postback of fresh deploy