Hi, i don't know anything about a xsp if. If i need a flow control in xsp i use java, like this:
<xsp:logic> if( something_is_true ) { <esql:execute-query> <esql:query>QueryA</esql:query> .... </esql:execute-query> } else { <esql:execute-query> <esql:query>QueryB</esql:query> .... </esql:execute-query> } </xsp:logic> HTH Max > -----Original Message----- > From: Ritzmann, Heiko [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 15. November 2001 18:02 > To: '[EMAIL PROTECTED]' > Subject: AW: Tag <xsp-response:send-redirect url="..."/>? > > > Thanks, > > I solved the problem inside the sitemap with a action class. > But maybe you know a more easier way to control workflow > within a xsp- file. > Is there somthing like "<xsp:if/>"? > > Heiko > > > -----Ursprüngliche Nachricht----- > Von: David Rosenstrauch [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 15. November 2001 13:13 > An: [EMAIL PROTECTED] > Betreff: Re: Tag <xsp-response:send-redirect url="..."/>? > > > XSP is not recognizing your tag, but taking it as text, most > likely because > of some syntax problem in your XSP. > > Can't debug it without more details though. > > Can you post the portion of XSP code where this appears and > maybe we can > figure it out? > > > DR > > > At 10:47 AM 11/15/01 +0100, you wrote: > >Hi, > > > >I would like to use this tag: <xsp-response:send-redirect > url="bf_login"/>. > >I have inserted the name space > >"xmlns:xsp-response="http://apache.org/xsp/response/2.0" but > the resulting > >code is only > >" > > xspAttr.addAttribute("", "url", "url", "CDATA", "bf_login"); > > > this.contentHandler.startElement("http://apache.org/xsp/response/2.0", > > "send-redirect", > >"xsp-response:send-redirect", xspAttr); > > xspAttr.clear(); > > > this.contentHandler.endElement("http://apache.org/xsp/response/2.0", > > "send-redirect", > >"xsp-response:send-redirect"); > > ; > >". > > > >It seems, that the tag is not detected from "cocoon2". Where > is my mistake? > >Can someone help me? > > > >Thanks a lot > > > >Heiko > > > > > > > >--------------------------------------------------------------------- > >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]> > > --------------------------------------------------------------------- > 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]>