Skip to main content
Jump to: navigation, search

WPE TagTransformOperations Update

Revision as of 14:39, 11 February 2008 by (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:



, 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.

	<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.

        <operation id="CustomTransformOperation">

should become,

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

Back to the top