Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

WPE TagTransformOperations Update

In WTP 3.0 M5, there is a breaking change in the provisional API for the Web Page Editor's (WPE) tag transform operations. Developers who are supplying design-time metadata for rendering tag libraries in the WPE will be affected, and will need to react to this change.

All tag transformation operations are now being made available by extending the org.eclipse.jst.pagedesigner.pageDesignerExtension. Here is an example extension taken from the org.eclipse.jst.pagedesigner plugin.xml:

Example:

  <tagTransformOperation
        id="CreateElementOperation"    
        class="org.eclipse.jst.pagedesigner.dtmanager.converter.operations.internal.CreateElementOperation"> 
  </tagTransformOperation>

, where the operation class must extend org.eclipse.jst.pagedesigner.dtmanager.converter.operations.AbstractTransformOperation.

To reference an operation, a fully qualified extension-id must now be used. Anyone who had previously created design-time metadata, DTInfo, must update the id.

Example:
 
	<operation id="CreateElementOperation">

should become,

       <operation id="org.eclipse.jst.pagedesigner.CreateElementOperation"/> 


If "CustomTransformOperation" ids were used, the references must also be updated to use the extension-id instead. The <parameter> child element to the CustomTransformOperation is no longer required or used.

Example:
        <operation id="CustomTransformOperation">
                <parameter
                value="org.eclipse.jst.pagedesigner.jsf.ui.converter.operations.jsf.ColumnOperation"/>
        </operation>

should become,

    
	<operation id="org.eclipse.jst.pagedesigner.jsf.ui.ColumnOperation"/> 

Back to the top