The java script share functions can be called in following case:
- For visual part render: create DOM objects to simulate the output of custom tag lib. More detail Download js file
- For modify: modify DOM based document in DOM find/replace dialog and "macro" action. More detail Download js file
Config java script library for JSDT
The JSDT (come with WTP 3.x) could help to develop the share functions. Here are the steps:
- Download java script API, extract and copy xmlnode.js to a Dynamic/Static Web Project.