I've seen a loop iterator around <options> tags produce the following:

<option>value

instead of

<option>value</option>

But it only happens only when I try to render the "selected" attribute of the option in the loop, something like:

<option t:type="loop" t:source="x" t:value="y" selected="${isSelected}">value</option> (excuse any typos).

results in:
<option>value



Francois Armand wrote:
Gabriel Rodriguez wrote:
When Tapestry 5 produces HTML from my TMLs it's removing the "/" from the end of my empty tags, leaving them unclosed and causing rendering problems on the browser. Is this by design? Is there a setting that needs to be changed?
What exactly is your problem, on which tags ?
If your problem is linked to unclosed <li>, <br>, (so, Tapestry produce HTML 4 compatible markups), and if you want to produce valid XHTML, you will have to set-up Doctype according to http://tapestry.apache.org/tapestry5/guide/templates.html (Template Doctypes )

BUT, you may hit https://issues.apache.org/jira/browse/TAP5-263 and want to look to http://wiki.apache.org/tapestry/Tapestry5HowToXhtml

If it's something else, it may actually be a new bug :)

Hope it will help,


--
SU3 Analytics Ltd
61b Oxford Gardens
W10 5UJ
London

Tel: +44 20 8960 2634
Mob: +44 75 2501 0825
www.su3analytics.com

SU3 Analytics Ltd is a company registered in England and Wales under company 
number 06639473 at registered address 61b Oxford Gardens, London W10 5UJ, 
United Kingdom.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to