Bugs item #675882, was opened at 2003-01-27 22:02
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=675882&group_id=4754

Category: Tapestry
Group: bug
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Christian Sell (csell)
Assigned to: Howard Lewis Ship (hship)
Summary: option component generates invalid HTML

Initial Comment:
the option component generates invalid HTML, which can
be processed by Mozilla (and presumably IE),  but other
HTML parsers (e.g. NekoHTML) cannot cope with it. Also
Konqueror shows empty selection lists. The problem is
that Tapestry generates HTML like:

<option value="1"/>Option Label1
<option value="2"/>Option Label2

The correct form, of course, would be

<option value="1">Option Label1</option>
<option value="2">Option Label2</option>

for convenience leaving off terminating </option> is
also permissible. What throws some parsers off is the
element terminator ("/>") *before* the option label.

The PropertySelection follows the <option>nnn</option>
pattern


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

Comment By: Howard Lewis Ship (hship)
Date: 2003-01-28 17:48

Message:
Logged In: YES 
user_id=26816

A few changes.  Option wraps around the label it produces, 
and allows a body (so that the label goes inside the Option).

Updated the test suite, Select=92%, Option=100%.  Found a 
few latent bugs!

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=675882&group_id=4754


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to