You are looking at posts that were written on September 5th, 2006.
Posted on September 5th, 2006 by arnljot.
Categories: appfuse, java.
I’ve been studying up on JMock, the reason is that today I’ll be holding a presentation at Avenir on using mock objects.
I’ll post my short powerpoint later on this site. It’s mostly my [limited] experiences with JMock, and leads to good articles on JMock and testing using mock objects.
The case I’ll be using is “myRiga”, an application I’ve been asked to make for a company trip we’ll do later in October.
myRiga is an appfuse based application.
Posted on September 5th, 2006 by arnljot.
Categories: appfuse, java.
I rarely need to make “static” forms, like “edit userprofile” in Appfuse.
Most of the time I do not know what the instance of the form will look like, because it’s determined by user selections and what’s in the database.
This is a pain… But not impossible, so far I’ve cheated by passing an id to the state of my dynamically built form to the rewind cycle of my page so that I don’t get a “stale link exception”. But I feel like it’s cheating.
In the Tapestry 4 API it says I should inject an application state object instead of using a visit object, is it available in “pageBeginRender” and how is it done?
I need to find out, the way I’m doing it now is surely not “best practice”.