[aida] Print CSS

Janko Mivšek janko.mivsek at eranova.si
Tue Jun 16 21:07:24 CEST 2009

Hi Herbert.

Herbert König pravi:

> I got WebTabs print better (some fiddling still needed) by copying the css..
> methods to cssPrint.. methods. I love Aida's naming conventions!

Nice to hear that :)

> The legends of a WebChart (at least if printed outside the chart) seem
> to use a JS generated screen css to set the colour. They print without
> colour.
> The screen css seems generated in WebStyle>>protoChartJs after
> legendColorBox.

> So how do I generate the print css dynamically? And wouldn't that be a
> bug to report to the protoChart people?

By adding a cssPrint method which builds CSS dynamically instead of just
returning the static text.

Another way is inline CSS, using WebElement style: 'put a style
definition here'

But I don't know id this can help in your case ...


Janko Mivšek
Smalltalk Web Application Server

More information about the Aida mailing list