It doesn't appear that GenerateFaceletsTaglibsMojo supports facelet
component handlers (tag handler) specific to a component. I would
propose support for a new tag.

Proposed changes:

1) Add new property "tagHandler" to
org.apache.myfaces.trinidadbuild.plugin.faces.parse.ComponentBean

2) New tag for the *.xml files as a component-extension
<mpf:tag-handler>[class]</mfp:tag-handler>

3) Change parser to parse the new XML element in
org.apache.myfaces.trinidadbuild.plugin.faces.parse.FacesConfigParser
(tag-handler to tagHandler)

4) Change mojo class to see if componet.getTagHandler() != null and
use it instead of the global value if provided.
org.apache.myfaces.trinidadbuild.plugin.faces.GenerateFaceletsTaglibsMojo

I wanted to propose this in case I missed something or it is possible
before creating a JIRA issue.

-Andrew

Reply via email to