I'm trying to get to grips with the Tapestry 4 way of doing things (beta
4). I still have a couple of questions:
- For every page that extends the BasePage I get 4 deprecation warnings:
Warning: Warning: line (14)[deprecation]
removePageRenderListener(org.apache.tapestry.event.PageRenderListener)
in org.apache.tapestry.IPage has been deprecated
Warning: Warning: line (14)[deprecation]
addPageRenderListener(org.apache.tapestry.event.PageRenderListener) in
org.apache.tapestry.IPage has been deprecated
Warning: Warning: line (14)[deprecation] getGlobal() in
org.apache.tapestry.IPage has been deprecated
Warning: Warning: line (14)[deprecation] getVisit() in
org.apache.tapestry.IPage has been deprecated
This quickly grows into a huge number of warnings. I do still need to
extend the BasePage, right? (The 'QuickStart: DirectLink' example still
does).
- The user guide on the website is not yet complete regarding
validation; I use the T3 way of using validFields, which gives me
runtime deprecation-warnings in my log.
What should I use instead of ValidFields?
- When I implement my own ValidationDelegate the writeSuffix method
always gets null as a validator parameter. Is that supposed to happen?
Or does that have to do with my previous question?
Validation itself is working, so I know the validators are ok. I've
tried it with the 'validator:'-prefix, setting up <bean>s for validators
and even provided validators through my own Page class just
to be sure. But no matter what I try I end up with a null-validator in
the writeSuffix method of my custom ValidationDelegate.
Any helps would be appreciated.
Regards,
Onno
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]