-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I'm using the a 'select' mold listbox in a form based ZUL data entry page, and an excerpt of the ZUL is shown below...
<groupbox form="@id('r') @load(vm.selectedResource) @validator(vm.formLevelValidator) @save(vm.selectedResource, before='save') " visible="@load(not empty vm.selectedResource)"> <hlayout> <doublebox alue="@bind(r.periodQuantity)" cols="5" constraint="no negative" /> <listbox mold="select" odel="@bind(r.periodIntervals)" selectedItem="@bind(r.selectedPeriodInterval)"> <listhead> <listheader sort="auto" /> </listhead> <template name="model" var="t"> <listitem> <listcell label="@load(t.title)" /> </listitem> </template> </listbox> <checkbox label="Elapsed" checked="@bind(r.periodElapsed)" /> </hlayout>
Dumb... please ignore... just found the problem... the form level @save command had the wrong command name defined.
This is the one thing I hate about annotations, the lack of compiler checking to validate markup annotations.
Asked: 2012-08-10 06:58:56 +0800
Seen: 84 times
Last updated: Aug 10 '12