> To: user@struts.apache.org> From: [EMAIL PROTECTED]> Subject: Re: Problem
> from defining JavaBean as an attribute inside ActionForm> Date: Thu, 3 Jul
> 2008 14:56:09 -0400> > Oh, and another thought: are you initializing
> ActionForm's empAddress > field so
> From day one, as far as I know.
What? 4 years of blindness? What a mess, I have to go back to basis,
bheee. :P
Kind regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Lukasz Lenart wrote:
For the record, Struts 1 definitely supports dot-notation access to
sub-fields. That's not the problem here.
Upsss... ;-)
Could you clarify my doubts, from which version?
From day one, as far as I know.
L.
---
> For the record, Struts 1 definitely supports dot-notation access to
> sub-fields. That's not the problem here.
Upsss... ;-)
Could you clarify my doubts, from which version?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To un
Oh, and another thought: are you initializing ActionForm's empAddress
field somewhere? It may cause problems if it is null when Struts tries
to set its properties. Struts 2 can automatically create instances of
beans in that situation, but Struts 1 doesn't.
L.
Laurie Harper wrote:
What you ha
Lukasz Lenart wrote:
We are using Struts 1.2.9 and writing the JSP page as below:
As I remember, Struts 1 don't support such evaluation, you can use
For the record, Struts 1 definitely supports dot-notation access to
sub-fields. That's not the problem here.
L.
What you have below all looks fine; it should work as you expected. What
does your form bean definition look like? Is the form bean correctly
referenced by the action mapping the form is submitted to? Post the
relevant bits of configuration and the full stack trace; maybe that will
allow someon
+0200> From: [EMAIL PROTECTED]> To:
> user@struts.apache.org> Subject: Re: Problem from defining JavaBean as an
> attribute inside ActionForm> > Hi> > > We are using Struts 1.2.9 and writing
> the JSP page as below:> >> > > >
> > > >
Hi
> We are using Struts 1.2.9 and writing the JSP page as below:
>
>
>
>
>
>
>
As I remember, Struts 1 don't support such evaluation, you can use
Nested Tags [1] , example are here [2]
[1] http://struts.apache.org/1.2.9/userGuide/struts-nested.html
[2] http://www.mail-
Hi,
I have the below scenario:
I have a java bean as below:
public class Address
{
private String city;
private String state;
and public getters/setters for the above attributes;
}
and I have the ActionForm as below:
import Address;
public class EmpForm extends ActionForm
10 matches
Mail list logo