[
https://issues.jboss.org/browse/RF-11931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666525#comment-12666525
]
Brian Leathem commented on RF-11931:
------------------------------------
The VDL doc is constrcuted with an XSLT of the taglib. Adding the default
column to the generated VDL doc is trivial:
https://github.com/richfaces/vdl-doc/blob/develop/src/main/resources/xsl/tag.html.xsl#L385
But this requires the value be present in the taglib. Looking through the
currently generated taglibs, the default is not represented.
Looking at the taglib schema:
{code:title=http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd}
<xsd:complexType name="facelet-taglib-tag-attributeType">
<xsd:annotation>
<xsd:documentation>
The attribute element defines an attribute for the nesting
tag. The attribute element may have several subelements
defining:
description a description of the attribute
name the name of the attribute
required whether the attribute is required or
optional
type the type of the attribute
</xsd:documentation>
</xsd:annotation>
...
{code}
there is no allowance for the default value in the taglib.
> The generated VDL doc should include a column displaying the default value of
> an attribute
> ------------------------------------------------------------------------------------------
>
> Key: RF-11931
> URL: https://issues.jboss.org/browse/RF-11931
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: cdk, doc
> Reporter: Brian Leathem
> Assignee: Brian Leathem
> Priority: Minor
> Fix For: 4.2.0.Final
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues