The Seam 2 converter worked on any entity class, you just had to provide it 
with a reference to the EntityManager.

On 18 Aug 2013, at 05:16, Jason Porter <[email protected]> wrote:

> The problem with a generic JSF converter is that it has to be very dumb, or 
> you have to use a certain kind of object. 
> 
> 
> 
> 
> 
>    The Seam 3 converter went as generic as possible, it also kept things in 
> the conversion (and should work fine in the request as a conversation is at 
> least as long as a request). Depending on what state you're storing in the 
> converter, you probably wouldn't want anything longer than the conversation 
> due to memory issues. 
> 
> 
> 
> 
> 
>    If memory serves correctly, the Seam 2 converter really only worked if you 
> were using the EntityHome classes.
> 
> 
> 
> 
> 
>    If you were to do anything similar to the Seam 2 converter you'd need to 
> create some sort of object hierarchy the user would need to use, or try to 
> perform some sort of generic magic with the criteria API, which is not the 
> easiest of things to do. 
> 
> 
> 
> 
> 
>    All that being said, I'd be happy to talk ideas out anyone may have. 
> 
>    —
> Sent from Mailbox for iPhone
> 
> On Sat, Aug 17, 2013 at 7:51 PM, hantsy <[email protected]> wrote:
> 
>> I have posted some content on JBoss.org forum before....the Seam3 faces
>> object converter does not work well as the Seam 2 one.
>> The Seam 3 only works in a conversation(the view is a conversation), and
>> it also does not support @ManytoMany.
>> The Seam2 version works perfectly....it works in request, conversation
>> and other scopes...the better is when I used multi check box...it can
>> deal with the Hibernate/JPA @ManyToMany relation correctly with any
>> codes in the backend codes when I selected or unselected an option.
>> Hantsy
>> On 8/18/2013 05:42, Adrian Gonzalez wrote:
>>> Hi, 
>>> 
>>> In the meantime, if you're looking for a JSF converter, you can take a look 
>>> at Omnifaces SelectItemsConverter [1].
>>> 
>>> Regards,
>>> Adrian
>>> 
>>> [1] http://showcase.omnifaces.org/converters/SelectItemsConverter
>>> 
>>> 
>>> ________________________________
>>> De : Mark Struberg <[email protected]>
>>> À : "[email protected]" <[email protected]> 
>>> Envoyé le : Vendredi 16 août 2013 12h39
>>> Objet : Re: General Converter
>>> 
>>> 
>>> Hi Florian!
>>> 
>>> Not yet on our list. We are currently working on getting 0.5 out of the 
>>> door (code reviews and testing against many containers)
>>> 
>>> 
>>> Please file a feature request in JIRA describing what this Seam2 feature is 
>>> about and why you like it.
>>> 
>>> 
>>> txs and LieGrue,
>>> strub
>>> 
>>> 
>>> 
>>> ----- Original Message -----
>>>> From: "[email protected]" <[email protected]>
>>>> To: [email protected]
>>>> Cc: 
>>>> Sent: Tuesday, 13 August 2013, 14:35
>>>> Subject: General Converter
>>>> 
>>>> Hi all,
>>>> 
>>>> is there a plan to implement Seam like general Converter like the Seam  
>>>> Faces Object converter? I know it is not really a cdi topic, but there  
>>>> is still a big gap between what Seam was providing and what DeltaSpike  
>>>> does.
>>>> 
>>>> Thanks and Regards
>>>> Florian

Reply via email to