Introduction

The main purpose of this project is to give a generic Dynamic Web Service Invocation Framework using AJAX. This has been used in WSO2 WSAS and WSO2 ESB successfully.

Integration

When the server starts up an xml file ui-extensions-config.xml has to be in the classpath. This file has the following main parts,

<extension-config>
    <description>Description of the Project</description>

    <welcome-file>index.html</welcome-file>

    <file-mappings>
        <mapping>
            <token>@menu.items@</token>
            <file>menu.html</file>
        </mapping>
        <mapping>
            <token>@div.items@</token>
            <file>divs.html</file>
        </mapping>
        <mapping>
            <token>@css.file.items@</token>
            <file>css.html</file>
        </mapping>
        <mapping>
            <token>@js.file.items@</token>
            <file>js.html</file>
        </mapping>
        <mapping>
            <token>@promotion.content@</token>
            <file>promotion.html</file>
        </mapping>
     </file-mappings>

    <extension-order>
        <item>core</item>
    </extension-order>
</extension-config>

ss