Patches item #1489178, was opened at 2006-05-15 22:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1489178&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Benjamin Hawkes-Lewis (webben)
Assigned to: Nobody/Anonymous (nobody)
Summary: Valid hidden field for XHTML 1.0 Strict

Initial Comment:
Currently, the hidden field inserted by Wicket for
submitting data via JavaScript without a submit input
or button (e.g. with a drop down selection, or a link)
does not validate as XHTML 1.0 strict, where all input
elements - even hidden ones - must occur within a
block-level element such as p, div, or fieldset. Of
these, a <div> is the most unobtrusive option. A
'style="display:none"' inline CSS attribute must be
added, both to override custom styling of divs and
because otherwise the div might be turned into
whitespace (see
http://issues.apache.org/jira/browse/TAPESTRY-699). So
here's a patch for wicket.markup.html.form.java's
onComponentTagBody method to generate the div
automatically.

Personally, I feel that this div and the hidden input
field - which exist only to service JavaScript and have
no other semantic function that I know of - should be
added to the DOM by external JavaScript called from the
using component as required. I recognise however that
this would involve additional testing. But in the
meanwhile we can at least follow the letter if not the
spirit of the relevant standards.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1489178&group_id=119783


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to