I do my day to day development with Jetty; I'm not sure what's up with
Tomcat in this regard.  Have you configured Tomcat to operate against your
workspace files?

I like Jetty because it doesn't get in the way.

On 6/4/07, Jessica Sobieski <[EMAIL PROTECTED]> wrote:

I'm sorry. I could have been more precise. I'm new to Tapestry and I'm
still
trying to figure out what is probably obvious to many. Anyway, I got the
form (with table inside) working but I had to restart my application (in
Tomcat application manager) What confused me is that I was under the
impression that any changes to HTML files are picked up by Tapestry on the
fly.. This is my code:

<t:layout id="layout" xmlns:t="
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
<h1>Login</h1>

<t:form>
<t:errors/>
<table border="1">
<tr>
<td width="200"><t:label for="loginId" width="100px" /></td>
<td><input t:type="TextField" t:id="loginId" t:validate="required" /></td>
</tr>
<tr>
<td width="200"><t:label for="password" /></td>
<td><input t:type="PasswordField" t:id="password" t:validate="required"
/></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Login" /></td>
</tr>
</table>
</t:form>

</t:layout>

public class Start {
@Persist
private String _loginId;
private String _password;
@Component(id="password")
private PasswordField _passwordField;

public String getLoginId() {
return _loginId;
}

public void setLoginId(String aLoginId) {
_loginId = aLoginId;
}

public String getPassword() {
return _password;
}

public void setPassword(String aPassword) {
_password = aPassword;
}
}




On 6/4/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>
> I'm pretty sure it does.  Do that all the time.  Something must not be
as
> it
> seems.
>
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> On 6/4/07, Jessica Sobieski <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > What is the proper (and easiest) way to controlling <t:form> in a way
it
> > renders final HTML? If I place table inside <t:form> it doesn't get
> > rendered.
> >
> > Jess
> >
>
>
>
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Reply via email to