Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with editor

 
Tram mart
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,

I am using Primefaces and I have a problem with the editor.
I show an editor initialized with a text, taken from the database. The user can edit this text, and after clicking the button, a mail is sent with this text.
But the saved text is always the old one, it is never updated.
I have seen that if I don't initialize the editor with a text, and I write something, it gets what I write. But it doesn't happen when the editor has a default value.




MyBean



Does anybody know how could I update the value? Thanks
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While I am a little nervous that your initializer method has been coded with a "set"-style signature, what I'm actually suspecting is something different. What is the scope of this bean?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic