Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
95 posts
|
Hi,
I'm trying to upgrade to a pre 3.9 nightly build, but have hit a problem with my forms being invisible when they load. The problem seems to be that the form has the style "xforms-initially-hidden", but I can't see why this is occurring. Is there any obvious reason of what may be happening? Regards, Neil |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
95 posts
|
I suspect this is related to the theme, as replacing my theme which worked with 3.8 with the theme-plain.xsl displays some of the elements of my form. I was wondering if something has changed about the way the XForms engine generates the XHTML in 3.9 and/or are there any layout settings for backward compatibility?
Regards, Neil |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
95 posts
|
I found the problem, and in case this affects anyone else post the solution below:
The problem was that I was using a theme based on the file "theme-plain.xsl" from an early 3.8 release. This contained the following extract: <xhtml:body> <xsl:apply-templates select="/xhtml:html/xhtml:body/@*"/> <xsl:apply-templates select="/xhtml:html/xhtml:body/node()"/> </xhtml:body> <xsl:for-each select="/xhtml:html/xhtml:head/xhtml:script"> <xsl:element name="xhtml:{local-name()}" namespace="{namespace-uri()}"> <xsl:apply-templates select="@*|node()"/> </xsl:element> </xsl:for-each> The latest 3.9 preview build has the following alternative to this: <xsl:apply-templates select="/xhtml:html/xhtml:body"/> <xsl:apply-templates select="/xhtml:html/xhtml:script"/> I swapped in this code and the forms are visible again. Regards, Neil |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
6632 posts
|
Neil,
Thanks for sharing. BTW Nabble swallowed your markup, but it can be seen online: -Erik
On Sat, Mar 19, 2011 at 12:27 PM, ncrofts <[hidden email]> wrote: I found the problem, and in case this affects anyone else post the solution ... [show rest of quote] -- 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 |