So what I should do is remove the ParametersInterceptor from my interceptors configuration and add my "extended" version ?
I think this is what I was looking for. II'l have to do some experimenting. To answer Sean Conlon what I need is more complicated. The example wasn't good. The bottom is that I want the user to submit a set of data. Then process the data and send it to the Action Class without the Action class knowing what the original data was or what proccessing has been done. Thanks for your answers Asaf On 6/30/07, Zarar Siddiqi <[EMAIL PROTECTED]> wrote:
That magic starts happening in http://struts.apache.org/2.0.8/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/ParametersInterceptor.html ParametersInterceptor . Take a look at the javadocs and source to see how its done. You could then extend the class or write a new interceptor which does all the crazy stuff you need. Zarar Asaf Paris Mandoki wrote: > > On the tutorial says that the framework automatically populates the > action beans. How does the framework do this? Is there a way to tweak > the way it populates the the beans? > > For example if a user sends a number and I, for a strange reason would > like to pupulate the bean with twice that number, how could I do it on > this level? > > Thanks in andvance, > Asaf > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Bean-population-tf4002466.html#a11370925 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- 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]