johan at inceptive.be
Sat Oct 23 06:55:57 UTC 2010
#with: should always be the last message in a cascade. If you swap the position of #onClick: and #with:, it will work
This is something to remember, but you can get some help from the Lint code critics rules that come with 'Slime' (see seaside book). There is a rule that will detect mistakes like this.
On 22 Oct 2010, at 23:52, Thomas McCune wrote:
> to be executed when the button is clicked.
> <form name="myForm">
> Name: <input type="text"
> onkeyup="ajaxFunction('Hello');" name="username" />
> Time: <input type="text" name="time" /><br>
> <input type=BUTTON onClick="alert('GoodBye');" value="GoodBye" />
> In Seaside, I have tried to achieve the same without success with the
> following button definition:
> renderDoItButtonOn: html
> html button with: 'Doit';
> onClick: 'alert("GoodBye");'.
> to accomplish this? I have tested onKeyUp: and it does execute the string as
> Thank you
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside