You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Jörn Nettingsmeier <ne...@apache.org> on 2006/11/01 21:00:10 UTC

usecases w/o views and more custom flow hooks...

hi everyone!


it just occurred to me that there may be a bug in usecases.js regarding 
usecases without views.
i tried to emulate the behaviour of the old code - just sendPage the 
view and exit. but this means that we never call usecase.execute(), 
which seems odd. shouldn't we be execute()ing anyway? if the usecase 
does not care, it can provide a dummy execute, but it seems wrong for 
the controller to make the decision.
wdyt?

another issue: should we offer more custom flow hooks in addition to 
customLoopFlow and customSubmitFlow? it might be interesting to provide 
custom execute() and redirect() functions as well. over-engineering or 
actually useful?


regards,

jörn


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org