Sylvain Wallez wrote:
<snip/>
I solved points 3&4 as follows :
- <wd:action> are considered as "intra-form" actions : they never validate and always redisplay the form
- <wd:submit> (new widget that extends action) are considered as "form-exit" actions. They have an additional "validate" attribute that define if form validation should occur (true by default). For example, this allows a "cancel" button to be written as <wd:submit id="cancel" validate="false"/>
Would it be possible (perhaps in the future) to handle those intra-form actions completely on the client (eg. via JavaScript)?
Imagine using some DHTML to add or delete rows...
Not that I'd need it right now, but I'm just curious, if you thought about something like that.
Bye,
Andreas
