Another option is to adjust your formBackingObject() method so it fetches the object from the database regardless of whether it's a get or a post. If you're not using session forms as Sanjiv suggests, this method will be called both times in the lifecycle.
Matt On 3/16/07, Sanjiv Jivan <[EMAIL PROTECTED]> wrote:
You could use setSessionForm(true); On 3/16/07, chris wang <[EMAIL PROTECTED]> wrote: > > I try to use spring form tag, then i found the problem is I need put all > command field into form, otherwise the field will be set null after submit. > but when I use spring:bind , there's no problem, just put some field I want, > other field still is the value after formBackingObject. > > do i use wrong ? does form tag have some option to adjust, like "exclude" or > sth. > > are there people met the same issue like me?? > > any answer i will really appreciated > > chris wang > -- > View this message in context: http://www.nabble.com/spring-form-tag-problem%21%21%21----tf3413299s2369.html#a9510806 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
