Actually I found out what my issue was.  The constructor to
ComponentInvocationImpl
(http://tapestry.apache.org/tapestry5/apidocs/index.html?org/apache/tapestry5/internal/services/ComponentInvocationImpl.html)
changed to

ComponentInvocationImpl(ContextPathEncoder encoder, InvocationTarget
target, Object[] eventContext, Object[] pageActivationContext, boolean
forForm)

where it takes both a eventContext and pageActivationContext before it
took String[] context and String[] activationContext and if I passed
in the the object.id as part of String[] context the onActivate(long
id) would be called.  for 5.0.18 I had to make sure my object.id was
passed in for pageActivateContext.

Hope that is helpful (and made sense)

-Mark


On Tue, Dec 16, 2008 at 8:38 AM, Mark Horn <mark.h...@agilesrc.com> wrote:
> I'm running into the same issue while trying to upgrade to 5.0.18 from
> 5.0.15 and using PageTester
>
> On Tue, Dec 16, 2008 at 7:41 AM, Shing Hing Man <mat...@yahoo.com> wrote:
>> I have a pageLink component in update.tml
>>
>>
>>     <a href="#" t:type="pagelink" page="updateFile"
>>                                 context="contextParams">Update</a>
>>
>> and contextParams is an int [2].
>>
>>
>> In Tap 5.0.15, when I click the above page link in update.tml,
>> the following onActivate method in UpdateFile.java is called as expected.
>>
>> public Object onActivate(int folderId, int fileId) {
>>                log.info("On Activate : folderId=" + folderId + ", fileId=" + 
>> fileId);
>>                return initialises(folderId, fileId);
>>
>>        }
>>
>>
>>
>> After I upgrade to 5.0.18, the method UpdateFile.onActive(int, int) is no 
>> longer called.
>> Has anyone experienced the same problem after upgrade to 5.0.18 ?
>>
>> Shing
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to