From: Marc P. <ma...@an...> - 2003-01-20 17:22:35
|
On Mon, 20 Jan 2003 16:53:22 -0000, Marc Palmer <ma...@an...> wrote: >> Second, I want to see some rule-based action handling from a template: >> >> #if (conditionA) { $actionA } >> . >> . >> . >> #if (conditionZ) { $actionB } > > Hmmm, very interesting. Using templates as action handlers. Interesting > plan. I will have to think about this more. Actually that's probably not what you meant is it. I suspect you meant having a template that determines which action gets executed. If so, this could be done with a custom ActionList implementation that loads a single "actions.wm" template that provides all this logic, and it evaluates this template every time getAction(WebContext) is called. Am I on the nail now? Marc |