Force RequestFactory to retrieve data from domain object getters?

34 views
Skip to first unread message

Richard

unread,
Feb 9, 2012, 10:34:55 AM2/9/12
to google-we...@googlegroups.com
I have a Map in a domain object and I'd really like to pass it through RequestFactory.  RF doesn't do Maps, so I now generate a List of KeyValue in a getter in my domain object and they have KeyValueProxy equivalents on the client side.  It seems that RF bypasses the getter when populating the EntityProxy, so that method isn't called.

Is there a simple solution to this that I'm missing?  I'd prefer to stop adding levels of hackery to this essentially simple problem.

Richard

Thomas Broyer

unread,
Feb 9, 2012, 10:43:17 AM2/9/12
to google-we...@googlegroups.com
Have you referenced the property in a .with() on your request on the client-side?

Richard

unread,
Feb 9, 2012, 10:52:44 AM2/9/12
to google-we...@googlegroups.com
No, I hadn't!  Simple solution, fixed.  I've been on that page all day but missed that!

Thanks Thomas,
Richard
Reply all
Reply to author
Forward
0 new messages