[seam-issues] [JBoss JIRA] (JBSEAM-5054) Seam UI taglib tag Decorate has got wrong default value for enclose attribute

Marek Novotny (JIRA) jira-events at lists.jboss.org
Tue Oct 30 07:47:02 EDT 2012


     [ https://issues.jboss.org/browse/JBSEAM-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Novotny resolved JBSEAM-5054.
-----------------------------------

    Resolution: Done


fixed by using annotated attribute with defaultValue for org.jboss.seam.ui.component.UIDecorate class.
                
> Seam UI taglib tag Decorate has got wrong default value for enclose attribute
> -----------------------------------------------------------------------------
>
>                 Key: JBSEAM-5054
>                 URL: https://issues.jboss.org/browse/JBSEAM-5054
>             Project: Seam 2
>          Issue Type: Bug
>          Components: JSF Controls
>    Affects Versions: 2.3.0.Final
>            Reporter: Marek Novotny
>            Assignee: Marek Novotny
>             Fix For: 2.3.1.CR1
>
>
> jboss-seam-ui/src/main/resources/META-INF/cdk/attributes/decorate.xml configuration defines enclose default attribute value as true, but generated faces-config.xml has got default value false.
> {code:xml}
> ...
>         <property>
>             <property-name>enclose</property-name>
>             <property-class>boolean</property-class>
>             <description>if true, the template used to decorate the input field is
>                          enclosed by the element specified with the "element"
>                          attribute. By default this is a div element.
>             </description>
>             <default-value>true</default-value>
>         </property>
> ...
> {code}
> Generated faces-config.xml is 
> {code:xml}
> ...
>  <property>
>             <description>if true, the template used to decorate the input field is
>                          enclosed by the element specified with the "element"
>                          attribute. By default this is a div element.
>             </description>
>             <property-name>enclose</property-name>
>             <property-class>boolean</property-class>
>             <default-value>false</default-value>
>             <property-extension>
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list