Thanks. This helped with the listing of entities within a
relationship. For the other problem, I'm just punting on D2W for that
page, listing totals for each type, and having the user click an
action that generates a unix single-entity type list page from the
qualifying results I get using ERChronic with quals. Seems to be the
only way to incorporate that and get it all on one page.


On Wed, Feb 9, 2011 at 6:55 PM, Ramsey Gurley <[email protected]> wrote:
>
> On Feb 9, 2011, at 6:52 PM, Joe Little wrote:
>
>> I'm a little confused. I can make a pageConfiguration, and set
>> multiple ERDList and ListEmbeddedStuff's -- Ok. But those are looking
>> for stuffList which is just one of the NSArrays defined for a given
>> set of entities. Thus, I'll have a couple of these, and they'll each
>> show their results. How does one control the ordering of all these
>> ERDLists?
>
> I'm not sure which ordering you mean.
>
> The sort ordering can be specified with the defaultSortOrdering and 
> sortOrdering RHS keys. If you use the ERCoreBusinessLogic framework, it has 
> d2w userPreferences to persist the user selected sort ordering in the db.
>
> The order in which the different lists appear is controlled by 
> displayPropertyKeys or tabSectionsContents or sectionsContents RHS keys.
>
>> And then I presume there is an Inspect option per each
>> embedded row?
>
> You can get one using the actions RHS key if you don't see one by default.  
> Actions is a dictionary like
>
> 100: qual => actions = { right = ("inspectAction"); left = ("editAction", 
> "deleteAction"); }
>
> Those actions will be resolved by rules like
>
> 10: propertyKey = "inspectAction" => componentName = "ERDInspectButton"
>
> or something similar.  If they aren't defined, you can create your own
>
> 10: propertyKey = "controllerAction" => componentName = "ERDControllerButton";
>
> You can look in the rules for ERMod and ERD2W to see which ones are 
> predefined.
>
> Ramsey
>
>
>> On Wed, Feb 9, 2011 at 4:25 PM, Ramsey Gurley <[email protected]> 
>> wrote:
>>> Use ERDList as your component. I think all you need are a couple of rules 
>>> like:
>>>
>>> 100: propertyKey = 'stuffList' => componentName = ERDList
>>> 100: propertyKey = 'stuffList' => listConfigurationName = ListEmbeddedStuff
>>>
>>> Ramsey
>>>
>>> On Feb 9, 2011, at 5:16 PM, Joe Little wrote:
>>>
>>>> To be more specific, I want multiple ERModListPages within one page.
>>>> Is that just not doable?
>>>>
>>>>
>>>> On Wed, Feb 9, 2011 at 3:57 PM, Joe Little <[email protected]> wrote:
>>>>> First, I have places whereby I have:
>>>>>
>>>>> 100: ((task = 'inspect' or task = 'list') and
>>>>> smartRelationship.isToMany = 1) => componentName =
>>>>> "ERD2WDisplayToManyList" (Assignment)
>>>>>
>>>>> This gives me the list view I want of my items, but I also want to
>>>>> have users able to select that row and go to the inspect page for that
>>>>> entity referred to in the relationship. Is this doable?
>>>>>
>>>>> I also want to create multiple compact list views in my primary page,
>>>>> each one a list of an entity that is qualified like "recent notes",
>>>>> "notes that are due", etc., but all on one page. Are there any
>>>>> examples lying around for rules to accomplish this? Or do I need to
>>>>> create my own multiple ajaxgrid's within a page I construct?
>>>>>
>>>> _______________________________________________
>>>> 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/rgurley%40smarthealth.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/ramseygurley%40gmail.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