Try this:

        
http://jumpstart.doublenegative.com.au/jumpstart7/examples/navigation/variableparameters1

Geoff

> On 21 Sep 2016, at 12:04 AM, Adam X <[email protected]> wrote:
> 
> I would like to have multiple (overloaded) onActivate methods in my
> page but seems like Tapestry is always picking a method with fewest
> arguments.
> 
> How can I achieve something like this?
> 
> TargetPage {
> 
> void onActivate(String foo, String bar) {
> }
> 
> void onActivate(String foo, Long id1, Long id2) {
> }
> }
> 
> <t:pagelink context="['abc','def']">yo</t:pagelink>
> <t:pagelink context=['xyz',10,20]>bam</t:pagelink>
> 
> Adam
> 
> ---------------------------------------------------------------------
> 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