Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6DR#6, 1.6
    • Component/s: Tool Integrations
    • Labels:
      None
    • Environment:
      Operating System: Windows 2000
      Platform: PC

      Description

      Problem Summary:

      geenerate eclipse jsf metadata from the same source (Creator 2 jsf metadata)

      Known Issues:

      Data structure is the same for example: properties and attribute parent child
      relationship, However,

      #1. eclipse jsf project just started and does not use complete properties of
      component. a subset of the information.

      #2. data is different
      org.eclipse.jst.jsf.taglibprocessing.attributevalues.IntegerType

      #3. eclipse use it as feature or extension point, Creator 2 assign specific
      editor with it.


      Eclipse jsf project Sun's RI implementation under following:

      http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jsf/components/jsf/plugins/
      org.eclipse.jst.jsf.taglibprocessing/metadata/?
      hideattic=0&cvsroot=WebTools_Project

        Activity

        Hide
        Frank Ye added a comment -

        EMF model metadata

        jsf_html.xml for instances:

        bundle
        org.eclipse.jst.jsf.standard.tagsupport

        common-attributes, specific attribute etc ...

        bundle
        org.eclipse.jst.pagedesigner.jsf.ui

        jsf_html.xml
        trait element
        tag-create, paletteInfos, small-icon, display-label ...

        design time template
        <value xsi:type="pi:TagCreationInfo">
        <template>

        jsf_html_dti.xml (design time transform operation)
        CustomTransformOperation,

        Show
        Frank Ye added a comment - EMF model metadata jsf_html.xml for instances: bundle org.eclipse.jst.jsf.standard.tagsupport common-attributes, specific attribute etc ... bundle org.eclipse.jst.pagedesigner.jsf.ui jsf_html.xml trait element tag-create, paletteInfos, small-icon, display-label ... design time template <value xsi:type="pi:TagCreationInfo"> <template> jsf_html_dti.xml (design time transform operation) CustomTransformOperation,
        Hide
        Frank Ye added a comment -

        myeclipse org.eclipse.jst.pagedesigner.jsf.ui_xxx.jar

        Palette Item:

        jsfhtml_pi.xml

        (similar data as ) "paletteInfos" inside jsf_html.xml in JSF module.

        Show
        Frank Ye added a comment - myeclipse org.eclipse.jst.pagedesigner.jsf.ui_xxx.jar Palette Item: jsfhtml_pi.xml (similar data as ) "paletteInfos" inside jsf_html.xml in JSF module.
        Hide
        Frank Ye added a comment -

        Generate CM Model,:
        org.eclipse.jst.pagedesigner.jsf.ui/configs/cm

        baseline data:
        jsfhtml.properties jsfhtml.xml

        Metadata property attribute type

        [java] key =boolean value=boolean_class
        [java] key =com.icesoft.faces.context.effects.Effect value=com.icesoft.faces.context.effects.Effect_class
        [java] key =int value=int_class
        [java] key =java.lang.Object value=java.lang.Object_class
        [java] key =java.lang.String value=java.lang.String_class
        [java] key =java.util.List value=java.util.List_class
        [java] key =javax.faces.convert.Converter value=javax.faces.convert.Converter_class
        [java] key =javax.faces.el.MethodBinding value=javax.faces.el.MethodBinding_class

        CM Model property attribute type

        [java] key=BOOLEAN value=BOOLEAN_type
        [java] key=COLOR value=COLOR_type
        [java] key=CSSCLASS value=CSSCLASS_type
        [java] key=CSSSTYLE value=CSSSTYLE_type
        [java] key=ENUMERATED value=ENUMERATED_type
        [java] key=JAVASCRIPT value=JAVASCRIPT_type
        [java] key=METHODBINDING value=METHODBINDING_type
        [java] key=MULTICHOICE value=MULTICHOICE_type
        [java] key=NAMED-BOOLEAN value=NAMED-BOOLEAN_type
        [java] key=PROPERTYBINDING value=PROPERTYBINDING_type
        [java] key=RELATIVEPATH value=RELATIVEPATH_type
        [java] key=WEBPATH value=WEBPATH_type

        Show
        Frank Ye added a comment - Generate CM Model,: org.eclipse.jst.pagedesigner.jsf.ui/configs/cm baseline data: jsfhtml.properties jsfhtml.xml Metadata property attribute type [java] key =boolean value=boolean_class [java] key =com.icesoft.faces.context.effects.Effect value=com.icesoft.faces.context.effects.Effect_class [java] key =int value=int_class [java] key =java.lang.Object value=java.lang.Object_class [java] key =java.lang.String value=java.lang.String_class [java] key =java.util.List value=java.util.List_class [java] key =javax.faces.convert.Converter value=javax.faces.convert.Converter_class [java] key =javax.faces.el.MethodBinding value=javax.faces.el.MethodBinding_class CM Model property attribute type [java] key=BOOLEAN value=BOOLEAN_type [java] key=COLOR value=COLOR_type [java] key=CSSCLASS value=CSSCLASS_type [java] key=CSSSTYLE value=CSSSTYLE_type [java] key=ENUMERATED value=ENUMERATED_type [java] key=JAVASCRIPT value=JAVASCRIPT_type [java] key=METHODBINDING value=METHODBINDING_type [java] key=MULTICHOICE value=MULTICHOICE_type [java] key=NAMED-BOOLEAN value=NAMED-BOOLEAN_type [java] key=PROPERTYBINDING value=PROPERTYBINDING_type [java] key=RELATIVEPATH value=RELATIVEPATH_type [java] key=WEBPATH value=WEBPATH_type
        Hide
        Frank Ye added a comment -

        A new ant target "eclipse.cm" is added in metadata build.xml to translate to CM Model (DOM model, future change to EMF model).

        The following class will generate the metadata required for CM Model.

        com.icesoft.jsfmeta.eclipse.CMGenerator

        Open a separate JIRA if more integration works required...

        Show
        Frank Ye added a comment - A new ant target "eclipse.cm" is added in metadata build.xml to translate to CM Model (DOM model, future change to EMF model). The following class will generate the metadata required for CM Model. com.icesoft.jsfmeta.eclipse.CMGenerator Open a separate JIRA if more integration works required...

          People

          • Assignee:
            Unassigned
            Reporter:
            Frank Ye
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: