[Seaside] javascript function with seaside callback [Fwd: generating a script containing html]

SainTiss saintiss at gmx.net
Wed Jul 23 11:03:22 UTC 2008

On Wednesday 23 July 2008 11:17:04 Lukas Renggli wrote:
> (html request callback: [ "some callback" ]) asFunction

Thanks... Is a callback created this way supposed to rerender the current 

I tried this:

html anchor onClick: (html javascript add: (html request callback: [self 
addEntry: 'Test'])); with: 'myLink'.

Where self addEntry modifies the current component's state. However, when I 
click the link, the page is not rerendered...



A liberal is a person whose interests aren't at stake at the moment
  -- Willis Player

Hans Schippers
Research Assistant of the Research Foundation - Flanders (FWO - Vlaanderen)
Formal Techniques in Software Engineering (FoTS)
University of Antwerp
Middelheimlaan 1
2020 Antwerpen - Belgium
Phone: +32 3 265 37 88
Fax: +32 3 265 37 77

More information about the seaside mailing list