You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jun Tsai <ju...@gmail.com> on 2006/11/24 02:13:13 UTC

How to active a page in @EventListener method?

hi,all

    I find the eventListener can't active a page.such as
@EventListener(elements =
{"PriceTypeField0","PriceTypeField1","PriceTypeField2"}, events = "onclick")
public IPage doSomething(){
           .............
           .............

         return getRequestCycle().getPage("xx.page");
}


How to active a page ?

thanks

Jun Tsai
-- 
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net

Re: How to active a page in @EventListener method?

Posted by Ron Piterman <rp...@gmx.net>.
don't know either, but have you tried
getRequestCycle().activate( page )?

Cheers,
Ron


Jun Tsai wrote:
> hi,all
> 
>    I find the eventListener can't active a page.such as
> @EventListener(elements =
> {"PriceTypeField0","PriceTypeField1","PriceTypeField2"}, events = 
> "onclick")
> public IPage doSomething(){
>           .............
>           .............
> 
>         return getRequestCycle().getPage("xx.page");
> }
> 
> 
> How to active a page ?
> 
> thanks
> 
> Jun Tsai


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org