[Seaside] Making anchors to submit

Boris Popov boris at deepcovelabs.com
Tue Dec 11 00:03:48 UTC 2007


While it is certainly doable with anchors, I haven't actually tried it
myself. It is preferred to use proper submit buttons AFAIAC anyway as
highlighted by the whole GWA debacle,

http://shiflett.org/blog/2006/dec/google-web-accelerator-debate

Instead you can style submit buttons to suit your needs, see attached
for what we use in our application as well as the following,

http://developer.yahoo.com/yui/examples/button/btn_example05.html

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 Sebastian Sastre
> Sent: Monday, December 10, 2007 3:50 PM
> To: 'Seaside - general discussion'
> Subject: [Seaside] Making anchors to submit
> 
> Hi there,
> 
> 	the submit buttons look change from system to system but anchors
are
> consistent so I'm trying to use anchors to submit forms by using
> 
> 	html anchor
> 		callback:[self someAction];
> 		submitFormNamed: 'someFormId';
> 		yourslef
> 
> 	Is anybody using anchors with #submitFormNamed: succesfully?
> 
> 	cheers,
> 
> Sebastian
> PS: amazingly it works as expected with IE but not in FF, nor Opera
nor
> Safari for windows
> 
> _______________________________________________
> 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: 1.png
Type: image/png
Size: 1078 bytes
Desc: 1.png
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20071210/c90ec2eb/1.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.png
Type: image/png
Size: 984 bytes
Desc: 3.png
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20071210/c90ec2eb/3.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.png
Type: image/png
Size: 1115 bytes
Desc: 2.png
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20071210/c90ec2eb/2.png


More information about the seaside mailing list