cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From H.vanderLin...@MI.unimaas.nl
Subject RE: JXTemplate jx:set ???
Date Fri, 19 Nov 2004 14:54:16 GMT
Hmm,

on closer look I see that your are passing something to an attribute.
Attributes can only be strings. On the other hand, if your <meta ....> is
actually a jx:macro, you might try this:

<jx:macro name="meta">
<jx:param name="name">
<!-- do something -->
<jx:evalBody/>
</jx:macro>

call it with:

<meta name="keywords">
	<keyword>one</keyword>
	<keyword>two</keyword>
</meta>

HTH.

Bye, Helma

> -----Original Message-----
> From: oceatoon [mailto:t.katelbach@systheo.com] 
> Sent: Friday, 19 November, 2004 11:10
> To: users@cocoon.apache.org
> Subject: RE: JXTemplate jx:set ???
> 
> 
> Hi Helma
> 
> I tried this but with no result, I still get the Object of 
> the body and not the content. Also when I try to apply 
> specific methods (like getNodeValue) on this w3c.Node Object, 
> I get an empty result??? Has anybody managed to get the 
> jx:set body to be used 
> 
> Thanks for the help
> Tibor
> 
> H.vanderLinden@MI.unimaas.nl wrote:
> 
> > Have you tried changing the name of either the meta tag or the var 
> > name to something else?
> > 
> >> but now I need to do this:
> >> <jx:set var="keywords">fssgffdgfdg sdfqfqs qfsdqq</jx:set> <meta

> >> name="keywords" content="${keywords}"/>
> > 
> > <jx:set var="keyws">fssgffdgfdg sdfqfqs qfsdqq</jx:set>
> > <meta name="keywords" content="${keyws}"/>
> > 
> > I'm not too familiar with JXTemplate but it could be a conflict of 
> > names.
> > 
> > HTH.
> > 
> > Bye, Helma
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message