<?xml version="1.0"?>
<my:page xmlns:my="http://schemas.ephox.com/page"><my:id>products/editlive/upgrading50.html</my:id><my:title>Upgrading to EditLive! for Java 5.0</my:title><my:category id="Products"/><my:description>test</my:description><my:subcategory id="EditLive! for Java"/><my:subsubcategory id=""/><my:version>3</my:version><my:body><h1>
       Upgrading to EditLive! 5.0
    </h1><h2>
       Upgrading the EditLive! Source
    </h2><p>
       In order to update to EditLive! 5.0 the new EditLive! redistributables must be placed on the
      relevant Web server.  These files can be found in the
      <em>INSTALL_HOME</em>/webfolder/redistributables directory of the EditLive! 5.0 SDK, where
      <em>INSTALL_HOME</em> represents the location of the EditLive! 5.0 SDK install.
    </p><p>
       These files can be used to replace the existing EditLive! 4.0 files.  
    </p><h2>
       New Menu and Toolbar Commands
    </h2><p>
       EditLive! 5.0 includes a significant amount of new end user functionality.  Much of the
      new end user functionality is enabled through a collection of new menu and toolbar
      commands.  New menu and toolbar commands for EditLive! 5.0 are as follows:
    </p><ul>
			<li>
				<strong>Accessibility</strong> - This command allows the user to check their content
        against the <a href="http://www.w3.org/TR/WAI-WEBCONTENT">W3C Accessibility Compliance
        Guidelines</a>.  The dialog allows users to view the precise instances in their
        content where the W3C guidelines are not met, and provides links to the W3C website
        regarding the specific guidelines.<br/>
				<p>
					<strong>Note:</strong> For the accessibility compliance functionality to work correctly,
          the <code>logicalEmphasis</code> attribute of the <code>&lt;htmlfilter&gt;</code>
          element must be set to true. For more information on accessibility compliance see the <a href="../../../../developers/editliveforjava/v50/html/chpt_accessibility.html">Accessibility
          Compliance</a> chapter in the EditLive! documentation.
        </p>
			</li>
			<li>
				<strong>DateTime</strong> - This command allows users to insert a date/time value into
        their content.
      </li>
			<li>
				<strong>InsertComment</strong> - This command allows users to insert a HTML comment into
        their content.
      </li>
			<li>
				<strong>InsForm</strong> - This command allows users to insert a HTML form into their
        content.
      </li>
			<li>
				<strong>InsTextField</strong> - This command allows users to insert a text field HTML form
        control into their content.
      </li>
			<li>
				<strong>InsPasswordField</strong> - This command allows users to insert a password field
        HTML form control into their content.
      </li>
			<li>
				<strong>InsHiddenField</strong> - This command allows users to insert a hidden field HTML
        form control into their content.
      </li>
			<li>
				<strong>InsFileField</strong> - This command allows users to insert an insert file field
        HTML form control into their content.
      </li>
			<li>
				<strong>InsButtonField</strong> - This command allows users to insert a button HTML form
        control into their content.
      </li>
			<li>
				<strong>InsSubmitField</strong> - This command allows users to insert a submit button HTML
        form control into their content.
      </li>
			<li>
				<strong>InsResetField</strong> - This command allows users to insert a reset button HTML
        form control into their content.
      </li>
			<li>
				<strong>InsCheckboxField</strong> - This command allows users to insert a checkbox field
        HTML form control into their content.
      </li>
			<li>
				<strong>InsRadioField</strong> - This command allows users to insert a radio button field
        HTML form control into their content.
      </li>
			<li>
				<strong>InsTextAreaField</strong> - This command allows users to insert a textarea field
        HTML form control into their content.
      </li>
			<li>
				<strong>InsSelectField</strong> - This command allows users to insert a selection field
        HTML form control into their content.
      </li>
			<li>
				<strong>InsImageField</strong> - This command allows users to insert a image field HTML
        form control into their content. 
        <p>
					<strong>Note:</strong> The HTML form control insertion commands are only available for
          the <code>&lt;menuItem&gt;</code> elements of an EditLive! configuration file.
        </p>
			</li>
			<li>
				<strong>Print</strong> - This command allows users to print the document contained in the
        Ephox EditLive! editor. 
        <p>
					<strong>Note:</strong> In order for the print dialog to appear pop-up blockers must be
          turned off on the client's machine.
        </p>
			</li>
		</ul><p>
       These menu and toolbar items can be added to any EditLive! menu or toolbar within a
      &lt;menuItem&gt; or &lt;toolbarButton&gt; configuration element.  The following
      example demonstrates how to specify the <strong>Accessibility</strong> item as either a menu
      item or toolbar button:
    </p><p>
			<strong>Menu Item:</strong>
		</p><blockquote>
			<code>&lt;menuItem name="Accessibility" /&gt;</code>
		</blockquote><p>
			<strong>Toolbar Button:</strong>
		</p><blockquote>
			<code>&lt;toolbarButton name="Accessibility" /&gt;</code>
		</blockquote><p>
       For more information on how to configure the EditLive! interface please see the section in
      the EditLive! SDK on <a href="/developers/editliveforjava/v50/html/articles_customizinginterface.html">Customizing
      the EditLive! Interface</a>.
    </p><h2>
       Disable Background Spell Checking
    </h2><p>
       EditLive! 5.0 allows developers to turn off the <em>spell check as you type</em>
      functionality of EditLive! upon loading the editor. This is done by setting the
      <strong>startBackgroundSpellChecking</strong> attribute of the
      <strong>&lt;spellCheck&gt;</strong> XML configuration file element to false. For example:
    </p><blockquote>
			<code>&lt;spellCheck jar="../../redistributables/editlivejava/dictionaries/<br/>
       en_us_3_1.jar" startBackgroundChecking="false" useNotModified="false" /&gt;</code>
		</blockquote><p>
       For more information on disabling background spell checking please see the section in the
      EditLive! SDK on the <a href="/developers/editliveforjava/v50/html/xml_spellcheck.html">Spell
      Check XML configuration elements</a>.
    </p><h2>
			<a name="disableinline" id="disableinline"> </a> Disable Inline Table and Image
      Resizing
    </h2><p>
       EditLive! 5.0 allows developers to turn off the user's ability to resize images and tables
      existing in the editor's content. This is done by setting the
      <strong>disableInlineImageResizing</strong> and <strong>disableInlineTableResizing</strong>
      attributes of the <strong>&lt;wysiwygEditor&gt;</strong> XML configuration file element to
      true. For example:
    </p><blockquote>
			<code>&lt;wysiwygEditor disableInlineImageResizing="true" disableInlineTableResizing="true"
      /&gt;</code>
		</blockquote><p>
       For more information on disabling inline image and table resizing please see the section in
      the EditLive! SDK on the <a href="/developers/editliveforjava/v50/html/xml_wysiwygeditor.html">wysiwyg Editor XML
      configuration elements</a>.
    </p><h2>
       Advanced APIs
    </h2><p>
       EditLive! 5.0 now supports a set of advanced APIs. These APIs are a collection of Java
      classes and interfaces developers can use to change the fundamental functionality of the
      EditLive! applet.
    </p><p>
			<strong>Note:</strong> These advanced APIs are designed for use by advanced Java
      programmers. They should only be used by experienced Java programmers wishing to customize
      the core default actions of EditLive!.
    </p><p>
       For more information please see the <a href="/developers/editliveforjava/v50/eljadvancedapi/html/index.html">Advanced API
      documentation</a>.
    </p><h2>
       Internationalized Menus
    </h2><p>
       EditLive! 5.0 now features internationalized menus. This allows developers to specify a menu
      name in an EditLive! configuration file that will be properly translated to the desired
      language based on the user's locale.
    </p><p>
       The following XML menu name attributes will be automatically internationalized:
    </p><ul>
			<li>
				<strong>ephox_filemenu</strong> - The internationalized <strong>File</strong> menu name
      </li>
			<li>
				<strong>ephox_editmenu</strong> - The internationalized <strong>Edit</strong> menu name
      </li>
			<li>
				<strong>ephox_viewmenu</strong> - The internationalized <strong>View</strong> menu name
      </li>
			<li>
				<strong>ephox_insertmenu</strong> - The internationalized <strong>Insert</strong> menu name
      </li>
			<li>
				<strong>ephox_formatmenu</strong> - The internationalized <strong>Format</strong> menu name
      </li>
			<li>
				<strong>ephox_toolsmenu</strong> - The internationalized <strong>Tools</strong> menu name
      </li>
			<li>
				<strong>ephox_formmenu</strong> - The internationalized <strong>Forms</strong> menu name
      </li>
		</ul><p>
        
    </p><p>
       To specify an internationalized menu name, enter one of the specified menu names into
      <strong>name</strong> attribute of a <strong>&lt;menu&gt;</strong> XML configuration
      element. For example:
    </p><blockquote>
			<code>&lt;menu name="ephox_filemenu"&gt;</code>
		</blockquote><p>
       For more information on how to configure the EditLive! internationalized menus please see
      the section in the EditLive! SDK on <a href="/developers/editliveforjava/v50/html/xml_menu.html">Menu XML configuration
      elements</a>.
    </p><h2>
       Adding Symbols to the Insert Symbols Dialog
    </h2><p>
       Using the EditLive! XML configuration file, developers can specify extra symbols to appear
      in the insert symbols dialog. This is done by embedding a &lt;symbol&gt; XML element
      with-in a &lt;symbols&gt; XML element. For example, to add a
      <strong><em>â</em></strong> symbol to the insert symbols dialog:
    </p><blockquote>
			<code>&lt;symbols&gt;<br/>
         &lt;symbol char="â"&gt;<br/>
       &lt;/symbols&gt;</code>
		</blockquote><p>
       For more information on how to configure the EditLive! insert symbols dialog please see the
      section in the EditLive! SDK on the <a href="/developers/editliveforjava/v50/html/xml_symbol.html">Symbol XML configuration
      element</a>.
    </p><h2>
			<a name="imagebrowser" id="imagebrowser"> </a> Web-Based Image Browser
    </h2><p>
       EditLive! 5.0 allows developers to specify a webpage that can appear in the image insertion
      dialog. This allows users to click on images and image links in this webpage to insert them
      into the current document in the EditLive! editor. To specify a webpage to appear in the
      image insertion dialog, use the <strong>&lt;imageBrowser&gt;</strong> XML configuration
      element. For example, to specify the webpage <em>www.ephox.com</em> to appear in the image
      insertion dialog, the following &lt;imageBrowser&gt; XML configuration element would be
      used:
    </p><blockquote>
			<code>&lt;images ...&gt;<br/>
         &lt;imageBrowser href="www.ephox.com" /&gt;<br/>
       &lt;images .../&gt;</code>
		</blockquote><p>
       For more information on how to configure the EditLive! web-based image browser please see
      the section in the EditLive! SDK on the <a href="http://www.ephox.com/developers/editliveforjava/v50/html/articles_imagebrowser.html">Image
      Insertion Dialog's Browser Component</a>.
    </p><h2>
       IsDirty Runtime Method
    </h2><p>
       EditLive! 5.0 provides an <strong>IsDirty</strong> runtime method to allow developers to see
      if the contents of the EditLive! editor have changed since the editor was first instantiated.
    </p><p>
       For more information on how to use the IsDirty runtime method please see the section in the
      EditLive! SDK on the <a href="http://www.ephox.com/developers/editliveforjava/v50/html/ch17s09.html">IsDirty
      function</a>.
    </p><h2>
       Upgrading from Versions Prior to 4.0
    </h2><p>
       If you are  upgrading from a version of EditLive! prior to EditLive! 4.0 you should
      also consult the <a href="upgrade40.html">Upgrading to EditLive! 4.0</a> documentation.
    </p><p>
       For an overview of the new features packaged with EditLive! 5.0 please refer to the <a href="/products/editlive/whatsnew.html">What's New &amp; Noteworthy in 5.0</a> document
    </p></my:body></my:page>
