(Please CC list)

Hai Pham wrote:

> The point of CommandDriven is to provide multiple
> paths to the same action; 


Multiple possible actions using same input/output, yes.

> and thus there can be more
> than one submit buttons in a form. 


No, not necessarily.

> How do you plan to
> use hidden fiels to achieve that? 


The way I told you. The difference is that you assume that a single form 
can lead to several different actions, and I don't. I would use either 
multiple forms, or simple links (assuming there's no actual form data 
needed, which is not that uncommon). If you *need* the same form to go 
to different commands on submit then that can be accomplished using 
JavaScript to modify the value of the hidden "command" field.

/Rickard

-- 
Rickard �berg



_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to