CSS problems

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

CSS problems

daniele ippoliti-2
I would like to import CSS for Orbeon. I have Orbeon integrated in alfresco and I read that to add CSS I should modify the properties-local.xml in this way:

<properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:oxf="http://www.orbeon.com/oxf/processors">

    <!-- This is an example of property which overrides an existing property's default value:
    <property as="xs:NMTOKENS"
              name="oxf.xforms.logging.debug"
              value="document model submission submission-details control event action analysis server html"/>
    -->

    <!--property as="xs:boolean" name="oxf.xforms.minimal-resources" value="true"/-->
   
<property as="xs:string"  name="oxf.fr.css.uri.*.*"
  value="/ops/yui/reset-fonts-grids/reset-fonts-grids.css
         /ops/yui/datatable/assets/skins/sam/datatable.css
         /apps/fr/style/form-runner-base.css
         /apps/fr/style/form-runner-html.css
         /apps/fr/style/form-runner-orbeon.css"/>

</properties>

I still have no effect, and from firebug I can see that there are no request to download these CSS
do you have some idea?

Thanks

Daniele


--
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
Reply | Threaded
Open this post in threaded view
|

Re: CSS problems

Erik Bruchez
Administrator
Daniele,

I am not sure what you are expecting, but the property below is the
standard value of the property. So adding it to properties-local.xml
won't change the current behavior.

-Erik

On Thu, Nov 17, 2011 at 5:02 AM, daniele ippoliti
<[hidden email]> wrote:

> I would like to import CSS for Orbeon. I have Orbeon integrated in alfresco
> and I read that to add CSS I should modify the properties-local.xml in this
> way:
>
> <properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
>             xmlns:oxf="http://www.orbeon.com/oxf/processors">
>
>     <!-- This is an example of property which overrides an existing
> property's default value:
>     <property as="xs:NMTOKENS"
>               name="oxf.xforms.logging.debug"
>               value="document model submission submission-details control
> event action analysis server html"/>
>     -->
>
>     <!--property as="xs:boolean" name="oxf.xforms.minimal-resources"
> value="true"/-->
>
> <property as="xs:string"  name="oxf.fr.css.uri.*.*"
>   value="/ops/yui/reset-fonts-grids/reset-fonts-grids.css
>          /ops/yui/datatable/assets/skins/sam/datatable.css
>          /apps/fr/style/form-runner-base.css
>          /apps/fr/style/form-runner-html.css
>          /apps/fr/style/form-runner-orbeon.css"/>
>
> </properties>
>
> I still have no effect, and from firebug I can see that there are no request
> to download these CSS
> do you have some idea?
>
> Thanks
>
> Daniele
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: CSS problems

marek2608
In reply to this post by daniele ippoliti-2
I'm not sure exactly what you are looking for.
But this example:

<property as="xs:string"  name="oxf.fr.css.uri.*.*"
  value="/ops/yui/reset-fonts-grids/reset-fonts-grids.css
         /ops/yui/datatable/assets/skins/sam/datatable.css
         /apps/fr/style/form-runner-base.css
         /apps/fr/style/form-runner-html.css
         /apps/fr/style/form-runner-orbeon.css
         /mypath/myown.css"
/>

Should also import the myown.css when rendered through Form Runner and Form Builder. We used this strategy to override Orbeon's styles.

Generated source code for the form looks like:
<link rel="stylesheet" href="/orbeon/apps/fr/style/form-runner-base.css" type="text/css" media="all">
<link rel="stylesheet" href="/orbeon/apps/fr/style/form-runner-orbeon.css" type="text/css" media="all">
<link rel="stylesheet" href="/orbeon/mypath/myown.css" type="text/css" media="all">