> ValidationTrackerImpl is final, so I cannot extend this class. But I found
ValidationTrackerWrapper class, maybe I should extend this?
Sounds good to me
> Do I set it as a persisted property?
It depends on which tapestry version you are using. Later versions of
tapestry will NOT need flash persi
ValidationTrackerImpl is final, so I cannot extend this class. But I found
ValidationTrackerWrapper class, maybe I should extend this?
I'm trying something like this:
public class ValidationFieldTracker extends ValidationTrackerWrapper {
private List fields;
public Valid
Actually, it's even easier... you don't need to worry about the
environmental.
1. Extend ValidationTrackerImpl and override the recordError() methods to
save the error fields
2. Pass your tracker to the form
3. Profit
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/
Hmm I'm not sure I understand what you mean with, or how to achieve something
like that:
Lance Java wrote
> ValidationTracker is an environmental so you could wrap the existing
> ValidationTracker and push() the wrapper onto the environment and keep
> track of the fields this way.
Can you give m
ValidationTracker is an environmental so you could wrap the existing
ValidationTracker and push() the wrapper onto the environment and keep track
of the fields this way.
I wonder if you could have a hidden zone in the UI which gets updated when
the form is submitted. You then run some javascript o
On Thu, 15 Nov 2012 09:55:15 -0200, nquirynen
wrote:
- More client side validation feeling
- avoid unnecessary rerendering, database queries, etc.
- some elements in the zone that were visually altered with javascript
get reset to their initial state
- ...
In this case, you're going beyo
- More client side validation feeling
- avoid unnecessary rerendering, database queries, etc.
- some elements in the zone that were visually altered with javascript get
reset to their initial state
- ...
It's not a big problem, but it would surely be better if I could avoid these
problems. But you
Although I'm sure it can be done... it sounds like a lot of effort for not
much gain. Why don't you want update the full zone?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Form-server-side-validation-in-zone-tp5718026p5718027.html
Sent from the Tapestry - User mailing