Re: Using Read-only properties in forms

2007-04-17 Thread jake123
Hi Bastian, you mean something like this : Jacob -- View this message in context: http://www.nabble.com/Using-Read-only-properties-in-forms-tf3593738.html#a10045713 Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Using Read-only properties in forms

2007-04-17 Thread Bastian Voigt
Jacob, thanks for your quick reply! I have also used this pageBeginRender approch in some of my components. Unfortunately, pageBeginRender is not always the right place to read properties. In the example from my initial post I used a @For loop to render a block which includes a form. The sourc

Re: Using Read-only properties in forms

2007-04-17 Thread jake123
Have you tried: in html: in java: public abstract class MyPage extends BasePage implements PageBeginRenderListener { public abstract Long getMyId(); public abstract void setMyId(Long id); public void pageBeginRender(PageEvent event) { MyObject myObject = getMyService().getMyObje