All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web.terminal.terminal-commands.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE aspectran PUBLIC "-//ASPECTRAN//DTD Aspectran 8.0//EN"
        "http://aspectran.github.io/dtd/aspectran-8.dtd">
<aspectran>

    <settings>
        <setting name="transletNamePrefix" value="/commands"/>
    </settings>

    <translet name="/hello">
        <transform format="text">
            <template style="apon">
                |Hello, World!
            </template>
        </transform>
    </translet>

    <translet name="/login">
        <parameters>
            <item name="email" mandatory="true">${id}@${domain}</item>
            <item name="password" mandatory="true" secret="true"/>
        </parameters>
        <attributes>
            <item name="attr1" mandatory="true">${id}@${domain}</item>
            <item name="attr2" mandatory="true" secret="true">${password}</item>
        </attributes>
        <transform format="text">
            <template style="apon">
                |------------------------------------------------
                |The parameters you entered are:
                |   email: ${email}
                |   password: ${password}
                |The internally generated attributes are:
                |   attr1: @{attr1}
                |   attr2: @{attr2}
                |------------------------------------------------
            </template>
        </transform>
    </translet>

</aspectran>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy