Barry Books <trsvax <at> gmail.com> writes:

> The list passes in just fine but the selectListener does not. My guess is
> when the link is clicked the View component is found and it tries to look up
> the listener, but the Block is not wrapped by the RenderBlock at that time
> so getParameter fails.

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:

 <span jwcid="[EMAIL PROTECTED]">
 <span jwcid=" @AcuVigilComponent:MgList"
     selectListener='listener:selectListener'
     objectList='ognl:MgList' />
 </span>
 
and the RenderBlock like this:

 <span jwcid="@RenderBlock" block="ognl:components.MgList"/>

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


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

Reply via email to