Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Org.eclipse.higgins.js.pds.client API usage example"
(New page: {{#eclipseproject:technology.higgins|eclipse_custom_style.css}} ===Initial State=== TODO: complete this) |
|||
Line 1: | Line 1: | ||
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}} | {{#eclipseproject:technology.higgins|eclipse_custom_style.css}} | ||
− | ===Initial State=== | + | Example call to .pds.client.getAttributes(domain, audience, attributes[], where[], future) |
+ | |||
+ | * atts[] := (http://staples.com/office/supplies/StaplescheckoutFlow#bFirstName, false, nil) | ||
+ | |||
+ | * getAttributes (''"staples.com", nil, atts, nil, nil'') | ||
+ | |||
+ | ==Initial State== | ||
+ | |||
+ | [[Image:Pds.client.example 2.0.100a.png]] | ||
+ | |||
+ | == getAttributes() flow == | ||
+ | |||
+ | - derive the name of the "connection" context (http://azigo.com/ptrevithick/staples.com) | ||
+ | - We would now try to read attributes from the branch of person nodes rooted at its #me person | ||
+ | - However, since this doesn't exist we try to read attributes from the root #me node (and on down) | ||
TODO: complete this | TODO: complete this |
Revision as of 09:57, 19 September 2011
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
Example call to .pds.client.getAttributes(domain, audience, attributes[], where[], future)
- atts[] := (http://staples.com/office/supplies/StaplescheckoutFlow#bFirstName, false, nil)
- getAttributes ("staples.com", nil, atts, nil, nil)
Initial State
getAttributes() flow
- derive the name of the "connection" context (http://azigo.com/ptrevithick/staples.com) - We would now try to read attributes from the branch of person nodes rooted at its #me person - However, since this doesn't exist we try to read attributes from the root #me node (and on down)
TODO: complete this