02)643-7425
Fax:(702)974-0341
*Note new email changed from [EMAIL PROTECTED]
-Original Message-
From: Murray Collingwood [mailto:[EMAIL PROTECTED]
Sent: Friday, September 23, 2005 3:58 PM
To: user@struts.apache.org
Subject: RE: Bean association with form
Hi Michael
Okay, I'm starti
g properly.
>
>
>
> Michael Oliver
> CTO
> Alarius Systems LLC
> 6800 E. Lake Mead Blvd, #1096
> Las Vegas, NV 89156
> Phone:(702)643-7425
> Fax:(702)974-0341
> *Note new email changed from [EMAIL PROTECTED]
>
> -Original Message-
> From: news [m
-0341
*Note new email changed from [EMAIL PROTECTED]
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Thursday, September 22, 2005 4:40 PM
To: user@struts.apache.org
Subject: Re: Bean association with form
As long as you have your mappings setup correct
Thanks for the clarification Laurie. It does make perfect sense.
On 22 Sep 2005 at 19:40, Laurie Harper wrote:
> As long as you have your mappings setup correctly (and use the right
> attribute name if you push the form bean into the request/session
> yourself), the tag locates the appropria
As long as you have your mappings setup correctly (and use the right
attribute name if you push the form bean into the request/session
yourself), the tag locates the appropriate form bean
automatically and the name attribute is redundant.
L.
Murray Collingwood wrote:
Laurie is right, you ne
Laurie is right, you need the extra action mapping in your config file.
I have also been adding the attribute name to the form elements as in:
Is this necessary? It works but I'm wondering if it is redundant?
Kind regards
mc
On 22 Sep 2005 at 15:44, Laurie Harper wrote:
> You have your
You have your action path set to /EditMappingElement but your form
action is SaveMappingElement. There's no link between the form and the
form-bean. You need to make sure you have an action mapping for
SaveMappingElement, and that it has name="MappingElement" set.
L.
Michael Oliver wrote:
I
rom: rahul [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 21, 2005 9:53 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Bean association with form
this might work -
> -Original Message-
> From: Michael Oliver [mailto:[EMAIL PROTECT
this might work -
> -Original Message-
> From: Michael Oliver [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 22, 2005 4:37 AM
> To: 'Struts Users Mailing List'
> Subject: Bean association with form
>
>
> I have an Fo
I have an Form called MappingElement,
>From struts-config.xml
I have an Action that opens a jsp page with a form on it and populates the
MappingElement bean with data.
>From EditMappingElement.java
public ActionForward execute(ActionMapping mapping, ActionForm form,
H
10 matches
Mail list logo