You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by fadi qutaishat <fa...@yahoo.com> on 2005/04/11 18:18:04 UTC

encodeURL tarnsformer question

Hi all,

 

I might be asking a basic question but that due to my basic knowledge in cocoon.

 

I am having a problem in understanding how should I use the encodeURL transformer.

 

According to the cocoon�s documentation I have added the following lines under the encodeURL in the component section inside the site map: 

 ...

<include-name>.*/@href|.*/@action|frame/@src</include-name>

<exclude-name>img/@src</exclude-name>

 ...

so when I call the starting web page I get in the IE address bar the following line:

 

�getuserdata;jsession=FA7A0FD� Which is absolutely great 

 

when I call the next web page via a link defined in the starting web page, I get only the variables defined in this link and the value of the jsession is no longer become visible. I get only  

 

�next?id=1&name=fred&�

 

I have made sure that I have used the encodeURL transformer before the serializer. Therefore, I am assuming that I should get something like:

 

�next;jsessionid=FA7A0FD�&id=1&name=fred&�  

 

Is that correct? If yes what would be the problem?

 

Many thanks,

Fadi


		
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

Re: encodeURL tarnsformer question

Posted by "beyanet.com" <be...@yahoo.co.uk>.
>Hi all,
>
>
>
>I might be asking a basic question but that due to my basic 
>knowledge in cocoon.

Fadi,
have you tried to use Flowscript? You'll acheive the same results and 
the process is much tidier.

Uzo