|
Viewing HTML Source in WDK/Webtop 6
| December 2007 | |
| Contributed by - Lani Hardage-Vergeer, EMC Corporation |
Abstract
The right-click context menu has removed one of a web developer's favorite tools, viewing the source in the UI. This tip looks at how you view the source in D6.
Contents
The right-click context menu has removed one of a web developer's favorite tools, viewing the source in the UI. View Source is especially helpful when you are trying to determine which component is generating the particular UI, or what JavScript is being generated. To bypass the right-click context menu on a component page that has it, just perform a double right-click. The conventional right-click browser menu will be superimposed on the context menu, as shown -
Tracing
You can also get helpful debugging information by turning on the FORMINFOCOMMENTS flag. Navigate to webtop/wdk/tracing.jsp check the INFOCOMMENTS flag and then check Tracing is enabled for the current session.With FORMINFOCOMMENTS turned on, the source is similar to the following:
<head>
<!-- Component: objectlist -->
<!-- Config file: /webtop/config/objectlist_component.xml -->
<!-- Context: REQUEST(folderPath=,type=dm_docbase,objectId=0000000000000000)SESSION(clientenv=webbrowser)APP() -->
<!-- Page: start -->
<!-- Form class: com.documentum.webtop.webcomponent.objectlist.ObjectList -->
<!-- Nls resource: com.documentum.webcomponent.navigation.doclist.DocListNlsProp -->
<!-- URL: /webtop/webtop/classic/objectlist/objectlist.jsp -->
<script type="text/javascript">var g_virtualRoot = "/webtop";</script>
|
|