Say I am passing in a User object to my view page. And I am displaying input boxes in my form like:


Code:
<@spring.formInput "user.firstname" />
If my user object has a non null or non empty value, I want that value to be set for the input box like:

Code:
<input type="textbox" id="firstname" name="firstname" value="John" />
Can you do this somehow?