[Seaside] ajax html callback

Julian Fitzell jfitzell at gmail.com
Mon May 2 13:40:34 UTC 2011


Write a javascript function to pull the *contents* out of the returned
element and use that for the replacement...? I agree it's not a nice
pattern to have to keep pulling out that one tag from every method.

Julian

On Thu, Apr 28, 2011 at 7:00 PM, Milan Mimica <milan.mimica at gmail.com> wrote:
> Johan Brichau wrote:
>>
>> On 27 Apr 2011, at 22:25, Milan Mimica wrote:
>>
>>> Is there an easy fix to this, other than moving the rendering of the div
>>> tag to the outer level?
>>
>> How much easier do you want it to be? That sounds like the most reasonable
>> approach (I'm applying that pattern *a lot*).
>
> It may be a valid pattern but I don't like it. Having the rendering of the
> div tag and its contents at the same place looks better to me. Although I've
> never done a WEB page before.
>
>
>
> --
> Milan Mimica
> http://sparklet.sf.net
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list