Yep, that's the gist of it.  You don't want to go muck with
RemoteFactoryBean, you want to extend it with some bits of useful
functionality.  CustomMetadataRemoteFactoryBean might seem to be what
you want, but I think you really want CF8AjaxRemoteFactoryBean, and in
order to implement it you happen to create a CMRFB type that is an
abstract superclass also suitable for other customizations.

My core point was that the deliverable should be CF8ARFB, not CMRFB.
The latter is only useful to people who want to write peers of CF8ARFB
(e.g. MooToolsRemoteFactoryBean), while the former is useful to
ColdSpring users in general.  I definitely agree that CMRFB is a good
idea, but the important item is CF8ARFB.

That make sense?

cheers,
barneyb

On 7/12/07, Brian Kotek <[EMAIL PROTECTED]> wrote:
Just to be sure we are both on the same page Barney, the tweaks to the
remote factory bean don't have anything to do with AJAX specifically, but
rather with the ability to add "extra" metadata that will be used when the
remote proxy is generated. That metadata could be for anything, it just
happens that the use case I am running into initially is calling the remote
proxy from an AJAX grid.

Aside from the code that acutally has to loop over the "extra" and "real"
metadata and merge them together, which is fairly complex, the other
modifications are only a few lines of code. Still, maybe what you'd say in
reply to this is extend the RemoteFactoryBean with a
CustomMetadataRemoteFactoryBean? I just want to be sure the
difference between us is just semantic and not that I'm missing something
crucial that you're saying.

Thanks!

Brian


--
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

Got Gmail? I have 100 invites.

Reply via email to