OK I found the error.
I did not use the redirectTo method correctly:

I should have written cocoon.redirectTo('"mypage",{my_parameter; "my_value"});
Now It's working.

Lionel



At 10:05 14/06/2004 +0200, you wrote:
The variable is empty.
Oh yes, I forgot the ending bracket. But this is not related to my problem.

There is no error message.

At 17:26 11/06/2004 +0200, you wrote:
Lionel Crine wrote:

Hi all,

I tried to add a new parameter the the request object then doing a redirection.


function addrequest(){
cocoon.request.setAttribute("my_parameter", my_value);
cocoon.redirectTo("mypage?myparameter="+cocoon.request.getAttribute("my_parameter");


}

Why is this not working ?
What is not working? Exceptions..? Please more information. You have forgotten a ending brake ).

Regards
Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Lionel CRINE Ing�nieur Syst�mes documentaires Soci�t� : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Lionel CRINE Ing�nieur Syst�mes documentaires Soci�t� : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to