You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org> on 2006/05/08 21:30:22 UTC

[jira] Resolved: (TAPESTRY-836) XTile listener can't retrieve the active page

     [ http://issues.apache.org/jira/browse/TAPESTRY-836?page=all ]
     
Andreas Andreou resolved TAPESTRY-836:
--------------------------------------

    Fix Version: 4.0.2
     Resolution: Won't Fix

> XTile listener can't retrieve the active page
> ---------------------------------------------
>
>          Key: TAPESTRY-836
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-836
>      Project: Tapestry
>         Type: Bug

>   Components: Contrib
>     Versions: 4.0
>  Environment: Tapestry 4 RC-1
>     Reporter: Ben Dotte
>     Assignee: Andreas Andreou
>     Priority: Minor
>      Fix For: 4.0.2

>
> When I attempt to retrieve the active page from the request cycle in an XTile listener, it returns null:
> <span jwcid="@contrib:XTile" listener="ognl:listeners.handleCallback" sendName....>
> public void handleCallback(IRequestCycle cycle)
> {
>   if (cycle == null)
>   {
>     System.out.println("cycle is null!");
>   }
>   else if (cycle.getPage() == null)
>   {
>     System.out.println("cycle.getPage() is null!");
>   }
> }
> This returns:
> cycle.getPage() is null!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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