File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
Don't get me started about those stupid light bulbs.
 
subject: Issues faced while removing a UI Component from JSP
 
Similar Threads
Dynamic Richfaces Tab Creation In Java Code ..How To Handle Create Event/Action
java.lang.NumberFormatException: For input string
JSF dynmaic columns generation
generate UI with binding-attribute
dynamic panel grid binding