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]