Tore,
Is it possible that the problem is still with the declaration of
"getCurrentVessel()" in the component class? How is it declared in the
..page file? Also what happens if you create a cover method like
"getCurrentVesselName()" in the component and caling it instead
(ognl:currentVesselName)?
That's all pretty random questions - I am just trying to get more
information about the problem.
Andrus
> On Nov 1, 2004, at 13:54, Tore Halset wrote:
>> Hello.
>>
>> I am having a strange problem with tapestry and some cayenne objects
>> that some of you might be able to help me with. I mailed the tapestry
>> list about the same problem in june. See attached message.
>>
>> I have a realy simple Page called VesselDownloadReport. It has a
>> tapestry Insert component that looks like this:
>> <span jwcid=..nsert" value="ognl:currentVessel.name"/>
>
> The problem is in the ".name" part of this component. The problem does
> not go away if I switch "name" with any other cayenne attributes for
> the Vessel.
>
> - Tore.
>
>>
>> I have a method in VesselDownloadReport.java named getCurrentVessel()
>> that returns a Vessel object. The Vessel object is a cayenne object.
>> In its parrent, _Vessel, there are the usual methods for
>> setName(String) and getName().
>>
>> Rendering the page leads to the errormessage in this screenshot:
>> http://www.pvv.ntnu.no/~halset/tmp/propertydescriptor.png and in the
>> attached message.
>>
>> Howard M. Lewis Ship (tapestry guru) answered "Perhaps you are
>> overriding a property provided by a super class", but I have not done
>> so.
>>
>> Regards,
>> - Tore.
This archive was generated by hypermail 2.0.0 : Mon Nov 01 2004 - 09:29:43 EST