Technical Support
posted this on March 11, 2009 16:03
Every time you call an URL TouristWay generate a tree-like data model and fills it with all relevant information, both ones stored in the current session and those coming according to the set of components listed in the XML script. Components usually execute a task that generate some kind of result which the component stores in its namespace.
Component namespace is part of the TouristWay data model. In order to explore TouristWay data model you can anytime enable TouristWay workbench:

By selecting a component in the page and clicking the link "Show/hide date" you will display TouristWay data tree

To access these information all you need to do is properly compile the path of the variable you want to reach in a dot-separated notation like this:
%-components.search.attributes.dtcheckin-%
From inside a component you can use shortcuts by creating aliases in the component definition:
<datasetalias>
<alias id="this">components.search.attributes</alias>
</datasetalias>
This statement define the alias “results” linked to components.search.results, so instead of
%-components.search.attributes.dtcheckin-%
you can just say
%-this.dtcheckin-%
Attention, this is a local alias, so it will only work in the component own template.
For more information about how to customize your pages, please take a look at the SDK QUICKSTART GUIDE attached below. You will possibly need the COMPONENT REFERENCE GUIDE (also attached below) if you really want to move to serious development.