remote proxy does not render output

Hi there

Since I have changed to railo/tomcat I have a problem with the result
of the handlers in the proxy.

Small example:

HANDLER

Because the handler is not returning anything. If you want your handler to act for both mvc and remote you need to do that. First change thie functions return type to any then do something like

If ( event.isproxyrequest() ){
  Return renderview()
}

Event.setview()

Luis Majano
CEO
Ortus Solutions, Corp
Toll free phone/fax: 1-888-557-8057
Mobile: 909-248-3408

www.coldbox.org

Hi Luis

Thanks for the hint. I was looping through different problems that's
why I didn't seen that.

The proxy issue I originally struggled with is that if I use the
application_noinheritance.cfc (I like to switch CB version in existing
projects and that's in my eyes the best way to do it) and even if I
set COLDBOX_APP_MAPPING to my projects path (<cfset
COLDBOX_APP_MAPPING = "test">) I can't locate the proxy in the
remote folder (this works with the regular application.cfc).

It seems that the mapping is not set early enough and I get the
already described error (where test is the mapping and remote the
folder):
-> Error Messages: invalid component definition, can't find
test.remote.config/Coldbox

Is this a coldbox framework composition issue or is there a
workaround?

Thanks
Markus

BTW: I'dont like proxys in the root directory :slight_smile:

Has anybody sucessfully used noinheritance application file with
proxies in subdirectory (e.g. /remote)?

It seems that it doesn't work even with path set in application.cfc.

Any ideas?

What do you mean doesn't work? What are your exceptions? There should be any issues with remote proxies this way.

Luis Majano
CEO
Ortus Solutions, Corp
Toll free phone/fax: 1-888-557-8057
Mobile: 909-248-3408

www.coldbox.org