logo       

Re: Send page as Email attachement ?: msg#00122

Subject: Re: Send page as Email attachement ?
Hi Wilkes,

Just FYI: Seaside used to do this (in fact, is there really no option for that anymore?) but I never used it because it was surprisingly hard to determine where to tab and newline without affecting the display results. We generally had the heuristic of starting a new line and indenting any time there was a child tag, and if there were no child tags to put the content and the start and end tags on the same line. But even this wasn't sufficient because, for example, the result of having to text inputs with a newline between them and two text inputs without a new line between them is actually different: in one case they'll be separated by a space and in the other they will be touching. It proved very difficult to come up with a well-defined pretty-printed output that everyone was happy with. That, more than anything, is why Avi and I started using the unformatted output and if the option to toggle between the two has disappeared, it's only because we just weren't using it anymore. Well, that and the fact that it was nicer looking at our pretty-print than at "view source" anyway.

If you or someone can actually come up with something that works well and doesn't alter the output results from what the coder intends then I would certainly use it.

Julian

Wilkes Joiner wrote:
Never mind.  I realized what I wanted was the raw html that was nicely
formatted for a graphic designer to play with and not a html page that
showed all tags for a component.  I've got a scratch version working
and will post it on the list once it is cleaned up, if any one wants
it.

Thanks,
Wilkes

On 12/21/05, Wilkes Joiner <wilkesjoiner@xxxxxxxxx> wrote:

Is there a way to do this using the WAPrettyPrintedDocument?  I've
thrashed around a bit on this and go nowhere.

Thanks,
Wilkes

On 12/14/05, Alain Fischer <alain.fischer@xxxxxxxxxx> wrote:

See this entry in the list:
http://lists.squeakfoundation.org/pipermail/seaside/2005-June/
005289.html

Alain


On 14 déc. 05, at 16:35, Dmitry Dorofeev wrote:


Hi all.

Is it possible to render HTML page with Seaside, but send it as
Email attachement and not
to the browser ? I feel it should be easy and I know what to do
once I have rendered page
as String object :-)

Thanks

-Dmitry.
_______________________________________________
Seaside mailing list
Seaside@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
Seaside mailing list
Seaside@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
Seaside mailing list
Seaside@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe