Sorry for misleading about the "global" method, - it works fine.
The problem actually is different: If I put "return" between open and close tags it results in empty document. Look at example: <xsp:page language="java" xmlns:xsp="http://apache.org/xsp"> <Sample> <xsp:logic> if(true) return; </xsp:logic> </Sample> </xsp:page> Quite important feature I would say. Alex. ----- Original Message ----- From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 6:55 PM Subject: RE: New release 2.0.1 woes. Continue. > Send in simple test file, couple of lines. > > Vadim > > > -----Original Message----- > > From: Alexander Smirnoff [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, February 12, 2002 6:26 PM > > To: [EMAIL PROTECTED] > > Subject: New release 2.0.1 woes. Continue. > > > > Hi, > > > > I'm stuck big time with integration of new 2.0.1 release with my old > 2rc1 > > server implementation. I had some problems with sitemap, but with the > > help of Vadim I've got it more or less working. Thanks. Now problem > > arised with xsp files... > > > > It appears that if you put "global" method in your XSP file (before > the > > first element), which does some <xsp:content> output - it results in > > empty document. No errors in logfiles or system output - nothing what > > could get me a glue about the reason. > > > > I was comparing old translated java sources with new - it seems no > > differens. It looks like it happens on basic cocoon implementation > level. > > > > Any help? > > > > Thanks, > > Alex. > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>