According to my experiance, this happens when you define abstract getters /setters with a missing <parameter direction="auto"> or <property-specification...> on the jwc.

××××× Jelena Jovanovic:
This normally indicates something is wrong with either the Border it's
self.Is it abstract without any abstract setters/getters?

Yes, I did make it an abstract class, but it has abstract setter and getter methods. Actually, I reused a part of the Border component definition from the Virtual library example coming with the Tapestry distribution.


Try just using org.apache.tapestry.html.BaseComponent?

No, not so far. I will try that.


Jelena
-----Original Message-----
From: Hensley, Richard [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 1:27 AM
To: Tapestry users
Subject: RE: Problems with instantiation of the Border Component


This normally indicates something is wrong with either the Border it's self.
Is it abstract without any abstract setters/getters?

Try just using org.apache.tapestry.html.BaseComponent? Instead to see if you
have a Border class problem.

Start with the simplest possible configuration and build on it.

Richard

-----Original Message-----
From: Jelena Jovanovic [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 4:09 PM
To: Tapestry Mailing List
Subject: Problems with instantiation of the Border Component


Hi,



First to thanks those that gave me some suggestions regarding problems
with
starting Tapestry applications. I found that the problem was the version
of
the Tapestry I used (3.0.2) - when I switched to the earlier (3.0)
version
the application worked.



However, now I have a problem of different type. I made a Border
component
and wanted to use it in my html pages. But I got the following exception
when running the application:

"Unable to instantiate an instance of class comps.Border.

component: [EMAIL PROTECTED]

location: context:/WEB-INF/Border.jwc, line 9, column 37"



The location where the exception is thrown in the Border.jwc:

<component-specification class="comps.Border"

    allow-body="yes"

    allow-informal-parameters="yes"> ..

I have a package named comps and Border.java class in it.



Can anyone help?

Thanks in advance.

Jelena


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to