Re: T5: form context not invoking onActivate with matching parameters

2007-07-02 Thread Ben Tomasini
Now that I read the manual I see that all I needed to track the id was this: BigDecimal id = null; void onActivate(BigDecimal id) { this.id = id; } BigDecimal onPassivate() { return id; } Very elegant... Thank you, Tapestry! Ben On 6/28/07, Ben Tomasini <[EMAIL

Re: T5: form context not invoking onActivate with matching parameters

2007-06-28 Thread Howard Lewis Ship
There's two different contexts here: the page's activate context (produced by the "passivate" event, provided to the "activate" event and the Form component's context, which is provide to event handler methods related to the Form ("success", "prepare", etc.). The Form does not fire an "activate"

T5: form context not invoking onActivate with matching parameters

2007-06-28 Thread Ben Tomasini
I was using the following code: Start.html Start.java void onActivate() { System.out.println("No args"); } void onActivate(String value) { System.out.println("String arg"); } On a form submit, the console shows: No args I expected the form tag above to invok