If you print sError from flow, does it have a value?
-----Original Message----- From: rachid harradi [mailto:[EMAIL PROTECTED] Sent: Tue 9/11/2007 5:51 PM To: users@cocoon.apache.org Cc: Subject: Re: Pass Parameter from flowscript to jxt thank you for reply but i dont get the value of sError !! -------- Original-Nachricht -------- > Datum: Tue, 11 Sep 2007 13:53:17 +0200 > Von: Jeroen Reijn <[EMAIL PROTECTED]> > An: users@cocoon.apache.org > Betreff: Re: Pass Parameter from flowscript to jxt > Hi Rachid, > > try ${cocoon.parameters.sError}. That should do the trick. > > Regards, > > Jeroen Reijn > > rachid harradi wrote: > > Hello together, > > > > i wish to pass a parameter like sError to jxt. > > her is me Match : > > <map:match pattern="error.txt"> > > <map:generate type="jx" > src="context:/resources/templates/error.jxt"> > > <map:parameter name="sError" value="{flow-attribute:sError}" > /> > > </map:generate> > > <map:serialize type="html"/> > > </map:match> > > > > but i dont know how i ask the value of this parameter: > > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <html xmlns:jxt="http://apache.org/cocoon/jxtemplate/1.0"> > > > > <body> > > > > leider konnte das Document > > > > $sError???? > > nicht erstellt werden . > > </body> > > > > </html> > > > > thanks for answer > > > > Rachid Harradi > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
<<winmail.dat>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]