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

Mario Ivankovits resolved ORCHESTRA-21.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0
         Assignee: Mario Ivankovits

We will encode now only if the url starts with http* 

> URLs are always encoded
> -----------------------
>
>                 Key: ORCHESTRA-21
>                 URL: https://issues.apache.org/jira/browse/ORCHESTRA-21
>             Project: MyFaces Orchestra
>          Issue Type: Bug
>            Reporter: Matthias Weßendorf
>            Assignee: Mario Ivankovits
>             Fix For: 2.0
>
>
> In Trinidad some components creates the javascript calls  like
> String url = "javascript:TrShuttleProxy._moveItems(.......";
> and than, we internally encode the url.
> Like facesContext.getExternalContext().encodeActionURL(url);
> so... with Orchestra, you now get something like:
> javascript:TrShuttleProxy._movetems(....);?conversationContext=3
> which causes a JS syntax error.
> Fix would be to ignore anything that has a "javascript:" prefix.
> Orchestra should only append the conversationContext if the protocol is http 
> or https.

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

Reply via email to