Themelia Pro A powerful new development platform built on ASP.NET.
 
Using Sequence Aliases
 
 

If you haven't read Creating Sequences, please do so now.

Registering a sequence endpoint is similar to the registration of other types in that they obey the use the select, text, type, and parameter parameter attributes of an endpoint. The endpoint type used to register a sequence alias is "SequenceAlias".

As with other endpoint types, the parameter attribute has special meaning to its type. In the case of sequences, the parameter is the name of the sequence, not a path. Here's an example:

<themelia.web>
  <webDomains>
    <add defaultPage="/Page_/Security/Home.aspx">
      <handlers>
        <add selector="contains" text="/process/complex/" type="SequenceAlias" parameter="{Process}" />
        <add selector="contains" text="/process/single/" type="SequenceAlias" parameter="{Process}" />
      </handlers>
    </add>
  </webDomains>
</themelia.web>

Themelia Pro will automatically look for the Process sequence in the /Sequence_/ folder (i.e. /Sequence/Process.aspx).

If you want to change where Themelia Pro looks for the sequences, set the rootPath attribute on the sequence configuration collection. For example:

<themelia.web>
  <sequences rootPath="/Page_/Sequence_/">
    <!-- sequences here-->
  </sequences>
</themelia.web>