RE: Form processing question

2001-08-06 Thread Marcel Maré
]] Verzonden: maandag 6 augustus 2001 1:29 Aan: Martin Cooper; [EMAIL PROTECTED] Onderwerp: RE: Form processing question That was my idea, too, but it doesn't seem to work. I'm doing the following: logic:present parameter=productId % html:form action=editProductConfirmed.do /logic:present

RE: Form processing question

2001-08-06 Thread Greg Maletic
PROTECTED] Subject: RE: Form processing question You do know there's a typo in your example, don't you? You're trying to pair a logic:notPresent with a /logic:present (note the missing not). Maybe it's only in your email, but it has bitten me IRL. Marcel -Oorspronkelijk bericht- Van

RE: Form processing question

2001-08-05 Thread Greg Maletic
, 2001 11:27 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Form processing question One way to do this would be to use the Struts conditional tags to generate a different URL on the page for edit versus add. You could base the decision on the presence or absence of your productId

RE: Form processing question

2001-08-05 Thread Greg Maletic
: Sunday, August 05, 2001 4:29 PM To: Martin Cooper; [EMAIL PROTECTED] Subject: RE: Form processing question That was my idea, too, but it doesn't seem to work. I'm doing the following: logic:present parameter=productId % html:form action=editProductConfirmed.do /logic:present logic:notPresent

RE: Form processing question

2001-08-05 Thread Craig R. McClanahan
when designing the page. Thanks. Craig -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 04, 2001 11:27 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Form processing question One way to do this would be to use the Struts

RE: Form processing question

2001-08-05 Thread Greg Maletic
PROTECTED]; [EMAIL PROTECTED] Cc: Martin Cooper Subject: RE: Form processing question On Sun, 5 Aug 2001, Greg Maletic wrote: That was my idea, too, but it doesn't seem to work. I'm doing the following: logic:present parameter=productId % html:form action=editProductConfirmed.do

Re: Form processing question

2001-08-04 Thread Martin Cooper
One way to do this would be to use the Struts conditional tags to generate a different URL on the page for edit versus add. You could base the decision on the presence or absence of your productId parameter. -- Martin Cooper - Original Message - From: Greg Maletic [EMAIL PROTECTED] To:

Re: Form processing question

2001-08-03 Thread Yuriy Zubarev
Hello Greg, Struts encourages you to use slight different yet powerful approach. If you have a jsp page with a form it's nice to have two actions to serve this form. One action is used to prepare data for form (direct db access, ejb, xml, text file, whatever you want) and another to collect info