• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Preview a topic that has an HTMLO form. As per spec, all form fields are disabled. However, the disabled="disabled" parameter has no trailing space, resulting in this HTML code:

<input disabled="disabled"type="text" name="topic" size="24" />
<input disabled="disabled"type="hidden" name="templatetopic" value="NewPluginTemplate" />
<input disabled="disabled"type="hidden" name="onlywikiname" value="on" />
<input disabled="disabled"type="submit" value="Create" /> 

It is very likely that not all browsers can grok disabled="disabled"type="text", it is also not valid XHTML.

Proper output, with trailing space:

<input disabled="disabled" type="text" name="topic" size="24" />
<input disabled="disabled" type="hidden" name="templatetopic" value="NewPluginTemplate" />
<input disabled="disabled" type="hidden" name="onlywikiname" value="on" />
<input disabled="disabled" type="submit" value="Create" /> 

Note: I have not checked the CommentPlugin for proper behaviour.

-- PTh

Missing space CC

I have seen this kind of bug cause trouble before so I will take it into hotfix-4.0.4-4. It is a very small and safe fix.

KJL

ItemTemplate
Summary Disable tag parameter issue in preview
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.0.2
SVN Range TWiki-4.1-beta1, Sun, 23 Jul 2006, build 11129
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 11475
TargetRelease patch
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-11-14 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback