At the moment you should think of the @PageActivationContext as a
convenience annotation for you to use when you only want to place a
single value in the context. Personally I think it would make more
sense if you where able to use it for multiple values.

Maybe worth adding a JIRA for that?
For example, when multiple values are annotated they are added to the
context in alphabetical order.

2008/7/9 Francisco Manzano <[EMAIL PROTECTED]>:
> why don't ?
>
> Ted Steen wrote:
>>
>> I dont think you can use that with multiple values as the context :/
>>
>> 2008/7/9 Francisco Manzano <[EMAIL PROTECTED]>:
>>
>>>
>>> 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]
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> 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]

Reply via email to