On 20.04.2004 09:44, Steve Steinitz wrote:
We couldn't find that example but here is what we've done:

<fd:submit id="remove" action-command="remove" >
<fd:label>Remove</fd:label>
</fd:submit>
and in our xsp


<wt:widget id="remove"/>

and in the flow

if ("remove".equals(form.submitId)) {
...
}


This condition was never true so I logged the value of
form.submitid -- it was 'undefined'.

Is there anything else we need to do?

I had the same problem yesterday too: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=108238973125352&w=4 and fixed it by changing the order of the form widgets in the definition.

Furthermore my form.submitId was also null at the end, while form.getSubmitWidget().getId() returned the correct value.

Does this help?

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to