Re: [s2] Case-insensitive request parameter binding

2007-06-19 Thread Jeromy Evans
Bruyn, Bill-p6141c wrote: Yeah, that's about what I'd come up with too (unless I'm misunderstanding you, this sounds like my option 1.) That'll work I guess, but I was hoping not to have to muck up all my method names (e.g., getWhatwouldordinarilybeacamelcasename(), getWHATWOULDORDINARILYBEACAME

RE: [s2] Case-insensitive request parameter binding

2007-06-19 Thread Bruyn, Bill-p6141c
SENAME()) if there's another way. Thanks, Bill > -Original Message- > From: Jeromy Evans [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 19, 2007 6:10 PM > To: Struts Users Mailing List > Subject: Re: [s2] Case-insensitive request parameter binding > > Bruyn, Bill-

Re: [s2] Case-insensitive request parameter binding

2007-06-19 Thread Jeromy Evans
Bruyn, Bill-p6141c wrote: Or maybe I could replace the ParametersInterceptor with one that used reflection to figure out which property to set, ignoring case. Do either of those options seem right to anyone else? Something like //for each request parameter //for each getter method on

[s2] Case-insensitive request parameter binding

2007-06-19 Thread Bruyn, Bill-p6141c
Apologies in advance if this somehow gets posted twice - I sent the first message from another account, which is not subscribed to the list. I don't suppose it should go through, but it hasn't bounced either... Anyway, I have a requirement that reads, "parameter names shall not be case sensitive,