Hi,
-- I am using separate deployment and using Orbeon to render xml that is not build using Form Runner. Now I would like to render custom css to these forms, please help me with the steps for the same. Appreciate your quick response. Thanks! - Avishek You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Can somebody please throw some light on how to apply css for separate deployment.
-- Right now when I run the xml through Orbeon sandbox the Orbeon css gets deployed but when I am using it as part of separate deployment allowing Orbeon to render the xml then there are no css applied. Any direction will be much appreciated. - Avishek On Tuesday, 1 July 2014 19:07:04 UTC+5:30, Avishek Das wrote:
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Hey Avishek
I dont know whether this will help you or not. But we use custom CSS, by setting the properties below in our properties-local.xml file <property as="xs:string" name="oxf.fr.css.custom.uri.*.*" value="/config/custom.css"/> Then we place our custom.css file in the path specified by the propertie (same folder as properties-local.xml file. Hope this helps you. Best Regards Daniel |
Administrator
|
Daniel,
I doubt this will help Avishek because that's a Form Runner property, and it doesn't look like he is using Form Runner. -Erik |
Administrator
|
In reply to this post by avishekdas
Avishek,
A couple of questions: 1. How do you refer to the CSS in your HTML? 2. Where is the CSS located? -Erik |
Hi Erik,
-- You are correct, in my setup I have separate deployment so spring takes control of the page flow and Orbeon is responsible for rendering, hence setting up the custom css property for Orbeon didn't help. Anyways thanks to Daniel. Now my css is located in my Java web application context. <Custom application webapp>/css/<file name>.css My xform xmls are located under <Custom application webapp>/xforms-jsp/<file name>.xml and the jsp file including the xform xm is located under - <Custom application webapp>/xforms-jsp/<file name>.jsp This jsp file has a single line of code - <%@include file="test.xml"%> In my setup the orbeon jar is untouched and I am using the latest version. In my spring application cross-context is set to true. In this setup I can render page using Orbeon (without css), pass parameters from spring app to Orbeon and submit data from Orbeon, etc. I tried to include the css in the xform xml using the below command, but the css has no effect. <link rel="stylesheet" href="/orbeon/xforms-server/test.css" type="text/css"> Honestly I don't know the validity of the above command, I just tried and I have no idea how to get this done. Your suggestion would be really helpful. Please let me know if more information is required. -Avishek On Tuesday, 8 July 2014 00:37:41 UTC+5:30, ebruchez wrote: Avishek, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Hi, Can someone please help out here - Avishek
|
In reply to this post by avishekdas
Hi, Any idea on this! - Avishek
-- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Free forum by Nabble | Edit this page |