Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF: Jscolor stops working after first postback of fresh deploy

 
Petr Dusek
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic