IMHO, this is not the easyest approach I prefer to inject the next page, set it's attributes and then pass it as the method's return... this way you can set as many parameters as you like
On Wed, Jul 9, 2008 at 2:29 PM, Francisco Manzano <[EMAIL PROTECTED]> wrote: > 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] > > -- Atenciosamente, Marcelo Lotif Programador Java e Tapestry FIEC - Federação das Indústrias do Estado do Ceará (85) 3477-5910 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]