Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2006 EMC Corporation. All rights reserved. Grokking the Paradigm Quickie Configurations Dennis Dawson Principal Technical Writer EMC/Documentum.

Similar presentations


Presentation on theme: "© 2006 EMC Corporation. All rights reserved. Grokking the Paradigm Quickie Configurations Dennis Dawson Principal Technical Writer EMC/Documentum."— Presentation transcript:

1

2 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm Quickie Configurations Dennis Dawson Principal Technical Writer EMC/Documentum

3 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm2 Fifteen Minutes’ Worth of Stuff Here’s what I’m gonna talk about: –Webtop Configuration –Adding an Action Link –Removing an Action Link

4 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm3 Which Files Should I Fiddle Around With? All of the files you need to fiddle with are in the /webtop directory Copy files to /webtop/custom to modify them Do not modify any of the files in place – only modify copies you have created in your custom directory

5 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm4 Webtop/WDK Layers “Ogres are like onions – they have layers.” - Shrek wdk – app.xml

6 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm5 Webtop/WDK Layers “Ogres are like onions – they have layers.” - Shrek wdk – app.xml webcomponent – app.xml

7 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm6 Webtop/WDK Layers “Ogres are like onions – they have layers.” - Shrek wdk – app.xml webcomponent – app.xml webtop – app.xml

8 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm7 Webtop/WDK Layers “You know what else everybody likes? Parfaits.” - Donkey wdk – app.xml webcomponent – app.xml webtop – app.xml custom – app.xml

9 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm8 Tweaking Webtop Selecting a document Clicking a checkbox to select one document in a list sets off an interesting chain of events in and of itself. Consider if you had to code by hand not only the decision tree to determine which commands should be available but also the ones that should be disabled

10 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm9 The Magic Behind the Scenes When the multiselect object is rendered, the table multiselectActionIdTbl stores Boolean values used to manage which dynamic commands are available Doc1.htm Doc2.htm Doc3.htm Doc4.xml Doc5.htm Doc6.htm... checkoutcheckincancelco

11 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm10 Simple Configurations Have High Value The most elaborate, complex behavior is pretty much handled for you As a result, the only thing you really need to do is reference a control and action on the JSP, and leave the “work” to the server at runtime

12 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm11 Adding an Action Link Copying toolbar.jsp In unstripped.jar, locate toolbar.jsp and copy it to the /custom/toolbar directory

13 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm12 Adding an Action Link Copying toolbar_component.xml Locate the /webtop/config/toolbar_component.xml configuration file and copy it to the custom/config directory

14 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm13 Adding an Action Link Configuration Reconfigure the toolbar component to look for our custom page... /custom/toolbar/toolbar.jsp...

15 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm14 Adding an Action Link Modifying toolbar.jsp Note the script calls at the top of toolbar.jsp. These provide access to the utility scripts that support common form behaviors and dynamic actions

Ads by Google