Re: [Chiba-users] xforms-model-construct-done event
Creators discontinued Chiba & founded betterFORM http://betterform.de
Brought to you by:
chibaxforms,
windauer
From: Joern T. <joe...@we...> - 2004-12-30 12:29:11
|
Chris Picton wrote: > On Thu, 2004-12-30 at 13:35 +0200, Chris Picton wrote: > >>The error was that the final node was not being removed. I have managed >>to sort it out, though. The action I had put was in the <body>. When I >>moved it to the <model>, it worked fine. > > > Just a thought on this: > > Do all actions have to be inside the <model> unless they are inside a > <trigger> elsewhere? no, only model-actions - the ones that catch model-events like the model-construct-done event. another example for a model-action would be to catch xforms-link-exception (dispatched during instance-loading) and to trigger a message action. an example of actions not inside a trigger is in colors.xhtml - see the select1/item elements - these fire a toggle when an item becomes selected via xforms-select event. any control triggers the actions defined for it when it receives the appropriate event. Joern > > Chris |