Here's what I want to do..
I have a form that holds a variety of data, which the user will use to generate a query. The query data is persistent at the session. This wayIf they wander down a path, eventually they'll return to the "main" page, and the query data will be returned from the "session" and they'll be ready to query based on the data that was last entered. This all works fine and dandy. What I want to do now, is set a value in this persistent object when the object is created. To provide a default value for one (or more) of the query parameters. Imagine for instance that you want to search a queue of beans for those beans that are in state "Pending" as the intial state of the query page. This seems like a perfect place to use Hivemind. The query data is already constructed by Hivemind. Here's the XML for the query data in the hivemind.xml <module id="mil.dtic.mipr" version="1.0.0"> <contribution configuration-id="tapestry.state.ApplicationObjects"> <state-object name="queryData" scope="session"> <create-instance class="mil.dtic.j2ee.Hibernate.QueryForms.MiprQueryItem" /> </state-object> </contribution> </module> So my question is.. How do I convince Hivemind to set the property status on the object MiprQueryItem to the value of "Pending".