|
Re: Transferring bean with embedded bean filled by selection list: msg#00196java.dwr.user
But DWRUtil.setValues is not suitable because it fetches option value to result object instead of creating subobject. I can modify Person definition to replace Status member with long statusId, but this approach will break ORM semantics on server side. It will be difficult to use this approach with Hibernate, for example. What is the right way to resolve this problem? Possible right way is to define custom converter for Person JavaScript object (extends H3BeanConverter?) which receives statusId and places appropriate Status instance for Person JavaBean. So, my questions are: 1. Which methods need I reimplement to modify conversion procedure for properties 2. How can I execute Hibernate query from converter? Is it possible to define converter bean in Spring context to setup SessionFactory for it? -- Thanks in advance, Eugene Prokopiev
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: problems with popup windows and drw cant call the server anymore, dr_pompeii |
|---|---|
| Next by Date: | DWRUtil.setValue problem, Predrag Stojadinovic |
| Previous by Thread: | Re: Transferring bean with embedded bean filled by selection list, Eugene Prokopiev |
| Next by Thread: | problems with popup windows and drw cant call the server anymore, dr_pompeii |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |