Ans. You can use ErrorMessageForEachDroplet and pass the (optional) parameter "exceptions" with the value FormHandler.exceptions.
The OPEN parameters rendered are: OUPUT and EMPTY.
The OUTPUT parameter rendered is: message
Example:
For more details on FormHandlers and how they work, you can have a look at ART#113 - Formhandlers
The OUTPUT parameter rendered is: message
Example:
<dsp:droplet name="/atg/dynamo/droplet/ErrorMessageForEach">
<dsp:param name="exceptions" bean="YourFormHandler.formExceptions"/>
<dsp:oparam name="output">
<b>
<dsp:valueof param="message"/>
</b>
<p>
</dsp:oparam>
</dsp:droplet>
For more details on FormHandlers and how they work, you can have a look at ART#113 - Formhandlers
No comments:
Post a Comment