[Seaside] Wrapping ProtoTip
Lukas Renggli
renggli at gmail.com
Wed Mar 5 13:12:41 UTC 2008
Now I understand why you end up with these scripts in the string. This
is indeed a bug in Scriptaculous.
http://code.google.com/p/seaside/issues/detail?id=25
Lukas
On 3/5/08, John Thornborrow <john at pinesoft.co.uk> wrote:
> The class SUTooltip is not part of any package (that I know of) as I
> just created it this morning :)
>
> The "Tooltip JS code" is the Prototip library file needed to create
> Tooltips[1]. SUTooltip will only write "new Tip(this, '<content set
> within the content block>')" it will not write the Tip JS definition,
> nor the extra options available to Prototip.
>
> I didn't want to submit/publish anything as of yet, as there is a lot
> more functionality available from Prototip than what is included in
> SUTooltip, and this was only meant as a demonstration of creating a
> widget with a render block as Hwee-Boon Yar asked.
>
>
> 1. http://www.nickstakenburg.com/projects/prototip/
>
>
> Regards,
>
> John.
>
>
> Lukas Renggli wrote:
> >> I also forgot to mention that anyone who uses this class will need to
> >> include their own file library for the Tooltip JS code.
> >
> > This means it works now? Or is it a bug report?
> >
> > Would it be possible to publish the mcz?
> >
> > Lukas
> >
> >>
> >> John
> >>
> >>
> >> Lukas Renggli wrote:
> >> >> !SUTooltip methodsFor: 'accessing' stamp: 'jmt 3/5/2008 11:58'!
> >> >> content: anObject
> >> >> "Set the value of content"
> >> >>
> >> >> content := anObject! !
> >> >
> >> > Shouldn't this be
> >> >
> >> > content := self render: anObject
> >> >
> >> > ?
> >> >
> >> > Lukas
> >> >
> >>
> >>
> >>
> >> Pinesoft Computers are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
> >>
> >>
> >>
> >> This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
> >>
> >>
> >> _______________________________________________
> >> seaside mailing list
> >> seaside at lists.squeakfoundation.org
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
> >
> >
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list