Marek Novotny created RF-12271:
----------------------------------

             Summary: 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


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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to