James,

Hi.  I believe the easiest way to do so is like so:

(task = 'query') => Priority: 100
                                Class: com.webobjects.directtoweb.Assignment
                                Key: pageName
                                Value: "SGWOLQueryPage"


This is the mechanism used by DirectToWeb. You can look at the "default" rules in the d2w.d2wmodel file in the Resources directory of the JavaDirectToWeb.framework for reference.

Travis

On Aug 22, 2006, at 4:00 PM, [EMAIL PROTECTED] wrote:

Message: 11
Date: Tue, 22 Aug 2006 17:47:58 -0500
From: James Cicenia <[EMAIL PROTECTED]>
Subject: D2W Rule Question?
To: WebObjects-Dev Apple <webobjects-dev@lists.apple.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hello -

I am using a D2WQuery component in my app and I was wondering how to
customize is look. It seems to be referencing WOLQueryPage so I
copied that into my project renamed it SGWOLQueryPage and extended
WOLQueryPage.

Now how do I get my app to recognize it over D2WQuery?

thanks
James Cicenia

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

This email sent to archive@mail-archive.com

Reply via email to