Hi,
I see that cellspacing and cellpadding were deprecated. What is the preferred method for setting these attributes on a table now? Are we supposed to do: self attributes at: 'cellspacing' put: anInteger or something else? Thanks, Ron Teitelbaum _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
They were never deprecated by W3C AFAIK, so removing them from Seaside
would be a bit premature. Disclaimer: I hadn't actually looked at any of the recent code. Cheers, -Boris -- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 [hidden email] 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: [hidden email] [mailto:[hidden email]] On Behalf Of Ron Teitelbaum Sent: Friday, December 29, 2006 9:02 AM To: 'The Squeak Enterprise Aubergines Server - general discussion.' Subject: [Seaside] WATable cellspacing and cellpadding deprecated? Hi, I see that cellspacing and cellpadding were deprecated. What is the preferred method for setting these attributes on a table now? Are we supposed to do: self attributes at: 'cellspacing' put: anInteger or something else? Thanks, Ron Teitelbaum _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Boris,
I was looking at the CSS replacements for them and it appears they are not well supported or consistent between browsers. The suggestion I saw was to stick with cellspacing and cellpadding on html instead. Ron > -----Original Message----- > From: Boris Popov [mailto:[hidden email]] > Sent: Friday, December 29, 2006 12:08 PM > To: [hidden email]; The Squeak Enterprise Aubergines Server - general > discussion. > Subject: RE: [Seaside] WATable cellspacing and cellpadding deprecated? > > They were never deprecated by W3C AFAIK, so removing them from Seaside > would be a bit premature. > > Disclaimer: I hadn't actually looked at any of the recent code. > > Cheers, > > -Boris > > -- > +1.604.689.0322 > DeepCove Labs Ltd. > 4th floor 595 Howe Street > Vancouver, Canada V6C 2T5 > > [hidden email] > > 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: [hidden email] > [mailto:[hidden email]] On Behalf Of Ron > Teitelbaum > Sent: Friday, December 29, 2006 9:02 AM > To: 'The Squeak Enterprise Aubergines Server - general discussion.' > Subject: [Seaside] WATable cellspacing and cellpadding deprecated? > > Hi, > > I see that cellspacing and cellpadding were deprecated. What is the > preferred method for setting these attributes on a table now? > > Are we supposed to do: > > self attributes at: 'cellspacing' put: anInteger > > or something else? > > > Thanks, > > Ron Teitelbaum > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Boris Popov, DeepCove Labs (SNN)
2006/12/29, Boris Popov <[hidden email]>:
> They were never deprecated by W3C AFAIK, so removing them from Seaside > would be a bit premature. IMHO you're right http://www.w3.org/TR/html4/index/attributes.html (same goes for border) Lukas can you explain the rationale behind this? Cheers Philippe > Disclaimer: I hadn't actually looked at any of the recent code. > > Cheers, > > -Boris > > -- > +1.604.689.0322 > DeepCove Labs Ltd. > 4th floor 595 Howe Street > Vancouver, Canada V6C 2T5 > > [hidden email] > > 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: [hidden email] > [mailto:[hidden email]] On Behalf Of Ron > Teitelbaum > Sent: Friday, December 29, 2006 9:02 AM > To: 'The Squeak Enterprise Aubergines Server - general discussion.' > Subject: [Seaside] WATable cellspacing and cellpadding deprecated? > > Hi, > > I see that cellspacing and cellpadding were deprecated. What is the > preferred method for setting these attributes on a table now? > > Are we supposed to do: > > self attributes at: 'cellspacing' put: anInteger > > or something else? > > > Thanks, > > Ron Teitelbaum > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
> > They were never deprecated by W3C AFAIK, so removing them from Seaside
> > would be a bit premature. > > IMHO you're right > http://www.w3.org/TR/html4/index/attributes.html > (same goes for border) > Lukas can you explain the rationale behind this? Seaside2.7a1-lr.145 removes the deprecation of #cellpadding: and #cellspacing:, even though I still think it is bad design to use them (separation of logic and design). #border: is still deprecated as the same effect can be easily and much more generic achieved using CSS. Btw, calling deprecated code does not mean that this method is going to disappear in 2.7, this will maybe happen in 2.8. It might also be that these methods will be moved into a separate package later on (if somebody requests that). What we are trying to do is to reduce the code to relevant methods and to avoid cluttering up the interfaces with more and more stuff nobody really needs. Of course this is difficult, since we don't have a worldwide-sender browser ;-) Deprecation gives the possibility to discuss these issues. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hello List,
I would like to see some example code of printing on Paper with a seaside application. For example something like an invoice of a Sushi-Store-Order or similar. Any pointers to code-snipets or whole seaside-apps with this feature are apreciated, preferable Squeak / Windows. Thank You for your time Rudolf -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
There shouldn't be any code to it unless you want to render a completely different looking page for printing. Instead you can simply provide a separate stylesheet for print media to your pages, see the following links to get started:
http://meyerweb.com/eric/articles/webrev/200001.html http://alistapart.com/articles/goingtoprint/ Hope this helps, -Boris -- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 [hidden email] 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: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email] Sent: Friday, December 29, 2006 6:07 PM To: The Squeak Enterprise Aubergines Server - general discussion. Subject: [Seaside] How to print on paper with seaside Hello List, I would like to see some example code of printing on Paper with a seaside application. For example something like an invoice of a Sushi-Store-Order or similar. Any pointers to code-snipets or whole seaside-apps with this feature are apreciated, preferable Squeak / Windows. Thank You for your time Rudolf -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |