- Just to say that my question here was wrong in its premise - you can
pull persisted fields up into a base class. A coding error was the
problem.
David Roberts wrote:
Hi,
I tried to create a base page which encapsulated a flash persistent
value used on all/most of my Tapestry pages:
class BasePage {
@Persist(value="flash")
private boolean isError;
..... getters and setters
}
However, though the variable was being used it wasn't being stored in
flash scope. Is there any way I can do this for base pages.
Similarly I want to encapsulate messages for all/most pages, but I am
wondering if the right properties will be inject (if at all):
class BasePage {
@Inject
private Messages messages;
... getters and setters
}
- Any thoughts on these issues would be appreciated.
thanks,
David.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]