Can't Assign Custom Theme to app/form

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

Can't Assign Custom Theme to app/form

MichaelCap
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Can't Assign Custom Theme to app/form

Mebrouk Leulmi
Hi,
The properties-local.xml file is used to override properties in the in  
the properties-base.xml file.
This file should be placed under WEB-INF/resources/config/.
Be sure that the custom theme is placed under WEB-INF/resources/config/ too.

Clear the cache and restart the servelet container and that's all.


brouk

[hidden email] a écrit :

> Hello,
>
> I know there are a few posts regarding a similar issue, but using
> information in other posts I am not able to assign a custom theme to an
>  app/form.
>
> I have changed the property in "properties-base.xml":
> <property as="xs:anyURI" name="oxf.epilogue.theme"
> value="oxf:/config/theme-examples.xsl"/>
>
> to: <property as="xs:anyURI" name="oxf.epilogue.theme"
> value="oxf:/config/theme-contactus.xsl"/> and placed it  in
> "properties-local.xml".
>
> Can some one please provide me with information on performing this task?
>
> --
> Ce message a ete verifie par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a ete trouve.


--
---------------------------------------------------

--------------------------------------------------


--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.



--
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: Can't Assign Custom Theme to app/form

MichaelCap
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Can't Assign Custom Theme to app/form

Erik Bruchez
Administrator
Michael,

There is a terminology issue I think. "Per application" here meant per
top-level Orbeon Forms application, where Form Runner is such a
top-level application. This allows Form Runner to use its own theme,
as opposed to other example applications. The Form Runner theme
already overrides what you would set with the property, which explains
why you can't change that theme.

If you want to have a custom theme for different Form Runner app,
check RESOURCES/apps/fr/theme.xsl: this is where the Form Runner theme
is plugged.

Note that you can already have per app/form CSS with this property:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-Default-CSS

Could that be enough for you?

-Erik

On Mon, Jun 7, 2010 at 2:14 PM, MichaelCap <[hidden email]> wrote:

>
> I have done exactly what you have mentioned and my form does not use the
> custom theme.
>
> I would like to be app/form specific. The Orbeon documentation says it is
> possible, but I am not sure how to do this.
>
> I have a quote from
> "http://blog.orbeon.com/2009/07/state-of-orbeon-forms-part-5_28.html". It
> says "Themes. We now have easy per-application themes! Just put the theme
> stylesheet under an app's folder and it will be picked up."
>
> What does it mean by app's folder? Where would I find/create this folder and
> what all would I put in it?
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Can-t-Assign-Custom-Theme-to-app-form-tp2246325p2246583.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