I'm using struts. I want put some controls on the form.but this controls are for display purpose only. they don't need map to actionbean field.
is this posible. I always get error if there is no real field in the bean.
-
dummy control without bean (2 messages)
- Posted by: zhang zhang
- Posted on: May 30 2005 19:09 EDT
Threaded Messages (2)
- dummy control without bean by Duncan Mills on May 31 2005 05:21 EDT
- dummy control without bean by zhang zhang on May 31 2005 10:10 EDT
-
dummy control without bean[ Go to top ]
- Posted by: Duncan Mills
- Posted on: May 31 2005 05:21 EDT
- in response to zhang zhang
You can put them inside a normal html <form> tag rather than a Struts <html:form> -
dummy control without bean[ Go to top ]
- Posted by: zhang zhang
- Posted on: May 31 2005 10:10 EDT
- in response to Duncan Mills
Thank you for reply.
what I need is that in the same form, some of fields map to the bean which are real fields, some just for display dummy feild,let's say, the fields display order are: last name, first name, full name, age, ....the full name is a dummy feild, is only display first name + last name, doesn't map to form bean.
any idea?
thank you