Hey guys I really have learned a lot about wicket over the last month from
this board and I really appreciate it. I am stuck on how to solve a problem
and I wanted some input on the direction I should go.

I have a link that says add employees. When that link is clicked a popup is
created with a form that has textfields(first name, last, name, function).
There is a one to one relationship for forst and last name for each employee
but an employee can have many functions.

So I create a RepeatingView and a TextFieldPanel. I think create a link and
onClick I add a TextFieldPanel to the RepeatingView so a new field will show
up under function and will allow the user to enter a new function. This all
works prefectly.

Now to the problem. I want to add a delete button next to the new TextField
I have just created in case the user wants to delete the function they just
created. I know I need to remove the the entry from my RepeatingView but the
delete button will be created in the creation of the TextFieldPanel so how
do I delete from my RepeatingView from the Panel page? Do I need to make the
RepeatingView or the PropertyModel for the RepeatingView a Session Variable
or can I pass it to the Panel and then back? I am just lost as to the best
way to delete from my repeatingview.

Thanks for the help

T
-- 
View this message in context: 
http://www.nabble.com/Delete-from-RepeatingView-from-Panel-Page-tp16197416p16197416.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to