You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org> on 2007/11/09 03:29:50 UTC

[jira] Reopened: (TRINIDAD-810) Faces plugin copies the property-values to attribute-values incorrectly if there is a sibling property-metadata element

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

Andrew Robinson reopened TRINIDAD-810:
--------------------------------------


re-opening to add the fix version

> Faces plugin copies the property-values to attribute-values incorrectly if there is a sibling property-metadata element
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-810
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-810
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions:  1.2.3-plugins
>            Reporter: Andrew Robinson
>            Assignee: Andrew Robinson
>
> Faces plugin copies the property-values to attribute-values incorrectly if there is a sibling property-metadata element
> example XML source:
>     <property>
>       <description><![CDATA[test]]></description>
>       <property-name>myProperty</property-name>
>       <property-class>java.lang.String</property-class>
>       <default-value>one</default-value>
>       <property-extension>
>         <mfp:required>false</mfp:required>
>         <mfp:property-values>one two three four</mfp:property-values>
>         <mfp:property-metadata>
>           <mfp:preferred>true</mfp:preferred>
>         </mfp:property-metadata>
>       </property-extension>
>     </property>
> Currently generates:
>       <property>
>          <description>test</description>
>          <property-name>myProperty</property-name>
>          <property-class>java.lang.String</property-class>
>          <default-value>one</default-value>
>          <property-extension>
>             <attribute-values>one two three four</attribute-values>
>             <property-metadata>
>                <preferred>true</preferred>
>             </property-metadata>
>          </property-extension>
>       </property>
> Desired result:
>       <property>
>          <description>test</description>
>          <property-name>myProperty</property-name>
>          <property-class>java.lang.String</property-class>
>          <default-value>one</default-value>
>          <property-extension>
>             <property-metadata>
>                <preferred>true</preferred>
>                <attribute-values>one two three four</attribute-values>
>             </property-metadata>
>          </property-extension>
>       </property>
> notice the new location of "<attribute-values>"

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