aspose file tools*
The moose likes JSF and the fly likes Rich:toggle panel post elements on toggle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Rich:toggle panel post elements on toggle" Watch "Rich:toggle panel post elements on toggle" New topic
Author

Rich:toggle panel post elements on toggle

Vadim Vararu
Ranch Hand

Joined: Jan 03, 2009
Posts: 147
How could i submit elements contained in current togglePanel facet, when i change to another one?


If you think you've done too much, usually it means you've done too few.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Kiran Kodandoor
Greenhorn

Joined: Sep 07, 2009
Posts: 5
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
 
subject: Rich:toggle panel post elements on toggle
 
Similar Threads
How to rearrange the elements in LinkedHashMap?
How many objects?
Struts OGNL how to acces vector elements
Maximum number of elements in a Treemap...
How to do conditional execution ofa target