hi all ..

plz see the attached file (gif) for my Question .. that is what i am basically doing for this usecase.... there are 2 text boxes (where u can add in values) and later delete them if you wish to. B#1 and B#2 are the add and delete buttons.

the add part is fine with me... wherein i am getting the values of A and B using the ActionForm getters and then adding those to the ValueObject using one of its methods such as addToVo(val A, val B) this is possible since i am able to get the "values to be added" (ie- values of A and B from the text box directly).

However, this is not possible in case of delete... i dont understand how to pass in the "corresponding values of A and B" to be deleted when the user clicks in a delete button...

The solution might involve a hashtable, index etc etc ... but plz explain it to me in as much details possible .. (and, simpler the solution better it is :-) ) ... this is my first usecase in struts !!

Thanks!

Reshma



Do You Yahoo!?
Yahoo! Health - your guide to health and wellness

GIF image

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


Reply via email to