W3C home > Mailing lists > Public > www-forms@w3.org > November 2002

RE: [XForms] - print event?

From: Mark Birbeck <Mark.Birbeck@x-port.net>
Date: Mon, 18 Nov 2002 09:17:49 -0000
Message-ID: <E3ED00A7C285EE408679DE2A26D1C781365E36@S007.x-port.net>
To: "'Roman Huditsch'" <roman.huditsch@hico.com>, www-forms@w3.org

Roman wrote:
> is there any possibility to define something like a "print-event" in
> XForms? I would like to print a different form than displayed when
> a print- event is triggered. How can I accomplish that?

The idea is that XForms handles form processing only, with appearance and so
on coming from CSS. Printing is also best achieved with CSS. Take a look at
@media in the CSS spec. I know that IE supports 'screen' and 'print' as two
different types for @media (newer versions of CSS are adding 'mobile',
'aural', and all sorts of things), and Mozilla and X-Smiles have good CSS
support so no doubt they will have these types, too.

So, in short, you can already do what you want, although not all pseudo
classes may be implemented in all brwosers yet.

Regards,

Mark


Mark Birbeck
Co-author Professional XML,
and Professional XML Meta Data,
both by Wrox Press

Try our XForms plug-in for IE
at http://www.FormsPlayer.com/

Managing Director
x-port.net Ltd.
4 Pear Tree Court
London
EC1R 0DS

E: Mark.Birbeck@x-port.net
T: +44 20 7689 9232
M: +44 7774 102 413
W: http://www.x-port.net/
Received on Monday, 18 November 2002 04:18:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:54 GMT