In your <nested:submit property="deleteMe" />
your class should be defined as
public YourClass {
SomeParent myParent;
//: This method will be called when the delete button is pushed
public void setDeleteMe(String anUnusedString){
//: In order for this to work, your class MUST have a reference to the containing parent.
myParent.remove(this);
} }
Juan Alvarado wrote:
Hi:
I am displaying a hierarchy of objects in a textarea using the nested tags. Whenever a user deletes whatever is in the textarea for a particular object, I want to remove that object from the list.
Has anyone done this in the past?? If so, could you please share how you accomplished it.
Thanks
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]