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

Andreas Andreou reassigned TAPESTRY-836:
----------------------------------------

    Assign To: Andreas Andreou

> 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

>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to