thing is that I'm not using flowscript but apples; ofcoz I can place it into the code but I was just wondering if it can be done declaratively; something like setting a range of values
Gunter Reinhard Poetz <[EMAIL PROTECTED]> 31-01-2005 14:03 Please respond to [email protected] To [email protected] cc Subject Re: woody static selection list: values from 1 to 99 Gunter D'Hondt wrote: > Hi, > > Is there a way to easily add a field into the form definition that > declares a static selection list with values from 1 to 99. Ofcoz it would > work when adding 99 item-lines but is there a more fancy way of doing > this? Also without making the list dynamic and putting another pipeline on > it. > > <wd:field id="score" required="true"> > <wd:label>Your score:</wd:label> > <wd:datatype base="string"/> > <wd:selection-list> > <wd:item value="1"><wd:label>1</wd:label></wd:item> > <wd:item value="2"><wd:label>2</wd:label></wd:item> > <wd:item value="3"><wd:label>3</wd:label></wd:item> > <wd:item value="4"><wd:label>4</wd:label></wd:item> > <wd:item value="5"><wd:label>5</wd:label></wd:item> > <wd:item value="6"><wd:label>6</wd:label></wd:item> > ... > <wd:item value="99"><wd:label>99</wd:label></wd:item> > </wd:selection-list> > </wd:field> you could set the values in flowscript using a for loop. -- Reinhard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
