You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Julien Flotté <le...@hotmail.com> on 2007/08/30 17:06:13 UTC

Opening new window with same session

Hello,
I have a problem when I am in a session: I want to open a new window (popup) but I wish to remain in my session.

I
send the request to the server from the Javascript client side by :
window.open (...). The request is directed in the good pipeline but the session isn't recognized and thus the page cannot be posted.

Am I in the good way ? Is there a solution ?

Cordially,
Flotté Julien.



_________________________________________________________________
Découvrez le blog Messenger Séries TV : infos, scoops, interviews et photos !
http://blog-series-tv.spaces.live.com/

Re: EncodeUrlTransformer

Posted by Joerg Heinicke <jo...@gmx.de>.
Ah, that's why. Thanks for the info!

Joerg

On 30.08.2007 21:13 Uhr, Ralph Goers wrote:
> I assume you mean in the javadoc?  My guess is because it doesn't exist 
> in the "normal" place.  If you'll notice there is a jdk1.3 and jdk1.4 
> directory under src. There is an EncodeURLTransformer in each of them.  
> Which one gets compiled depends on the version of the compiler you are 
> using. The jdk1.4 version performs much better and doesn't have the 
> potential for a StackOverflow like the jdk 1.3 version does.
> 
> Ralph
> 
> Joerg Heinicke wrote:
>> On 30.08.2007 18:57 Uhr, Joerg Heinicke wrote:
>>
>>> EncodeUrlTransformer [1]
>>
>>> [1] http://cocoon.apache.org/2.1/userdocs/encodeurl-transformer.html
>>
>>
>> When searching for the exact name I tried to use our API, but the 
>> EncodeUrlTransformer is not included. Any idea why?
>>
>> Joerg
> 

Re: EncodeUrlTransformer

Posted by Ralph Goers <Ra...@dslextreme.com>.
I assume you mean in the javadoc?  My guess is because it doesn't exist 
in the "normal" place.  If you'll notice there is a jdk1.3 and jdk1.4 
directory under src. There is an EncodeURLTransformer in each of them.  
Which one gets compiled depends on the version of the compiler you are 
using. The jdk1.4 version performs much better and doesn't have the 
potential for a StackOverflow like the jdk 1.3 version does.

Ralph

Joerg Heinicke wrote:
> On 30.08.2007 18:57 Uhr, Joerg Heinicke wrote:
>
>> EncodeUrlTransformer [1]
>
>> [1] http://cocoon.apache.org/2.1/userdocs/encodeurl-transformer.html
>
>
> When searching for the exact name I tried to use our API, but the 
> EncodeUrlTransformer is not included. Any idea why?
>
> Joerg

EncodeUrlTransformer (was: Opening new window with same session)

Posted by Joerg Heinicke <jo...@gmx.de>.
On 30.08.2007 18:57 Uhr, Joerg Heinicke wrote:

> EncodeUrlTransformer [1]

> [1] http://cocoon.apache.org/2.1/userdocs/encodeurl-transformer.html


When searching for the exact name I tried to use our API, but the 
EncodeUrlTransformer is not included. Any idea why?

Joerg

Re: Opening new window with same session

Posted by Joerg Heinicke <jo...@gmx.de>.
On 30.08.2007 11:06 Uhr, Julien Flotté wrote:

> I have a problem when I am in a session: I want to open a new window (popup) but I wish to remain in my session.

It depends on whether you are using cookies or Url rewriting. With 
cookies it should just work. With Url rewriting you need to add 
;jsessionid=1234567890 to your Url. Links in Javascript are usually not 
rewritten by something like the EncodeUrlTransformer [1], you have to do 
this by hand.

Joerg

[1] http://cocoon.apache.org/2.1/userdocs/encodeurl-transformer.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org