Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issues faced while removing a UI Component from JSP

 
sujai chellappa
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic