Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1011

Add new properties to the maven-faces-plugin

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.7-core, 1.2.7-core
    • 1.2.7-plugins
    • Plugins
    • None

    Description

      Looking to add 2 new properties to be supported for the maven faces plug-in that will be leveraged in JDev:

      mfp:grouping-element - allow the user to specify when multiple child components are being added to a facet, what wrapping component to use to ensure that there is only one child per facet. Example usage:

      <facet>
      <description>My facet</description>
      <facet-name>myfacet</facet-name>
      <facet-extension>
      <mfp:facet-metadata>
      <mfp:grouping-element>
      <![CDATA[<tr:panelGroupLayout layout="scroll" xmlns:tr="http://myfaces.apache.org/trinidad" />]]>
      </mfp:grouping-element>
      </mfp:facet-metadata>
      </facet-extension>
      </facet>

      In this case, if two elements are added to "myfacet", then the IDE should wrap them in a tr:panelGroupLayout.

      Purpose: to allow the component developer to control the grouping element to be added by default as a wrapper for components that desire special children to be used.

      Second property: is-content-resizable
      This instructs the IDE that content in a facet is not resizable. This is useful as there are some components that stretch their children and thus it is confusing to let the user alter the size in the IDE when it will not be used during run time. Example usage:

      <facet>
      <description>My facet</description>
      <facet-name>myfacet</facet-name>
      <facet-extension>
      <mfp:facet-metadata>
      <mfp:is-content-resizable>false</mfp:is-content-resizable>
      </mfp:facet-metadata>
      </facet-extension>
      </facet>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            arobinson74 Andrew Robinson
            arobinson74 Andrew Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment