On 3/29/06, Jacob Hookom <[EMAIL PROTECTED]> wrote:
> Craig McClanahan wrote:
> >
> >
> >
> > I was constrained in the stuff so far by what could be accomplished at
> > runtime -- and there's no way to define a tag library "on the fly" at
> > that point.  But what you're describing could certainly be done by
> > processing annotations at compile time instead (using "apt" or
> > equivalent).  That'd be an interesting area to explore, over and above
> > the runtime stuff.
> I'm wondering if you couldn't provide a custom TagLibrary to Facelets
> (implements TagLibrary) that will lazily look up UIComponents from some
> other entity available on the ThreadLocal via the FacesContext to have
> them compiled into the page on first request.

I was thinking of something along the lines of a Facelets annotation
that defines the tag name and namespace on a component class, ditto
for validators, converters, and optionally a custom handler.

-- Adam

Reply via email to