This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
dynamic panel grid binding
JSF dynmaic columns generation
generate UI with binding-attribute
java.lang.NumberFormatException: For input string
Dynamic Richfaces Tab Creation In Java Code ..How To Handle Create Event/Action