You're right peter. Come on the old struts pro's - do we need this or not? I don't know enough to judge. for - good to have choiice of using link or button. against - you can do it with a link so why add more fiddly functionality
> > Hi Keith, > > Yes you can use links but sometimes you need to submit the form for each > action. I'll give you an example: > <form action="/updateTest.do"> > <input type="text" name="name"> > > <!-- <iterate> test questions. one row per question. I omit the > table tags for simplicity--> > Question name > Question text > <input type="submit" name="questionId_10" value="Delete"> > <!-- </iterate> > </form> > > So basically you have a form with some fields and a list which also > makes part from the form. If you change the test name from the example > above and then click Delete button on one of the questions the form will > be submitted and you will not lose the changes you have made to the test > name. But you will lose this changes if you use links. Regarding buttons > ugliness - I agree, but you could use some images of smaller size > instead of buttons. > > Hope it was clear. > > Regards, > Peter. > > --- Peter Severin <[EMAIL PROTECTED]> wrote: > Hi Peter, > I just use links to do this. (I think you can use an Image as well). > Buttons are a bit ugly so I don't need this functionality. > There's lots in struts so I don't favor adding more. > Keith. > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > ===== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Search the archive:- http://www.mail-archive.com/struts-user%40jakarta.apache.org/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Keith Bacon - Looking for struts work - South-East UK. phone UK 07960 011275 __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>