ParameterManager is the class. What you are seeing is that the ParameterManager gets the value of the property (once), so that it can reset the property back to initial default value after rendering the component.
Creating a persistent property during the render is a no- go as well; you'll get an exception that the page recorder is locked. You may not be able to use a connected parameter since you need the value of the binding at other times that during renderComponnt(). You probably should implement finishLoad() and register your component as a PageRenderListener and obtain the parameter value (or null) from pageBeginRender(). -- [EMAIL PROTECTED] http://tapestry.sf.net > Where is the code that sets up the connected parameters? > > I have a component that has a persistent property for its data. The > behavior I want is to have an optional parameter for an initial model of > that data (List). If the parameter is not used, the component creates its > own List, otherwise, it uses the one bound to it. > > The problem is that I do a null check in the property accessor and create > the list (in the component) only if the property is null. For some reason, > getMyProperty in the component is being called before the expression > (getMyProperty in the wrapping component) is called, so I am never using > the bound list. I thought looking at the code would shed some light...I was > with the understanding that the very first thing that would happen before > this component rendered was it getting its parameter value from the > binding. > > -C > > Protect yourself against identity theft with Equifax Credit Watch. Visit > http://www.creditalert.equifax.com. > > This message contains information from Equifax Inc. which may be > confidential and privileged. If you are not an intended recipient, please > refrain from any disclosure, copying, distribution or use of this > information and note that such actions are prohibited. If you have > received this transmission in error, please notify by e-mail > [EMAIL PROTECTED] > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Tapestry-developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/tapestry-developer ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
