wiki:MolgenisFaq

Version 11 (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')
  • daarna kopieer je web.xml van distro naar je project
  • kopieer je molgenis.properties, en je xmls
  • daarna kopieer je MolgenisGenerate?.java etc naar je handwritten/java
  • en tenslotte verander je in je project -> Java EE dependecies naar 'molgenis'