.
> the one that submits the
> page).
>
> Regards,
> David
>
> -Original Message-
> From: t t [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 10, 2004 8:05 PM
> To: Struts Users Mailing List
> Subject: RE: Help needed on question regarding
> html:select a
l:form and
html:javascript tags from your invoking page? (i.e. the one that submits the
page).
Regards,
David
-Original Message-
From: t t [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 10, 2004 8:05 PM
To: Struts Users Mailing List
Subject: RE: Help needed on question regarding html:select and
ht
ct item, then add
> each new item. Creative
> use of the iterate tag plus javascript can do it, or
> you could find good
> examples if you google - that's how I learned how to
> do it.
>
> Regards,
> David
>
> -Original Message-
> From: t t [mailto:[EMAIL
Thanks, Erik. I did set it to false. But it's still
been validated when submitted. confusing...
--- Erik Weber <[EMAIL PROTECTED]> wrote:
> There is a "validate" attribute to the "action"
> element in
> struts-config.xml. You set it to true or false.
>
>
http://struts.apache.org/userGuide/dev_va
u google - that's how I learned how to do it.
Regards,
David
-Original Message-
From: t t [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 10, 2004 6:41 PM
To: Struts Users Mailing List
Subject: Re: Help needed on question regarding html:select and
html:options...cannot turn off
There is a "validate" attribute to the "action" element in
struts-config.xml. You set it to true or false.
http://struts.apache.org/userGuide/dev_validator.html
Erik
t t wrote:
How can I turn off validator? THanks.
--- t t <[EMAIL PROTECTED]> wrote:
Or I can set a parameter before executing th
How can I turn off validator? THanks.
--- t t <[EMAIL PROTECTED]> wrote:
> Or I can set a parameter before executing the added
> action.
> --- t t <[EMAIL PROTECTED]> wrote:
>
> > Hi, Erik,
> > I got an idea. I can insert another action before
> > the actual action be executed. And use javascrip
Or I can set a parameter before executing the added
action.
--- t t <[EMAIL PROTECTED]> wrote:
> Hi, Erik,
> I got an idea. I can insert another action before
> the actual action be executed. And use javascript
> change a hidden property before executing the added
> action, then I can do what i
Hi, Erik,
I got an idea. I can insert another action before the actual action be
executed. And use javascript change a hidden property before executing the
added action, then I can do what i want to do in the added action. What do you
think? I will try it later.
Thanks for your help!
Tong
Eri
JavaScript can change the action URL on the fly. For example:
http://www.willmaster.com/possibilities/archives/wmp20030527001.shtml
However, I'm not sure how compatible this type of thing will be with the
Struts form tag. I've never tried it. I'm surprised others aren't
speaking up because the "m
Hi,Erik,
I think that helps. I have another question. Besides the "action" attribute in
html:form, is anywhere else we can specify another "action" corresponding the
submission of javascript?
Thanks.
Tong
Erik Weber <[EMAIL PROTECTED]> wrote:
There may be other ways or better ways, but one thing
There may be other ways or better ways, but one thing you could do is
vary the action URL. You could have the same action class serving
slightly different action mappings, some with validation set to true and
some with validation set to false.
I did what you are trying to do in a non-Struts Ser
The problem is, when the form is submitted, it will be validated according to
the validator. then error will occur since the user didn't intend to submit and
he/she didn't fill other required fields.
And in my "acion" program, I don't know how to tell whether it was submitted by
"javascript" or
Thank you for the hint. I will try.
Erik Weber <[EMAIL PROTECTED]> wrote:I don't know exactly how do it using
JavaScript. However, I know there's
a way to do it. But, you'd have to have all list data downloaded to the
client's browser (could be undesirable depending on list size), so you
may w
I don't know exactly how do it using JavaScript. However, I know there's
a way to do it. But, you'd have to have all list data downloaded to the
client's browser (could be undesirable depending on list size), so you
may want to rethink that approach once you figure out how to do it.
Obviously i
15 matches
Mail list logo