<license> Element

This element contains the configuration information for a single license of Ephox EditLive! for Java.

Note:  Attributes within this element should be entered as per the license file provided by Ephox.  If the configuration information provided by the attributes does not correspond to a valid license provided by Ephox then EditLive! for Java will only run in 30 day trial mode.

Element Tree Structure

<editLiveForJava>
    <ephoxLicenses>
        <license>

<editLiveForJava>
    ...
    <ephoxLicenses>
        <license ... />
    </ephoxLicenses>
    ...
</editLiveForJava>

Required Attributes

Attribute Description
domain This attribute provides the domain to which this copy of EditLive! for Java is licensed. 
expiration This attribute provides the expiration date of the license.
key This attribute provides the product key for this license of EditLive! for Java.
licensee This attribute provides the company or organisation to which this copy of EditLive! for Java is licensed.
product This attribute details the Ephox product which can be used with this license.
release This attribute details the release number of the Ephox product which can be used with this license
seats This attribute details the number of seats that this license is valid for.

Optional Attributes

Attribute Description
accountID This attribute details your Ephox account ID.
activationURL This attribute configures the URL that EditLive! for Java should use to check its license.  If left blank the default value will be used.
Default Value:  http://www.ephox.com/activate/eljf10.asp
forceActive When set to true this attribute will force licenses to become active instead of requesting the user to activate the license.  If left blank the default value will be used.
Note:  This attribute is a boolean and can only be true or false
Default Value:  true
type This attribute specifies the type of license provided.  Some license types might be time limited.  If left blank the default value will be used.
Note:  This attribute has the possible values of production, development or QA.
Default Value:  production

Example

This example demonstrates how to use the <license> element to input licensing information into EditLive! for Java.

<editLiveForJava>
    ...
    <ephoxLicenses>
        <license accountID="1234" 
                 activationURL="http://www.ephox.com/elregister/el2/activate.asp" 
                 domain="demo.com" expiration="NEVER" forceActive="false" 
                 key="4545-5465-2456-5648" licensee="Someone" 
                 product="EditLive! for Java" release="2.0" seats="100" 
                 type="production" />
    </ephoxLicenses>
    ...
</editLiveForJava>

Remarks

The <license> element can appear multiple times within the <ephoxLicenses> element.

The <license> element must be a complete tag, it cannot contain a tag body.  Therefore the tag must be closed in the same line.  See the example below:

    <license accountID=... />

See Also