Hello all,

I'm wondering if anyone has had any luck making the "activation
contexts" of pages a little more flexible.

For example, let's say I have a "Sum.java" page that wants to take in
between 1 and 4 Integers and add them together:

//is there a way to make number3 and number4 "optional"?  Seems like
Tapestry forces me to provide values for all 4 numbers.
public void onActivate(Integer number1, Integer number2, Integer
number3, Integer number4)

//Or even make the values limitless?
public void onActivate(Integer... numbers) 

Kind of a contrived example, but hopefully you see where I'm going with
it.

Anyone had any luck with making context parameters optional or
limitless?

Thanks,

Joel

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

Reply via email to