This content has been marked as final.
Show 3 replies
-
1. Re: manuel convert from string to object
dhinojosa Jul 3, 2008 9:23 AM (in response to nimo22)
..but the cast does not work. So how can I cast (convert) it ?
(s:convertEntity does not work, I got an exception with that)uh, instead of going through the hell above. Why didn't convertEntity work?
-
2. Re: manuel convert from string to object
nimo22 Jul 3, 2008 9:43 AM (in response to nimo22)yes it it s a real hell..I do not know what s goin on..and I do a lot workaround without success..
I get an exception when using s:convertEntity...
look at:
http://seamframework.org/Community/WARNEntityManagerIsClosedByUsingSconvertEntity
-
3. Re: manuel convert from string to object
nimo22 Jul 3, 2008 3:29 PM (in response to nimo22)so it seems, noone can help me?!
I have to write my own converter with
Object getAsObject(FacesContext context, UIComponent component, String newValue) String getAsString(FacesContext context, UIComponent component, Object value)
for Converting an Entity to String and String to Entity.