osdir.com
mailing list archive

Subject: About comments - msg#00125

List: lang.smalltalk.squeak.seaside

Date: Prev Next Index Thread: Prev Next Index
Hi all

I'm doing the tutorial of lukas and I should say that the class comments
in Seaside are Coooooooooooooool!

Knowing that lukas wrote the first while I was driving on an italian highway is the fun part of it.
But this is really the proof that some good comments at the right place drastically improve
the understanding. So keep doing that.

Stef


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: No walkback when error in form callback when form issubmitted by another a batched list

On Tue, 22 Mar 2005 10:08:41 +0800, Yar Hwee Boon <hboon@xxxxxxxxxxxxx> wrote: > Hi Jon, > > The problem was not that #halt ignored. It wasn't. My point of adding a > #halt was just to indicate that the callback was properly invoked. As > pointed out by Avi in another message, it is due to both GET and POST > being submitted. I've suggested to add a "return false" to both my > WAHtmlAttributes>>submitFormOnClick: and the original > WAHtmlAttributes>>submitOnClick to cancel the link's GET request. HTH. The question then becomes, how do you get the callback for the link itself to be triggered? We could do some kind of game with a hidden input... ? Avi

Next Message by Date: click to view message preview

Re: No walkback when error in form callback when form issubmitted by another a batched list

On 22-Mar-05, at PM 08:12, Avi Bryant wrote: On Tue, 22 Mar 2005 10:08:41 +0800, Yar Hwee Boon <hboon@xxxxxxxxxxxxx> wrote: being submitted. I've suggested to add a "return false" to both my WAHtmlAttributes>>submitFormOnClick: and the original WAHtmlAttributes>>submitOnClick to cancel the link's GET request. HTH. The question then becomes, how do you get the callback for the link itself to be triggered? We could do some kind of game with a hidden input... ? That's not a problem for me because my batched list (the links) are in the form itself, so the callbacks are triggered as a result of the POST. Do you think there will be (or do you have) cases where you want it to work outside the form? -- HweeBoon MotionObj (65) 6764-9774

Previous Message by Thread: click to view message preview

What if my application has very little "flow?"

The web-presentment for my application is mostly reports with drill-downs into detail. But there's a chunk of it that allows users to update data and post financial and datachange transactions. I think these sections may work well with Seaside but I'm curious how the "flow" of the other applications would work. Considering some of your own Seaside applications, is it possible to easily support both models with Seaside?

Next Message by Thread: click to view message preview

Suggestion: WAFile subclass: #WAImage for image uploads

Hi all, I think it would be nice to have image height, width and type (GIF,JPG or PNG) as 3 additional methods in the WAImage class. And special call like this: html imageUploadWithCallback: [:f| ..... to specify that we want to get only images and f will be WAImage instance. I think we should get exception if user uploaded wrong file (corrupted or not supported image). That would support very common task of image uploads and saving height/width elsewhere for later HTML generation. I have written a code to parse images in GIF/PNG/JPG and detect their height/width. Should i try and change Seaside Classes (note: i am Smalltalk newbie) or should i just send my code as i have it now in hope that someone more advanced will implement it? Hope you all agree that we need WAImage in Seaside and avi will integrate this suggestion somehow. Thank you! -Dmitry.
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by