Re: Creating Form Components in loop

2006-03-10 Thread Peter Svensson
hour > before we're allowed! :-) > > -Original Message- > From: Peter Svensson [mailto:[EMAIL PROTECTED] > Sent: Friday, March 10, 2006 3:05 PM > To: Tapestry users > Subject: Re: Creating Form Components in loop > > Sure, by all means. But it's friday nig

RE: Creating Form Components in loop

2006-03-10 Thread James Carman
Hey, for those of us in the US, we're still working. No talk of happy hour before we're allowed! :-) -Original Message- From: Peter Svensson [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 3:05 PM To: Tapestry users Subject: Re: Creating Form Components in loop Su

Re: Creating Form Components in loop

2006-03-10 Thread Peter Svensson
> > > > > > > > -----Original Message- > > From: Peter Svensson [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 10, 2006 2:29 PM > > To: Tapestry users > > Subject: Re: Creating Form Components in loop > > > > > > But can'

Re: Creating Form Components in loop

2006-03-10 Thread Peter Svensson
OTECTED] > Sent: Friday, March 10, 2006 2:29 PM > To: Tapestry users > Subject: Re: Creating Form Components in loop > > > But can't you just call another mehtod which peruse ageRange and > produces a > boolean, like; > selected="ognl:eventRegistrationUpdate.c

RE: Creating Form Components in loop

2006-03-10 Thread Madan, Vishal (Home Office)
h 10, 2006 2:29 PM To: Tapestry users Subject: Re: Creating Form Components in loop But can't you just call another mehtod which peruse ageRange and produces a boolean, like; And in the class; public boolean getCheckIt() { boolean rv = false; Object o = getAgeRange(); ... ...

Re: Creating Form Components in loop

2006-03-10 Thread Peter Svensson
s not boolean , it is setting all > options as selected. > > > > > -Original Message- > From: Peter Svensson [mailto:[EMAIL PROTECTED] > Sent: Friday, March 10, 2006 1:35 PM > To: Tapestry users > Subject: Re: Creating Form Components in loop > > > But the pr

RE: Creating Form Components in loop

2006-03-10 Thread Madan, Vishal (Home Office)
mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 1:35 PM To: Tapestry users Subject: Re: Creating Form Components in loop But the problem is that it doesn't work. You do get an exception when you try to reach that page. Note that for each loop, the current object in the loop is set i

RE: Creating Form Components in loop

2006-03-10 Thread Madan, Vishal (Home Office)
: Tapestry users Subject: Re: Creating Form Components in loop This isn't really what I know, but I think that is is generally very tricky to pass parameters to a method referred to with ognl. In general I just make a boolean method with no arguments whatever, and then just use getBinding("foo

Re: Creating Form Components in loop

2006-03-10 Thread Peter Svensson
; Unable to ognl expression isSelected(eventRegistrationUpdates.ageRange) > to false > > -Original Message- > From: Peter Svensson [mailto:[EMAIL PROTECTED] > Sent: Friday, March 10, 2006 1:04 PM > To: Tapestry users > Subject: Re: Creating Form Components in loop > >

Re: Creating Form Components in loop

2006-03-10 Thread Peter Svensson
; From: Peter Svensson [mailto:[EMAIL PROTECTED] > Sent: Friday, March 10, 2006 1:23 PM > To: Tapestry users > Subject: Re: Creating Form Components in loop > > > This isn't really what I know, but I think that is is generally very > tricky > to pass parameters to a metho

RE: Creating Form Components in loop

2006-03-10 Thread Madan, Vishal (Home Office)
] Sent: Friday, March 10, 2006 1:04 PM To: Tapestry users Subject: Re: Creating Form Components in loop Hmm. What kind of error or faulty output do you get? I lack a Form component that wraps the whole thing. Maybe the @For at the top should actually be a @Form of some sort. Please look at the On

Re: Creating Form Components in loop

2006-03-10 Thread Peter Svensson
Hmm. What kind of error or faulty output do you get? I lack a Form component that wraps the whole thing. Maybe the @For at the top should actually be a @Form of some sort. Please look at the On 3/10/06, Madan, Vishal (Home Office) <[EMAIL PROTECTED]> wrote: > > I want to create form components( S

Creating Form Components in loop

2006-03-10 Thread Madan, Vishal (Home Office)
I want to create form components( Select Boxes) in loop. My problem is how do I display pre selected values in those select boxes. page does not know about those components as they are created on the run time and not defined in the .page specification. -- Select --