Dashboard > WebObjects > ... > ERDivaLook > How to use an Embedded D2WList
  WebObjects Log In View a printable version of the current page.  
  How to use an Embedded D2WList
Added by Ravi Mendis, last edited by Ravi Mendis on Feb 03, 2010  (view change)
Labels: 
(None)

How to use an Embedded D2WList

In ERDivaLookExample Studio.movies is displayed as an embedded D2W list:

You use it by setting the following rules:

LHS key RHS
entity.name = 'Studio' and task = 'inspect' and propertyKey = 'movies' componentName ERDEditableList
pageConfiguration = 'ListEmbeddedMovie' and parentPageConfiguration like '*Studio' displayPropertyKeys ("title","category","rated")

All embedded D2WList pages have pageConfigurations beginning with ListEmbedded.
They also are assigned a parentPageConfiguration.

So the particular setting for a embedded list can be identified using both these keys, as seen in the second rule listed above.

How to make the list Editable

To be able to add items to the list use a rule like the following:

LHS key RHS
pageConfiguration = 'ListEmbeddedMovie' and parentPageConfiguration like '*Studio' showActions true

To be able to delete items from the list, use a rule like:

LHS key RHS
pageConfiguration = 'ListEmbeddedMovie' and parentPageConfiguration like '*Studio' isEntityDeletable true

Site running on a free Atlassian Confluence Open Source Project License granted to ObjectStyle. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators