Your method is named incorrectly.  It should be onSend() or
onSendFromFoo()  (where Foo is the component id).

On Dec 25, 2007 11:34 PM, Foror <[EMAIL PROTECTED]> wrote:
> When I call a createActionLink("send", false, 2050) in page then link
> is "message:send/2050". And it does not work (onSendAction(long id) is
> not called). In a component ActionLink link is "message.send/2050" and
> it works. Below a part of a code responsible for link generation. Why
> it is so?
>
> public class ActionLinkTarget
> >>>>>>>>>>>>>>
>         if (hasComponentId)
>         {
>             builder.append(".");
>             // Already lower case by design.
>             builder.append(_componentNestedId);
>         }
>
>         // If no nested component id, then must append the action; the ':' 
> and the action become the
>         // delimiter between the page name and the event context.
>
>         if (!hasComponentId || 
> !_eventType.equals(TapestryConstants.ACTION_EVENT))
>         {
>             builder.append(":");
>             builder.append(_eventType);
>         }
> >>>>>>>>>>>>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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

Reply via email to