> From: Paolo Scaffardi [mailto:[EMAIL PROTECTED]] > > I tried Cocoon 2.0.1 with an existing project of mine, and i discovered > that the session logicsheet has changed. In my code i have something > like that: > > <session:set-attribute > name="pippo"><xsp:expr>myVar</xsp:expr></session:set-attribute> > > But the logicsheet transforms it to: > > XSPRequestHelper.setSessionAttribute (ObjectModel, > String.valueOf("Pippo"), "MyVar" ); > > instead of: > > XSPRequestHelper.setSessionAttribute (ObjectModel, > String.valueOf("Pippo"), MyVar); > > I fixed that restoring "session:set-attribute" definition to: ... > <xsl:variable name="content"> > <xsl:call-template name="get-nested-content"> > <xsl:with-param name="content" select="."/> <!-- THIS LINE HAS > BEEN RESTORED --> > </xsl:call-template> > </xsl:variable> ... > > I hope this will help you.
Thanks for the finding the bug. It was more to it - <xsp-session:set-attribute name="pippo">myLiteral</xsp-session:set-attribute> was not processed Ok with fix proposed by you, so some other changes also was required. Try latest CVS that it works Ok or you now. Regards, Vadim > > ByeBye, > Paolo Scaffardi > Embedded Linux Developer > > AIRVENT SAM S.p.A. > via Macanno 32 - 47900 Rimini > ITALY > Tel. 0541 383294 > Fax. 0541 387086 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]