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

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

16 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm15 Adding an Action Link for the Rename command To add the Rename command to the toolbar, I can add another cell to the HTML table and insert this minimal code:

17 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm16 Adding an Action Link for the Rename command Here’s the Rename action link we just added:

18 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm17 Adding an Action Link for the Rename command We can add more attributes to improve the look and feel

19 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm18 Adding an Action Link for the Rename command Here’s the Rename action link with formatting:

20 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm19 Adding an Action Link for the History command

21 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm20 Adding an Action Link for the History command Here is the new History action link. Note that when multiple objects are selected, Rename is active, but History is not

22 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm21 Removing an Action Link You can remove an action link from the interface by commenting out its code

23 © 2006 EMC Corporation. All rights reserved. Grokking the Paradigm22 Removing an Action Link Here is the toolbar with the Add to Clipboard command removed:

24 © 2006 EMC Corporation. All rights reserved. Clarifications/comments? Please send them to: dawson_dennis@emc.com WDK Questions? Please visit: http://developer.emc.com/developer/


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

Similar presentations


Ads by Google