Basically if the context contains any errorMessages then the ScreenRenderer adds isError = true to the context, then when ModelFormField.getEntry(...) is called it checks for isError in the context and if true uses the request parameters to fetch form values rather than using the actual source of the data.

Regards
Scott

On 5/10/2009, at 1:24 PM, S. Hage wrote:


Hi all,

When submitting a form and errors returned, OFbiz shows errors on top of the form and then shows the form while keeping all the information on it.

  Can someone explain to me how OFBiz do that?  I searched the code to
figure this out but no luck.


Thank in advance ...

S. Hage





-----
_-_-_-_-_-_-_-_-_-_-_

S. Hage

[email protected]
--
View this message in context: 
http://www.nabble.com/Errors-on-top-of-form-while-keeping-FORM-information-tp25743636p25743636.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to