Hello William,

Can you wrap iterate tag with xsl transformer and process whole
result? Or use xsl tags from taglibs project?

At end of iterate tag there is bodyContent.clearBody() call. I think
it is reason for this exception and so you can not use any direct
manipulations with pageContext.out here.

Tuesday, June 12, 2001, 5:52:10 AM, you wrote:


WS> Inside of the logic:iterate tag, I am passing a string to an xsl
WS> tranformer, using pageContext.out as the writer the tranformer will
WS> write its results to. When I do so, there is a complaint that says:

WS> "Illegal to flush within a custom tag"


WS> I tried to do the same thing (use an xsl tranformer) inside of some
WS> custom tags I have written and I get no such error -- I only get the
WS> erro inside of the login:iterate tag.

WS> Does anyone know if there is soem reason this might be happening
WS> inside the iterate tag? I have been banging my head against the wall on this
WS> one.

WS> I cant find what code is complaining and I thought you struts guys may
WS> have an idea since I can only reproduce in the iterate tag.

WS> thanks much in advance

WS> -will



-- 
Best regards,
 Oleg                            mailto:[EMAIL PROTECTED]


Reply via email to