Orbeon 3.9 RC1: CSS with @media='print'?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Orbeon 3.9 RC1: CSS with @media='print'?

Dan Kereliuk
Hi. In Orbeon 3.8, I could include the following CSS stylesheets:

<link rel="stylesheet" type="text/css" href="/apps/includes/style.css"/>
<link rel="stylesheet" type="text/css" href="/apps/includes/printstyle.css" media="print"/>

And as expected, only the first styesheet is actually used while viewing the page in a browser, while both are used when printing out the page. In the 3.9 Release Candidate, however, I'm seeing both stylesheets being used even when viewing in the browser. Could this be a bug?
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon 3.9 RC1: CSS with @media='print'?

Alberto
Same issue here,
there is something we can try to solve the problem ?

Any idea if using 'nightly build' may help ?

Thank you,
   Alberto
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon 3.9 RC1: CSS with @media='print'?

Alberto
In reply to this post by Dan Kereliuk
The problem seems in how js and css are aggregated in a single file
(http://blog.orbeon.com/2007/03/combining-javascript-and-css-files-for_11.html)

Following the post if you put the line

 <property as="xs:boolean" name="oxf.xforms.combine-resources" value="false"/>

in  properties-local.xml

the feature is disabled and you get back your css files (with media attribute).

Cheers,
   Alberto.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Orbeon 3.9 RC1: CSS with @media='print'?

Erik Bruchez
Administrator
All,

I have committed a fix for this. For reference:

Bug:
http://forge.ow2.org/tracker/index.php?func=detail&aid=315952&group_id=168&atid=350207

Commit:
https://github.com/orbeon/orbeon-forms/commit/1d7b37659ff43db21c6e21d36ed90bf06e5512b0

The fix will be in the next nightly build.

-Erik

On Wed, Apr 27, 2011 at 7:47 AM, Alberto <[hidden email]> wrote:

> The problem seems in how js and css are aggregated in a single file
> (http://blog.orbeon.com/2007/03/combining-javascript-and-css-files-for_11.html)
>
> Following the post if you put the line
>
>  <property as="xs:boolean" name="oxf.xforms.combine-resources"
> value="false"/>
>
> in  properties-local.xml
>
> the feature is disabled and you get back your css files (with media
> attribute).
>
> Cheers,
>   Alberto.
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Orbeon-3-9-RC1-CSS-with-media-print-tp3441899p3478346.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws