A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
clearing the form after submit
Joined: Jul 25, 2011
Sep 23, 2011 22:07:14
hi guys help me please how do i clearing the form after submit
this is kind of my form
-- form input Date
how if my form is reference to the some entity and how do clear that field
-->i have form and this form have a "value" attribute that reference to some object on some entity and approximately how do i clear the form
and if i have some form that have a type is Long, BigDecimal and etc how do i could clear those??
thanks for your advice
Joined: Jun 25, 2001
Sep 26, 2011 05:27:03
When a View is posted to the client - it will display the current values of the referenced backing bean properties. That includes properties that act as values for form controls.
So to clear the form, you must clear the backing bean.
Customer surveys are for companies who didn't pay proper attention to begin with.
subject: clearing the form after submit
Help reset/clear form data
How SCRIPT tags are handled in JSP Forward
keep the field
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014