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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 12. Juni 2003 13:53 > An: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To > unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]