Changes between Version 9 and Version 10 of MolgenisFaq
- Timestamp:
- 2009-09-14T15:31:32+02:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MolgenisFaq
v9 v10 5 5 = I want to automatically select my plugin = 6 6 Solution: 7 1. Use the '_target' param ater, i.e.7 1. Use the '_target' parameter in the form containing the selecting action 8 8 {{{ 9 9 #!xml … … 11 11 }}} 12 12 13 2. In the handleRequest change the selection of the containingmenu13 2. In the handleRequest of the targetted plugin change selection of menu 14 14 {{{ 15 15 #!java 16 //get the menu, either using getParent or using a get("name of menu") 17 MenuScreen container = ((MenuScreen)getParent()); 18 //change select to current element 19 container.setSelected(this.name); 16 ((MenuScreen)getParent()).setSelected(this.name); 20 17 }}}