Changes between Version 9 and Version 10 of MolgenisFaq


Ignore:
Timestamp:
2009-09-14T15:31:32+02:00 (15 years ago)
Author:
Morris Swertz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MolgenisFaq

    v9 v10  
    55= I want to automatically select my plugin =
    66Solution:
    7  1. Use the '_target' paramater, i.e.
     7 1. Use the '_target' parameter in the form containing the selecting action
    88{{{
    99#!xml
     
    1111}}}
    1212
    13  2. In the handleRequest change the selection of the containing menu
     13 2. In the handleRequest of the targetted plugin change selection of menu
    1414{{{
    1515#!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);
    2017}}}