RE: Urgent: Is it possible to define superclass form name in jsp file

2007-09-21 Thread Arunkumar Balasubramanian
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

RE: Urgent: Is it possible to define superclass form name in jsp file

2007-09-21 Thread Arunkumar Balasubramanian
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

Re: Urgent: Is it possible to define superclass form name in jsp file

2007-09-21 Thread Antonio Petrelli
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

Urgent: Is it possible to define superclass form name in jsp file

2007-09-20 Thread Arunkumar Balasubramanian
(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

R: R: Form name

2006-10-13 Thread Marcello Savino
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

Re: R: Form name

2006-10-13 Thread Mikolaj Rydzewski
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

R: Form name

2006-10-13 Thread Marcello Savino
] 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

Re: Form name

2006-10-13 Thread Mikolaj Rydzewski
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

Form name

2006-10-13 Thread Marcello Savino
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

Re: Struts 1.2.x, How reference form.field if disallows form Name attribute?

2006-06-30 Thread Mississippi John Hurt
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

Re: Struts 1.2.x, How reference form.field if disallows form Name attribute?

2006-06-30 Thread David Durham
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

Re: Struts 1.2.x, How reference form.field if disallows form Name attribute?

2006-06-30 Thread Vantuir Muniz
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

Struts 1.2.x, How reference form.field if disallows form Name attribute?

2006-06-30 Thread Mississippi John Hurt
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!

Input tag name on html contains action form name!!

2006-06-22 Thread Vijayraghav Nerella -X \(vraghav - eTouch Systems at Cisco\)
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

Re: Using XHTML and no form name tag

2005-08-06 Thread Niall Pemberton
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

Re: Using XHTML and no form name tag

2005-08-05 Thread Laurie Harper
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

Using XHTML and no form name tag

2005-07-28 Thread Titi Wangsa
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

Re: Form name collision

2005-03-31 Thread Jeff Beal
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&#x

RE: Form name collision

2005-03-30 Thread tarek.nabil
: '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

RE: Form name collision

2005-03-30 Thread Marsh-Bourdon, Christopher
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

Form name collision

2005-03-30 Thread tarek.nabil
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

RE: Struts 1.2 - problems passing form values and form name to a javascript function

2005-02-12 Thread Jason Long
: 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

RE: Struts 1.2 - problems passing form values and form name to a javascript function

2005-02-12 Thread Jason Long
: 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

2005-02-12 Thread Jeff Thorne
--- 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

RE: Validator is using action uri for form name instead of form name

2004-08-18 Thread Jim Barrows
> -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 --

Re: Validator is using action uri for form name instead of form name

2004-08-18 Thread Bill Siggelkow
.. 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

RE: Validator is using action uri for form name instead of form name

2004-08-18 Thread Jim Barrows
> -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 > > >

Re: Validator is using action uri for form name instead of form name

2004-08-18 Thread Bill Siggelkow
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

RE: Validator is using action uri for form name instead of form name

2004-08-18 Thread Jim Barrows
> -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

Re: Validator is using action uri for form name instead of form name

2004-08-18 Thread James Mitchell
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

Validator is using action uri for form name instead of form name

2004-08-18 Thread Jim Barrows
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

Re: Validation.xml form name parameter

2004-04-09 Thread 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 PM Prasad, Kamakshya wrote: Hi, I am using 1.1 version. KP -Original Me

RE: Validation.xml form name parameter

2004-04-09 Thread Prasad, Kamakshya
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

Re: Validation.xml form name parameter

2004-04-09 Thread Adam Hardy
: 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

RE: Validation.xml form name parameter

2004-04-09 Thread Prasad, Kamakshya
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

Re: Validation.xml form name parameter

2004-04-09 Thread Adam Hardy
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

Validation.xml form name parameter

2004-04-09 Thread Prasad, Kamakshya
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