[Seaside] Wrapping ProtoTip
Adrian Lienhard
adi at netstyle.ch
Wed Mar 5 09:49:53 UTC 2008
Hi,
We integrated Prototip some time ago (but never really used it).
I committed the package, TTPrototip-al.3.mcz, to this project:
http://www.squeaksource.com/Seaside29Addons.html
HTH,
Adrian
On Mar 5, 2008, at 09:53 , Hwee-Boon Yar wrote:
> On Wed, Mar 5, 2008 at 2:35 PM, Lukas Renggli <renggli at gmail.com>
> wrote:
>
>> Have a look at SUElement>>#update:, #insert:, #replace:, ...
>
> I'm probably doing it wrongly, but in a attempt to debug, I change my
> SUTip>>content to:
>
> Transcript
> nextPutAll: (String
> streamContents: [:stream | self render: aBlock on: stream]);
> endEntry.
>
>
> Then I can see in the transcript that what's printed is the XHTML
> string which I have generated (great). followed by some SU* related
> javascript from a previous use of SUAutocompleter:
>
> <span>test4</span><script type="text/javascript">/*<![CDATA[*/new
> Ajax.Autocompleter('query','id6','http://localhost:8081/seaside/sfe',
> {'afterUpdateElement':function(){new
> Ajax.Request('http://localhost:8081/seaside/sfe',{'parameters':
> ['_s=QkGrWpbTSpLBRefB','_k=CXCQlzYF','5',$
> ('query').serialize()].join('&')})},'evalScripts':true,'parameters':
> ['_s=QkGrWpbTSpLBRefB','_k=CXCQlzYF','4'].join('&')})/*]]>*/</script>
>
>
> <span>test4</span> alone is what I am expecting. Any suggestion on
> what I am doing wrongly? Thanks again.
>
> --
> Hwee-Boon
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list