[richfaces-issues] [JBoss JIRA] (RF-12271) Generation of custom tag for converter is not available

Marek Novotny (JIRA) jira-events at lists.jboss.org
Wed Aug 22 03:49:15 EDT 2012


    [ https://issues.jboss.org/browse/RF-12271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712908#comment-12712908 ] 

Marek Novotny commented on RF-12271:
------------------------------------

Please consider to merge/based on https://svn.jboss.org/repos/seam/branches/community/Seam_2_3/seam-cdk-helper/ your RF CDK feature ;-)
                
> 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