[Seaside] update a component via onMouseOver:

Sebastian Sastre ssastre at seaswork.com
Wed Aug 20 10:40:15 UTC 2008


I would not recommend to use onMouseOver: nor any event from tag's attribute
(read: http://www.prototypejs.org/api/event/observe).

>From Seaside you access that with anElement>>on: anEventString do:
aHandlerObject
With prototype you can even use your own custom events like this: anElement
fire: 'mouse:enter'

Sebastian 

> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre 
> de Marco Leberfing
> Enviado el: Miércoles, 20 de Agosto de 2008 05:29
> Para: seaside at lists.squeakfoundation.org
> Asunto: [Seaside] update a component via onMouseOver:
> 
> Hello all,
> 
> i would like to update aComponent via onMouseOver:
> I?ve tried several things (triggerFormElement: and so on), 
> but nothing 
> works.
> Updating something in the same Component is no problem, but updating 
> another Component doesn?t work.
> 
> For example, i?ve tried:
> onMouseOver: (html
> updater id: 'previewId';
> triggerFormElement: 'attributePreview')
> 
> I?ve got a Component with a form called "attributePreview". The 
> renderContentOn: will be called, but nothing happens, no update.
> Are there any examples available on this topic?
> 
> Any ideas?
> Cheers
> Marco
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list