Try name=foo.bar rather than name=Foo.bar in your jsp. The how and why
is out of my scope. Hope this helps.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 07, 2007 3:35 PM
To: Struts Users Mailing List
Subject: ParameterInterceptor

I think I just encountered a "feature" in the way S2 handles parameters.
My
Action contains a bean private Foo foo and contains getters/setters.
Foo
has a property bar.  My web page is passing the parameter Foo.bar and
the
Action is finding getFoo using Foo rather than foo!  Is this designed to
work this way?

Also, is there a document that describes how the parameters are applied
to
bean(s)?  The way to name things still seems a bit of a mystery to me.
For
example, in the MailReader demo, the web page names are not prefixed
with
the bean name in the Action class, yet it seems to be working!  What is
this
magic that finds and populates bean properties?

-- 
Scott
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to