Aroucha / spring-security-facelets-taglib

Automatically exported from code.google.com/p/spring-security-facelets-taglib
0 stars 0 forks source link

Netbeans alerts "The attribute roles is not defined in the component's interface" #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

  1. Open xhtml page at netbeans
  2. Include sec namespace with   xmlns:sec="http://www.springframework.org/security/facelets/tags"
  3. Use sec:ifAnyGranted tag with <sec:ifAnyGranted roles="ROLE_SUPERVISOR">

What is the expected output? What do you see instead?

  Netbeans should not alert that attribute "roles" is not defined.

What version of the product are you using? On what operating system?

  netbeans 6.9.1; maven 2.2.1; taglib-core-0.4.jar

Please provide any additional information below.

  The tag works properly.

Original issue reported on code.google.com by persapi...@gmail.com on 1 Sep 2010 at 4:56

GoogleCodeExporter commented 8 years ago
I think this is a problem with using 
com.sun.facelets.tag.TagHandler / javax.faces.view.facelets.TagHandler as 
baseclass for our tags.

I'm not yet sure how to solve it, will have to ask some friends for advice. 

E.g. PrettyFaces is using UIComponentELTag but I'm not yet sure how to apply it 
here. 

Original comment by dominik....@gmail.com on 24 Sep 2010 at 10:52

GoogleCodeExporter commented 8 years ago
I think it is a NetBeans problem with all custom tag libraries: 

http://netbeans.org/bugzilla/show_bug.cgi?id=172520

Original comment by grzegorz.blaszczyk on 2 Oct 2010 at 7:26