[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
Wed Oct 24 06:43:01 EDT 2012
[ https://issues.jboss.org/browse/JBSEAM-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728813#comment-12728813 ]
Marek Novotny commented on JBSEAM-5054:
---------------------------------------
If I try to define defaultValue directly in Java Attribute Annotation in Seam JSF Component method org.jboss.seam.ui.component.UIDecorate.isEnclose(), it is generated correctly.
> 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
> 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