On Wednesday 30 January 2002 20:41, Marc-Olivier Bernard wrote: > Sorry for my quite basic question,
This list is for all questions :) > I wanted to try to mix util and param taglibs like that : > > <util:include-file><xsp:attribute > name="name"><param:num/>.xml</xsp:attribute></util:include-file> > > (i get them work separatly), > > But the code produced doesn't work (I'm not surprised). Is there a way > to indicate the *order of XSP processing* (here param firstly, then > util) ? No, that can't work. XSP is a one-pass processor. You can't dynamically add an attribute to an element and then have it reevaluate itself (unless you do two passes yourself, but that you be quite messy). Most of the time however (if not always) it shouldn't be needed. Something like the following should do what you want: <util:include-file> <util:name><param:num/>.xml</util:name> </util:include-file> IOW, most of the params passed as attributes can also be passed as child elements (otherwise the taglib is probably missing a feature). -- _______________________________________________________________________ Robin Berjon <[EMAIL PROTECTED]> -- CTO k n o w s c a p e : // venture knowledge agency www.knowscape.com ----------------------------------------------------------------------- Computer games don't affect kids, I mean if pac man affected us as kids, we'd all sit around in a darkened room munching pills and listening to repetitive music. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
