Re: [studs-user] Recursive psp template insert
Status: Beta
Brought to you by:
mojavelinux
|
From: Juan C. R. A. <jc...@um...> - 2006-12-01 09:18:40
|
Earnie Boyd wrote: > I'm not sure what the correct fix would be. I'm thinking the issue is > the ContentMapStack::pop($this->pageContext) command in the doEndTag of > the TemplateInsertTag.php file. That doEndTag also returns a > Tag::EVAL_PAGE and maybe should return Tag::EVAL_BODY_AGAIN instead? I'm been reading TagSupport.php, TemplateGetTag.php, ContentMapStack and NestedBeanStack. I see nothing 'suspicious'. I'm been revising Java definition of TagSupport and I have not seen nothing about doAfterBody() event. I changed return value of TemplateGetTag::doStartTag() to EVAL_BODY_AGAIN and happens the same. I changed return value of TemplateGetTag::doStartTag() to: EVAL_BODY_AGAIN when direct is not set and SKIP_BODY when direct is not set and nothing new. I have redefined TemplateGetTag::doAfterBody() to EVAL_BODY_AGAIN and nothing new happens. Uhmmm I suppose the issue is in pageContext->doInclude()... I haven't had time to look for it... :-( Thanks |