File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Javascript, h:panelGroup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Javascript, h:panelGroup" Watch "Javascript, h:panelGroup" New topic

Javascript, h:panelGroup

Bishal Ghimire

Joined: Feb 01, 2011
Posts: 26

Hi all,

I am able to hide and display panelGroup based on onclick event of a checkbox. My panelGroup includes bunch of textboxes. So, how can I delete contents of textboxes inside the panelGroup while hiding and redisplaying.

roby george
Ranch Hand

Joined: Sep 08, 2010
Posts: 31
when you hide the panel at that that time you want to delete the content of the text box.

To do this just use

let me know if it fullfill your requirement.

Bishal Ghimire

Joined: Feb 01, 2011
Posts: 26

Thank you for the suggestion. However, my question was is there any way I can clear all the textboxes inside that Panel at once.
I agree. Here's the link:
subject: Javascript, h:panelGroup
It's not a secret anymore!