[aida] Print CSS
janko.mivsek at eranova.si
Tue Jun 16 21:07:24 CEST 2009
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
> The screen css seems generated in WebStyle>>protoChartJs after
> 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
But I don't know id this can help in your case ...
Smalltalk Web Application Server
More information about the Aida