This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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
 
It's not a secret anymore!