views:

354

answers:

0

I can create and use facelets custom components with netbeans. The steps I followed are:

  1. Create a Facelets tag library (mytaglib.xml).
  2. Declare the tag library in web.xml (javax.faces.FACELETS_LIBRARIES)
  3. Import the tagfile using namespace (xmlns:rde="http://test.com/mytaglib").

But I can not define the metadata of my custom components (description,attributes,etc).

When Netbeans autocompletes my tags, it doesn't shows this information and shows a message "No Tag Library Descriptor Available".

I tried to define a Tag Library Description (TLD) file mytags.tld and put it in /WEB-INF but didn't work either.

How can I have attributes autocompletion for facelets custom components in Netbeans 6.8? It is important because I won't be the only user of these components.

Best regards,