[Seaside] Re: Seaside and REST

Boris Popov boris at deepcovelabs.com
Thu Mar 29 18:29:53 UTC 2007


Before people chime in with 'links are easier to style than buttons', I
was in the same camp until YUI button control came out and our designer
had a stab at it. Attached is a screenshot of 3 elements, anchor and two
buttons (enabled and disabled states). As you can see they're fairly
close, especially if you don't put them side by side. Until recently, we
had to use pre-rendered imagery to achieve the same effect on buttons.
More,

http://developer.yahoo.com/yui/button/

Hope this helps,

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Boris Popov
> Sent: Thursday, March 29, 2007 11:25 AM
> To: Seaside - general discussion
> Subject: RE: [Seaside] Re: Seaside and REST
> 
> You need a form to put buttons in,
> 
> WACounter>>renderContentOn: html
> 	html
> 		form:
> 			[html heading: count.
> 			(html submitButton)
> 				callback: [self increase];
> 				text: '++'.
> 			html space.
> 			(html submitButton)
> 				callback: [self decrease];
> 				text: '--']
> 
> Cheers!
> 
> -Boris
> 
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> http://tinyurl.com/r7uw4
> 
> boris at deepcovelabs.com
> 
> CONFIDENTIALITY NOTICE
> 
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> attachments.
> 
> Thank you.
> 
> > -----Original Message-----
> > From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> > bounces at lists.squeakfoundation.org] On Behalf Of Andreas Raab
> > Sent: Thursday, March 29, 2007 11:23 AM
> > To: Seaside - general discussion
> > Subject: [Seaside] Re: Seaside and REST
> >
> > Boris Popov wrote:
> > > See my earlier messages. It's completely up to you, as you get to
> choose
> > > whether to use anchors (GET) or forms/buttons (POST) when you put
> your
> > > pages together.
> >
> > Thanks, stating the difference explicitly is very helpful. However,
> just
> > trying it out by, e.g.,
> >
> > WACounter>>renderContentOn: html
> > 	html heading: count.
> > 	html submitButton
> > 		callback: [self increase];
> > 		text: '++'.
> > 	html space.
> > 	html submitButton
> > 		callback: [self decrease];
> > 		text: '--'.
> >
> > does not seem to work, any ideas?
> >
> > Cheers,
> >    - Andreas
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yui.png
Type: image/png
Size: 4246 bytes
Desc: yui.png
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070329/c12dc49e/yui.png


More information about the seaside mailing list