> I believe this is what is happening. When the direct link is clicked, > the Block is not rendered so getParameter() will fail. Are there any > reasons why you don't write the block like this:
That what I think is happening also. The reason I passed in the parameters is the RenderBlock is not always in the the same Page as the block. After messing around with it I don't think it's possible pass a listener from the page you are on into a block on another page. I would be nice if you could but I think I can work around it by passing another parameter that tells the listener what to do. > > >
