Em Fri, 18 Sep 2009 19:57:41 -0300, Josh Canfield <j...@thedailytube.com>
escreveu:
Last time I checked the Form component persists the tracker, which
means rendering a form puts something in your session. Every page in
the test has a form and so a different tracker would be persisted.
You're right. Maybe we should change the default tracker persistence from
session to flash persistence? I do that in my projects using @Meta.
I haven't done any testing to see how much heap this is actually
consuming, but I can't imagine that its too much. even with 20
sessions and 7 pages that should only be 140 trackers, right?
ValidationTrackerImpl has the following non-transient fields:
private List<String> extraErrors;
private List<FieldTracker> fieldTrackers;
FieldTracker is an inner class inside ValidationTrackerImpl:
private static class FieldTracker implements Serializable
{
private static final long serialVersionUID = -3653306147088451811L;
private final String fieldName;
private String input;
private String errorMessage;
FieldTracker(String fieldName)
{
this.fieldName = fieldName;
}
}
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org