Jacopo Cappellato wrote:
Hi Bilgin,
thanks for doing this; a small suggestion, what if we do this:
On Dec 18, 2009, at 9:25 PM, [email protected] wrote:
+ if (this.paginate == null || formElement.hasAttribute("paginate")) {
+ this.paginate =
FlexibleStringExpander.getInstance(formElement.getAttribute("paginate"));
+ }
else if (this.paginate == null) {
this.paginate = FlexibleStringExpander.getInstance("${paginate}");
}
In this way we will be able to set the "paginate" variable even if the form
doesn't explicitly define the paginate attribute.
What do you think?
Jacopo
Jacopo,
thanks for the suggestion. In r894179 I set ${paginate} as default
value for paginate attribute in the schema and it worked w/o any
other modifications.
Bilgin