>
> Or, you can use the new @PageActivationContext  annotation for a greater
> simplicity
>
http://tapestry.formos.com/nightly/tapestry5/apidocs/src-html/org/apache/tapestry5/internal/transform/PageActivationContextWorker.html#line.37

037            if (fields.size() > 1)
038                throw new
RuntimeException(TransformMessages.illegalNumberOfPageActivationContextHandlers(fields));

That's only good for one field.

Josh

On Wed, Jul 9, 2008 at 10:10 AM, Francisco Manzano <
[EMAIL PROTECTED]> wrote:

> Or, you can use the new @PageActivationContext  annotation for a greater
> simplicity
>
> Zanius
>
>
> Ted Steen wrote:
>
>> Just add more parameters to the activate/passivate-methods.
>> Or you can use (Object[] parameters).
>> Or you can use (EventContext context)
>>
>> The way to go for you would be to just add more parameters to the
>> activate/passivate-methods.
>>
>> 2008/7/9 t <[EMAIL PROTECTED]>:
>>
>>
>>> void onActivate(String message)
>>>  {
>>>   System.out.println("Another page is activated! The
>>>     message is: " + message);
>>>   this.passedMessage = message;
>>>  }
>>>  String onPassivate()
>>>  {
>>>   System.out.println("Another page is passivated...");
>>>   return passedMessage;
>>>  }
>>>
>>> This is the snippet that i got from t5 book on how to pass parameter from
>>> first
>>> page to 2nd page. if i need to pass more than 1 parameter to 2nd pages,
>>> how to
>>> do it?
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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]
>>
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

Reply via email to