RE: [S2] decoding values of objects properties

2007-06-06 Thread Al Sutton
TECTED] Sent: 06 June 2007 12:36 To: Struts Users Mailing List Subject: Re: [S2] decoding values of objects properties - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 06, 2007 1:14 PM Subject

Re: [S2] decoding values of objects properties

2007-06-06 Thread Paolo Beccari
- Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 06, 2007 1:14 PM Subject: Re: [S2] decoding values of objects properties I'm still not entirely what you're decoding from

RE: [S2] decoding values of objects properties

2007-06-06 Thread Raghupathy, Gurumoorthy
] Sent: 06 June 2007 12:19 To: Struts Users Mailing List Subject: RE: [S2] decoding values of objects properties BUT GURU WHEN I CLOSE THE IE SESSEIONDESTROYED METHOD IS NOT EXECUTING IS THERE ANY CONFIGURATION PARAMETERS I HAVE TO SET IN WEB.XML OR STRUTS-CONFIG.XML -Original Message- From

RE: [S2] decoding values of objects properties

2007-06-06 Thread Srinivasula Reddy A , Bangalore
List Subject: Re: [S2] decoding values of objects properties I'm still not entirely what you're decoding from and to; it sounds like something is fundamentally broken, but... Remember that with OGNL you *can* call arbitrary methods, including static utility methods, from with the EL. So wit

Re: [S2] decoding values of objects properties

2007-06-06 Thread Dave Newton
I'm still not entirely what you're decoding from and to; it sounds like something is fundamentally broken, but... Remember that with OGNL you *can* call arbitrary methods, including static utility methods, from with the EL. So with either a static decoding class or (preferably) a service object in

Re: [S2] decoding values of objects properties

2007-06-06 Thread Paolo Beccari
--- Dave Newton wrote: Why? I'll try to explain. The main problem is, that i would not to expose a single getter-method in the action for each property I want to decode. I'm searching for a more generic method. I thought on some possibile solution, one was to return, in each action, the

Re: [S2] decoding values of objects properties

2007-06-06 Thread Dave Newton
--- Paolo Beccari <[EMAIL PROTECTED]> wrote: > I wish to decode them in the view. Why? > I think this is could be a common issue in a webapp, > does anyone has an idea on how to resolve? I've never had to do that, but if I did, I'd be most likely to do it in the action or, more likely, a service

[S2] decoding values of objects properties

2007-06-06 Thread Paolo Beccari
Hi all, I have some objects in my app whose properties needs a "decode" in the view. I don't want to return property values already decoded to the view, I wish to decode them in the view. For the same reason, I also have to build some picklists with shown text different from value. Since we