MyFaces Tobago
  1. MyFaces Tobago
  2. TOBAGO-268

TLD file for facelet-extension for code completition in eclipse

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not A Problem
    • 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

        Guido Dubois created issue -
        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.
        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
        Dennis Kieselhorst added a comment -

        Closing this issue TLDs are generated and code completion works with several IDEs if configured properly.

        Show
        Dennis Kieselhorst added a comment - Closing this issue TLDs are generated and code completion works with several IDEs if configured properly.
        Dennis Kieselhorst made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Not A Problem [ 8 ]
        Dennis Kieselhorst made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        3041d 11h 44m 1 Dennis Kieselhorst 05/Jun/15 09:17
        Resolved Resolved Closed Closed
        7s 1 Dennis Kieselhorst 05/Jun/15 09:17

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development