wiki:MolgenisFaq

Version 12 (modified by Morris Swertz, 15 years ago) (diff)

--

MOLGENIS FAQ

Here you can find answers to some of the most frequently asked questions about MOLGENIS. If you have a question not answered on this page, you can ask it on the MailingList. See the MolgenisSupport? page for more options on getting support and services for MOLGENIS.

I want to automatically select my plugin

Solution:

  1. Use the '_target' parameter in the form containing the selecting action
    <input type="hidden" name="_target" value="name of the plugin"/>
    
  1. In the handleRequest of the targetted plugin change selection of menu
    ((MenuScreen)getParent()).setSelected(this.name);
    

Create new MOLGENIS project

  • creeer een nieuw 'dynamic web project'
  • vervolgens moet je 'handwritten/java' 'generated/java' en 'generated/sql' aanmaken
  • onder project -> properties -> build path set the Source to match these folders (and not 'src')
  • kopieer WebContent/WEB-INF/web.xml
  • kopieer WebContent/index.html
  • kopieer/creeer je _db.xml en _ui.xml
  • kopieer molgenis.properties en pas aan aan je xmls en database_name
  • daarna kopieer je MolgenisGenerate?.java etc naar je handwritten/java
  • project -> Java EE dependecies naar 'molgenis'
  • run