Fixed in deploy coming out in the next few minutes.

In the instance of imgs the href attribute of target was returning the image
href url. Fixed so that the proper event target is queried for the correct
href url.

On 8/21/06, Norbert Sándor <[EMAIL PROTECTED]> wrote:

I'm very confused.

If an <img /> tag is wrapped by the ajax DirectLink:
- in IE: "WARNING: No ajax-response elements recieved."
- in FF: "FATAL: Error, link target not found or invalid [object
MouseEvent]" (it seems that it tries to set the wrapped <img /> element
as the target instead of the <a />)

If only plain text is wrapped by the DirectLink:
- in IE: core.js:147 fails at "node.innerHTML=content;"
- in FF: it works as expected

Please help :)

Regards,
Norbi

Norbert Sándor wrote:
> Hi,
>
> I try to use an ajax DirectLink
>
> .jwc
>
>    <component id="main" type="Any" inherit-informal-parameters="yes" />
>      <component id="link" type="DirectLink">
>        <binding name="listener">listener:onClick</binding>
>        <binding name="parameters">literal:testString</binding>
>        <binding name="async">true</binding>
>        <binding name="updateComponents">{"main"}</binding>
>    </component>
>
> .html
>
>    <div jwcid="main">
>       <a jwcid="link">link</link>
>    </div>
>
> When I click on the link the request doesn't reach the servlet (I put
> a breakpoint to doService()), and the following message is printed by
> dojo:
>
>    WARNING: 11:37:11: No ajax-response elements recieved.
>
> Do you have any idea why this is not working?
> (I'm using the latest version from HEAD.)
>
> Regards,
> Norbi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>


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




--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to