source: Dev/branches/rest-dojo-ui/client/rft/ui/MenuLink.js @ 338

Last change on this file since 338 was 274, checked in by hendrikvanantwerpen, 13 years ago
  • [Client] Moved pages in subtree of rft/, allowing controllers next to them.
  • [Client] Created questions page, gives overview and allows adding.
  • [Client] Page controllers inherit from _Page, because the previous mechanism w

asn't working.

  • [Client] Added new user registration.
  • [Server] Changed user passwords to passwordHash/passwordSalt combination.
  • [Server] Added simple object marshalling and unmarshalling to preserve types.
  • [Server] Added ResearchToolObjectInterface? with static create() method. Implemented for all model classes.
File size: 291 bytes
Line 
1define(['dojo/_base/declare','dijit/MenuItem','../content'],
2function(declare,MenuItem,content){
3    return declare('rft.ui.MenuLink',[MenuItem],{
4        options:{
5            pageId: null
6        },
7        onClick: function(){
8            content.goTo(this.pageId);
9        }
10    });
11});
Note: See TracBrowser for help on using the repository browser.