Re
I have found another way to make this work.
Thanks for all
CU
MattHouston
MattHouston wrote:
>
> Hi !
>
> I have a probleme using the XTile component and cycle.activate.
> I do sth in AJAX with XTile and in my Java function who handle requests,
> sometimes i only receive and send requests to the client, that works good.
> But i would like to sometimes not send a request but activate another
> page, I thought I can do that with cycle.activate, but it doesn't works...
>
> The code of my function :
>
> public void handleListOfMailsRequest(IRequestCycle cycle) {
> Object[] params = ((RequestCycle) cycle).getServiceParameters();
> System.out.println("length parmas : "+params.length);
> if (params.length == 0) return;
>
> if (params[0].equals("isNews")) { // works good
> [...]
>
> String[] ret = {mm.getDate(), mm.getFrom(),
> mm.getSubject(),
> mm.getSize(), "false", mm.getId()};
> ((RequestCycle) cycle).setServiceParameters(ret);
> }
> else { //dont work
> cycle.activate(NoviaMail_ReadMail);
> }
> }
>
> Any help will be apprecated.
> Thanks
>
> MattHouston
>
--
View this message in context:
http://www.nabble.com/XTile-and-cycle.activate-tf2769341.html#a7741161
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]