You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by captain_rhino <gr...@axa-travel-insurance.com> on 2011/07/21 17:15:35 UTC
Unable to resolve 'tapx/datefield' to a component class name.
Can anyone spot my deliberate mistake please?
I currently recieve the following exception.
Caused by: org.apache.tapestry5.ioc.util.UnknownValueException: Unable to
resolve 'tapx/datefield' to a component class name.
I'm just trying to use some of the tapx extension s.
.tml file
<html t:type="layout" t:title="xxxSignIn"
t:pageTitle="yyySignin"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"
xmlns:p="tapestry:parameter"
xmlns:tx="tapestry-library:tapx">
<form t:type="form" class="full-form" t:id="loginForm">
<t:errors />
<tx:datefield id="birthday"/>
java class
@Property
private Date birthday;
pom.xml
has the folowing dependencies defined.
<dependency>
<groupId>com.howardlewisship</groupId>
<artifactId>tapx-core</artifactId>
<version>${tapx-release-version}</version>
</dependency>
<dependency>
<groupId>com.howardlewisship</groupId>
<artifactId>tapx-datefield</artifactId>
<version>${tapx-release-version}</version>
</dependency>
from the follwoing repository
<repositories>
<repository>
<id>apache-snapshots</id>
<url>http://repository.apache.org/snapshots/</url>
</repository>
<repository>
<id>tapestry360-stable</id>
<url>http://tapestry.formos.com/maven-repository</url>
</repository>
<repository>
<id>tapestry360-snapshot</id>
<url>http://tapestry.formos.com/maven-snapshot-repository</url>
</repository>
</repositories>
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Unable-to-resolve-tapx-datefield-to-a-component-class-name-tp4619854p4619854.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Unable to resolve 'tapx/datefield' to a component class name.
Posted by captain_rhino <gr...@axa-travel-insurance.com>.
Thanks for you help. As a bit of a maven/tapestry novice I realised I had
not added the dependcies in the POM correctly
<dependency>
<groupId>com.howardlewisship</groupId>
<artifactId>tapx-core</artifactId>
<version>${tapx-release-version}</version>
</dependency>
<dependency>
<groupId>com.howardlewisship</groupId>
<artifactId>tapx-datefield</artifactId>
<version>${tapx-release-version}</version>
</dependency>
And then ran
mvn eclipse:eclipse
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Unable-to-resolve-tapx-datefield-to-a-component-class-name-tp4619854p4622314.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Unable to resolve 'tapx/datefield' to a component class name.
Posted by Taha Hafeez <ta...@gmail.com>.
You can check the startup logs to check if the component is getting
loaded. You should see something like tapx/DateField in the log. If it
is not then the jar is some how not getting loaded.
regards
Taha
On Thu, Jul 21, 2011 at 8:45 PM, captain_rhino
<gr...@axa-travel-insurance.com> wrote:
> Can anyone spot my deliberate mistake please?
>
> I currently recieve the following exception.
> Caused by: org.apache.tapestry5.ioc.util.UnknownValueException: Unable to
> resolve 'tapx/datefield' to a component class name.
> I'm just trying to use some of the tapx extension s.
>
> .tml file
> <html t:type="layout" t:title="xxxSignIn"
> t:pageTitle="yyySignin"
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"
> xmlns:p="tapestry:parameter"
> xmlns:tx="tapestry-library:tapx">
>
> <form t:type="form" class="full-form" t:id="loginForm">
> <t:errors />
>
> <tx:datefield id="birthday"/>
>
> java class
> @Property
> private Date birthday;
>
>
> pom.xml
> has the folowing dependencies defined.
> <dependency>
> <groupId>com.howardlewisship</groupId>
> <artifactId>tapx-core</artifactId>
> <version>${tapx-release-version}</version>
> </dependency>
>
> <dependency>
> <groupId>com.howardlewisship</groupId>
> <artifactId>tapx-datefield</artifactId>
> <version>${tapx-release-version}</version>
> </dependency>
>
> from the follwoing repository
> <repositories>
>
> <repository>
> <id>apache-snapshots</id>
> <url>http://repository.apache.org/snapshots/</url>
> </repository>
> <repository>
> <id>tapestry360-stable</id>
> <url>http://tapestry.formos.com/maven-repository</url>
> </repository>
> <repository>
> <id>tapestry360-snapshot</id>
> <url>http://tapestry.formos.com/maven-snapshot-repository</url>
> </repository>
> </repositories>
>
>
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Unable-to-resolve-tapx-datefield-to-a-component-class-name-tp4619854p4619854.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org