[Seaside] Differences in calling render: from ajax?

John McKeon p3anoman at gmail.com
Sun Aug 15 20:08:05 UTC 2010


Whoops


> Then instead of r render: self put self renderTokenWaitersOn: html and tell
> jQuery to replace the #waiters id added above.
>

That should be self renderTokenWaitersOn: r  NOT on html.

>
> I could be completely mistaken of course. But that is what I would try.
>
> John
>
>>
>> But it generates the following:
>>
>> <button class="submit" type="submit"
>> onclick="$.ajax({&quot;dataType&quot;:&quot;script&quot;,&quot;url&quot;:&quot;/&quot;,&quot;data&quot;:&quot;1&quot;})">Remove</button>
>>
>> I
>> think I picked up the above fragment from some mal message answer by Lukas
>> - and it was working well, but notice how the url parameter is wrong - its
>> not /element with the k and s paramters???
>>
>> Is this because render: is not rendering in the context of a child
>> component? And is there some other way of re-rendering my component by an
>> ajax call? I think Julian had an example in the comet thread - maybe I can
>> get that to work?
>>
>> Any help greatly appreciated.
>>
>> Tim
>>
>>
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>
>
>
> --
> http://john-mckeon.us/seaside
>



-- 
http://john-mckeon.us/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100815/0635deed/attachment.htm


More information about the seaside mailing list