We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
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.
|