Hi, I have
deployed orbeon.war 3.6 version in jboss and I’m using the xforms engine
with my Java application. I’m using the widget tab control in a form, but
the tabs appear as links; not as tabs. The css file is not being applied. I copied
the contents in xforms-widget.css (from orbeon-resources-public.jar) and pasted
it to my xsl page and then it worked. Is this a bug or am I missing something? It
seems there is some problem with the location of css. Attached
please find the sample code. Thanks
in advance Jency -- 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 tab.xsl (2K) Download Attachment |
Hi Jency,
> I have deployed orbeon.war 3.6 version in jboss and I’m using the xforms > engine with my Java application. I’m using the widget tab control in a > form, but the tabs appear as links; not as tabs. The css file is not > being applied. I copied the contents in xforms-widget.css (from > orbeon-resources-public.jar) and pasted it to my xsl page and then it > worked. Is this a bug or am I missing something? It seems there is some > problem with the location of css. i had a similar problem, regarding not only the css but also the xforms.js and other JavaScript files when upgrading to 3.6. I think it was caused that i didn't delete really all the "superfluous" files in the config directory. Maybe it helps if you leave only those files in your config dir that are placed there in the orbeon.war. HTH florian -- 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 |
In reply to this post by Jency Thomas
Hi,
I have not placed any files in config dir other than which was in orbeon.war. Since I'm using orbeon with my Java application, I'm not editing the orbeon.war. I have just deployed it in jboss along with my web application. It seems orbeon can't locate the css files from public resources jar??? Please help in solving the issue. Thanks in advance Jency -----Original Message----- From: Florian Schmitt [mailto:[hidden email]] On Behalf Of Florian Schmitt Sent: Sunday, December 16, 2007 3:41 PM To: [hidden email] Subject: Re: [ops-users] xforms-widget css not being applied Hi Jency, > I have deployed orbeon.war 3.6 version in jboss and I'm using the xforms > engine with my Java application. I'm using the widget tab control in a > form, but the tabs appear as links; not as tabs. The css file is not > being applied. I copied the contents in xforms-widget.css (from > orbeon-resources-public.jar) and pasted it to my xsl page and then it > worked. Is this a bug or am I missing something? It seems there is some > problem with the location of css. i had a similar problem, regarding not only the css but also the xforms.js and other JavaScript files when upgrading to 3.6. I think it was caused that i didn't delete really all the "superfluous" files in the config directory. Maybe it helps if you leave only those files in your config dir that are placed there in the orbeon.war. HTH florian -- 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 |
Administrator
|
Jency,
If you view the page source with your browser, do you see a place where xforms-widgets.css is included? If so, can you paste the whole HTML <style> element in your reply? -Erik On Dec 16, 2007, at 8:54 PM, Jency Thomas wrote: > Hi, > I have not placed any files in config dir other than which was in > orbeon.war. Since I'm using orbeon with my Java application, I'm not > editing the orbeon.war. I have just deployed it in jboss along with my > web application. > > It seems orbeon can't locate the css files from public resources > jar??? > > Please help in solving the issue. > > Thanks in advance > Jency > > > -----Original Message----- > From: Florian Schmitt [mailto:[hidden email]] On Behalf Of > Florian Schmitt > Sent: Sunday, December 16, 2007 3:41 PM > To: [hidden email] > Subject: Re: [ops-users] xforms-widget css not being applied > > Hi Jency, > >> I have deployed orbeon.war 3.6 version in jboss and I'm using the > xforms >> engine with my Java application. I'm using the widget tab control >> in a >> form, but the tabs appear as links; not as tabs. The css file is not >> being applied. I copied the contents in xforms-widget.css (from >> orbeon-resources-public.jar) and pasted it to my xsl page and then it >> worked. Is this a bug or am I missing something? It seems there is > some >> problem with the location of css. > > i had a similar problem, regarding not only the css but also the > xforms.js and > other JavaScript files when upgrading to 3.6. I think it was caused > that > i > didn't delete really all the "superfluous" files in the config > directory. Maybe > it helps if you leave only those files in your config dir that are > placed there > in the orbeon.war. > > HTH > florian > > > -- > 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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
In reply to this post by Jency Thomas
Hi Erik,
Here is the reference to xforms-widget.css in the page source: <link rel="stylesheet" href="/config/theme/xforms-widgets.css" type="text/css"> Thanks Jency -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: Tuesday, December 18, 2007 3:57 AM To: [hidden email] Subject: Re: [ops-users] xforms-widget css not being applied Jency, If you view the page source with your browser, do you see a place where xforms-widgets.css is included? If so, can you paste the whole HTML <style> element in your reply? -Erik On Dec 16, 2007, at 8:54 PM, Jency Thomas wrote: > Hi, > I have not placed any files in config dir other than which was in > orbeon.war. Since I'm using orbeon with my Java application, I'm not > editing the orbeon.war. I have just deployed it in jboss along with my > web application. > > It seems orbeon can't locate the css files from public resources > jar??? > > Please help in solving the issue. > > Thanks in advance > Jency > > > -----Original Message----- > From: Florian Schmitt [mailto:[hidden email]] On Behalf Of > Florian Schmitt > Sent: Sunday, December 16, 2007 3:41 PM > To: [hidden email] > Subject: Re: [ops-users] xforms-widget css not being applied > > Hi Jency, > >> I have deployed orbeon.war 3.6 version in jboss and I'm using the > xforms >> engine with my Java application. I'm using the widget tab control >> in a >> form, but the tabs appear as links; not as tabs. The css file is not >> being applied. I copied the contents in xforms-widget.css (from >> orbeon-resources-public.jar) and pasted it to my xsl page and then it >> worked. Is this a bug or am I missing something? It seems there is > some >> problem with the location of css. > > i had a similar problem, regarding not only the css but also the > xforms.js and > other JavaScript files when upgrading to 3.6. I think it was caused > that > i > didn't delete really all the "superfluous" files in the config > directory. Maybe > it helps if you leave only those files in your config dir that are > placed there > in the orbeon.war. > > HTH > florian > > > -- > 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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
Administrator
|
Jency,
That's what I thought: the xforms-widgets.css stylesheet URL is not rewritten. This is because at the moment, in separate deployment, URL rewriting is turned off for anything which is not directly handled by the XForms engine. xforms-widgets.css falls in that category: http://forge.objectweb.org/tracker/index.php?func=detail&aid=306956&group_id=168&atid=350207 We plan sooner rather than later to implement tabs natively as an appearance of xforms:switch rather than the current approach, which uses a pseudo-component written in XSLT. Once this is done, this particular problem will be solved: http://forge.objectweb.org/tracker/index.php?func=detail&aid=307348&group_id=168&atid=350207 As a temporary workaround, you can modify xforms-widgets.xsl and fix up the URL in this line by prepending your context path: <xhtml:link rel="stylesheet" href="/config/theme/xforms- widgets.css" type="text/css"/> -Erik On Dec 17, 2007, at 8:36 PM, Jency Thomas wrote: > Hi Erik, > > Here is the reference to xforms-widget.css in the page source: > > <link rel="stylesheet" href="/config/theme/xforms-widgets.css" > type="text/css"> > > Thanks > Jency > > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik > Bruchez > Sent: Tuesday, December 18, 2007 3:57 AM > To: [hidden email] > Subject: Re: [ops-users] xforms-widget css not being applied > > Jency, > > If you view the page source with your browser, do you see a place > where xforms-widgets.css is included? If so, can you paste the whole > HTML <style> element in your reply? > > -Erik > > On Dec 16, 2007, at 8:54 PM, Jency Thomas wrote: > >> Hi, >> I have not placed any files in config dir other than which was in >> orbeon.war. Since I'm using orbeon with my Java application, I'm not >> editing the orbeon.war. I have just deployed it in jboss along with >> my >> web application. >> >> It seems orbeon can't locate the css files from public resources >> jar??? >> >> Please help in solving the issue. >> >> Thanks in advance >> Jency >> >> >> -----Original Message----- >> From: Florian Schmitt [mailto:[hidden email]] On Behalf Of >> Florian Schmitt >> Sent: Sunday, December 16, 2007 3:41 PM >> To: [hidden email] >> Subject: Re: [ops-users] xforms-widget css not being applied >> >> Hi Jency, >> >>> I have deployed orbeon.war 3.6 version in jboss and I'm using the >> xforms >>> engine with my Java application. I'm using the widget tab control >>> in a >>> form, but the tabs appear as links; not as tabs. The css file is not >>> being applied. I copied the contents in xforms-widget.css (from >>> orbeon-resources-public.jar) and pasted it to my xsl page and then >>> it >>> worked. Is this a bug or am I missing something? It seems there is >> some >>> problem with the location of css. >> >> i had a similar problem, regarding not only the css but also the >> xforms.js and >> other JavaScript files when upgrading to 3.6. I think it was caused >> that >> i >> didn't delete really all the "superfluous" files in the config >> directory. Maybe >> it helps if you leave only those files in your config dir that are >> placed there >> in the orbeon.war. >> >> HTH >> florian >> >> >> -- >> 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 > > -- > Orbeon Forms - Web Forms for the Enterprise Done the Right Way > http://www.orbeon.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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
Free forum by Nabble | Edit this page |