Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Encountered problems while trying to implement f:facet tag content assist
Encountered problems while trying to implement f:facet tag content assist [message #614428] Sun, 16 September 2007 17:05
Vadim Dmitriev is currently offline Vadim DmitrievFriend
Messages: 74
Registered: July 2009

I was looking to implement content assist functionality for f:facet. As
I get it, most advanced JSF taglibs heavily use facets to configure
different display aspects of calendars, accordion-panels, popup dialogs,
data-grids and so on. I think it would be useful for developer if he
could just invoke content assist (C/A) within, for example, "h:column"
and select "facet 'header'" or "facet 'footer'". And get as a result
proper f:facet snippet (<f:facet name="header"></f:facet>).
Easy to imagine, than to implement. There are two ways of achieving that
functionality: either to contribute to "tags" C/A or to attribute C/A of
Most natural is to augment JSP C/A and add proper entries to tag
propositions, but I got stuck at very early stage of implementing... I
haven't found a way to alter JSP tag proposals. Seems that it is only
filled from plugin's 'templates' and taglibs tld's. There is no way to
affect this process from external plugins.
The other way is to create special "facet attribute" type and handle
propositions for "name" there, but from my point of view it is not...
well.. *right* way. Though it can be useful on validation stage.

I would be most grateful for any advices. Maybe there were some
enhancement requests for tag proposal contribution mechanism in JSP C/A
that I missed? It is very general feature and I was surprised to find none.

Previous Topic:2.0.1RC1 JSF semantics validator performance
Next Topic:Encountered problems while trying to implement f:facet tag content assist
Goto Forum:

Current Time: Tue Jun 19 18:47:46 GMT 2018

Powered by FUDForum. Page generated in 0.01367 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top