Re: html:submit button

2002-02-21 Thread Konstantina Stamopoulou
ers Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, February 21, 2002 5:30 PM Subject: RE: html:submit button > Hi Konstantina, > > Since you haven't supplied enough details, I'll assume that > you have a table, and each row contains info on one product, > p

RE: html:submit button

2002-02-21 Thread Maturo, Larry
Hi Konstantina, Since you haven't supplied enough details, I'll assume that you have a table, and each row contains info on one product, plus two buttons, one for displaying info and one for do something with the product. In this case you then make each button look like an array, in your form b

RE: html:submit button

2002-02-21 Thread Christian Velez
Hi Konstantina, The html:submit is used to pass the parameters of the html:form it applies to. Whatever properties you include in your form, they are included in the request parameter. Here is an example: -- Select -- RequiredParent RequiredChild Christian/> -Origi

Re: html:submit button

2002-02-21 Thread stak
gt; To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, February 21, 2002 3:56 PM Subject: RE: html:submit button > Hi Konstantina, > > I don;t know if you have a solution yet, but I have two separate ones for > you. The first is more st

RE: html:submit button

2002-02-21 Thread Mattos, John
Hi Konstantina, I don;t know if you have a solution yet, but I have two separate ones for you. The first is more struts oriented. If you have the following in your JSP: //you need to create 3 attributes in your "ActionForm" object that's being populated when

Re: html:submit button

2002-02-21 Thread SUPRIYA MISRA
o another actionpage } else { //neither was clicked } >From: "Konstantina Stamopoulou" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>, "rob" >&

Re: html:submit button

2002-02-21 Thread Konstantina Stamopoulou
eters too. So I have 10 lines of config parameters and two buttons under these. Thank you for your instant reply, Konstantina - Original Message - From: "rob" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, February 21

Re: html:submit button

2002-02-21 Thread rob
You can setup a property in your form bean to receive the value of the button and just pack the button value with the product id (since if I understand correctly you have a button for every product entry) ie. and in your action you can retrieve the property and compare it. if (form.getButton(