cwu
Change Current Working URI Accessor API
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > cwu

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:ext:dpml

Definition

Active URI Base

active:cwu

Format

<instr>
  <type>cwu</type>
  <operand>ffcpl:/my/working/path/</operand>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory cwu
operandOptional the URI to take as the current working URI

The cwu accessor is used to set the current working URI of an idoc execution. All reletive URI are resolved against the current working URI. This primative operation is built into the DPML language.

cwu can be called with a canonical URI document using the curi: scheme for dynamic assigment of the CWU.

If the operand is omitted then the CWU is set to null and no relative URIs can be resolved. This is useful when calling scripts that will determine their own CWU if one is not specified.

© 2003-2005, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.