Create New Component Issue on JS/CSS Include

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

Create New Component Issue on JS/CSS Include

Ajit
HI All I have created custom control by creating my own xbl ,css and js file. created medication-history.xbl medication-history.css medication-history.js under /resources/xbl/ucsf/medication-history/ UCSF Controls Medication 1 Histroy /forms/orbeon/builder/images/dropdown.png /forms/orbeon/builder/images/dropdown.png xforms:string
Medication 3 History
2) medication-history.css .ucsf{ border: 1px solid; background-color: red; } 3) medication-history.js js file only contain alert 4)properties-local.xml I have link css and js to xbl file but its not work. control is work fine i gone trough orbeon doc and tried what you have mention. but unable link the css and js file help me to sort out this issue.

Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

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

Re: Create New Component Issue on JS/CSS Include

Alessandro  Vernet
Administrator
Hi Ajit,

You are saying that you are "unable link the css and js file". What do mean
by that? Are you saying that the CSS and JavaScript you write isn't loaded
in the browser? If that is the case, if you disable the minimal and combined
resources (see below), if you load the form in Chrome with the Dev Tools
open on the Network tab, are you seeing some 404 for your CSS/JavaScript?

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


Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
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].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet