wood burning stoves 2.0*
The moose likes JSF and the fly likes Issues faced while removing a UI Component from JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Issues faced while removing a UI Component from JSP" Watch "Issues faced while removing a UI Component from JSP" New topic
Author

Issues faced while removing a UI Component from JSP

sujai chellappa
Greenhorn

Joined: May 15, 2009
Posts: 9
Hi,
Iam facing an issue while deleting UI Component .The entire scenario is as described below:

My Jsp Page :

I have binded it to a method which adds Panel Groups ,text boxes and a command button.


The components are getting added based on the loop.
The Command Button(removeButton) is linked to an action listener.


here based on the id of the removed button ,the entry from the list is removed.

I tried debugging and saw that the entry from the list is removed,
BUT "ON THE JSP PAGE THE COMPONENTS ARE NOT DELETD .
i wanted to know that why is this issue coming..why is getContainerComponent() method not getting called again.
getContainerComponent() will read from the updated list and the deleted items wont e displayed...

Please help me out.

Thanks
Sujai.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issues faced while removing a UI Component from JSP