I'm not sure if I completely understand what exactly you are trying to do, but 
on the Bean, why not just have something like this: 
 
public void setUserInput(Long num){
     this.userInput = num * 2L; 
}
 
If this does not help, please give more information. 
- Sean 

________________________________

From: Asaf Paris Mandoki [mailto:[EMAIL PROTECTED]
Sent: Fri 6/29/2007 5:30 PM
To: user@struts.apache.org
Subject: Bean population



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]




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

Reply via email to