Just 2 quick questions:

1) Is it allowed to put instance variables on a Tapestry Page? Such as:

public abstract class SomePage extends Basepage {
   private int someField;

}

I guess there are issues with concurrent access, but I couldn't find any definite source on this (a FAQ entry maybe?). If I can't put it that way, then I'd have to declare getters and setters for every property I want to modify, right?

2) Should all page properties be abstract? Or I can declare a concrete property like this:

public String getSomeProperty() {
 return String.format("...", getAnotherProperty());
}

I guess this property isn't modified on the dynamic page subclass.

--
Ing. Leonardo Quijano Vincenzi
Director Técnico
DTQ Software




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to