ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Improving JSF by Dumping JSP
Subject:   Attributing blame
Date:   2004-06-21 12:22:24
From:   BigBadaboom
Response to: Attributing blame

But the JSP container/tag handler protocol doesn't include any mechanism to let the tag handler figure out that there are two sections of template text, with a JSF tag in between.


That's not strictly true, I have created a couple of tag libraries that do this. The solution is for the outputText tag to write a marker into the body content of the panelGroup tag which gets checked for in panelGroup.doAfterTag(). It's not exactly elegant, but it works.