Wonder if this is the problem:

http://www.mail-archive.com/coldspring-dev%40coldspringframework.org/msg
00676.html

 

Ill go 'touch' my files and report back.

________________________________ 
John Allen 
Interactive Technical Director | Creative Studio 
Ogilvy Public Relations Worldwide 
Phone: 202-729-4130 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Allen, John
Sent: Wednesday, January 24, 2007 5:21 PM
To: [email protected]
Subject: [coldspring-dev] Struct Keys are changing with
MethodIntercpepting

 

I am submitting a form and MethodIntercepting it before it hits the
service layer.

Has been working GREAT! For the last two days. 

Then I added some new form fields and the weirdest thing is happening. 

Inside my MethodIntecepter method, a dump of the #form# structure is
showing that the keys and data are correct mapped to the proper values,
but every new field I have been adding today, is only getting a number
assigned to the key when I dump it form methodInvocation.getArguments()

Form dump:

name = john

email = [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

password = jjkdkls

newField = asdf

aNewerField = 12345

methodInvocation.getArguments() dump:

name = john

email = [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

password = jjkdkls

5 = asdf

6 = 12345

And no matter what, how, or how many I add, 5,6,7,8,9,10,11,...

This is all the context of Model-Glue. I have removed the
MethodIntecepter and checked that the Controller and Service layers are
maintaining state through out the request and they are.

All the way from submit button to the Transfer update, so I don't think
it is either of those two, but I am dull and thick sometimes :)

I am super sorry if this has been covered on the list but couldn't find
anything.

Thanks for any help, CS totally ROCKS!

John Allen

Reply via email to