Yes.

----- Original Message ----- From: "Shing Hing Man" <[EMAIL PROTECTED]>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Tuesday, May 23, 2006 2:11 PM
Subject: Re: Q: T4 problems with external page and params


Have you specified the java class in
CompanyInfoPage.page
or using the
meta key="org.apache.tapestry.page-class-packages
in .application ?

Shing


--- Audrius Peseckis <[EMAIL PROTECTED]> wrote:

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


Home page :
 http://uk.geocities.com/matmsh/index.html

Send instant messages to your online friends http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to