Re: Exceptions originting from non-existing DirectActions

2011-02-09 Thread Klaus Berkling

On Feb 8, 2011, at 1:49 AM, ute Hoffmann wrote:

 Hallo,
 I get sometimes Error Messages containing DirectActions which do not exist.
 
 Some of them happen when a page is not yet fully loaded and a javascript is 
 executed
 containing a image, then the image appears in a DirectAction call like this:
 
 FusszeielundImpressumaendern_b-poster.jpgAction()
 
 The image is in the page, but the Action not.
 
 Has someone an explanation for this and perhaps a solution to avoid this?
 
 Can one catch a java.lang.reflect.InvocationTargetException and if yes, where 
 should I do this?
 In DirectAction.java? In Application?
 I would like to catch all Exceptions originating from non-existing 
 DirectAction Calls if possible.
 

Does this help (in the application class)? From some ancient code I wrote:

public WOResponse dispatchRequest(WORequest aRequest) {

try {
String uri = aRequest.uri();
String appURLPrefix = aRequest.applicationURLPrefix();
String reqHandlerKey = aRequest.requestHandlerKey();

if ( uri.startsWith(appURLPrefix+/+reqHandlerKey+/) 
(uri.endsWith(.gif) || uri.endsWith(.jpg) 
|| uri.endsWith(.png)) ) {
WOResponse imageReplacement = new WOResponse();

imageReplacement.setStatus(WOResponse.HTTP_STATUS_NOT_FOUND);
imageReplacement.disableClientCaching();
return imageReplacement;
}
} catch (Exception e) {
NSLog.err.appendln(Error while checking request for images we 
don't handle. User likely lost the session.);
}
return super.dispatchRequest(aRequest);
}



kib

Live as if you were to die tomorrow. Learn as if you were to live forever.
Mahatma Gandhi

Klaus Berkling
Web Application Dev.  Systems Administrator
DynEd International, Inc.
www.dyned.com | blog



 ___
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

[MEETING] February WO-NoVA NEXT TUESDAY (2/15/2011) at 6:30

2011-02-09 Thread Andrew Kinnie
Greetings all,

WO-NoVA is moving back to Tuesday, (unless people suggest otherwise, ASAP), and 
as such, this month's meeting will be NEXT WEEK on (weirdly enough) Tuesday.  

The topic will be differences between WebObjects and Cocoa, their different 
design patterns and related considerations.  Eventually, this may develop into 
a formal presentation at some sort of conference or another.  We may also 
discuss possible locations for future meetings, if we decide to change.

The location for this meeting is as usual, 

K12, Inc.
2300 Corporate Park Drive
Herndon, VA 20171

http://maps.google.com/maps?f=qsource=s_qhl=engeocode=q=2300+Corporate+Park+Dr,+Herndon,+VA+20171sll=37.0625,-95.677068sspn=55.016555,76.992187ie=UTF8hq=hnear=2300+Corporate+Park+Dr,+Herndon,+Fairfax,+Virginia+20171z=17

Hope to see you all there.  Yes, all of you.  Every single one.

Andrew Kinnie
 ___
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

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