Hi.
probably disabled="disabled" is a solution that works?
The standalone, unvalued attributes are a html5 (and old html) syntax
element. Tapestry templates are well formed XHTML and therefore XML
documents.
In XML every attribute has a value, which produces that parsing error, I
think.
The Xhtml conform variant defined for HTML5 is to use the attribute name
as it's value again, so disabled becomes disabled="disabled".
See [1] for reference.
regards
Peter
[1]
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#boolean-attribute
Am 04.03.2013 06:30, schrieb Jaypax Ginete:
I have been able to use twitter-bootstrap for my layout. But I have
encountered a problem when I'm trying to use "single" attributes.
Doing something like:
<input type="text" placeholder="${name}" disabled/>
The "disabled" attribute causes a "Failure parsing template: Attribute
name "disabled" associated with an element type.." exception.
Is there a workaround for this?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org