Re: T5: LayoutCmpnt and inherit: prefix

2008-03-24 Thread Howard Lewis Ship
disabled="inherit:readOnly" That says "inherit the disabled parameter from the containing component's readOnly parameter". There is no containing component parameter, because the containg of the AddUpdateLayoutCmpnt is the page, which doesn't have parameters, just properties. So strip out "inher

Re: T5: LayoutCmpnt and inherit: prefix

2008-03-23 Thread petros
The readOnly parameter belogs to the AddUpdateLayoutCmpnt and is declared like this @Property private boolean readOnly; I then use the AddUpdateLayoutCmpnt as the layout of this http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> When the page above renders I am getting the err

Re: T5: LayoutCmpnt and inherit: prefix

2008-03-23 Thread Howard Lewis Ship
Looks like a bug. PageLoaderProcessor.java:249 is: // This may return null if the parameter is not bound in the loading component. Binding existing = loadingComponentBindingMap.get(loadingParameterName); It looks like loadingComponentBindingMap may be null when the loading co

T5: LayoutCmpnt and inherit: prefix

2008-03-23 Thread petros
I have a UserAddUpdate page with a property called readOnly. This property is used to enable/disable components to simulate edit/read mode on the page. The embedded AddressCmpnt template uses "inherit:readOnly" to enable/disable its components. I am now refactored the UserAddUpdate page and crea