Is <invoke-factory> the only method? or the best method? Stanczak Group wrote: > I've create a customer state object. I want to initialize it with a sale > rep. I have a sale rep repository that can do that. How do I go about > using the sale rep repository to set the sale rep value? > > #################################################### > > <contribution configuration-id="tapestry.state.ApplicationObjects"> > <state-object name="customer_session" scope="session"> > <create-instance class="com.carque.CustomerSession"/> > </state-object> > </contribution> > > ######################################################### > > <service-point id="saleRepRepository" > interface="com.carque.db.SaleRepRepository"/> > > Rep repository has method getNextSaleRep to set this. It returns a sale > rep or null; > >
-- Justin Stanczak Stanczak Group 812-735-3600 "All that is necessary for the triumph of evil is that good men do nothing." Edmund Burke ..________...............__................. ./ _____/..____..._____/..|_..____...____.... /...\..____/.__.\./....\...__\/.._.\./._..\.... \....\_\..\..___/|...|..\..|.(..<_>.|.<_>..).... .\______../\___.._\__|../__|..\____/.\____/...... ........\/.....\/.....\/.......................... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]