RE: Event handlers with multiple parameters

2008-08-29 Thread Blower, Andy
Thanks for the reply Thiago, I missed EventContext in the docs. Looks to me 
like using EventContext to parse the context params myself is the best solution 
here. Unless anyone can suggest a better way?

Thanks,

Andy

> -Original Message-
> From: Thiago H. de Paula Figueiredo [mailto:[EMAIL PROTECTED]
> Sent: 28 August 2008 20:33
> To: Tapestry users
> Subject: Re: Event handlers with multiple parameters
>
> Em Thu, 28 Aug 2008 08:21:50 -0300, Blower, Andy
> <[EMAIL PROTECTED]> escreveu:
>
> > mark(boolean checked, String[] itemIds)
> >
> > mark(boolean checked, String... itemIds)
> >
> > mark(boolean checked, List itemIds)
>
> As far as I know, none of the would work because Tapestry would not
> handle
> an event handler method with one one String[] or List parameter AND
> other
> parameters. It handles String[], List and EventContext, each one as the
> single parameter, for that matter.
>
> Thiago
>
> -
> 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]



Re: Event handlers with multiple parameters

2008-08-28 Thread Thiago H. de Paula Figueiredo
Em Thu, 28 Aug 2008 08:21:50 -0300, Blower, Andy  
<[EMAIL PROTECTED]> escreveu:



mark(boolean checked, String[] itemIds)

mark(boolean checked, String... itemIds)

mark(boolean checked, List itemIds)


As far as I know, none of the would work because Tapestry would not handle  
an event handler method with one one String[] or List parameter AND other  
parameters. It handles String[], List and EventContext, each one as the  
single parameter, for that matter.


Thiago

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]