Andreas Hartmann wrote:
Hi Josias,
[EMAIL PROTECTED] changed:
About the wf:event="edit" in menu.xsp, I don't know if this is still being used.
Is it obsolete? Does anybody know anything about that?
AFAIK it is not used by any of the core usecases.
The usecase could evaluate the lenya.event request parameter,
but I prefer to add this parameter to the usecase configuration
or even to the Java code (getEvent()) to reduce the number of
parameters which are passed around.
The argument that different publications might use different
event names doesn't seem to apply, since virtually all publications
that I know use the same event names. Most usecases use the
template method pattern to allow overriding getEvent() if this
is really necessary.
What do the others think?
unless somebody comes up with a compelling usecase that profits from
those wf:* tags, i'd say let's get rid of it now.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]