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.
Org.eclipse.higgins.js.pds.client API usage example
Revision as of 13:38, 19 September 2011 by Unnamed Poltroon (Talk)
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
Example call to .pds.client.getAttributes(domain, audience, attributes[], where[], future)
- atts[0] := (http://staples.com/office/supplies/StaplescheckoutFlow#phone, false, nil) // a phone number
- atts[1] := (http://staples.com/office/supplies/StaplescheckoutFlow#bFirstName, false, nil) // "billing first name"
- getAttributes ("nytimes.com", nil, atts, nil, nil)
Initial State
Contexts
Staples template
http://azigo.com/sys/templates/nytimes.com
getAttributes() flow
- Derive the name of the "connection" context (result: http://azigo.com/ptrevithick/staples.com)
- Compute rolesAtts[] (result: ((
- 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 (call findAttributeValues()) from the root #me node (and on down)
TODO: complete this