Hi Wes,

I have an AuthenticationInterceptor that checks for a Spring-injected
session scoped bean for authentication information (though I'm not
sure if this is actually thread-safe, I should probably check on
that...  if Interceptors in Struts are singletons then it'd need to be
a ThreadLocal, but that's probably a separate issue.  In any case, the
interceptor is just tacked on top of the defaultStack and appears to
work properly and is configured as the default interceptor stack
within a "secured" package that I've created.  Then any .  I've set up
a sandbox with config-browser enabled at
http://dev.tdar.org:8080/tdar2/config-browser/index.action but I don't
see anything immediately suspect...  here's a direct link to the
action that's giving me type conversion trouble:

http://dev.tdar.org:8080/tdar2/config-browser/showConfig.action?namespace=%2Fresource%2Fdataset&actionName=add

Thanks again for all your help!
Allen

On Wed, Jan 28, 2009 at 6:57 PM, Wes Wannemacher <w...@wantii.com> wrote:
> On Wednesday 28 January 2009 20:33:59 you wrote:
>> 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
>>
>
> You mentioned earlier that you were using a custom interceptor... How are you
> ensuring that it is invoked? I would suggest dropping the config-browser
> plugin into your app and see what's configured. It really smells like there is
> an interceptor that isn't being called.
>
> --
>
> 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