rivaaj
05-06-2005, 01:08 AM
Hi
I'm trying to put together my first master page example and have run into the following problem. I'm new to spring so please forgive my terminology.
When attempting to visit a child page, the following error is encountered "Property 'Master' is not writable in object class [ASP.Child_aspx]". My object config looks like this:
<objects xmlns="http://www.springframework.net">
<object id="masterPage" type="~/Master.aspx" />
<object id="basePage" abstract="true">
<property name="Master" >
<ref object="masterPage"/>
</property>
</object>
<object type="child.aspx" parent="basePage">
</object>
</objects>
Any advice on what I'm doing wrong here?
Also, is the process of resolving a page name to its associated class case sensitive? I ask this as I was attempting to debug the problem I am enountering and I think I noticed the lookup to the object factory as being sensitive to the case of the page name in the url?
Thanks
Rivaaj
I'm trying to put together my first master page example and have run into the following problem. I'm new to spring so please forgive my terminology.
When attempting to visit a child page, the following error is encountered "Property 'Master' is not writable in object class [ASP.Child_aspx]". My object config looks like this:
<objects xmlns="http://www.springframework.net">
<object id="masterPage" type="~/Master.aspx" />
<object id="basePage" abstract="true">
<property name="Master" >
<ref object="masterPage"/>
</property>
</object>
<object type="child.aspx" parent="basePage">
</object>
</objects>
Any advice on what I'm doing wrong here?
Also, is the process of resolving a page name to its associated class case sensitive? I ask this as I was attempting to debug the problem I am enountering and I think I noticed the lookup to the object factory as being sensitive to the case of the page name in the url?
Thanks
Rivaaj