MyFaces Tobago
  1. MyFaces Tobago
  2. TOBAGO-268

TLD file for facelet-extension for code completition in eclipse

    Details

    • Type: Wish Wish
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.9
    • Fix Version/s: None
    • Component/s: Facelets
    • Labels:
      None

      Description

      Where to get a TLD file for ...xmlns:tx="http://myfaces.apache.org/tobago/facelet-extension"... that code completition in eclipse works?

        Activity

        Hide
        Guido Dubois added a comment -

        Thanks Tobias, but I use this workaround since I have started with facelets. What I mean is a TLD for the Tobago Facelets Extension

        xmlns:fx="http://myfaces.apache.org/tobago/facelet-extension"

        Show
        Guido Dubois added a comment - Thanks Tobias, but I use this workaround since I have started with facelets. What I mean is a TLD for the Tobago Facelets Extension xmlns:fx="http://myfaces.apache.org/tobago/facelet-extension"
        Hide
        Tobias Glensk added a comment -

        There is a workaroud to get code completion for facelets while using the Eclipse WTP plugin.

        1) Assign the "JSP Editor" for the file extension, e.g. xhtml, you want to use for your facelets.

        2) Add the element jsp:root with attribute version 2.0 to your facelet:

        <?xml version="1.0" encoding="UTF-8"?>

        <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:c="http://java.sun.com/jstl/core"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:tc="http://myfaces.apache.org/tobago/component"
        version="2.0">

        <ui:composition>

        <!-- add your facelet code here -->

        </ui:composition>

        </jsp:root>

        With this workaround the correspnding JSP TLDs can be used for code completion.

        Show
        Tobias Glensk added a comment - There is a workaroud to get code completion for facelets while using the Eclipse WTP plugin. 1) Assign the "JSP Editor" for the file extension, e.g. xhtml, you want to use for your facelets. 2) Add the element jsp:root with attribute version 2.0 to your facelet: <?xml version="1.0" encoding="UTF-8"?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:c="http://java.sun.com/jstl/core" xmlns:f="http://java.sun.com/jsf/core" xmlns:tc="http://myfaces.apache.org/tobago/component" version="2.0"> <ui:composition> <!-- add your facelet code here --> </ui:composition> </jsp:root> With this workaround the correspnding JSP TLDs can be used for code completion.
        Guido Dubois created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Guido Dubois
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development