[aida] Problems with onChangePostAndUpdate

Janko Mivšek janko.mivsek at eranova.si
Mon Jun 15 11:53:30 CEST 2009


Hi Herbert,

I would start inspecting this problem by extending the existing calendar
demo in Aida (WebDemoApp>>viewCalendar). Then we'll have sthe ame base
to inspect it together.

Best regards
Janko

Herbert König pravi:
> Hi,
> 
> I have a component with two WebDateInputFields. When selecting either
> date I want to update the whole component. If I do:
> 
> e registerId.
> endDateInput := WebDateInputField new aspect: #tst for: observee.
> endDateInput onChangePostAndUpdate: e.
> 
> it works once and then doesn't react on clicking on the calendars any
> more.
> 
> If I do:
> 
> endDateInput onChangePostAndUpdate: e id.
> 
> I get a debugger.
> 
> If I move the e registerID and onChangePostAndUpdate: e id. just
> before the end of the method like in ...V2.st I don't get the
> debugger.
> 
> Firebug shows, that after the first date selection e retains its ID
> but the ajax.updater tries to update a different ID now.
> 
> What's my problem here?
> 
> Thanks,
> 
> Herbert                          mailto:herbertkoenig na gmx.net
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Aida mailing list
> Aida na aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida

-- 
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565


More information about the Aida mailing list