DCTM 6.5: Add a new custom node to browser tree

To add a new custom node to the browser tree component in Webtop 6.5, we’ll need to create a new custom component. We’ll need to provide a Java class, extending the com.documentum.web.formext.component.Component class.

Also, Webtop 6.5 parses the JSP file, looking for tags. A JSP file needs to be provided. This JSP is pointed in the new component XML file. The JSP needs to make use of tags.
We’ll can use the tag to include a HTML file. By separately including a HTML file, we’re able to let the web designer work independently and not having to know the nitty gritty of the tags.

In Webtop 6.5, there are two browser tree components XMLs: browsertree_component.xml (same as in 5.3 and 6.0) and browsertreeex_component.xml. We’ve to extend the browsertreeex_component.xml instead of browsertree_component.xml.

Refer to here for the sample code listing.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: