[richfaces-issues] [JBoss JIRA] (RF-12271) Generation of custom tag for converter is not available
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Thu Aug 2 16:53:07 EDT 2012
[ https://issues.jboss.org/browse/RF-12271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-12271:
-------------------------------
Fix Version/s: 4.Future
> Generation of custom tag for converter is not available
> -------------------------------------------------------
>
> Key: RF-12271
> URL: https://issues.jboss.org/browse/RF-12271
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: cdk
> Affects Versions: 4.2.2.Final
> Reporter: Marek Novotny
> Fix For: 4.Future
>
>
> Seam 2.2 has got faces-config.xml CDK 3 proprietary template for generation of custom tags for custom converters. CDK 4 this doesn't allow if you use @JsfConverter annotation.
> Link to real config - https://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_2/ui/src/main/config/component/convertDateTime.xml
> <snip>
> {code:xml}
> <components>
> ...
> <converter generate="false">
> <id>org.jboss.seam.ui.DateTimeConverter</id>
> <classname>org.jboss.seam.ui.converter.DateTimeConverter</classname>
> <description>
> <![CDATA[Perform date or time conversions in the Seam timezone.]]>
> </description>
> <tag>
> <name>convertDateTime</name>
> <classname>org.jboss.seam.ui.taglib.ConvertDateTimeTag</classname>
> <superclass>
> javax.faces.webapp.ConverterELTag
> </superclass>
> </tag>
> ...
> </converter>
> ...
> </components>
> {code}
> </snip>
> It is clear that JSF2 can use <f:converter id="org.jboss.seam.ui.DateTimeConverter"/> instead of creating custom tag, but you may need some additional things to add to custom tag like attributes etc.
--
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
More information about the richfaces-issues
mailing list