incubator-adffaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Fallows" <john.r.fall...@gmail.com>
Subject Re: build files for creating JSP tag handlers/tlds?
Date Tue, 18 Apr 2006 18:38:06 GMT
On 4/18/06, Adam Winer <awiner@gmail.com> wrote:
>
> Our base metadata is a faces-config.xml file - or, rather, a whole
> bunch of mini-faces-config.xml files that are included together.
>
> From those faces-config.xmls, we generate UIComponents,
> fancy tagdoc, tlds, JSP tag handlers, the "real" faces-config.xml,
> and the Facelets .taglib.xml.  It can handle merging
> in base, template implementations of the UIComponent, as
> well as the parts of the TLDs and taglib.xml files that can't
> be automatically generated. All this happens in Maven 2
> plugins that run during the build.
>
> Currently, the tools are built around generating components
> that inherit from UIXComponentBase and JSP tag handlers
> that inherit from UIXComponentTag, but that'd be a
> straightforward thing to fix up, I think.


Agreed.

Our mini faces-config.xml files are actually JSF 1.2 syntax, and take
advantage of the various extension elements, with additional namespaced
elements to parameterize the behavior of the generation.

However, the "real" faces-config.xml is generated in JSF 1.1 syntax for now,
but it should be pretty easy to upgrade to JSF 1.2 syntax later on for that
part. ;-)

One of the main design goals for this project was to eliminate the "magic"
transformations that can often creep in.  As a result, the design is fairly
generic and should be easy enough to change over to
UIComponentBase/UIComponentTag from UIXComponentBase/UIXComponentTag.

tc,
-john.

On 4/18/06, Mike Kienenberger <mkienenb@gmail.com> wrote:
> > One of the things that came up on the MyFaces dev group today was the
> > possiblity of developing tomahawk components under facelets first, and
> > then generating the JSP tag handler files needed mechanically.
> >
> > I vaguely recall Adam mentioning that ADF Faces already had something
> > like this, but I couldn't remember if it also did the JSP tag handler
> > classes or just the faces-config, taglib, and tld files.
> >
>



--
http://apress.com/book/bookDisplay.html?bID=10044
Author: Pro JSF and Ajax: Building Rich Internet Components, Apress

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message