facebook

Getting code assist to work with XHTML

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #273625 Reply

    wciesiel
    Member

    Hi,

    I am trying to develop an JSF 1.2 / facelets / RichFaces application and I’d love to have code assist for RichFaces tags… Because of facelets I’m using XHTML files with header like this:

    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:rich="http://richfaces.ajax4jsf.org/rich"
        >
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>ExampleWeb - JSF and RichFaces Sandbox</title>
    <link href="/exampleWeb/sandbox.css" rel="stylesheet" type="text/css" />
    </head>
    <f:view>
      <body>
      ...
    </body>
    </f:view>
    </html>
    

    Can I somehow attach richfaces TLD in such a way that code assist would work? I would greatly appreciate any assistance.

    Wojtek

    #273639 Reply

    Riyad Kalla
    Member

    Wojtek,
    I’m discussing this possibility with the devs, thank you for the suggestion.

    #273725 Reply

    wciesiel
    Member

    If anyone else is searching for an answer (and before you get your devs to implement forcing custom TLD support in XHTML documents) – this article helped me a great deal.
    http://www.mojavelinux.com/blog/archives/2006/12/facelets_tag_completion_in_eclipse/

    #273747 Reply

    Loyal Water
    Member

    Thanks for this post.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Getting code assist to work with XHTML

You must be logged in to post in the forum log in