Re: XSP logicsheet with a recursive call template stops server

2003-10-10 Thread Joerg Heinicke
Hello Georg,

you seem to mix XSP and XSL. They are different techniques: With XSP Sax
events are *generate*d, XSL is used for *transform*ation. To get the
reason of your problem you should show us your sitemap, remove the XSL
stuff into an XSL and don't mix the document (generated by XSP) and the
XSL stylesheet.
Joerg

PS: In general such questions should be asked on Cocoon users list, you
won't have to wait so long for an answer there, while Cocoon developers
incline to ignore such mails.
[EMAIL PROTECTED] wrote:


Hi,

I use Cocoon 2.0.4.
I want to build a tree structure with nested tree elements, but I don't
know how much elements I get from a stack,  I've destinated before.
If a recursive call of the called template is made in the logicsheet (
  

  
eftix.myChildName()
  
  
eftix.myChildFileAttr()
  
  
eftix.myChildNavFileAttr()
  

  eftix.amILast()

  
  
eftix.amILast()
  
  
  
  
  
if(eftix.getNextFromStack())
{
  
}




  
),
the transformation of the xsp-file to a java-file fails and the server is
stopped.
It seems there is produced an endless loop by this transformation.
It is necessary for me that the elements are nested.
Is there any other possibility to produce a nested tree with unlimited
elements  with XSP and logicsheets?
I hope anybody can help me!

wbr
Georg





XSP logicsheet with a recursive call template stops server

2003-10-06 Thread georg . stengl




Hi,

I use Cocoon 2.0.4.
I want to build a tree structure with nested tree elements, but I don't
know how much elements I get from a stack,  I've destinated before.
If a recursive call of the called template is made in the logicsheet (
  



  
eftix.myChildName()
  
  
eftix.myChildFileAttr()
  
  
eftix.myChildNavFileAttr()
  


  eftix.amILast()


  
  
eftix.amILast()
  
  

  
  
  

if(eftix.getNextFromStack())
{
  
}





  
),
the transformation of the xsp-file to a java-file fails and the server is
stopped.


It seems there is produced an endless loop by this transformation.
It is necessary for me that the elements are nested.
Is there any other possibility to produce a nested tree with unlimited
elements  with XSP and logicsheets?

I hope anybody can help me!

wbr
Georg



Georg Stengl
web2CAD AG
Emailfabrikstrasse 12
92224 Amberg
Germany
Tel. :(+49) 9621/700-108