/**
* Creates an unsafe request handler for you to try out in development mode. THIS SHOULD NOT BE DEPLOYED (and in
         * fact it will throw an exception if development mode is false).
         *
         * @param readOnly if true, the unsafe read-only delegate will be used
* @param displayToMany if true, to-many relationships will display by default
         * @return an unsafe request handler
         */
public static final ERXRestRequestHandler createUnsafeRequestHandler(boolean readOnly, boolean displayToMany) {

docs may be slightly out of date ...

On Nov 14, 2007, at 10:09 AM, Jason Jobe wrote:

Hello,

I'm looking for a easy way to deliver XML (to a flash frontend) and ERRest looks like it should foot the bill nicely.

So I tried the minimal experiment of adding

registerRequestHandler (ERXRestRequestHandler.createUnsafeRequestHandler(), "rest");

to the Application constructor but I'm getting the following error.

"The method createUnsafeRequestHandler(boolean, boolean) in the type ERXRestRequestHandler is not applicable for the arguments ()"

Any pointers would be most appreciated.

thanks,
Jason

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to