Hello,

I have a simple external page, which takes one parameter as long. I'm trying to 
access this page directly passing parameters through link like:
http://localhost:8888/search/app?page=CompanyInfoPage&service=external&sp=l189474000000001034

CompanyInfoPage is registered with the application in application file. Further 
is the contents of java file:

public abstract class CompanyInfoPage extends BasePage implements 
IExternalPage, Loggers {

 public abstract void setCompanyId(Long companyId);
 
 public void activateExternalPage(Object[] params, IRequestCycle cycle) {
  
  debug.debug("params[0] class name - " + params[0].getClass().getName());
  debug.debug("params[0] value - " + ((Long)params[0]).longValue());
  this.setCompanyId((Long)params[0]);
  
 }

}

In activateExternalPage i'm trying to log parameter values, and by some reason, 
these lines are not executed. It seems that activateExternalPage is not 
executed at all. What are possible causes? 

The page file is associated with java file.

Thanks,
Audrius

Reply via email to