You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ma...@swisscom.com on 2003/06/12 13:53:17 UTC

from an XSP page

Is it possible (and how) to set <session:getxml context="request"
path="/parameter/role"/> into a variable in XSP? I tried
String role = <session:getxml context="request"
path="/parameter/role"/>; 

But cocoon returns the error
"Type mismatch: cannot convert from void to String"

thanks

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


Re: from an XSP page

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
The tag is not part of the Cocoon distribution. See error 13070 in bugzilla.

Antonio Gallardo.

> Is it possible (and how) to set <session:getxml context="request"
> path="/parameter/role"/> into a variable in XSP? I tried
> String role = <session:getxml context="request"
> path="/parameter/role"/>;
>
> But cocoon returns the error
> "Type mismatch: cannot convert from void to String"
>
> thanks
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org




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


Re: AW: from an XSP page

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Markus Heussen dijo:
> Did you try
>
> String role = <session:getxml context="request"
> path="/parameter/role"/>.toString();
>
> ?

I dont believe this can work. :(

But you can try! :)

Best Regards,

Antonio Gallardo
>
>
> -----Ursprungliche Nachricht-----
> Von: Maxime.Gheysen@swisscom.com [mailto:Maxime.Gheysen@swisscom.com]
> Gesendet: Donnerstag, 12. Juni 2003 13:53
> An: cocoon-users@xml.apache.org
> Betreff: <session:getxml> from an XSP page
>
>
> Is it possible (and how) to set <session:getxml context="request"
> path="/parameter/role"/> into a variable in XSP? I tried
> String role = <session:getxml context="request"
> path="/parameter/role"/>;
>
> But cocoon returns the error
> "Type mismatch: cannot convert from void to String"
>
> thanks
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org




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


AW: from an XSP page

Posted by Markus Heussen <he...@rheinland-online.com>.
Did you try

String role = <session:getxml context="request"
path="/parameter/role"/>.toString();

?


-----Ursprungliche Nachricht-----
Von: Maxime.Gheysen@swisscom.com [mailto:Maxime.Gheysen@swisscom.com]
Gesendet: Donnerstag, 12. Juni 2003 13:53
An: cocoon-users@xml.apache.org
Betreff: <session:getxml> from an XSP page


Is it possible (and how) to set <session:getxml context="request"
path="/parameter/role"/> into a variable in XSP? I tried
String role = <session:getxml context="request"
path="/parameter/role"/>;

But cocoon returns the error
"Type mismatch: cannot convert from void to String"

thanks

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


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