File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding a facesContext in a Dialog

 
augusto colombelli
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,

I am trying add one facesContext in my Dialog. When I press my button first time, It works fine, but when I update the page and press again the button, I have this error message:



I am adding dynamic components, look it:




Somebody have one example?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17627
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Augusto!

I have kept silent these past few days because I have no solution to give. All I can say is that as a general rule I don't recommend manipulating the JSF component tree in Java code, which is why I don't have a solution. Except in very, very rare cases, I do stuff like this solely in the xhtml View Definition.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic