pache.org> Subject: Re: Urgent: Is it possible to define
> superclass form name in jsp file> > 2007/9/21, Arunkumar Balasubramanian
> <[EMAIL PROTECTED]>:> >> > scope="request"/>> >> > With this piece of code, you are putting:> - the bean
&g
Thanks for your response.
by having in a
Tile.Where Bformname is super class. If I have this piece of code, the page
after Date: Fri, 21 Sep 2007 09:10:21 +0200> From: [EMAIL PROTECTED]> To:
> user@struts.apache.org> Subject: Re: Urgent: Is it possible to define
> supercla
2007/9/21, Arunkumar Balasubramanian <[EMAIL PROTECTED]>:
>
>
>
With this piece of code, you are putting:
- the bean registered with the "Bformname" attribute name in thr "request"
scope
- in the page scope (that it is the default) with the attribute name "name".
Is it really what you want?
Ant
(Which is a tile, inserted in mainpage.jsp).
I was getting an error, part of tile and code after Tile is being inserted is
not getting displayed.
Could any one suggest how to achieve this?
If there is a way to define an id with super class form name in Tile (JSP
page), let me know how to
Thanks, let me try . URRAH it works !
No more name attributes
Thanks a lot
Ciao, Marcello
-Messaggio originale-
Da: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Inviato: venerdì 13 ottobre 2006 10.05
A: Struts Users Mailing List
Oggetto: Re: R: Form name
Marcello Savino wrote
Marcello Savino wrote:
Yes it works but the problem is that the rendered file is not a valid xhtml1.0 strict file, cause the atribute name.
I need a workaround to avoid the attribute name to appears in the rendered file.
I use struts 1.2.7. Sample JSP:
And there's no name attribute in ge
]
Inviato: venerdì 13 ottobre 2006 9.51
A: Struts Users Mailing List
Oggetto: Re: Form name
Marcello Savino wrote:
> Using Struts the tag is rendered in this
> way
> The problem is that in my application the rendered XML file MUST be a
> valide "xhtml1.0 strict" file and t
Marcello Savino wrote:
Using Struts the tag is rendered in this
way
The problem is that in my application the rendered XML file MUST be a
valide "xhtml1.0 strict" file and the DTD strict does not allow the
attribute "name" for the tag .
It works for me ;-)
Do you use tag?
--
Mikolaj Ryd
Using Struts the tag is rendered in this
way
The problem is that in my application the rendered XML file MUST be a
valide "xhtml1.0 strict" file and the DTD strict does not allow the
attribute "name" for the tag .
If someone could help me it would be greatly appreciated.
Thanks all
Ciao, Marcello
Thanks for the help!
On 6/30/06, David Durham <[EMAIL PROTECTED]> wrote:
Mississippi John Hurt wrote:
> Hi,
> no longer allows "name" attribute. Problem is I have
javascript
> that refers to a field on the form by the formName.fieldName. So now I
> get a
> javascript error. If I can no longer
Mississippi John Hurt wrote:
Hi,
no longer allows "name" attribute. Problem is I have javascript
that refers to a field on the form by the formName.fieldName. So now I
get a
javascript error. If I can no longer assign a name to the form, then the
big
question is how can I refer to a field on
Hi,
Try this
field
document.forms[0].elements[field].value
select
var codUnidade =
document.forms[0].codunidadegestor.options[document.forms[0].codunidadegestor.selectedIndex].value;
Vantuir Muniz
On 6/30/06, Mississippi John Hurt <[EMAIL PROTECTED]> wrote:
Hi,
no longer allows "name" att
Hi,
no longer allows "name" attribute. Problem is I have javascript
that refers to a field on the form by the formName.fieldName. So now I get a
javascript error. If I can no longer assign a name to the form, then the big
question is how can I refer to a field on that form in javascript?? Help!
Hi,
My jsp has uses 'nested:iteration' tag in order to generate input text
fields. The problem is that when the html page generated from this jsp,
the input tag name is beginning from action form name instead of the
name of the member of the action form. Not only that, it suffixing inde
Titi is correct - this is an issue introduced in Struts 1.2.7 - it is
mentioned in the upgrade notes
http://wiki.apache.org/struts/StrutsUpgradeNotes124to127
...but to recap here the change for Bug 34027 caused this problem and it has
been reported in Bug 35127
http://issues.apache.org/bugzi
Titi Wangsa wrote:
i'm havig problem with struts.
i'm using 1.2.7 and i'm using the validator plug-in
the problem is when i'm using html:javascript forname=
the name attribiute for form
is not rendered when
however when only is specified, without turning on the
xhtml feature,
the tag is ren
i'm havig problem with struts.
i'm using 1.2.7 and i'm using the validator plug-in
the problem is when i'm using html:javascript forname=
the name attribiute for form
is not rendered when
however when only is specified, without turning on the
xhtml feature,
the tag is rendered.
the question
problem. But I really have
> never heard about it before, where are those things documented? :)
>
>
> -Original Message-
> From: Marsh-Bourdon, Christopher
> [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 30, 2005 3:08 PM
> To: 'Struts Users Mailing List
: 'Struts Users Mailing List'
Subject: RE: Form name collision
There are two solutions that you have available to you (well that I know
off the top of my head):
1) Use the _attribute_ property in the action tag to give each form a
as a flag
in the action that you use.
I hope this helps.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: tarek.nabil [mailto:[EMAIL PROTECTED]
Sent: 30 March 2005 12:03
To: Struts Users Mailing List
Subject: Form name collision
Hi,
I'm facing a problem w
Hi,
I'm facing a problem with having multiple forms that submit to the same
action on the same page.
I have a search page with a few search fields. The user does the search
and gets the paged results in the *SAME* page.
Now, the user can either change the search criteria and search again, or
use
: Struts 1.2 - problems passing form values and form name to a
javascript function
Has anyone successfully integrated a javascript date picker into a struts
1.2 app.
I am having troubles getting many date pickers to work because of not being
able to
name a form in struts 1.2.
I have tried passing the
: Struts 1.2 - problems passing form values and form name to a
javascript function
Has anyone successfully integrated a javascript date picker into a struts
1.2 app.
I am having troubles getting many date pickers to work because of not being
able to
name a form in struts 1.2.
I have tried passing the
---
function passToDatePicker ()
{
document.getElementById("form1");
}
---jsp page segment---
Can anyone recommend a javascript calendar that works with 1.2 or suggest a
more
efficient way to pass a form name in 1.2. I am a struts
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
> Sent: Wednesday, August 18, 2004 12:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Validator is using action uri for form name
> instead of form
> name
>
>
> Well, Jim --
.. oddly. Struts
is apprently thinking that that the form name is /requestaccess, not
AccessRequestForm. Now, first thought is that struts-config is fubar, but:
That looks right to me.
Second thought was... what's wrong with validatio
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
> Sent: Wednesday, August 18, 2004 12:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Validator is using action uri for form name
> instead of form
> name
>
>
>
Does RequestAccessForm extend ValidatorActionForm (or use
DynaValidatorActionForm)? That would explain things, me thinks.
Jim Barrows wrote:
I have 4 forms in validation.xml. 3 of them work correctly. 1 works.. oddly. Struts
is apprently thinking that that the form name is /requestaccess
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 18, 2004 12:38 PM
> To: Struts Users Mailing List
> Subject: Re: Validator is using action uri for form name
> instead of form
> name
>
>
> Sounds like you a
ist (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 2004 3:34 PM
Subject: Validator is using action uri for form name instead of form name
I have 4 forms in validation.xml. 3 of them work correctly. 1 works..
oddly. Struts is apprently thinking that that the form name is
/requ
I have 4 forms in validation.xml. 3 of them work correctly. 1 works.. oddly. Struts
is apprently thinking that that the form name is /requestaccess, not
AccessRequestForm. Now, first thought is that struts-config is fubar, but:
That looks right to me.
Second
[mailto:[EMAIL PROTECTED] Sent: Friday, April 09,
2004 8:33 PM To: Struts Users Mailing List Subject: Re:
Validation.xml form name parameter
and which form class? ValidatorForm or ValidatorActionForm
On 04/09/2004 12:53 PM Prasad, Kamakshya wrote:
Hi,
I am using 1.1 version.
KP
-Original Me
Hi,
ValidatorActionForm
KP
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 8:33 PM
To: Struts Users Mailing List
Subject: Re: Validation.xml form name parameter
and which form class? ValidatorForm or ValidatorActionForm
On 04/09/2004 12:53
: Validation.xml form name parameter
Kamakshya
Which version of Validator and which Form class are you using?
Adam
On 04/09/2004 10:08 AM Prasad, Kamakshya wrote:
HI,
Is it a bug or has been intentionally done like that?
I have a form with lots of CRUD buttons. The action path is
Hi,
I am using 1.1 version.
KP
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 7:48 PM
To: Struts Users Mailing List
Subject: Re: Validation.xml form name parameter
Kamakshya
Which version of Validator and which Form class are you using
I am using DispatchAction class for the
same.
But each of these buttons has specific javascript validations. So in the
validation.xml insted of giving the name as
< form name=" maintainEmployeeDetails">
I have given
< form name=" maintainEmployeeDetailsCreate">
an
insted of giving the name as
< form name=" maintainEmployeeDetails">
I have given
< form name=" maintainEmployeeDetailsCreate">
and similarly for other buttons. This is not throwing any error but in
the struts site documentation it's written that the name
37 matches
Mail list logo