logo       

Re: possible bug in ie-xforms.css or repeat layout: msg#00017

Subject: Re: possible bug in ie-xforms.css or repeat layout
Hello Joern,

I attached this form the first time around, because it is much easier to see the problem than to explain it. In case it did not come through, here it is again. Thanks,

Zach


Joern Turner wrote:

Hello Zach,

thanks for reporting this - we're working on firefix by default and so the ie-xforms.css is not in such a good shape. i recently experienced a similar problem. which repeat appearance are you using in your form? can you maybe even provide a complete form for testing?

Joern

Zach Roberts wrote:

Hello All,

I think I have discovered a problem with the way repeat elements are rendered in combination with the ie-xforms.css. It is a bit obnoxious to see, so if my explanation is lengthy just check out the attached form and see for yourself.

When a repeat element is rendered, it is surrounded by a table element. This is fine, until there is a constraint or a required attribute on a member of the repeat. When the alert message should be displayed on a member of a repeat, that alert message gets a class="invalid" attached to it, which should make it visible and red. However, because the surrounding repeat element, which creates an HTML table, has a class="valid", this cascades down and overrides the display property, setting it to "none" and causing the alert to be hidden from view. It is hard to see in IE, since I don't know of a way to look at the DOM from within IE. However, using chiba-0.9.7 and the Firefox DOMInspector, I edit the attached form with the css forced to be the ie-xforms.css, and attempt to get the alert to show and it fails. Using the DOMInspector, I then look a the CSS Style rules, and it has both an invalid class, and a valid class affecting it. However, from the HTML source, there is only a class="invalid" on the alert element itself, although the surrounding repeat element's table has a class="valid". I have also verified that nothing significant has changed in ie-xforms.css, html4.xsl, or html-form-controls.xsl since version 0.9.7, so I think it should be reproducable as long as you force the css to be ie-xforms.css in later versions of chiba. Anyone have any ideas how to get this alert to show when appropriate? Thanks,

Zach Roberts


Attachment: test_repeat_alert.xhtml
Description: application/xhtml

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe