T5 equivalent for T4 IExternalPage.activateExternalPage

2008-04-22 Thread Jan Vissers
Hi,

Just out of curiosity. What's T5 designated alternative for T4's
IExternalPage public void activateExternalPage(Object[] parameters,
IRequestCycle cycle)

Thx,
-J.



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



Re: T5 equivalent for T4 IExternalPage.activateExternalPage

2008-04-22 Thread Davor Hrg
I think it is:
public void onActivate(String param1, int param2, Entity param3...){
}



On Tue, Apr 22, 2008 at 1:58 PM, Jan Vissers [EMAIL PROTECTED] wrote:

 Hi,

 Just out of curiosity. What's T5 designated alternative for T4's
 IExternalPage public void activateExternalPage(Object[] parameters,
 IRequestCycle cycle)

 Thx,
 -J.



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




Re: T5 equivalent for T4 IExternalPage.activateExternalPage

2008-04-22 Thread nicholas Krul
technically*, I think that all you need to do is set the page up so that its
onPassivate() call is 'correct' (and so will become input to the onActivate
call). Then return the page object (or page class). Tapesty should wrap it
up in passivate/activate calls automatically.

Personally, I think String[] should be supported, but in 5.11 it isn't.
Hmm... Is there any way to request this?

Thanks

--nK

*I'm a user, not a dev.


On Tue, Apr 22, 2008 at 4:09 PM, Davor Hrg [EMAIL PROTECTED] wrote:

 I think it is:
 public void onActivate(String param1, int param2, Entity param3...){
 }



 On Tue, Apr 22, 2008 at 1:58 PM, Jan Vissers [EMAIL PROTECTED]
 wrote:

  Hi,
 
  Just out of curiosity. What's T5 designated alternative for T4's
  IExternalPage public void activateExternalPage(Object[] parameters,
  IRequestCycle cycle)
 
  Thx,
  -J.
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]