I think I know what the problem is here.  I think I'm mis-sending the
extra validation parameters on the POST.  I haven't fixed it yet, but I
know it's not a problem with Struts. 

> -----Original Message-----
> From: Karr, David 
> Sent: Sunday, June 15, 2008 9:29 PM
> To: Struts Users Mailing List
> Subject: RE: Some confusion trying to do ajax form submit
> 
> If it's useful to diagnose this, I made my action 
> ParameterAware so I could inspect the request parameters 
> directly.  I received three parameter keys, "firstName", 
> "lastName", and "[object Object]".  The first two are 
> expected.  The last one is not expected, and that causes the 
> exception I'm seeing.
> 
> > -----Original Message-----
> > From: Karr, David
> > Sent: Sunday, June 15, 2008 8:14 PM
> > To: Struts Users Mailing List
> > Subject: RE: Some confusion trying to do ajax form submit
> > 
> > -----------------------
> > ognl.ExpressionSyntaxException: Malformed OGNL expression: 
> > [object Object] [ognl.ParseException: Encountered "Object" 
> at line 1, 
> > column 9.
> > Was expecting one of:
> >     "," ...
> >     "=" ...
> >     "?" ...
> > ...
> > /-- Encapsulated exception ------------\
> > ognl.ParseException: Encountered "Object" at line 1, column 9.
> > Was expecting one of:
> >     "," ...
> > ...
> > \--------------------------------------/
> > expr: [object Object] val: [Ljava.lang.String;@fa97f context:
> > [EMAIL PROTECTED] 
> root:[EMAIL PROTECTED],
> > [EMAIL PROTECTED] value:
> > [Ljava.lang.String;@fa97f
> > Jun 15, 2008 8:06:10 PM
> > com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
> > SEVERE: ParametersInterceptor - [setParameters]: Unexpected 
> Exception 
> > caught setting '[object Object]' on 'class
> > com.wamu.strutsform.FormAction: Error setting expression '[object 
> > Object]' with value '[Ljava.lang.String;@fa97f'
> > Jun 15, 2008 8:06:10 PM com.wamu.strutsform.FormAction jsonSubmit
> > -----------------------
> > 
> > 
> > > -----Original Message-----
> > > From: Musachy Barroso [mailto:[EMAIL PROTECTED]
> > > Sent: Sunday, June 15, 2008 5:09 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: Some confusion trying to do ajax form submit
> > > 
> > > Take a look at this (2.1 only):
> > > 
> > > http://struts.apache.org/2.0.11.1/docs/ajax-validation.html
> > > 
> > > musachy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

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

Reply via email to