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)" <de...@tapestry.apache.org> on 2007/10/23 08:12:50 UTC

[jira] Updated: (TAPESTRY-1833) XTile does not work with cookies turned off

     [ https://issues.apache.org/jira/browse/TAPESTRY-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Andreou updated TAPESTRY-1833:
--------------------------------------

        Fix Version/s: 4.1.4
    Affects Version/s:     (was: 4.2)
                       4.1.3

> XTile does not work with cookies turned off
> -------------------------------------------
>
>                 Key: TAPESTRY-1833
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1833
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 4.1.3
>            Reporter: Manfred Hantschel
>            Assignee: Andreas Andreou
>             Fix For: 4.1.4
>
>
> The URLs created by XTile do not contain the jsession-id when used with cookies turned off. This is because the link is created with "stateful" set to false (see XTileService.java, line 76). Turning this to true fixes the problem and the URLs are generated including the jsession-id.
> Here's the patch:
> Index: src/java/org/apache/tapestry/contrib/ajax/XTileService.java
> ===================================================================
> --- src/java/org/apache/tapestry/contrib/ajax/XTileService.java	(revision 585120)
> +++ src/java/org/apache/tapestry/contrib/ajax/XTileService.java	(working copy)
> @@ -73,7 +73,7 @@
>          parameters.put(ServiceConstants.PAGE, component.getPage().getPageName());
>          parameters.put(ServiceConstants.COMPONENT, component.getIdPath());
>  
> -        return _linkFactory.constructLink(this, false, parameters, false);
> +        return _linkFactory.constructLink(this, false, parameters, true);
>      }
>  
>      public void service(IRequestCycle cycle) throws IOException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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