Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 [BUGS] XHTML "disabled" attribute
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dcvb699
Novice

5 Posts

Posted - 15 Jun 2006 :  16:10:04  Show Profile  Visit dcvb699's Homepage  Reply with Quote
Just a heads up... I noticed that when any input control is disabled, DHE sets the HTML "disabled" attribute to "true". According to http://validator.w3.org/, the "disabled" attribute should be set to "disabled" instead of "true". This is currently the only thing preventing my page from being valid XHTML.

- Using DHE 3.1.100 trial for Win32

Thanks,
- Derek

Edited by - dcvb699 on 15 Jun 2006 18:27:24

s.dav
Site Admin

Italy
3364 Posts

Posted - 15 Jun 2006 :  17:49:48  Show Profile  Visit s.dav's Homepage  Reply with Quote
Are you sure? I've checked the generated page many times!
I'll make some tests!

Regards, Davide
Go to Top of Page

dcvb699
Novice

5 Posts

Posted - 15 Jun 2006 :  18:18:17  Show Profile  Visit dcvb699's Homepage  Reply with Quote
Here's an example testcase...

Exported HTML:
http://www.seysol.com/support/bugs/other/dhebug1.html

DHE File Source:
http://www.seysol.com/support/bugs/other/dhebug1.dhe


As you can see in the HTML above, the attribute "disabled" is set to "true" within each input control.

Thanks,
- Derek
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 15 Jun 2006 :  19:08:38  Show Profile  Reply with Quote
Wehn I set any of the objects on that page to false and change the way the file is exported to xhtml (so I get an exported file with the extension xhtml) there are no longer any w3c errors.

Martin
Go to Top of Page

dcvb699
Novice

5 Posts

Posted - 15 Jun 2006 :  19:32:26  Show Profile  Visit dcvb699's Homepage  Reply with Quote
quote:
change the way the file is exported to xhtml

I just tried using the XHTML as an export option, but I still get the same results.

quote:
Wehn I set any of the objects on that page to false

Set to false?? What I'm talking about is setting the DISABLED property to TRUE for any of the input controls (Text, Button, etc.). DHE should then export (or preview) the controls with the "disabled" attribute set to "disabled".


For example, the text input box should look like...
<input type="text" disabled="disabled" />

and NOT...
<input type="text" disabled="true" />


Hope this helps,
- Derek

Edited by - dcvb699 on 15 Jun 2006 19:36:51
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 15 Jun 2006 :  22:55:04  Show Profile  Visit s.dav's Homepage  Reply with Quote
Many thanks! In the next revision I'll fix this bug!

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000