Re: simple int selection model

2011-05-10 Thread Paul Stanton
model="literal:0,1,2,3,4,5" works On 10/05/2011 1:05 PM, Thiago H. de Paula Figueiredo wrote: On Mon, 09 May 2011 23:00:49 -0300, Paul Stanton wrote: Hi thiago, That's what I thought, however is being rendered as value="">0..5 Have you tried model="[0, 1, 2, 3, 4, 5]"? ---

Re: simple int selection model

2011-05-09 Thread Shing Hing Man
Have you tried model="'0..5'" ? There are singe quotes. Shing --- On Tue, 10/5/11, Paul Stanton wrote: > From: Paul Stanton > Subject: simple int selection model > To: "Tapestry users" > Date: Tuesday, 10 May, 2011, 7:53 > Hi all, > >

Re: simple int selection model

2011-05-09 Thread Thiago H. de Paula Figueiredo
On Mon, 09 May 2011 23:00:49 -0300, Paul Stanton wrote: Hi thiago, That's what I thought, however is being rendered as value="0..5">0..5 Have you tried model="[0, 1, 2, 3, 4, 5]"? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,

Re: simple int selection model

2011-05-09 Thread Paul Stanton
Hi thiago, That's what I thought, however is being rendered as value="0..5">0..5 tapestry 5.1.0.5 cheers, p. On 10/05/2011 10:47 AM, Thiago H. de Paula Figueiredo wrote: On Mon, 09 May 2011 20:53:47 -0300, Paul Stanton wrote: Hi all, Hi! I need to make a select consisting of the

Re: simple int selection model

2011-05-09 Thread Thiago H. de Paula Figueiredo
On Mon, 09 May 2011 20:53:47 -0300, Paul Stanton wrote: Hi all, Hi! I need to make a select consisting of the options 0,1,2,3,4,5. I remember reading somewhere that there is a simple syntax for defining this model - something like [model="0..5"] however that isn't it... model="0..5".

simple int selection model

2011-05-09 Thread Paul Stanton
Hi all, I need to make a select consisting of the options 0,1,2,3,4,5. I remember reading somewhere that there is a simple syntax for defining this model - something like [model="0..5"] however that isn't it... Does anyone else know what I'm referring to or was this a dream/legacy feature?