[ 
https://issues.apache.org/jira/browse/TRINIDAD-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Robinson resolved TRINIDAD-1011.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.7-plugins

Committed to 1.2.6.1 and trunk (1.2.7-SNAPSHOT)

> Add new properties to the maven-faces-plugin
> --------------------------------------------
>
>                 Key: TRINIDAD-1011
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1011
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Plugins
>    Affects Versions: 1.0.7-core, 1.2.7-core
>            Reporter: Andrew Robinson
>            Assignee: Andrew Robinson
>             Fix For: 1.2.7-plugins
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to