View Javadoc

1   package org.telscenter.pas.otrunk.skeleton.controllers;
2   
3   import org.concord.framework.otrunk.DefaultOTController;
4   import org.telscenter.pas.beans.PasProject;
5   import org.telscenter.pas.otrunk.skeleton.OTPasProject;
6   import org.telscenter.pas.otrunk.skeleton.steps.OTDisplayPage;
7   import org.telscenter.pas.steps.DisplayPage;
8   
9   public class OTDisplayPageController extends OTBrowseWebController {
10  
11  	public static Class[] realObjectClasses = { DisplayPage.class };
12  	public static Class otObjectClass = OTDisplayPage.class;
13  
14  	
15  	//TODO: do not define these
16  	public void loadRealObject(Object realObject) {
17  		super.loadRealObject(realObject);
18  
19  		DisplayPage display = (DisplayPage) realObject;
20  		OTDisplayPage otDisplay = (OTDisplayPage) otObject;
21  
22  		// FIXME use beanutils property mapper for all this
23  
24  //		// property:url
25  //		display.setUrl(otDisplay.getUrl());
26  	}
27  
28  	public void registerRealObject(Object arg0) {
29  	}
30  
31  	public void saveRealObject(Object realObject) {
32  		super.saveRealObject(realObject);
33  	}
34  
35  }