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

Rich:toggle panel post elements on toggle

 
Vadim Vararu
Ranch Hand
Posts: 147
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How could i submit elements contained in current togglePanel facet, when i change to another one?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17625
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A lot of JavaScript. Basically, monitor the focus and when it's transferred to a control outside the panel, submit the panel's form.

Or you could attach a submit to the form toggle event. But that wouldn't help if the user simply left the panel without toggling it. A tabbed panel might be better for that.
 
Kiran Kodandoor
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vadim,

Looks like you got richfaces working! Which application server you are using?

Thanks,
Kiran
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic