Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page

2011-02-10 Thread Mark Wardle
You can add an inspect button yo the displayPropertyKeys for your
embedded list (or I tend to use a dedicated inspect link d2w component
that displays a textual property (eg title) that can be given which
inspect pageconfiguration to use.

Mark

-- 
Dr. Mark Wardle
Specialist registrar, Neurology
(Sent from my mobile)


On 10 Feb 2011, at 06:16, Joe Little jmlit...@gmail.com wrote:

 Damn iPad spell checking. I have no idea what unix was originally meant to 
 be in the below



 On Feb 9, 2011, at 8:23 PM, Joe Little jmlit...@gmail.com wrote:

 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 ramseygur...@gmail.com 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 rgur...@smarthealth.com 
 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 jmlit...@gmail.com 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com

 This email sent to rgur...@smarthealth.com


 ___
 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/ramseygurley%40gmail.com

 This email sent to ramseygur...@gmail.com


 ___
 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/mark%40wardle.org

 This email sent to m...@wardle.org
 ___
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:

Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page

2011-02-09 Thread Joe Little
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  (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 arch...@mail-archive.com


Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page

2011-02-09 Thread Joe Little
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 jmlit...@gmail.com 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  (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 arch...@mail-archive.com


Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page

2011-02-09 Thread Ramsey Gurley
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 jmlit...@gmail.com 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
 
 This email sent to rgur...@smarthealth.com

 ___
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 arch...@mail-archive.com


Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page

2011-02-09 Thread David Holt
You probably want to name a pageConfiguration as well so that you limit the 
destruction to one page :-)


On 2011-02-09, at 4:25 PM, Ramsey Gurley 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 jmlit...@gmail.com 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
 
 This email sent to rgur...@smarthealth.com
 
 ___
 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/programmingosx%40mac.com
 
 This email sent to programming...@mac.com

 ___
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 arch...@mail-archive.com


Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page

2011-02-09 Thread Joe Little
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? And then I presume there is an Inspect option per each
embedded row?


On Wed, Feb 9, 2011 at 4:25 PM, Ramsey Gurley rgur...@smarthealth.com 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 jmlit...@gmail.com 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      (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com

 This email sent to rgur...@smarthealth.com


 ___
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 arch...@mail-archive.com


Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page

2011-02-09 Thread Joe Little
Perhaps its actually ERMDSimpleListPageRepetition's that need to be
defined which use displayGroups. Has does one do all of the qualifiers
and such in the rules file? Otherwise, I don't have an obvious page
centric way to get displayGroups with methods. I know I can call
Entity methods without parameters in the rules, but not ones that take
parameters. D2W again being non-congruent with my head.

On Wed, Feb 9, 2011 at 5:52 PM, Joe Little jmlit...@gmail.com 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? And then I presume there is an Inspect option per each
 embedded row?


 On Wed, Feb 9, 2011 at 4:25 PM, Ramsey Gurley rgur...@smarthealth.com 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 jmlit...@gmail.com 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      (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com

 This email sent to rgur...@smarthealth.com



 ___
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 arch...@mail-archive.com


Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page

2011-02-09 Thread Joe Little
Ok. Ramsey's response was to my first question, but the result of
doing this is the same as using the ERD2WDisplayToManyList. I get a
list, but not something that is selectable to go into the inspect/edit
page of the list item in the relationship.

Thus, this discussion wasn't about my problems showing more than one
entity listPage in a given page.


On Wed, Feb 9, 2011 at 6:18 PM, Joe Little jmlit...@gmail.com wrote:
 Perhaps its actually ERMDSimpleListPageRepetition's that need to be
 defined which use displayGroups. Has does one do all of the qualifiers
 and such in the rules file? Otherwise, I don't have an obvious page
 centric way to get displayGroups with methods. I know I can call
 Entity methods without parameters in the rules, but not ones that take
 parameters. D2W again being non-congruent with my head.

 On Wed, Feb 9, 2011 at 5:52 PM, Joe Little jmlit...@gmail.com 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? And then I presume there is an Inspect option per each
 embedded row?


 On Wed, Feb 9, 2011 at 4:25 PM, Ramsey Gurley rgur...@smarthealth.com 
 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 jmlit...@gmail.com 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      (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com

 This email sent to rgur...@smarthealth.com




 ___
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 arch...@mail-archive.com


Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page

2011-02-09 Thread Ramsey Gurley

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 rgur...@smarthealth.com 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 jmlit...@gmail.com 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
 
 This email sent to rgur...@smarthealth.com
 
 
 ___
 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/ramseygurley%40gmail.com
 
 This email sent to ramseygur...@gmail.com



smime.p7s
Description: S/MIME cryptographic signature
 ___
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 arch...@mail-archive.com

Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page

2011-02-09 Thread Joe Little
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 ramseygur...@gmail.com 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 rgur...@smarthealth.com 
 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 jmlit...@gmail.com 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      (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com

 This email sent to rgur...@smarthealth.com


 ___
 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/ramseygurley%40gmail.com

 This email sent to ramseygur...@gmail.com


 ___
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 arch...@mail-archive.com


Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page

2011-02-09 Thread Joe Little
Damn iPad spell checking. I have no idea what unix was originally meant to be 
in the below



On Feb 9, 2011, at 8:23 PM, Joe Little jmlit...@gmail.com wrote:

 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 ramseygur...@gmail.com 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 rgur...@smarthealth.com 
 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 jmlit...@gmail.com 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
 
 This email sent to rgur...@smarthealth.com
 
 
 ___
 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/ramseygurley%40gmail.com
 
 This email sent to ramseygur...@gmail.com
 
 
 ___
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 arch...@mail-archive.com