Hi,

I have this in my TML file:
<input t:type="textfield" type="email" class="form-control input-sm"
t:id="emailAddress" placeholder="Enter email"
t:value="emailAddress"/>

This renders are:
<input placeholder="Enter email" id="emailAddress" class="form-control
form-control input-sm" name="emailAddress" type="email"></input>

The issue here is the input tag should close like this instead:
<input placeholder="Enter email" id="emailAddress" class="form-control
form-control input-sm" name="emailAddress" type="email"/>

Therefore, I get a W3C validation issue:
Line 109, Column 115: Stray end tag input.

This seems to be a problem already reported and (apparently) fixed, it
is listed here:
https://issues.apache.org/jira/browse/TAP5-2071

However it says that this was fixed in Tapestry 5.4.

The version of Tapestry I am using is: 5.4-beta-26, which I believe is
the latest.

I'm wondering how I go about fixing this. I haven't delved into the
Tapestry source code and don't really want to have some patch which
works just on my version, currently I just use maven to grab the
tapestry dependency and I'm not too confident changing the tapestry
source code myself (mainly as I figure this will give me a headache
when I update).

Is there an easy way to fix this, or perhaps a more up to date build I
can get from maven?
I'm currently using:
<dependency>
<groupId>org.apache.tapestry</groupId>
<artifactId>tapestry-hibernate</artifactId>
<version>${tapestry-release-version}</version>
</dependency>

With <tapestry-release-version>5.4-beta-26</tapestry-release-version>

Thanks,
Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to