I've got a form page that creates new foos, one after another. You
input foo data and each time a new foo will be added to the persistent
foo set. I am doing this in an attempt to collect multiple foos for
bulk processing on subsequent pages. The page has the method:
@Persist
public abstract Set<Foo> getFoos();
public abstract void setFoos(Set<Foo> foos);
The template has a submit that call the addAnotherFoo listener. The
addAnotherFoo method looks like:
public IPage addAnotherOfficer() {
getFoos().add(getFoo());
for (Foo o : getFoos())
System.out.println(o.getId());
return this;
}
After setting a breakpoint, I can see that there are no errors.
However, when the addAnotherFoo listener gets called I get the
following Tapestry Exception:
Could not find a strategy instance for class Foo.
etc.
What is Tapestry trying to do? Are there better approaches to what I
am trying to do? Thanks in advance.
T
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]