You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Volkan Gueler <vo...@star-sys.de> on 2005/04/19 16:38:17 UTC
Form with different SumbitsButtons each request
Hi everybody,
my form should have either an EDIT-Submit-Button or a
Save-Submit-Button. But what i'm getting is an StaleLinkException:
Rewind of form $Form expected allocated id #12 to be 'doSave', but was
'doEdit$1'
Is there an error in my mind, how to use form components in tapestry?
<span jwcid="@contrib:Choose">
<span jwcid="@contrib:When" condition="ognl: !editable">
<input type="submit" jwcid="doEdit@Submit" selected="ognl:toEdit"
tag="ognl:block" label="EDIT" listener="ognl:listeners.doEdit"/>
</span>
<span jwcid="@contrib:Otherwise">
<input type="submit" jwcid="doSave@Submit" selected="ognl:toSave"
tag="ognl:block" label="SAVE" listener="ognl:listeners.doSave"/>
</span>
</span>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org