Re: Customising D2W Edit Relationship Page
Re: Customising D2W Edit Relationship Page
- Subject: Re: Customising D2W Edit Relationship Page
- From: Ashley Aitken <email@hidden>
- Date: Fri, 7 May 2004 12:10:49 +0800
Hi Steve,
On 07/05/2004, at 7:46 AM, Steve Sharman wrote:
I have an Edit Relationship page in D2W which allows a number of
Person objects to be added into a relationship with a Secondment
object. The operation itself works fine. However, I would like to be
able to tidy up the presentation of the list page on which I select
the Person records to be added into the relationship.
Tidy up or rearrange and change (but keep the same or similar
functionality OR just change the properties that are listed?
The page presented has the usual "Currently..." banner at the top of
the page, and the selection box with it's "Return", "Search DB", "New"
buttons, and then the list of Person objects meeting search criteria.
At the current time, each Person object line displays all the
attributes of the Person object. What I want to be able to do is cut
this down to just a few standard ones.
The banner you can hide using the rule system (all things being equal).
Be careful to check if showBanner (?) is a boolean or an integer and
use the correct assignment class in the rule editor (BooleanAssignment
or plain assignment). Or you may be able to treat it as either, I am
confused on that point.
Is this something that I should be doing in the rule system, and if so
what rules can I apply to change the behaviour of the Person Edit
Relationship page - or do I have to freeze the component and make code
level changes?
I think when you do a search I believe the results are displayed as for
a "list" task (I think this may be a subtask. Have you tried changing
the "displayKeysForProperty" (?) rule for the "list" task (or subtask)?
I am not 100% sure this is right, but it seems reasonable?
As long as you don't want to reorganise or change the structure of the
page you should be able to do this with the rule system. If you wanted
to reorganise the page then you could create your own D2W template page
(not freezing) and make changes there.
I recommend the first approach for your situation.
Hope that helps.
Cheers,
Ashley.
--
Ashley Aitken
Perth, Western Australia
mrhatken at mac dot com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.