Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Tag attributes CA in XHTML files for non-standard taglibs
Tag attributes CA in XHTML files for non-standard taglibs [message #547478] Sat, 17 July 2010 13:16 Go to next message
Vadim Dmitriev is currently offline Vadim DmitrievFriend
Messages: 74
Registered: July 2009
Member
Hi.

Eclipse JEE 3.6, new workspace, new dynamic web project, installed JSF
2.0 facet, added openfaces jars to the build path.
Created new test.xhtml with "Facelet Composition Template", added
"http://openfaces.org" namespace ("o" shortname).
CA do list openfaces tags when it is invoked at "<o:| ", however tag
attributes are not listed when CA is invoked at "<o:dataTable |
></o:dataTable>".
Attributes are listed if I rename test.xhtml to test.jspx.

Is this a bug or such functionality for xhtml files is not yet supported?
Re: Tag attributes CA in XHTML files for non-standard taglibs [message #547499 is a reply to message #547478] Sat, 17 July 2010 18:53 Go to previous message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
On 7/17/2010 9:16 AM, Vadim Dmitriev wrote:
> Hi.
>
> Eclipse JEE 3.6, new workspace, new dynamic web project, installed JSF
> 2.0 facet, added openfaces jars to the build path.
> Created new test.xhtml with "Facelet Composition Template", added
> "http://openfaces.org" namespace ("o" shortname).
> CA do list openfaces tags when it is invoked at "<o:| ", however tag
> attributes are not listed when CA is invoked at "<o:dataTable |
> ></o:dataTable>".
> Attributes are listed if I rename test.xhtml to test.jspx.
>
> Is this a bug or such functionality for xhtml files is not yet supported?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=315892

Library authors do not bother listing attributes in the facelet taglib (it's not required),
therefore WTP JSF tooling does not know what attributes are available.

In a JSP, attributes are known because library authors have to list them in the TLD file.
Re: Tag attributes CA in XHTML files for non-standard taglibs [message #621841 is a reply to message #547478] Sat, 17 July 2010 18:53 Go to previous message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
On 7/17/2010 9:16 AM, Vadim Dmitriev wrote:
> Hi.
>
> Eclipse JEE 3.6, new workspace, new dynamic web project, installed JSF
> 2.0 facet, added openfaces jars to the build path.
> Created new test.xhtml with "Facelet Composition Template", added
> "http://openfaces.org" namespace ("o" shortname).
> CA do list openfaces tags when it is invoked at "<o:| ", however tag
> attributes are not listed when CA is invoked at "<o:dataTable |
> ></o:dataTable>".
> Attributes are listed if I rename test.xhtml to test.jspx.
>
> Is this a bug or such functionality for xhtml files is not yet supported?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=315892

Library authors do not bother listing attributes in the facelet taglib (it's not required),
therefore WTP JSF tooling does not know what attributes are available.

In a JSP, attributes are known because library authors have to list them in the TLD file.
Previous Topic:Tag attributes CA in XHTML files for non-standard taglibs
Next Topic:Content Assist for Annotaded ManagedBeans
Goto Forum:
  


Current Time: Tue Dec 23 01:36:02 GMT 2014

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

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