On Sunday 11 September 2005 07:02, Alan Chandler wrote:
> I have a component with an embedded DirectLink in the template.  The
> component's java class has the listener. (These are both given lower down
> this e-mail)
>
> Debugging this application, I put a breakpoint on the doShowDetails method,
> and try and see what happens.
>
> I have the component embedded (as a first level component) in a list on the
> home page, and clicking on the link it creates, causes the listener to fire
> (I hit my breakpoint).
>
> I also have the component embedded (several component levels down) inside
> the Details page itself. When I click on the link that is created in this
> case, the doShowDetails method never hits the breakpoint and the home page
> is displayed.


I have just managed to solve the issue.  I also implement PageValidate - and 
what was happening was that when the direct link is called from within the 
page, this page validate routine is called twice.  Unfortunately the check 
that page validate does is on the validity of the parameter that should be 
passed, and failed the check on the first call and threw a page exception to 
the home page.

-- 
Alan Chandler
http://www.chandlerfamily.org.uk

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

Reply via email to