[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe updated TOMAHAWK-1508:
-------------------------------------

    Status: Patch Available  (was: Open)

> Find a way to convert between the model type required for the renderer, and 
> the model-type that the backing-beans use for t:inputCalendar and t:inputDate
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1508
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1508
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>          Components: Calendar, Date
>    Affects Versions: 1.1.9
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>         Attachments: TOMAHAWK-1508.patch
>
>
> From TOMAHAWK-1425:
> Hi Leonardo,
> I have always thought that JSF should add a business-converter for such 
> issues. So we should have a way to convert between the model type that we 
> need for the renderer, and the model-type that the backing-beans use.
> You could register such a converter on the input-component like the normal 
> converter, businessConverter="...". We could also cover stuff like the 
> joda-date with this.
> Eventually, we could even add a central registry for this in MyFaces where 
> you can register business-converters centrally and hence let the renderer 
> automatically retrieve such a a converter for the backing-bean datatype and 
> the datatype it needs.
> best regards,
> Martin 
> We'll explore this idea here

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to