Garr I hate that.....There is probably a better way but there was something
about the CDATA response approach that I didn't like either. (though I don't
remember what that was)
On 7/11/07, Patrick Klein <[EMAIL PROTECTED]> wrote:
Hello again!
Problem was a <br> instead of <br/> which prevented dojo from completing
it's task :|
Regards,
Patrick
> Hallo!
>
> I'm still fighting my way through the ajax functionality. It's at least
> partially working now but i got a very strange behavior which i'm
> circling around for quite some time.
>
> The page-template looks something like this:
>
> [...]
> <form jwcid="[EMAIL PROTECTED]" delegate="bean:delegate"
> updateComponents="ognl:updatableReportFormIds">
> <table>
> <tr><td>
> <table>
> <tr jwcid="@Any" id="add_0">
> [...]
> </tr>
> <tr jwcid="@Any" id="add_1">
> [...]
> </tr>
> </table>
> </td></tr>
> <tr><td>
> <table>
> <tr jwcid="@Any" id="remove_0">
> [...]
> </tr>
> <tr jwcid="@Any" id="remove_1">
> [...]
> </tr>
> </table>
> </td></tr>
> </table>
> </form>
> [...]
>
> In the above case getUpdatableFormIds() should return {"add_0", "add_2",
> "remove_0", "remove_1"}. Should as it only gets me an error message from
> dojo stating "WARNING: 13:58:38: No ajax-response elements received."
> and therefor nothing is rendered. The response looks fine in firebug
afaik.
> If i restrict the updatableComponsnts to add_0 and add_1 everything
> works fine.
>
> Does this behavior ring a bell to anybody here?
>
> Rgards,
> Patrick
>
> ---------------------------------------------------------------------
> 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 team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com