]]
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
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
, 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
: 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
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
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
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:
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
8 matches
Mail list logo