Hi Wes,

That is weird that the stack trace is printing out what looks like a
String array / object pointer-address instead of the actual String...
hmm.  I've got nothing fancy in my submitting form, just

<@s.textfield theme='simple'
name='longitudeLatitudeBox.maximumLatitude' id='maxy' size=14 />
<@s.textfield theme='simple'
name="longitudeLatitudeBox.minimumLongitude" id="minx" size=14 />

etc.

and in my Action receiving the post I have a longitudeLatitudeBox bean property.

The id fields are just there so we can use JS + the google maps API to
auto-fill in those fields when someone draws a box in a google map
widget.

This was working when our app was using Struts 2.1.2 / XWork 2.1.1 and
the old REST plugin, so I know it has worked in the past, but I'm
still checking to see if I've fubared something else
configuration-wise while switching to the conventions plugin.

Thanks for looking into this!
Allen

On Wed, Jan 28, 2009 at 6:08 PM, Wes Wannemacher <w...@wantii.com> wrote:
> On Wednesday 28 January 2009 19:49:11 Allen Lee wrote:
>> Thanks for the reply Musachy - has a fix for this been commited to the
>> xwork trunk?  I pulled xwork 2.1.3-SNAPSHOT from svn, compiled it and
>> threw it onto our snapshot maven repository but I'm still getting the
>> same error.  Could I somehow be subverting the type conversion process
>> by using the wrong interceptor stack?  I'm using an extended version
>> of the defaultStack that just has a custom authentication interceptor
>> tagged on.
>>
>> Here's a sample stack trace that I get:
>>
> [snip]
>
> Allen, I'm jumping into this late, but looking at the stack trace, it looks
> like you are trying to invoke the method with an array of Strings. Can I see
> the offending OGNL code?
>
> -Wes
>
> --
>
> Wes Wannemacher
> Author - Struts 2 In Practice
> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
> http://www.manning.com/wannemacher
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Allen Lee
Center for the Study of Institutional Diversity [http://csid.asu.edu]
School of Human Evolution and Social Change [http://shesc.asu.edu]
The Virtual Commons [http://commons.asu.edu]
The Digital Archaeological Record [http://www.tdar.org]
The OpenABM Consortium [http://www.openabm.org]
Arizona State University | P.O. Box 872402 | Tempe, Arizona 85287-2402
Office: 480.727.0401 | Fax: 480.965.7671

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to