Howard Lewis Ship <hlship <at> gmail.com> writes:

> Tapestry generates XHTML style output, so it inlcudes a slash before a
> on empty tags.
> 
> The other issues are problems with your input template.  You may need
> to wrap your <form> with a <p> to make W3C validator happy.

Wait a minute. His problem seems to be the result of Tapestry outputting
the hidden fields directly after the <form> tag which is not allowed
by the html specification (strict):

<form method="post" name="Form0" action="/koen/app">
<input type="hidden" name="service" value="direct/1/Login/loginForm"/>
<input type="hidden" name="sp" value="S0"/>
<input type="hidden" name="Form0" value="loginUserName,loginPassword"/>

To solve this problem, the Form component may wrap the hidden
fields in a <div>:

<form method="post" name="Form0" action="/koen/app">
<div>
<input type="hidden" name="service" value="direct/1/Login/loginForm"/>
<input type="hidden" name="sp" value="S0"/>
<input type="hidden" name="Form0" value="loginUserName,loginPassword"/>
</div>

--
Author of an e-Book for learning Tapestry (http://www.agileskills2.org/EWDT)


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

Reply via email to