<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-27435</id>
	<title>Nabble - Trails - Users</title>
	<updated>2009-11-17T22:54:16Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Trails---Users-f27435.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trails---Users-f27435.html" />
	<subtitle type="html">Users List</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26403361</id>
	<title>Re: Testing Trails on NetBeans 6.7 and Eclipse 3.5.1</title>
	<published>2009-11-17T22:54:16Z</published>
	<updated>2009-11-17T22:54:16Z</updated>
	<author>
		<name>Alessandro Bottoni-5</name>
	</author>
	<content type="html">Kalle Korhonen ha scritto:
&lt;br&gt;&amp;gt; Hey Alessandro, thanks for giving it a shot. Fixing an archetype would
&lt;br&gt;&amp;gt; be very simple if we know what the problem is. I'm just guessing but
&lt;br&gt;&amp;gt; it could very well be the archetype produced module is not correctly
&lt;br&gt;&amp;gt; excluding servlet-api from its dependencies, which typically results
&lt;br&gt;&amp;gt; in errors like this. Would you mind running mvn dependency:tree and
&lt;br&gt;&amp;gt; excluding servlet-api as appropriate if its included? Or you can just
&lt;br&gt;&amp;gt; build the war and see if its bundled in.
&lt;br&gt;&lt;br&gt;Hi Kalle,
&lt;br&gt;here following the dependecy tree of my sample project. As you can see,
&lt;br&gt;servlet-api is not present.
&lt;br&gt;&lt;br&gt;[INFO] [dependency:tree]
&lt;br&gt;[INFO] it.makua:berkut:war:1.0-SNAPSHOT
&lt;br&gt;[INFO] +- org.trailsframework:trails-hibernate:jar:1.2.1:compile
&lt;br&gt;[INFO] | &amp;nbsp;+- org.trailsframework:trails-core:jar:1.2.1:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- org.aspectj:aspectjrt:jar:1.5.4:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- org.aspectj:aspectjweaver:jar:1.5.4:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- commons-beanutils:commons-beanutils:jar:1.7.0:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- commons-lang:commons-lang:jar:2.2:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- commons-logging:commons-logging:jar:1.1:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- javax.transaction:jta:jar:1.1:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- log4j:log4j:jar:1.2.14:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- ognl:ognl:jar:2.7.1:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- org.apache.tapestry:tapestry-framework:jar:4.1.5:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;| &amp;nbsp;+- jboss:javassist:jar:3.6.ga:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;| &amp;nbsp;+- hivemind:hivemind:jar:1.1.1:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;| &amp;nbsp;+- hivemind:hivemind-lib:jar:1.1.1:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;| &amp;nbsp;+- oro:oro:jar:2.0.8:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;| &amp;nbsp;+- commons-codec:commons-codec:jar:1.3:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;| &amp;nbsp;+- commons-fileupload:commons-fileupload:jar:1.2:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;| &amp;nbsp;+- commons-io:commons-io:jar:1.3.1:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;| &amp;nbsp;\-
&lt;br&gt;backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- org.apache.tapestry:tapestry-annotations:jar:4.1.5:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- org.apache.tapestry:tapestry-contrib:jar:4.1.5:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- commons-collections:commons-collections:jar:3.2:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;\- com.sun:tools:jar:1.5.0:system
&lt;br&gt;[INFO] | &amp;nbsp;+- commons-dbcp:commons-dbcp:jar:1.2.2:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;\- commons-pool:commons-pool:jar:1.3:compile
&lt;br&gt;[INFO] | &amp;nbsp;+- javax.persistence:persistence-api:jar:1.0:compile
&lt;br&gt;[INFO] | &amp;nbsp;+- org.hibernate:hibernate:jar:3.2.6.ga:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- net.sf.ehcache:ehcache:jar:1.2.3:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- asm:asm-attrs:jar:1.5.3:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- dom4j:dom4j:jar:1.6.1:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- antlr:antlr:jar:2.7.6:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- cglib:cglib:jar:2.1_3:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;\- asm:asm:jar:1.5.3:compile
&lt;br&gt;[INFO] | &amp;nbsp;+-
&lt;br&gt;org.hibernate:hibernate-commons-annotations:jar:3.3.0.ga:compile
&lt;br&gt;[INFO] | &amp;nbsp;+- org.hibernate:hibernate-annotations:jar:3.3.0.ga:compile
&lt;br&gt;[INFO] | &amp;nbsp;+- org.hibernate:hibernate-validator:jar:3.0.0.ga:compile
&lt;br&gt;[INFO] | &amp;nbsp;+- org.springframework:spring-hibernate3:jar:2.0.6:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- aopalliance:aopalliance:jar:1.0:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- org.springframework:spring-beans:jar:2.0.6:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- org.springframework:spring-core:jar:2.0.6:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;+- org.springframework:spring-dao:jar:2.0.6:compile
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;\- org.springframework:spring-jdbc:jar:2.0.6:compile
&lt;br&gt;[INFO] | &amp;nbsp;+- org.springframework:spring-aop:jar:2.0.6:compile
&lt;br&gt;[INFO] | &amp;nbsp;+- org.springframework:spring-context:jar:2.0.6:compile
&lt;br&gt;[INFO] | &amp;nbsp;+- org.springframework:spring-web:jar:2.0.6:compile
&lt;br&gt;[INFO] | &amp;nbsp;\- com.javaforge.tapestry:tapestry-spring:jar:1.0.0:compile
&lt;br&gt;[INFO] +- org.trailsframework:trails-test:jar:1.2.1:test
&lt;br&gt;[INFO] | &amp;nbsp;+- jmock:jmock:jar:1.2.0:test
&lt;br&gt;[INFO] | &amp;nbsp;+- jmock:jmock-cglib:jar:1.2.0:test
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;\- cglib:cglib-nodep:jar:2.1_3:test
&lt;br&gt;[INFO] | &amp;nbsp;+- org.jmock:jmock-junit3:jar:2.1.0:test
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp;\- org.jmock:jmock:jar:2.1.0:test
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp; &amp;nbsp; +- org.hamcrest:hamcrest-api:jar:1.0:test
&lt;br&gt;[INFO] | &amp;nbsp;| &amp;nbsp; &amp;nbsp; \- org.hamcrest:hamcrest-library:jar:1.0:test
&lt;br&gt;[INFO] | &amp;nbsp;+- org.springframework:spring-mock:jar:2.0.6:test
&lt;br&gt;[INFO] | &amp;nbsp;\- htmlunit:htmlunit:jar:1.13:test
&lt;br&gt;[INFO] | &amp;nbsp; &amp;nbsp; +- commons-httpclient:commons-httpclient:jar:3.0.1:test
&lt;br&gt;[INFO] | &amp;nbsp; &amp;nbsp; +- rhino:js:jar:1.6R5:test
&lt;br&gt;[INFO] | &amp;nbsp; &amp;nbsp; +- xerces:xmlParserAPIs:jar:2.6.2:test
&lt;br&gt;[INFO] | &amp;nbsp; &amp;nbsp; \- nekohtml:nekohtml:jar:0.9.5:test
&lt;br&gt;[INFO] +- jaxen:jaxen:jar:1.1:provided
&lt;br&gt;[INFO] | &amp;nbsp;+- jdom:jdom:jar:1.0:provided
&lt;br&gt;[INFO] | &amp;nbsp;+- xml-apis:xml-apis:jar:1.3.02:provided
&lt;br&gt;[INFO] | &amp;nbsp;+- xerces:xercesImpl:jar:2.6.2:provided
&lt;br&gt;[INFO] | &amp;nbsp;\- xom:xom:jar:1.0:provided
&lt;br&gt;[INFO] | &amp;nbsp; &amp;nbsp; +- xalan:xalan:jar:2.6.0:provided
&lt;br&gt;[INFO] | &amp;nbsp; &amp;nbsp; \- com.ibm.icu:icu4j:jar:2.6.1:provided
&lt;br&gt;[INFO] +- junit:junit:jar:3.8.2:test
&lt;br&gt;[INFO] \- hsqldb:hsqldb:jar:1.8.0.7:compile
&lt;br&gt;[INFO]
&lt;br&gt;------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; All Trails dev hands are working on Tynamo (Trails 2), so
&lt;br&gt;&amp;gt; unfortunately Trails 1.x is not getting much attention from us at the
&lt;br&gt;&amp;gt; moment.
&lt;br&gt;&lt;br&gt;Actually, I apologize for raising this issue. As I told you, I'm just
&lt;br&gt;playing with a few Tapestry-related tools at the moment, just to
&lt;br&gt;familiarize with this environment (that is almost completly new for me).
&lt;br&gt;&lt;br&gt;Do not worry about this stuff. It is much wiser to focus on Tynamo.
&lt;br&gt;&lt;br&gt;CU
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Alessandro Bottoni
&lt;br&gt;Website: &lt;a href=&quot;http://www.alessandrobottoni.it/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.alessandrobottoni.it/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;When future stopped to be a promise and started to be a threat?&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; -- Street wall graffiti, Bologna, 1999
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Testing-Trails-on-NetBeans-6.7-and-Eclipse-3.5.1-tp26392120p26403361.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26394502</id>
	<title>Re: Testing Trails on NetBeans 6.7 and Eclipse 3.5.1</title>
	<published>2009-11-17T09:53:43Z</published>
	<updated>2009-11-17T09:53:43Z</updated>
	<author>
		<name>Kalle Korhonen-2</name>
	</author>
	<content type="html">Hey Alessandro, thanks for giving it a shot. Fixing an archetype would
&lt;br&gt;be very simple if we know what the problem is. I'm just guessing but
&lt;br&gt;it could very well be the archetype produced module is not correctly
&lt;br&gt;excluding servlet-api from its dependencies, which typically results
&lt;br&gt;in errors like this. Would you mind running mvn dependency:tree and
&lt;br&gt;excluding servlet-api as appropriate if its included? Or you can just
&lt;br&gt;build the war and see if its bundled in.
&lt;br&gt;&lt;br&gt;All Trails dev hands are working on Tynamo (Trails 2), so
&lt;br&gt;unfortunately Trails 1.x is not getting much attention from us at the
&lt;br&gt;moment.
&lt;br&gt;&lt;br&gt;Kalle
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Nov 17, 2009 at 7:44 AM, Alessandro Bottoni
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26394502&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alexbottoni@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt; I'm just playing-with-Trails/testing-it in a few different dev
&lt;br&gt;&amp;gt; environment, just to see what's working and what's better. Here some
&lt;br&gt;&amp;gt; results that maybe can be of some interest for someone of you.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Standard Trails sample project created with Maven with this command line:
&lt;br&gt;&amp;gt; mvn archetype:create -DarchetypeGroupId=org.trailsframework
&lt;br&gt;&amp;gt; -DarchetypeArtifactId=trails-archetype -DarchetypeVersion=1.2.1
&lt;br&gt;&amp;gt; -DgroupId=it.makua -DartifactId=berkut
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Trails sample project on NetBeans 6.7
&lt;br&gt;&amp;gt; # with GlassFish v3 Prelude: works perfectly
&lt;br&gt;&amp;gt; # with Tomcat 5.5: does not start at all
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The error message of Tomcat is:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; type Exception
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; message description
&lt;br&gt;&amp;gt; The server encountered an internal error () that prevented it from
&lt;br&gt;&amp;gt; fulfilling this request.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; exception
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; javax.servlet.ServletException: Unable to construct service
&lt;br&gt;&amp;gt; tapestry.page.PageSpecificationResolver: Error building service
&lt;br&gt;&amp;gt; tapestry.page.PageSpecificationResolver: Error at
&lt;br&gt;&amp;gt; jar:file:/home/alex/Experiments/Trails/berkut/target/berkut/WEB-INF/lib/tapestry-framework-4.1.5.jar!/META-INF/tapestry.page.xml,
&lt;br&gt;&amp;gt; line 104, column 91: Unable to initialize service
&lt;br&gt;&amp;gt; tapestry.page.PageSpecificationResolver (by invoking method
&lt;br&gt;&amp;gt; initializeService on
&lt;br&gt;&amp;gt; org.apache.tapestry.resolver.PageSpecificationResolverImpl): Could not
&lt;br&gt;&amp;gt; parse specification classpath:/org/apache/tapestry/Framework.library.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; root cause
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; org.apache.hivemind.ApplicationRuntimeException: Unable to construct
&lt;br&gt;&amp;gt; service tapestry.page.PageSpecificationResolver: Error building service
&lt;br&gt;&amp;gt; tapestry.page.PageSpecificationResolver: Error at
&lt;br&gt;&amp;gt; jar:file:/home/alex/Experiments/Trails/berkut/target/berkut/WEB-INF/lib/tapestry-framework-4.1.5.jar!/META-INF/tapestry.page.xml,
&lt;br&gt;&amp;gt; line 104, column 91: Unable to initialize service
&lt;br&gt;&amp;gt; tapestry.page.PageSpecificationResolver (by invoking method
&lt;br&gt;&amp;gt; initializeService on
&lt;br&gt;&amp;gt; org.apache.tapestry.resolver.PageSpecificationResolverImpl): Could not
&lt;br&gt;&amp;gt; parse specification classpath:/org/apache/tapestry/Framework.library.
&lt;br&gt;&amp;gt; [jar:file:/home/alex/Experiments/Trails/berkut/target/berkut/WEB-INF/lib/tapestry-framework-4.1.5.jar!/META-INF/tapestry.page.xml,
&lt;br&gt;&amp;gt; line 103, column 42]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; NetBeans complains in this way:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; NetBeans: Deploying on Tomcat 5.5
&lt;br&gt;&amp;gt;    profile mode: false
&lt;br&gt;&amp;gt;    debug mode: false
&lt;br&gt;&amp;gt;    force redeploy: true
&lt;br&gt;&amp;gt; In-place deployment at /home/alex/Experiments/Trails/berkut/target/berkut
&lt;br&gt;&amp;gt; deploy?config=file%3A%2Ftmp%2Fcontext4528060096176955888.xml&amp;path=/berkut
&lt;br&gt;&amp;gt; OK - Deployed application at context path /berkut
&lt;br&gt;&amp;gt; Start is in progress...
&lt;br&gt;&amp;gt; start?path=/berkut
&lt;br&gt;&amp;gt; FAIL - Application at context path /berkut could not be started
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Trails sample project on Eclipse 3.5.1 Galileo:
&lt;br&gt;&amp;gt; # Eclipse says the project does not contain any class that can be run on
&lt;br&gt;&amp;gt; a server as a Java Web Application.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As I said before, I'm just playing with these tools. Do not worry for me
&lt;br&gt;&amp;gt; and do not feel obliged to help me. I just thought someone of you could
&lt;br&gt;&amp;gt; be interested in the results of these simple &amp;quot;smoke tests&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; CU
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Alessandro Bottoni
&lt;br&gt;&amp;gt; Website: &lt;a href=&quot;http://www.alessandrobottoni.it/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.alessandrobottoni.it/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;Education is an admirable thing, but it is well to remember from time
&lt;br&gt;&amp;gt; to time that nothing that is worth knowing can be taught.&amp;quot;
&lt;br&gt;&amp;gt;     -- Oscar Wilde
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Testing-Trails-on-NetBeans-6.7-and-Eclipse-3.5.1-tp26392120p26394502.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26392120</id>
	<title>Testing Trails on NetBeans 6.7 and Eclipse 3.5.1</title>
	<published>2009-11-17T07:44:05Z</published>
	<updated>2009-11-17T07:44:05Z</updated>
	<author>
		<name>Alessandro Bottoni-4</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;I'm just playing-with-Trails/testing-it in a few different dev
&lt;br&gt;environment, just to see what's working and what's better. Here some
&lt;br&gt;results that maybe can be of some interest for someone of you.
&lt;br&gt;&lt;br&gt;Standard Trails sample project created with Maven with this command line:
&lt;br&gt;mvn archetype:create -DarchetypeGroupId=org.trailsframework
&lt;br&gt;-DarchetypeArtifactId=trails-archetype -DarchetypeVersion=1.2.1
&lt;br&gt;-DgroupId=it.makua -DartifactId=berkut
&lt;br&gt;&lt;br&gt;Trails sample project on NetBeans 6.7
&lt;br&gt;# with GlassFish v3 Prelude: works perfectly
&lt;br&gt;# with Tomcat 5.5: does not start at all
&lt;br&gt;&lt;br&gt;The error message of Tomcat is:
&lt;br&gt;&lt;br&gt;type Exception
&lt;br&gt;&lt;br&gt;message description
&lt;br&gt;The server encountered an internal error () that prevented it from
&lt;br&gt;fulfilling this request.
&lt;br&gt;&lt;br&gt;exception
&lt;br&gt;&lt;br&gt;javax.servlet.ServletException: Unable to construct service
&lt;br&gt;tapestry.page.PageSpecificationResolver: Error building service
&lt;br&gt;tapestry.page.PageSpecificationResolver: Error at
&lt;br&gt;jar:file:/home/alex/Experiments/Trails/berkut/target/berkut/WEB-INF/lib/tapestry-framework-4.1.5.jar!/META-INF/tapestry.page.xml,
&lt;br&gt;line 104, column 91: Unable to initialize service
&lt;br&gt;tapestry.page.PageSpecificationResolver (by invoking method
&lt;br&gt;initializeService on
&lt;br&gt;org.apache.tapestry.resolver.PageSpecificationResolverImpl): Could not
&lt;br&gt;parse specification classpath:/org/apache/tapestry/Framework.library.
&lt;br&gt;&lt;br&gt;root cause
&lt;br&gt;&lt;br&gt;org.apache.hivemind.ApplicationRuntimeException: Unable to construct
&lt;br&gt;service tapestry.page.PageSpecificationResolver: Error building service
&lt;br&gt;tapestry.page.PageSpecificationResolver: Error at
&lt;br&gt;jar:file:/home/alex/Experiments/Trails/berkut/target/berkut/WEB-INF/lib/tapestry-framework-4.1.5.jar!/META-INF/tapestry.page.xml,
&lt;br&gt;line 104, column 91: Unable to initialize service
&lt;br&gt;tapestry.page.PageSpecificationResolver (by invoking method
&lt;br&gt;initializeService on
&lt;br&gt;org.apache.tapestry.resolver.PageSpecificationResolverImpl): Could not
&lt;br&gt;parse specification classpath:/org/apache/tapestry/Framework.library.
&lt;br&gt;[jar:file:/home/alex/Experiments/Trails/berkut/target/berkut/WEB-INF/lib/tapestry-framework-4.1.5.jar!/META-INF/tapestry.page.xml,
&lt;br&gt;line 103, column 42]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;NetBeans complains in this way:
&lt;br&gt;&lt;br&gt;NetBeans: Deploying on Tomcat 5.5
&lt;br&gt;&amp;nbsp; &amp;nbsp; profile mode: false
&lt;br&gt;&amp;nbsp; &amp;nbsp; debug mode: false
&lt;br&gt;&amp;nbsp; &amp;nbsp; force redeploy: true
&lt;br&gt;In-place deployment at /home/alex/Experiments/Trails/berkut/target/berkut
&lt;br&gt;deploy?config=file%3A%2Ftmp%2Fcontext4528060096176955888.xml&amp;path=/berkut
&lt;br&gt;OK - Deployed application at context path /berkut
&lt;br&gt;Start is in progress...
&lt;br&gt;start?path=/berkut
&lt;br&gt;FAIL - Application at context path /berkut could not be started
&lt;br&gt;&lt;br&gt;Trails sample project on Eclipse 3.5.1 Galileo:
&lt;br&gt;# Eclipse says the project does not contain any class that can be run on
&lt;br&gt;a server as a Java Web Application.
&lt;br&gt;&lt;br&gt;As I said before, I'm just playing with these tools. Do not worry for me
&lt;br&gt;and do not feel obliged to help me. I just thought someone of you could
&lt;br&gt;be interested in the results of these simple &amp;quot;smoke tests&amp;quot;.
&lt;br&gt;&lt;br&gt;CU
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Alessandro Bottoni
&lt;br&gt;Website: &lt;a href=&quot;http://www.alessandrobottoni.it/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.alessandrobottoni.it/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;Education is an admirable thing, but it is well to remember from time
&lt;br&gt;to time that nothing that is worth knowing can be taught.&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-- Oscar Wilde
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[alexbottoni.vcf]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;begin:vcard
&lt;br&gt;fn:Alessandro Bottoni
&lt;br&gt;n:Bottoni;Alessandro
&lt;br&gt;email;internet:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26392120&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alexbottoni@...&lt;/a&gt;
&lt;br&gt;x-mozilla-html:FALSE
&lt;br&gt;version:2.1
&lt;br&gt;end:vcard
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Testing-Trails-on-NetBeans-6.7-and-Eclipse-3.5.1-tp26392120p26392120.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26348455</id>
	<title>Re: Problems with http://www.trailsframework.org/</title>
	<published>2009-11-14T01:26:31Z</published>
	<updated>2009-11-14T01:26:31Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Hi Alessandro
&lt;br&gt;&lt;br&gt;Sadly, we don't control what's on trailsframework.org. As Kalle said:
&lt;br&gt;&amp;quot;we lost the trailsframework.org domain over a year ago (we, the
&lt;br&gt;current committers, never owned it so it was complicated anyway)&amp;quot;
&lt;br&gt;(&lt;a href=&quot;http://docs.codehaus.org/display/TRAILS/2009/10/27/Trails+is+dead%2C+long+live+Tynamo!&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.codehaus.org/display/TRAILS/2009/10/27/Trails+is+dead%2C+long+live+Tynamo!&lt;/a&gt;).
&lt;br&gt;I personally asked, more than once, to the new owners to put a warning
&lt;br&gt;note in the home page, but I received no answer :(
&lt;br&gt;&lt;br&gt;There is nothing we can do, that's why we are changing the name of the project.
&lt;br&gt;&lt;br&gt;Saluti.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;On Sat, Nov 14, 2009 at 9:11 AM, Alessandro Bottoni
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26348455&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alexbottoni@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt; this message just to let you know that all the exiting links from
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.trailsframework.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.trailsframework.org/&lt;/a&gt;&amp;nbsp;seems to be broken and that all
&lt;br&gt;&amp;gt; second-level pages of the same site arrive at my browser as pure-XML
&lt;br&gt;&amp;gt; not-parsed file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Everything works fine from &lt;a href=&quot;http://trails.codehaus.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trails.codehaus.org/&lt;/a&gt;, instead.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe, you should put a warning or a redirect to
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://trails.codehaus.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trails.codehaus.org/&lt;/a&gt;&amp;nbsp;on the &lt;a href=&quot;http://www.trailsframework.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.trailsframework.org/&lt;/a&gt;&amp;nbsp;home
&lt;br&gt;&amp;gt; page.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; JM2C
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Alessandro Bottoni
&lt;br&gt;&amp;gt; Website: &lt;a href=&quot;http://www.alessandrobottoni.it/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.alessandrobottoni.it/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Philosophy is a game with objectives and no rules.
&lt;br&gt;&amp;gt; Mathematics is a game with rules and no objectives.
&lt;br&gt;&amp;gt;    -- Unknown
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-http%3A--www.trailsframework.org--tp26348040p26348455.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26348040</id>
	<title>Problems with http://www.trailsframework.org/</title>
	<published>2009-11-14T00:11:46Z</published>
	<updated>2009-11-14T00:11:46Z</updated>
	<author>
		<name>Alessandro Bottoni-4</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;this message just to let you know that all the exiting links from
&lt;br&gt;&lt;a href=&quot;http://www.trailsframework.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.trailsframework.org/&lt;/a&gt;&amp;nbsp;seems to be broken and that all
&lt;br&gt;second-level pages of the same site arrive at my browser as pure-XML
&lt;br&gt;not-parsed file.
&lt;br&gt;&lt;br&gt;Everything works fine from &lt;a href=&quot;http://trails.codehaus.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trails.codehaus.org/&lt;/a&gt;, instead.
&lt;br&gt;&lt;br&gt;Maybe, you should put a warning or a redirect to
&lt;br&gt;&lt;a href=&quot;http://trails.codehaus.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trails.codehaus.org/&lt;/a&gt;&amp;nbsp;on the &lt;a href=&quot;http://www.trailsframework.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.trailsframework.org/&lt;/a&gt;&amp;nbsp;home
&lt;br&gt;page.
&lt;br&gt;&lt;br&gt;JM2C
&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Alessandro Bottoni
&lt;br&gt;Website: &lt;a href=&quot;http://www.alessandrobottoni.it/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.alessandrobottoni.it/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Philosophy is a game with objectives and no rules.
&lt;br&gt;Mathematics is a game with rules and no objectives.
&lt;br&gt;&amp;nbsp; &amp;nbsp; -- Unknown
&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[alexbottoni.vcf]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;begin:vcard
&lt;br&gt;fn:Alessandro Bottoni
&lt;br&gt;n:Bottoni;Alessandro
&lt;br&gt;email;internet:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26348040&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alexbottoni@...&lt;/a&gt;
&lt;br&gt;x-mozilla-html:FALSE
&lt;br&gt;version:2.1
&lt;br&gt;end:vcard
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-http%3A--www.trailsframework.org--tp26348040p26348040.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26074638</id>
	<title>Re: Bean Validation API</title>
	<published>2009-10-27T02:35:09Z</published>
	<updated>2009-10-27T02:35:09Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Hi Pablo
&lt;br&gt;&lt;br&gt;We dropped Spring, but we remain fully compatible. So unless you were
&lt;br&gt;using Spring to heavily interact with the Trails internals, I think it
&lt;br&gt;should be fairly easy to upgrade
&lt;br&gt;If you don't mind, can you tell me how are you using Spring, and what
&lt;br&gt;do you think is missing in the new Tapestry5 version.
&lt;br&gt;&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;On Fri, Oct 23, 2009 at 4:38 PM, Pablo Saavedra
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26074638&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo.a.saavedra@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Alejamdro,
&lt;br&gt;&amp;gt; we are not based our applications, rather using them as a module for quick
&lt;br&gt;&amp;gt; CRUD generation (you might know the concrete case), so we won't update to
&lt;br&gt;&amp;gt; tapestry 5 and we are probably not going to upgrade to trails 2.0 (since you
&lt;br&gt;&amp;gt; dropped spring).
&lt;br&gt;&amp;gt; What I was thinking was maybe creating a new aspect and a new class
&lt;br&gt;&amp;gt; validator factory. The problem is that it'd require to extend the delegate
&lt;br&gt;&amp;gt; to handle JSR303 errors instead of InvalidStateException.
&lt;br&gt;&amp;gt; I'll do some experiments with the source and let you know how it goes in
&lt;br&gt;&amp;gt; case you are interested.
&lt;br&gt;&amp;gt; Regards.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/10/22 Alejandro Scandroli &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26074638&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ascandroli@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi Pablo
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The HibernateClassValidatorFactory is used by the
&lt;br&gt;&amp;gt;&amp;gt; HibernateValidationAspect and is applied on compile time, so it will
&lt;br&gt;&amp;gt;&amp;gt; be tricky to just provide a new factory and a new delegate, because
&lt;br&gt;&amp;gt;&amp;gt; you will still need to remove the call to the old one from the
&lt;br&gt;&amp;gt;&amp;gt; compiled code.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The easiest path will be to remove the HibernateValidationAspect for
&lt;br&gt;&amp;gt;&amp;gt; good. Then extended the HibernatePersistenceServiceImpl and make it
&lt;br&gt;&amp;gt;&amp;gt; explicitly call your new validation methods before &amp;quot;save&amp;quot; and &amp;quot;merge&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt; But you are going to need to recompile anyway.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On a related note, today the Tapestry5 team started to work on a
&lt;br&gt;&amp;gt;&amp;gt; tapestry-beanvalidator module for the Tapestry5/JSR-303 integration.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Cheers.
&lt;br&gt;&amp;gt;&amp;gt; Alejandro.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Wed, Oct 21, 2009 at 7:19 PM, Pablo Saavedra
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26074638&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo.a.saavedra@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Gracias for the quick reply. Is it possible to, instead of modifying the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; existing validators, provide new validator implementatons? i.e.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; BeanValidationClassValidatorFactory and BeanValidationDelegate?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; If so, I'd prefer to go in that direction. Otherwise, I'll see if i can
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; come
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; up with a patch.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Regards.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 2009/10/21 Alejandro Scandroli &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26074638&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ascandroli@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Hi Pablo
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Are you using the 1.2 version?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I think it should be pretty easy to incorporate, only two classes need
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; to change (I think): HibernateClassValidatorFactory and
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; HibernateValidationDelegate
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; But there is no plan to incorporate hibernate-validator 4.0.0 in the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Trails 1.2.x branch.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; We can (and will) do it in the new Tynamo (fka Trails2) release, tough.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Saludos.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Alejandro.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; On Wed, Oct 21, 2009 at 4:24 PM, Pablo Saavedra
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26074638&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo.a.saavedra@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Hi All,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; is there any plan to incorporate the new validation API into trais?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; This
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; would also mean using hibernate validator 4.0.0.GA. We want to use it
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; in
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; our
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; projects, but since the annotations changed the package I'm afraid
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; our
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; trails code won't work. Am I right?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Thanks.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bean-Validation-API-tp25993549p26074638.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26028655</id>
	<title>Re: Bean Validation API</title>
	<published>2009-10-23T08:38:49Z</published>
	<updated>2009-10-23T08:38:49Z</updated>
	<author>
		<name>PabloS</name>
	</author>
	<content type="html">Hi Alejamdro,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;we are not based our applications, rather using them as a module for quick CRUD generation (you might know the concrete case), so we won&amp;#39;t update to tapestry 5 and we are probably not going to upgrade to trails 2.0 (since you dropped spring).&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;What I was thinking was maybe creating a new aspect and a new class validator factory. The problem is that it&amp;#39;d require to extend the delegate to handle JSR303 errors instead of InvalidStateException.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;ll do some experiments with the source and let you know how it goes in case you are interested.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards.&lt;br&gt;&lt;div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/10/22 Alejandro Scandroli &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26028655&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ascandroli@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Hi Pablo&lt;br&gt;
&lt;br&gt;
The HibernateClassValidatorFactory is used by the&lt;br&gt;
HibernateValidationAspect and is applied on compile time, so it will&lt;br&gt;
be tricky to just provide a new factory and a new delegate, because&lt;br&gt;
you will still need to remove the call to the old one from the&lt;br&gt;
compiled code.&lt;br&gt;
&lt;br&gt;
The easiest path will be to remove the HibernateValidationAspect for&lt;br&gt;
good. Then extended the HibernatePersistenceServiceImpl and make it&lt;br&gt;
explicitly call your new validation methods before &amp;quot;save&amp;quot; and &amp;quot;merge&amp;quot;.&lt;br&gt;
But you are going to need to recompile anyway.&lt;br&gt;
&lt;br&gt;
On a related note, today the Tapestry5 team started to work on a&lt;br&gt;
tapestry-beanvalidator module for the Tapestry5/JSR-303 integration.&lt;br&gt;
&lt;br&gt;
Cheers.&lt;br&gt;
Alejandro.&lt;br&gt;
&lt;br&gt;
On Wed, Oct 21, 2009 at 7:19 PM, Pablo Saavedra&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26028655&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo.a.saavedra@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; Gracias for the quick reply. Is it possible to, instead of modifying the&lt;br&gt;
&amp;gt; existing validators, provide new validator implementatons? i.e.&lt;br&gt;
&amp;gt; BeanValidationClassValidatorFactory and BeanValidationDelegate?&lt;br&gt;
&amp;gt; If so, I&amp;#39;d prefer to go in that direction. Otherwise, I&amp;#39;ll see if i can come&lt;br&gt;
&amp;gt; up with a patch.&lt;br&gt;
&amp;gt; Regards.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 2009/10/21 Alejandro Scandroli &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26028655&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ascandroli@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Hi Pablo&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Are you using the 1.2 version?&lt;br&gt;
&amp;gt;&amp;gt; I think it should be pretty easy to incorporate, only two classes need&lt;br&gt;
&amp;gt;&amp;gt; to change (I think): HibernateClassValidatorFactory and&lt;br&gt;
&amp;gt;&amp;gt; HibernateValidationDelegate&lt;br&gt;
&amp;gt;&amp;gt; But there is no plan to incorporate hibernate-validator 4.0.0 in the&lt;br&gt;
&amp;gt;&amp;gt; Trails 1.2.x branch.&lt;br&gt;
&amp;gt;&amp;gt; We can (and will) do it in the new Tynamo (fka Trails2) release, tough.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Saludos.&lt;br&gt;
&amp;gt;&amp;gt; Alejandro.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; On Wed, Oct 21, 2009 at 4:24 PM, Pablo Saavedra&lt;br&gt;
&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26028655&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo.a.saavedra@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; Hi All,&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; is there any plan to incorporate the new validation API into trais? This&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; would also mean using hibernate validator &lt;a href=&quot;http://4.0.0.GA&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;4.0.0.GA&lt;/a&gt;. We want to use it in&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; our&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; projects, but since the annotations changed the package I&amp;#39;m afraid our&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; trails code won&amp;#39;t work. Am I right?&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; Thanks.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;
&amp;gt;&amp;gt; To unsubscribe from this list, please visit:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bean-Validation-API-tp25993549p26028655.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26017844</id>
	<title>Re: Bean Validation API</title>
	<published>2009-10-22T14:53:11Z</published>
	<updated>2009-10-22T14:53:11Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Hi Pablo
&lt;br&gt;&lt;br&gt;The HibernateClassValidatorFactory is used by the
&lt;br&gt;HibernateValidationAspect and is applied on compile time, so it will
&lt;br&gt;be tricky to just provide a new factory and a new delegate, because
&lt;br&gt;you will still need to remove the call to the old one from the
&lt;br&gt;compiled code.
&lt;br&gt;&lt;br&gt;The easiest path will be to remove the HibernateValidationAspect for
&lt;br&gt;good. Then extended the HibernatePersistenceServiceImpl and make it
&lt;br&gt;explicitly call your new validation methods before &amp;quot;save&amp;quot; and &amp;quot;merge&amp;quot;.
&lt;br&gt;But you are going to need to recompile anyway.
&lt;br&gt;&lt;br&gt;On a related note, today the Tapestry5 team started to work on a
&lt;br&gt;tapestry-beanvalidator module for the Tapestry5/JSR-303 integration.
&lt;br&gt;&lt;br&gt;Cheers.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;On Wed, Oct 21, 2009 at 7:19 PM, Pablo Saavedra
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26017844&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo.a.saavedra@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Gracias for the quick reply. Is it possible to, instead of modifying the
&lt;br&gt;&amp;gt; existing validators, provide new validator implementatons? i.e.
&lt;br&gt;&amp;gt; BeanValidationClassValidatorFactory and BeanValidationDelegate?
&lt;br&gt;&amp;gt; If so, I'd prefer to go in that direction. Otherwise, I'll see if i can come
&lt;br&gt;&amp;gt; up with a patch.
&lt;br&gt;&amp;gt; Regards.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/10/21 Alejandro Scandroli &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26017844&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ascandroli@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi Pablo
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Are you using the 1.2 version?
&lt;br&gt;&amp;gt;&amp;gt; I think it should be pretty easy to incorporate, only two classes need
&lt;br&gt;&amp;gt;&amp;gt; to change (I think): HibernateClassValidatorFactory and
&lt;br&gt;&amp;gt;&amp;gt; HibernateValidationDelegate
&lt;br&gt;&amp;gt;&amp;gt; But there is no plan to incorporate hibernate-validator 4.0.0 in the
&lt;br&gt;&amp;gt;&amp;gt; Trails 1.2.x branch.
&lt;br&gt;&amp;gt;&amp;gt; We can (and will) do it in the new Tynamo (fka Trails2) release, tough.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Saludos.
&lt;br&gt;&amp;gt;&amp;gt; Alejandro.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Wed, Oct 21, 2009 at 4:24 PM, Pablo Saavedra
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26017844&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo.a.saavedra@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Hi All,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; is there any plan to incorporate the new validation API into trais? This
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; would also mean using hibernate validator 4.0.0.GA. We want to use it in
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; our
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; projects, but since the annotations changed the package I'm afraid our
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; trails code won't work. Am I right?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Thanks.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bean-Validation-API-tp25993549p26017844.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25996660</id>
	<title>Re: Bean Validation API</title>
	<published>2009-10-21T10:19:17Z</published>
	<updated>2009-10-21T10:19:17Z</updated>
	<author>
		<name>PabloS</name>
	</author>
	<content type="html">Gracias for the quick reply. Is it possible to, instead of modifying the existing validators, provide new validator implementatons? i.e. BeanValidationClassValidatorFactory and BeanValidationDelegate?&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;If so, I&amp;#39;d prefer to go in that direction. Otherwise, I&amp;#39;ll see if i can come up with a patch.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Regards.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/10/21 Alejandro Scandroli &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25996660&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ascandroli@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
Hi Pablo&lt;br&gt;
&lt;br&gt;
Are you using the 1.2 version?&lt;br&gt;
I think it should be pretty easy to incorporate, only two classes need&lt;br&gt;
to change (I think): HibernateClassValidatorFactory and&lt;br&gt;
HibernateValidationDelegate&lt;br&gt;
But there is no plan to incorporate hibernate-validator 4.0.0 in the&lt;br&gt;
Trails 1.2.x branch.&lt;br&gt;
We can (and will) do it in the new Tynamo (fka Trails2) release, tough.&lt;br&gt;
&lt;br&gt;
Saludos.&lt;br&gt;
Alejandro.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
On Wed, Oct 21, 2009 at 4:24 PM, Pablo Saavedra&lt;br&gt;
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25996660&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo.a.saavedra@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; Hi All,&lt;br&gt;
&amp;gt; is there any plan to incorporate the new validation API into trais? This&lt;br&gt;
&amp;gt; would also mean using hibernate validator &lt;a href=&quot;http://4.0.0.GA&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;4.0.0.GA&lt;/a&gt;. We want to use it in our&lt;br&gt;
&amp;gt; projects, but since the annotations changed the package I&amp;#39;m afraid our&lt;br&gt;
&amp;gt; trails code won&amp;#39;t work. Am I right?&lt;br&gt;
&amp;gt; Thanks.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bean-Validation-API-tp25993549p25996660.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25995203</id>
	<title>Re: Bean Validation API</title>
	<published>2009-10-21T08:48:45Z</published>
	<updated>2009-10-21T08:48:45Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Hi Pablo
&lt;br&gt;&lt;br&gt;Are you using the 1.2 version?
&lt;br&gt;I think it should be pretty easy to incorporate, only two classes need
&lt;br&gt;to change (I think): HibernateClassValidatorFactory and
&lt;br&gt;HibernateValidationDelegate
&lt;br&gt;But there is no plan to incorporate hibernate-validator 4.0.0 in the
&lt;br&gt;Trails 1.2.x branch.
&lt;br&gt;We can (and will) do it in the new Tynamo (fka Trails2) release, tough.
&lt;br&gt;&lt;br&gt;Saludos.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;On Wed, Oct 21, 2009 at 4:24 PM, Pablo Saavedra
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25995203&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pablo.a.saavedra@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt; is there any plan to incorporate the new validation API into trais? This
&lt;br&gt;&amp;gt; would also mean using hibernate validator 4.0.0.GA. We want to use it in our
&lt;br&gt;&amp;gt; projects, but since the annotations changed the package I'm afraid our
&lt;br&gt;&amp;gt; trails code won't work. Am I right?
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bean-Validation-API-tp25993549p25995203.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25993549</id>
	<title>Bean Validation API</title>
	<published>2009-10-21T07:24:22Z</published>
	<updated>2009-10-21T07:24:22Z</updated>
	<author>
		<name>PabloS</name>
	</author>
	<content type="html">Hi All,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;is there any plan to incorporate the new validation API into trais? This would also mean using hibernate validator &lt;a href=&quot;http://4.0.0.GA&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;4.0.0.GA&lt;/a&gt;. We want to use it in our projects, but since the annotations changed the package I&amp;#39;m afraid our trails code won&amp;#39;t work. Am I right?&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks.&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bean-Validation-API-tp25993549p25993549.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25922480</id>
	<title>Re: Beginner's doubts</title>
	<published>2009-10-16T02:33:19Z</published>
	<updated>2009-10-16T02:33:19Z</updated>
	<author>
		<name>Alessandro Bottoni-5</name>
	</author>
	<content type="html">Alejandro Scandroli ha scritto:
&lt;br&gt;&amp;gt; Ciao again Alessandro
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm Argentinian, I'm Italian descendant. I have an Italian passport
&lt;br&gt;&amp;gt; and two of my brothers are living there.
&lt;br&gt;&lt;br&gt;Pleased to meet you, and hope to meet you in person, sooner or later :-)
&lt;br&gt;&lt;br&gt;&amp;gt; I don't know any Trails user from Italy.
&lt;br&gt;&amp;gt; I notice that in the Tapestry list there is a few Italian Tapestry users
&lt;br&gt;&lt;br&gt;Well, I hope we will create a lively italian community around Tynamo
&lt;br&gt;(Trails2) in the future.
&lt;br&gt;&lt;br&gt;Maybe I will translate into italian, or write it directly, some
&lt;br&gt;Trails/Tynamo documentation in the future. Just let me study this stuff
&lt;br&gt;a little bit more.
&lt;br&gt;&lt;br&gt;Ciao
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Alessandro Bottoni
&lt;br&gt;Website: &lt;a href=&quot;http://www.alessandrobottoni.it/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.alessandrobottoni.it/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;Education is an admirable thing, but it is well to remember from time
&lt;br&gt;to time that nothing that is worth knowing can be taught.&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-- Oscar Wilde
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Beginner%27s-doubts-tp25887531p25922480.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25922257</id>
	<title>Re: Beginner's doubts</title>
	<published>2009-10-16T02:15:20Z</published>
	<updated>2009-10-16T02:15:20Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Ciao again Alessandro
&lt;br&gt;&lt;br&gt;I'm Argentinian, I'm Italian descendant. I have an Italian passport
&lt;br&gt;and two of my brothers are living there.
&lt;br&gt;I don't know any Trails user from Italy.
&lt;br&gt;I notice that in the Tapestry list there is a few Italian Tapestry users
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;On Thu, Oct 15, 2009 at 9:35 AM, Alessandro Bottoni
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25922257&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alexbottoni@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Alejandro Scandroli ha scritto:
&lt;br&gt;&amp;gt;&amp;gt; Ciao Alessandro
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ciao Alejandro,
&lt;br&gt;&amp;gt; are you italian (or of italian origin)? I live in Ferrara (40 km north
&lt;br&gt;&amp;gt; of Bologna). Do you know of other italian Trails users?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If you want to test drive Trails2/Tynamo to see what's working and
&lt;br&gt;&amp;gt;&amp;gt; what's not, we have and archetype catalog in place. Try it and let us
&lt;br&gt;&amp;gt;&amp;gt; know what you think:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; mvn archetype:generate -DarchetypeCatalog=&lt;a href=&quot;http://trails.codehaus.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trails.codehaus.org/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'll try it. I'll also try to add your repository to the list of
&lt;br&gt;&amp;gt; repository managed by Netbeans and I'll let you know if/how it works.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ciao
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Alessandro Bottoni
&lt;br&gt;&amp;gt; Website: &lt;a href=&quot;http://www.alessandrobottoni.it/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.alessandrobottoni.it/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;Perfection is finally attained not when there is no longer anything to
&lt;br&gt;&amp;gt; add but when there is no longer anything to take away.&amp;quot;
&lt;br&gt;&amp;gt;     -- Antoine de Saint-Exupéry
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Beginner%27s-doubts-tp25887531p25922257.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25904192</id>
	<title>Re: Beginner's doubts</title>
	<published>2009-10-15T00:35:25Z</published>
	<updated>2009-10-15T00:35:25Z</updated>
	<author>
		<name>Alessandro Bottoni-5</name>
	</author>
	<content type="html">Alejandro Scandroli ha scritto:
&lt;br&gt;&amp;gt; Ciao Alessandro
&lt;br&gt;&lt;br&gt;Ciao Alejandro,
&lt;br&gt;are you italian (or of italian origin)? I live in Ferrara (40 km north
&lt;br&gt;of Bologna). Do you know of other italian Trails users?
&lt;br&gt;&lt;br&gt;&amp;gt; If you want to test drive Trails2/Tynamo to see what's working and
&lt;br&gt;&amp;gt; what's not, we have and archetype catalog in place. Try it and let us
&lt;br&gt;&amp;gt; know what you think:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; mvn archetype:generate -DarchetypeCatalog=&lt;a href=&quot;http://trails.codehaus.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trails.codehaus.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;I'll try it. I'll also try to add your repository to the list of
&lt;br&gt;repository managed by Netbeans and I'll let you know if/how it works.
&lt;br&gt;&lt;br&gt;Ciao
&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Alessandro Bottoni
&lt;br&gt;Website: &lt;a href=&quot;http://www.alessandrobottoni.it/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.alessandrobottoni.it/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;Perfection is finally attained not when there is no longer anything to
&lt;br&gt;add but when there is no longer anything to take away.&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-- Antoine de Saint-Exupéry
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Beginner%27s-doubts-tp25887531p25904192.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25904158</id>
	<title>Re: Beginner's doubts</title>
	<published>2009-10-15T00:31:25Z</published>
	<updated>2009-10-15T00:31:25Z</updated>
	<author>
		<name>Alessandro Bottoni-5</name>
	</author>
	<content type="html">Kalle Korhonen ha scritto:
&lt;br&gt;&amp;gt; modules and packages. Overall, I think there's a pretty good chance
&lt;br&gt;&amp;gt; that we'll have the initial Tynamo release out before the end of the
&lt;br&gt;&amp;gt; year. We'll formally announce what I just said later.
&lt;br&gt;&lt;br&gt;Hi Kalle,
&lt;br&gt;many, many thanks for your prompt and exhaustive replay.
&lt;br&gt;&lt;br&gt;The birth of Tynamo is a very good news for me (and for all of the
&lt;br&gt;Trails users, I'm sure). I'll be happy to try it very soon (see
&lt;br&gt;Alejandro's message).
&lt;br&gt;&lt;br&gt;&amp;gt; No specific plans regarding Netbeans. I generally use Eclipse,
&lt;br&gt;&amp;gt; Alejandro uses IDEA. But if stuff doesn't work with Netbeans, I'll be
&lt;br&gt;&amp;gt; more than happy to address any issues.
&lt;br&gt;&lt;br&gt;Many thanks for your attention to this topic. Actually, as I told in my
&lt;br&gt;previous message, Trails 1.x seems to work pretty well with Netbeans.
&lt;br&gt;Or, more exactly, you can easily import a existing Maven/Trails project
&lt;br&gt;in Netbeans thanks to the smooth integration that exists between these
&lt;br&gt;two tools. I did not try to add the Trails/Maven repository to the
&lt;br&gt;Netbeans/Maven catalog, yet, but I'm pretty confident it would work fine
&lt;br&gt;as well (see Netbeans menu: Windows/Other/Maven Repository Browser/Add
&lt;br&gt;repository).
&lt;br&gt;&lt;br&gt;I'll go in depth with Trails and Netbeans in the next few weeks and I'll
&lt;br&gt;let you know if anything requires your attention.
&lt;br&gt;&lt;br&gt;&amp;gt; In Trails 2.x and now Tynamo, we already dropped Spring. Naturally you
&lt;br&gt;&amp;gt; can use Spring just as you can use it with any Tapestry application,
&lt;br&gt;&amp;gt; but Tynamo won't use any of Spring's features. Tapestry IoC is so
&lt;br&gt;&amp;gt; powerful and advanced that Spring doesn't have anything to offer there
&lt;br&gt;&amp;gt; and at the same time Hibernate, Javamail etc. have steadily improved
&lt;br&gt;&amp;gt; in features and usability which has greatly diminished the value of
&lt;br&gt;&amp;gt; the integration libraries Springs offers for them to a point that
&lt;br&gt;&amp;gt; Spring often just obscures things by providing another layer of
&lt;br&gt;&amp;gt; indirection. 
&lt;br&gt;&lt;br&gt;This is a good news for me. I completely agree with you about Spring.
&lt;br&gt;I'll be more than happy to leave Spring apart and focus my attention on
&lt;br&gt;a smaller set of tools.
&lt;br&gt;&lt;br&gt;&amp;gt; The sweet spot of Trails/Tynamo is still in the admin
&lt;br&gt;&amp;gt; interfaces. Plain Tapestry5 with its Bean UI components already offers
&lt;br&gt;&amp;gt; some of the advantages of model-driven development and are simpler to
&lt;br&gt;&amp;gt; apply on case-by-case basis in a custom end-user facing web interface.
&lt;br&gt;&lt;br&gt;Actually, the main reason I'm looking at Trails/Tynamo is
&lt;br&gt;standardization. I would be happy to find a way (a framework) to manage
&lt;br&gt;our projects in a consistent way.
&lt;br&gt;&lt;br&gt;&amp;gt; Hopefully I was able to address most of your questions and I see you
&lt;br&gt;&amp;gt; on the Tynamo user list :)
&lt;br&gt;&lt;br&gt;I'll be happy to hang around... :-)
&lt;br&gt;&lt;br&gt;Many thanks again for your attention.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Alessandro Bottoni
&lt;br&gt;Website: &lt;a href=&quot;http://www.alessandrobottoni.it/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.alessandrobottoni.it/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;Code we were, code we will became.&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-- CMOS after the fourth glass of &amp;quot;Cantucci and Vin Santo&amp;quot;.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Beginner%27s-doubts-tp25887531p25904158.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25900887</id>
	<title>Re: Beginner's doubts</title>
	<published>2009-10-14T16:31:59Z</published>
	<updated>2009-10-14T16:31:59Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Ciao Alessandro
&lt;br&gt;&lt;br&gt;If you want to test drive Trails2/Tynamo to see what's working and
&lt;br&gt;what's not, we have and archetype catalog in place. Try it and let us
&lt;br&gt;know what you think:
&lt;br&gt;&lt;br&gt;mvn archetype:generate -DarchetypeCatalog=&lt;a href=&quot;http://trails.codehaus.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trails.codehaus.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Saluti.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;On Thu, Oct 15, 2009 at 1:16 AM, Kalle Korhonen
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25900887&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kalle.o.korhonen@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Oct 14, 2009 at 1:54 AM, Alessandro Bottoni
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25900887&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alexbottoni@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; 1) What's the development status of Trails? Judging by the traffic on
&lt;br&gt;&amp;gt;&amp;gt; the MLs, it looks like the peak of development activity was back in the
&lt;br&gt;&amp;gt;&amp;gt; 2007 and the peak of adoptions was back in 2008. In the last one or two
&lt;br&gt;&amp;gt;&amp;gt; years, this activity seems to have slowed down a little bit. Is this a
&lt;br&gt;&amp;gt;&amp;gt; sign of lack of interest in this framework or, just the opposite, is
&lt;br&gt;&amp;gt;&amp;gt; this a consequence of a strong focus on the next (T5-compliant) release?
&lt;br&gt;&amp;gt;&amp;gt; The SVN repository seems to demonstrate that Trails 2.0 is still under
&lt;br&gt;&amp;gt;&amp;gt; active development. Can we be confident that Trails will still be
&lt;br&gt;&amp;gt;&amp;gt; actively developed in the near future?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would pretty much agree with your observations with development
&lt;br&gt;&amp;gt; activity &amp; adoption. It well coincides with Tapestry 4's own curve.
&lt;br&gt;&amp;gt; There's been Tapestry5 compatible Trails 2.0 snapshots available for
&lt;br&gt;&amp;gt; sometime and both of the committers are using them. Trails 1.x (for
&lt;br&gt;&amp;gt; Tapestry 4) is in maintenance mode.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2) How far is the next, Tapestry5 compliant, release? I would not have
&lt;br&gt;&amp;gt;&amp;gt; any real problem in using T4 but... if Trails 2.0 is near... Again, the
&lt;br&gt;&amp;gt;&amp;gt; SVN activity seems to legitimate some good expectation for the near
&lt;br&gt;&amp;gt;&amp;gt; future. Can we hope to see Trails 2.0 for the end of the year?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Behind the scenes (actually on the dev list) we've been mulling over
&lt;br&gt;&amp;gt; our strategy regarding Tapestry5. We lost the trailsframework.org
&lt;br&gt;&amp;gt; domain over a year ago (we, the current committers, never owned it so
&lt;br&gt;&amp;gt; it was complicated anyway) and ever since we've been in a stalemate
&lt;br&gt;&amp;gt; about what to do with it. We finally decided a month or so ago that
&lt;br&gt;&amp;gt; the easiest option is to just rename the project and launch Trails 2
&lt;br&gt;&amp;gt; under a new name - Tynamo (still hosted at Codehaus). This is
&lt;br&gt;&amp;gt; unannounced but the move is well under way and at this point we've
&lt;br&gt;&amp;gt; moved the codebase to a new repository and renamed the relevant
&lt;br&gt;&amp;gt; modules and packages. Overall, I think there's a pretty good chance
&lt;br&gt;&amp;gt; that we'll have the initial Tynamo release out before the end of the
&lt;br&gt;&amp;gt; year. We'll formally announce what I just said later.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 3) What about using Trails with Netbeans? I would not have any problem
&lt;br&gt;&amp;gt;&amp;gt; in importing a Trails  Maven-generated project (Netbeans can open Maven
&lt;br&gt;&amp;gt;&amp;gt; projects as they were native) but I still wonder if it is planned a
&lt;br&gt;&amp;gt;&amp;gt; specific Netbeans plug-in, some specific best practice or something like
&lt;br&gt;&amp;gt;&amp;gt; that.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No specific plans regarding Netbeans. I generally use Eclipse,
&lt;br&gt;&amp;gt; Alejandro uses IDEA. But if stuff doesn't work with Netbeans, I'll be
&lt;br&gt;&amp;gt; more than happy to address any issues.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 4) Last but not least: how do you feel in using Trails, compared to the
&lt;br&gt;&amp;gt;&amp;gt; use of its components alone (Tapestry, Spring, Hibernate)? Does Trails
&lt;br&gt;&amp;gt;&amp;gt; add any real value? Does it add some more complexity? Is it worth?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In Trails 2.x and now Tynamo, we already dropped Spring. Naturally you
&lt;br&gt;&amp;gt; can use Spring just as you can use it with any Tapestry application,
&lt;br&gt;&amp;gt; but Tynamo won't use any of Spring's features. Tapestry IoC is so
&lt;br&gt;&amp;gt; powerful and advanced that Spring doesn't have anything to offer there
&lt;br&gt;&amp;gt; and at the same time Hibernate, Javamail etc. have steadily improved
&lt;br&gt;&amp;gt; in features and usability which has greatly diminished the value of
&lt;br&gt;&amp;gt; the integration libraries Springs offers for them to a point that
&lt;br&gt;&amp;gt; Spring often just obscures things by providing another layer of
&lt;br&gt;&amp;gt; indirection. Additionally, new Tapestry5-to-some-other-framework
&lt;br&gt;&amp;gt; integration libraries have been popping like weed in the recent months
&lt;br&gt;&amp;gt; (now surprise given how easily you can contribute new services to
&lt;br&gt;&amp;gt; Tapestry IoC).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What the right choice for you depends on your needs and schedule. If
&lt;br&gt;&amp;gt; you are a new user of Tapestry (4/5), I'd spend some time just
&lt;br&gt;&amp;gt; learning Tapestry first. You'd appreciate more what Trails/Tynamo can
&lt;br&gt;&amp;gt; do for you if you have some experience doing it for yourself and it'll
&lt;br&gt;&amp;gt; be easier to understand how to customize it to do exactly what you
&lt;br&gt;&amp;gt; want. The sweet spot of Trails/Tynamo is still in the admin
&lt;br&gt;&amp;gt; interfaces. Plain Tapestry5 with its Bean UI components already offers
&lt;br&gt;&amp;gt; some of the advantages of model-driven development and are simpler to
&lt;br&gt;&amp;gt; apply on case-by-case basis in a custom end-user facing web interface.
&lt;br&gt;&amp;gt; Hopefully I was able to address most of your questions and I see you
&lt;br&gt;&amp;gt; on the Tynamo user list :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Kalle
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Beginner%27s-doubts-tp25887531p25900887.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25900725</id>
	<title>Re: Beginner's doubts</title>
	<published>2009-10-14T16:16:09Z</published>
	<updated>2009-10-14T16:16:09Z</updated>
	<author>
		<name>Kalle Korhonen-2</name>
	</author>
	<content type="html">On Wed, Oct 14, 2009 at 1:54 AM, Alessandro Bottoni
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25900725&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alexbottoni@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 1) What's the development status of Trails? Judging by the traffic on
&lt;br&gt;&amp;gt; the MLs, it looks like the peak of development activity was back in the
&lt;br&gt;&amp;gt; 2007 and the peak of adoptions was back in 2008. In the last one or two
&lt;br&gt;&amp;gt; years, this activity seems to have slowed down a little bit. Is this a
&lt;br&gt;&amp;gt; sign of lack of interest in this framework or, just the opposite, is
&lt;br&gt;&amp;gt; this a consequence of a strong focus on the next (T5-compliant) release?
&lt;br&gt;&amp;gt; The SVN repository seems to demonstrate that Trails 2.0 is still under
&lt;br&gt;&amp;gt; active development. Can we be confident that Trails will still be
&lt;br&gt;&amp;gt; actively developed in the near future?
&lt;br&gt;&lt;br&gt;I would pretty much agree with your observations with development
&lt;br&gt;activity &amp; adoption. It well coincides with Tapestry 4's own curve.
&lt;br&gt;There's been Tapestry5 compatible Trails 2.0 snapshots available for
&lt;br&gt;sometime and both of the committers are using them. Trails 1.x (for
&lt;br&gt;Tapestry 4) is in maintenance mode.
&lt;br&gt;&lt;br&gt;&amp;gt; 2) How far is the next, Tapestry5 compliant, release? I would not have
&lt;br&gt;&amp;gt; any real problem in using T4 but... if Trails 2.0 is near... Again, the
&lt;br&gt;&amp;gt; SVN activity seems to legitimate some good expectation for the near
&lt;br&gt;&amp;gt; future. Can we hope to see Trails 2.0 for the end of the year?
&lt;br&gt;&lt;br&gt;Behind the scenes (actually on the dev list) we've been mulling over
&lt;br&gt;our strategy regarding Tapestry5. We lost the trailsframework.org
&lt;br&gt;domain over a year ago (we, the current committers, never owned it so
&lt;br&gt;it was complicated anyway) and ever since we've been in a stalemate
&lt;br&gt;about what to do with it. We finally decided a month or so ago that
&lt;br&gt;the easiest option is to just rename the project and launch Trails 2
&lt;br&gt;under a new name - Tynamo (still hosted at Codehaus). This is
&lt;br&gt;unannounced but the move is well under way and at this point we've
&lt;br&gt;moved the codebase to a new repository and renamed the relevant
&lt;br&gt;modules and packages. Overall, I think there's a pretty good chance
&lt;br&gt;that we'll have the initial Tynamo release out before the end of the
&lt;br&gt;year. We'll formally announce what I just said later.
&lt;br&gt;&lt;br&gt;&amp;gt; 3) What about using Trails with Netbeans? I would not have any problem
&lt;br&gt;&amp;gt; in importing a Trails  Maven-generated project (Netbeans can open Maven
&lt;br&gt;&amp;gt; projects as they were native) but I still wonder if it is planned a
&lt;br&gt;&amp;gt; specific Netbeans plug-in, some specific best practice or something like
&lt;br&gt;&amp;gt; that.
&lt;br&gt;&lt;br&gt;No specific plans regarding Netbeans. I generally use Eclipse,
&lt;br&gt;Alejandro uses IDEA. But if stuff doesn't work with Netbeans, I'll be
&lt;br&gt;more than happy to address any issues.
&lt;br&gt;&lt;br&gt;&amp;gt; 4) Last but not least: how do you feel in using Trails, compared to the
&lt;br&gt;&amp;gt; use of its components alone (Tapestry, Spring, Hibernate)? Does Trails
&lt;br&gt;&amp;gt; add any real value? Does it add some more complexity? Is it worth?
&lt;br&gt;&lt;br&gt;In Trails 2.x and now Tynamo, we already dropped Spring. Naturally you
&lt;br&gt;can use Spring just as you can use it with any Tapestry application,
&lt;br&gt;but Tynamo won't use any of Spring's features. Tapestry IoC is so
&lt;br&gt;powerful and advanced that Spring doesn't have anything to offer there
&lt;br&gt;and at the same time Hibernate, Javamail etc. have steadily improved
&lt;br&gt;in features and usability which has greatly diminished the value of
&lt;br&gt;the integration libraries Springs offers for them to a point that
&lt;br&gt;Spring often just obscures things by providing another layer of
&lt;br&gt;indirection. Additionally, new Tapestry5-to-some-other-framework
&lt;br&gt;integration libraries have been popping like weed in the recent months
&lt;br&gt;(now surprise given how easily you can contribute new services to
&lt;br&gt;Tapestry IoC).
&lt;br&gt;&lt;br&gt;What the right choice for you depends on your needs and schedule. If
&lt;br&gt;you are a new user of Tapestry (4/5), I'd spend some time just
&lt;br&gt;learning Tapestry first. You'd appreciate more what Trails/Tynamo can
&lt;br&gt;do for you if you have some experience doing it for yourself and it'll
&lt;br&gt;be easier to understand how to customize it to do exactly what you
&lt;br&gt;want. The sweet spot of Trails/Tynamo is still in the admin
&lt;br&gt;interfaces. Plain Tapestry5 with its Bean UI components already offers
&lt;br&gt;some of the advantages of model-driven development and are simpler to
&lt;br&gt;apply on case-by-case basis in a custom end-user facing web interface.
&lt;br&gt;Hopefully I was able to address most of your questions and I see you
&lt;br&gt;on the Tynamo user list :)
&lt;br&gt;&lt;br&gt;Kalle
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Beginner%27s-doubts-tp25887531p25900725.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25897333</id>
	<title>Re: Beginner's doubts</title>
	<published>2009-10-14T12:19:17Z</published>
	<updated>2009-10-14T12:19:17Z</updated>
	<author>
		<name>Daniel Mejia-2</name>
	</author>
	<content type="html">I´m selecting tools for a new project and I have exactly the same &amp;nbsp;
&lt;br&gt;questions...
&lt;br&gt;&lt;br&gt;I hope somebody can give us a clue about the future of trails...
&lt;br&gt;&lt;br&gt;&lt;br&gt;Saludos,
&lt;br&gt;&lt;br&gt;Daniel.
&lt;br&gt;&lt;br&gt;El 14/10/2009, a las 03:54 a.m., Alessandro Bottoni escribió:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt; I'm using Java, Hibernate, Tapestry (5.0) &amp;nbsp;and Spring for starting a &amp;nbsp;
&lt;br&gt;&amp;gt; new
&lt;br&gt;&amp;gt; project. Given that Trails is using (almost) exactly this same tool &amp;nbsp;
&lt;br&gt;&amp;gt; set,
&lt;br&gt;&amp;gt; I'm telling myself that I do have to evaluate the adoption of the &amp;nbsp;
&lt;br&gt;&amp;gt; Trails
&lt;br&gt;&amp;gt; Framework for this project. Nevertheless, before adopting (yet &amp;nbsp;
&lt;br&gt;&amp;gt; another)
&lt;br&gt;&amp;gt; new tool, I would like to have a little chat with the people who are
&lt;br&gt;&amp;gt; already using it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here my doubts (no intention to offend anybody, of course):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) What's the development status of Trails? Judging by the traffic on
&lt;br&gt;&amp;gt; the MLs, it looks like the peak of development activity was back in &amp;nbsp;
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; 2007 and the peak of adoptions was back in 2008. In the last one or &amp;nbsp;
&lt;br&gt;&amp;gt; two
&lt;br&gt;&amp;gt; years, this activity seems to have slowed down a little bit. Is this a
&lt;br&gt;&amp;gt; sign of lack of interest in this framework or, just the opposite, is
&lt;br&gt;&amp;gt; this a consequence of a strong focus on the next (T5-compliant) &amp;nbsp;
&lt;br&gt;&amp;gt; release?
&lt;br&gt;&amp;gt; The SVN repository seems to demonstrate that Trails 2.0 is still under
&lt;br&gt;&amp;gt; active development. Can we be confident that Trails will still be
&lt;br&gt;&amp;gt; actively developed in the near future?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2) How far is the next, Tapestry5 compliant, release? I would not have
&lt;br&gt;&amp;gt; any real problem in using T4 but... if Trails 2.0 is near... Again, &amp;nbsp;
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; SVN activity seems to legitimate some good expectation for the near
&lt;br&gt;&amp;gt; future. Can we hope to see Trails 2.0 for the end of the year?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 3) What about using Trails with Netbeans? I would not have any problem
&lt;br&gt;&amp;gt; in importing a Trails &amp;nbsp;Maven-generated project (Netbeans can open &amp;nbsp;
&lt;br&gt;&amp;gt; Maven
&lt;br&gt;&amp;gt; projects as they were native) but I still wonder if it is planned a
&lt;br&gt;&amp;gt; specific Netbeans plug-in, some specific best practice or something &amp;nbsp;
&lt;br&gt;&amp;gt; like
&lt;br&gt;&amp;gt; that.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 4) Last but not least: how do you feel in using Trails, compared to &amp;nbsp;
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; use of its components alone (Tapestry, Spring, Hibernate)? Does Trails
&lt;br&gt;&amp;gt; add any real value? Does it add some more complexity? Is it worth?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Many thanks in advance for you attention.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Alessandro Bottoni
&lt;br&gt;&amp;gt; Website: &lt;a href=&quot;http://www.alessandrobottoni.it/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.alessandrobottoni.it/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A computer is like an air conditioner: it stops working when you open
&lt;br&gt;&amp;gt; Windows.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -- Unknown
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Beginner%27s-doubts-tp25887531p25897333.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25887531</id>
	<title>Beginner's doubts</title>
	<published>2009-10-14T01:54:26Z</published>
	<updated>2009-10-14T01:54:26Z</updated>
	<author>
		<name>Alessandro Bottoni-5</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;I'm using Java, Hibernate, Tapestry (5.0) &amp;nbsp;and Spring for starting a new
&lt;br&gt;project. Given that Trails is using (almost) exactly this same tool set,
&lt;br&gt;I'm telling myself that I do have to evaluate the adoption of the Trails
&lt;br&gt;Framework for this project. Nevertheless, before adopting (yet another)
&lt;br&gt;new tool, I would like to have a little chat with the people who are
&lt;br&gt;already using it.
&lt;br&gt;&lt;br&gt;Here my doubts (no intention to offend anybody, of course):
&lt;br&gt;&lt;br&gt;1) What's the development status of Trails? Judging by the traffic on
&lt;br&gt;the MLs, it looks like the peak of development activity was back in the
&lt;br&gt;2007 and the peak of adoptions was back in 2008. In the last one or two
&lt;br&gt;years, this activity seems to have slowed down a little bit. Is this a
&lt;br&gt;sign of lack of interest in this framework or, just the opposite, is
&lt;br&gt;this a consequence of a strong focus on the next (T5-compliant) release?
&lt;br&gt;The SVN repository seems to demonstrate that Trails 2.0 is still under
&lt;br&gt;active development. Can we be confident that Trails will still be
&lt;br&gt;actively developed in the near future?
&lt;br&gt;&lt;br&gt;2) How far is the next, Tapestry5 compliant, release? I would not have
&lt;br&gt;any real problem in using T4 but... if Trails 2.0 is near... Again, the
&lt;br&gt;SVN activity seems to legitimate some good expectation for the near
&lt;br&gt;future. Can we hope to see Trails 2.0 for the end of the year?
&lt;br&gt;&lt;br&gt;3) What about using Trails with Netbeans? I would not have any problem
&lt;br&gt;in importing a Trails &amp;nbsp;Maven-generated project (Netbeans can open Maven
&lt;br&gt;projects as they were native) but I still wonder if it is planned a
&lt;br&gt;specific Netbeans plug-in, some specific best practice or something like
&lt;br&gt;that.
&lt;br&gt;&lt;br&gt;4) Last but not least: how do you feel in using Trails, compared to the
&lt;br&gt;use of its components alone (Tapestry, Spring, Hibernate)? Does Trails
&lt;br&gt;add any real value? Does it add some more complexity? Is it worth?
&lt;br&gt;&lt;br&gt;Many thanks in advance for you attention.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Alessandro Bottoni
&lt;br&gt;Website: &lt;a href=&quot;http://www.alessandrobottoni.it/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.alessandrobottoni.it/&lt;/a&gt;&lt;br&gt;&lt;br&gt;A computer is like an air conditioner: it stops working when you open
&lt;br&gt;Windows.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;-- Unknown
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Beginner%27s-doubts-tp25887531p25887531.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25575561</id>
	<title>Re: Working example/archetype of trails 2.0.1-SNAPSHOT  (trunk)?</title>
	<published>2009-09-23T04:34:04Z</published>
	<updated>2009-09-23T04:34:04Z</updated>
	<author>
		<name>Andreas Veithen-2</name>
	</author>
	<content type="html">On Mon, Sep 21, 2009 at 00:18, Alejandro Scandroli
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25575561&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ascandroli@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; It's done, let me know how it works for you.
&lt;br&gt;&lt;br&gt;Works perfectly. Many thanks!
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'll have the &amp;quot;simple&amp;quot; example working by the end of the week.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Saludos.
&lt;br&gt;&amp;gt; Alejandro.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sun, Sep 20, 2009 at 6:02 PM, Andreas Veithen
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25575561&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andreas.veithen@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Sun, Sep 20, 2009 at 17:29, Alejandro Scandroli
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25575561&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ascandroli@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi Andreas
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The only example I expect to be working is &amp;quot;recipe&amp;quot; and I know it's
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; not working I'm in the middle of removing Identifiable for good
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (&lt;a href=&quot;http://jira.codehaus.org/browse/TRAILS-186&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/TRAILS-186&lt;/a&gt;,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/is-there-a-PropertyUtils-in-T5--to25526259.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/is-there-a-PropertyUtils-in-T5--to25526259.html&lt;/a&gt;)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I hope to have it working for tomorrow.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Removing Identifiable is indeed a good idea. Since I was going to test
&lt;br&gt;&amp;gt;&amp;gt; Trails with an existing JPA model (and I would like to avoid adding
&lt;br&gt;&amp;gt;&amp;gt; the Identifiable interface to all entities), I will wait for
&lt;br&gt;&amp;gt;&amp;gt; completion of TRAILS-186.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In the meantime one quick and dirty workaround is not to call &amp;quot;id&amp;quot; to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the Entity's pk.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; For instance try this:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        private Long pk;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        @Transient
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        public Serializable getId()
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;                return getId();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        }
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        @Id
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        @GeneratedValue(strategy = GenerationType.AUTO)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        public Long getPk()
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;                return pk;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        }
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        public void setPk(Long pk)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;                this.pk = pk;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        }
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; If you are considering Trails2 I must warn you that the trunk is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _very_ unstable. The APIs are still changing and _will_ keep changing
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; as we figure how to best implement the remaining functionalities
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; usaing Tapestry5.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm aware of these risks, but since Trails is metadata driven, I think
&lt;br&gt;&amp;gt;&amp;gt; the impact of these changes on my code will not be very high. Anyway
&lt;br&gt;&amp;gt;&amp;gt; it is not for a critical project, so I don't mind having to readjust
&lt;br&gt;&amp;gt;&amp;gt; my code from time to time.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Andreas
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Saludos.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Alejandro.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Sun, Sep 20, 2009 at 5:03 PM, Andreas Veithen
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25575561&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andreas.veithen@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I am currently evaluating trails. The problem is that I don't see any
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; working examples in the trunk. Here are the issues that I encountered:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 1) examples/simple and examples/security are written for an older
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; version of trails and don't work anymore.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2) examples/recipe has at least two issues:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; - Going from the category list to the category detail page fails with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;Provided id of the wrong type for class
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; org.trailsframework.examples.recipe.model.Category. Expected: class
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; java.lang.Long, got class java.lang.String&amp;quot;. This seems to be related
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to the fact that Tapestry detects the type of the &amp;quot;id&amp;quot; property as
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Serializable (as defined in the Identifiable interface) and doesn't
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; convert the id from the request to the right type.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; - &amp;quot;New recipe&amp;quot; fails with &amp;quot;Unable to locate a block to edit property
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 'ingredients' (with data type 'editComposition') of object
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; org.trailsframework.examples.recipe.model.Recipe@5bfd2d&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 3) The application created by trails-archetype has the same issue as
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; examples/recipe (String -&amp;gt; Long conversion).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Is there any way to fix these issues?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Andreas
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Working-example-archetype-of-trails-2.0.1-SNAPSHOT-%28trunk%29--tp25532327p25575561.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25536465</id>
	<title>Re: Working example/archetype of trails 2.0.1-SNAPSHOT  (trunk)?</title>
	<published>2009-09-20T15:18:27Z</published>
	<updated>2009-09-20T15:18:27Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">It's done, let me know how it works for you.
&lt;br&gt;I'll have the &amp;quot;simple&amp;quot; example working by the end of the week.
&lt;br&gt;&lt;br&gt;Saludos.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;On Sun, Sep 20, 2009 at 6:02 PM, Andreas Veithen
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25536465&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andreas.veithen@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Sep 20, 2009 at 17:29, Alejandro Scandroli
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25536465&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ascandroli@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi Andreas
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The only example I expect to be working is &amp;quot;recipe&amp;quot; and I know it's
&lt;br&gt;&amp;gt;&amp;gt; not working I'm in the middle of removing Identifiable for good
&lt;br&gt;&amp;gt;&amp;gt; (&lt;a href=&quot;http://jira.codehaus.org/browse/TRAILS-186&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/TRAILS-186&lt;/a&gt;,
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/is-there-a-PropertyUtils-in-T5--to25526259.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/is-there-a-PropertyUtils-in-T5--to25526259.html&lt;/a&gt;)
&lt;br&gt;&amp;gt;&amp;gt; I hope to have it working for tomorrow.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Removing Identifiable is indeed a good idea. Since I was going to test
&lt;br&gt;&amp;gt; Trails with an existing JPA model (and I would like to avoid adding
&lt;br&gt;&amp;gt; the Identifiable interface to all entities), I will wait for
&lt;br&gt;&amp;gt; completion of TRAILS-186.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In the meantime one quick and dirty workaround is not to call &amp;quot;id&amp;quot; to
&lt;br&gt;&amp;gt;&amp;gt; the Entity's pk.
&lt;br&gt;&amp;gt;&amp;gt; For instance try this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;        private Long pk;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;        @Transient
&lt;br&gt;&amp;gt;&amp;gt;        public Serializable getId()
&lt;br&gt;&amp;gt;&amp;gt;        {
&lt;br&gt;&amp;gt;&amp;gt;                return getId();
&lt;br&gt;&amp;gt;&amp;gt;        }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;        @Id
&lt;br&gt;&amp;gt;&amp;gt;        @GeneratedValue(strategy = GenerationType.AUTO)
&lt;br&gt;&amp;gt;&amp;gt;        public Long getPk()
&lt;br&gt;&amp;gt;&amp;gt;        {
&lt;br&gt;&amp;gt;&amp;gt;                return pk;
&lt;br&gt;&amp;gt;&amp;gt;        }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;        public void setPk(Long pk)
&lt;br&gt;&amp;gt;&amp;gt;        {
&lt;br&gt;&amp;gt;&amp;gt;                this.pk = pk;
&lt;br&gt;&amp;gt;&amp;gt;        }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If you are considering Trails2 I must warn you that the trunk is
&lt;br&gt;&amp;gt;&amp;gt; _very_ unstable. The APIs are still changing and _will_ keep changing
&lt;br&gt;&amp;gt;&amp;gt; as we figure how to best implement the remaining functionalities
&lt;br&gt;&amp;gt;&amp;gt; usaing Tapestry5.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm aware of these risks, but since Trails is metadata driven, I think
&lt;br&gt;&amp;gt; the impact of these changes on my code will not be very high. Anyway
&lt;br&gt;&amp;gt; it is not for a critical project, so I don't mind having to readjust
&lt;br&gt;&amp;gt; my code from time to time.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Andreas
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Saludos.
&lt;br&gt;&amp;gt;&amp;gt; Alejandro.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Sun, Sep 20, 2009 at 5:03 PM, Andreas Veithen
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25536465&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andreas.veithen@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I am currently evaluating trails. The problem is that I don't see any
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; working examples in the trunk. Here are the issues that I encountered:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 1) examples/simple and examples/security are written for an older
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; version of trails and don't work anymore.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2) examples/recipe has at least two issues:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; - Going from the category list to the category detail page fails with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;Provided id of the wrong type for class
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; org.trailsframework.examples.recipe.model.Category. Expected: class
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; java.lang.Long, got class java.lang.String&amp;quot;. This seems to be related
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; to the fact that Tapestry detects the type of the &amp;quot;id&amp;quot; property as
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Serializable (as defined in the Identifiable interface) and doesn't
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; convert the id from the request to the right type.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; - &amp;quot;New recipe&amp;quot; fails with &amp;quot;Unable to locate a block to edit property
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 'ingredients' (with data type 'editComposition') of object
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; org.trailsframework.examples.recipe.model.Recipe@5bfd2d&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 3) The application created by trails-archetype has the same issue as
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; examples/recipe (String -&amp;gt; Long conversion).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Is there any way to fix these issues?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Andreas
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Working-example-archetype-of-trails-2.0.1-SNAPSHOT-%28trunk%29--tp25532327p25536465.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25533048</id>
	<title>Re: Working example/archetype of trails 2.0.1-SNAPSHOT  (trunk)?</title>
	<published>2009-09-20T09:02:03Z</published>
	<updated>2009-09-20T09:02:03Z</updated>
	<author>
		<name>Andreas Veithen-2</name>
	</author>
	<content type="html">On Sun, Sep 20, 2009 at 17:29, Alejandro Scandroli
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25533048&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ascandroli@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hi Andreas
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The only example I expect to be working is &amp;quot;recipe&amp;quot; and I know it's
&lt;br&gt;&amp;gt; not working I'm in the middle of removing Identifiable for good
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://jira.codehaus.org/browse/TRAILS-186&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/TRAILS-186&lt;/a&gt;,
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/is-there-a-PropertyUtils-in-T5--to25526259.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/is-there-a-PropertyUtils-in-T5--to25526259.html&lt;/a&gt;)
&lt;br&gt;&amp;gt; I hope to have it working for tomorrow.
&lt;br&gt;&lt;br&gt;Removing Identifiable is indeed a good idea. Since I was going to test
&lt;br&gt;Trails with an existing JPA model (and I would like to avoid adding
&lt;br&gt;the Identifiable interface to all entities), I will wait for
&lt;br&gt;completion of TRAILS-186.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; In the meantime one quick and dirty workaround is not to call &amp;quot;id&amp;quot; to
&lt;br&gt;&amp;gt; the Entity's pk.
&lt;br&gt;&amp;gt; For instance try this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        private Long pk;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        @Transient
&lt;br&gt;&amp;gt;        public Serializable getId()
&lt;br&gt;&amp;gt;        {
&lt;br&gt;&amp;gt;                return getId();
&lt;br&gt;&amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        @Id
&lt;br&gt;&amp;gt;        @GeneratedValue(strategy = GenerationType.AUTO)
&lt;br&gt;&amp;gt;        public Long getPk()
&lt;br&gt;&amp;gt;        {
&lt;br&gt;&amp;gt;                return pk;
&lt;br&gt;&amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        public void setPk(Long pk)
&lt;br&gt;&amp;gt;        {
&lt;br&gt;&amp;gt;                this.pk = pk;
&lt;br&gt;&amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you are considering Trails2 I must warn you that the trunk is
&lt;br&gt;&amp;gt; _very_ unstable. The APIs are still changing and _will_ keep changing
&lt;br&gt;&amp;gt; as we figure how to best implement the remaining functionalities
&lt;br&gt;&amp;gt; usaing Tapestry5.
&lt;/div&gt;&lt;br&gt;I'm aware of these risks, but since Trails is metadata driven, I think
&lt;br&gt;the impact of these changes on my code will not be very high. Anyway
&lt;br&gt;it is not for a critical project, so I don't mind having to readjust
&lt;br&gt;my code from time to time.
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Saludos.
&lt;br&gt;&amp;gt; Alejandro.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sun, Sep 20, 2009 at 5:03 PM, Andreas Veithen
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25533048&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andreas.veithen@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I am currently evaluating trails. The problem is that I don't see any
&lt;br&gt;&amp;gt;&amp;gt; working examples in the trunk. Here are the issues that I encountered:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1) examples/simple and examples/security are written for an older
&lt;br&gt;&amp;gt;&amp;gt; version of trails and don't work anymore.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2) examples/recipe has at least two issues:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; - Going from the category list to the category detail page fails with
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;Provided id of the wrong type for class
&lt;br&gt;&amp;gt;&amp;gt; org.trailsframework.examples.recipe.model.Category. Expected: class
&lt;br&gt;&amp;gt;&amp;gt; java.lang.Long, got class java.lang.String&amp;quot;. This seems to be related
&lt;br&gt;&amp;gt;&amp;gt; to the fact that Tapestry detects the type of the &amp;quot;id&amp;quot; property as
&lt;br&gt;&amp;gt;&amp;gt; Serializable (as defined in the Identifiable interface) and doesn't
&lt;br&gt;&amp;gt;&amp;gt; convert the id from the request to the right type.
&lt;br&gt;&amp;gt;&amp;gt; - &amp;quot;New recipe&amp;quot; fails with &amp;quot;Unable to locate a block to edit property
&lt;br&gt;&amp;gt;&amp;gt; 'ingredients' (with data type 'editComposition') of object
&lt;br&gt;&amp;gt;&amp;gt; org.trailsframework.examples.recipe.model.Recipe@5bfd2d&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 3) The application created by trails-archetype has the same issue as
&lt;br&gt;&amp;gt;&amp;gt; examples/recipe (String -&amp;gt; Long conversion).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Is there any way to fix these issues?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Andreas
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Working-example-archetype-of-trails-2.0.1-SNAPSHOT-%28trunk%29--tp25532327p25533048.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25532728</id>
	<title>Re: Working example/archetype of trails 2.0.1-SNAPSHOT  (trunk)?</title>
	<published>2009-09-20T08:29:56Z</published>
	<updated>2009-09-20T08:29:56Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Hi Andreas
&lt;br&gt;&lt;br&gt;The only example I expect to be working is &amp;quot;recipe&amp;quot; and I know it's
&lt;br&gt;not working I'm in the middle of removing Identifiable for good
&lt;br&gt;(&lt;a href=&quot;http://jira.codehaus.org/browse/TRAILS-186&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/TRAILS-186&lt;/a&gt;,
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/is-there-a-PropertyUtils-in-T5--to25526259.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/is-there-a-PropertyUtils-in-T5--to25526259.html&lt;/a&gt;)
&lt;br&gt;I hope to have it working for tomorrow.
&lt;br&gt;&lt;br&gt;In the meantime one quick and dirty workaround is not to call &amp;quot;id&amp;quot; to
&lt;br&gt;the Entity's pk.
&lt;br&gt;For instance try this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private Long pk;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Transient
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Serializable getId()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return getId();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Id
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @GeneratedValue(strategy = GenerationType.AUTO)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Long getPk()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return pk;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void setPk(Long pk)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.pk = pk;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;If you are considering Trails2 I must warn you that the trunk is
&lt;br&gt;_very_ unstable. The APIs are still changing and _will_ keep changing
&lt;br&gt;as we figure how to best implement the remaining functionalities
&lt;br&gt;usaing Tapestry5.
&lt;br&gt;&lt;br&gt;Saludos.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Sun, Sep 20, 2009 at 5:03 PM, Andreas Veithen
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25532728&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andreas.veithen@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am currently evaluating trails. The problem is that I don't see any
&lt;br&gt;&amp;gt; working examples in the trunk. Here are the issues that I encountered:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) examples/simple and examples/security are written for an older
&lt;br&gt;&amp;gt; version of trails and don't work anymore.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2) examples/recipe has at least two issues:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Going from the category list to the category detail page fails with
&lt;br&gt;&amp;gt; &amp;quot;Provided id of the wrong type for class
&lt;br&gt;&amp;gt; org.trailsframework.examples.recipe.model.Category. Expected: class
&lt;br&gt;&amp;gt; java.lang.Long, got class java.lang.String&amp;quot;. This seems to be related
&lt;br&gt;&amp;gt; to the fact that Tapestry detects the type of the &amp;quot;id&amp;quot; property as
&lt;br&gt;&amp;gt; Serializable (as defined in the Identifiable interface) and doesn't
&lt;br&gt;&amp;gt; convert the id from the request to the right type.
&lt;br&gt;&amp;gt; - &amp;quot;New recipe&amp;quot; fails with &amp;quot;Unable to locate a block to edit property
&lt;br&gt;&amp;gt; 'ingredients' (with data type 'editComposition') of object
&lt;br&gt;&amp;gt; org.trailsframework.examples.recipe.model.Recipe@5bfd2d&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 3) The application created by trails-archetype has the same issue as
&lt;br&gt;&amp;gt; examples/recipe (String -&amp;gt; Long conversion).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there any way to fix these issues?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Andreas
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Working-example-archetype-of-trails-2.0.1-SNAPSHOT-%28trunk%29--tp25532327p25532728.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25532327</id>
	<title>Working example/archetype of trails 2.0.1-SNAPSHOT (trunk)?</title>
	<published>2009-09-20T08:03:01Z</published>
	<updated>2009-09-20T08:03:01Z</updated>
	<author>
		<name>Andreas Veithen-2</name>
	</author>
	<content type="html">I am currently evaluating trails. The problem is that I don't see any
&lt;br&gt;working examples in the trunk. Here are the issues that I encountered:
&lt;br&gt;&lt;br&gt;1) examples/simple and examples/security are written for an older
&lt;br&gt;version of trails and don't work anymore.
&lt;br&gt;&lt;br&gt;2) examples/recipe has at least two issues:
&lt;br&gt;&lt;br&gt;- Going from the category list to the category detail page fails with
&lt;br&gt;&amp;quot;Provided id of the wrong type for class
&lt;br&gt;org.trailsframework.examples.recipe.model.Category. Expected: class
&lt;br&gt;java.lang.Long, got class java.lang.String&amp;quot;. This seems to be related
&lt;br&gt;to the fact that Tapestry detects the type of the &amp;quot;id&amp;quot; property as
&lt;br&gt;Serializable (as defined in the Identifiable interface) and doesn't
&lt;br&gt;convert the id from the request to the right type.
&lt;br&gt;- &amp;quot;New recipe&amp;quot; fails with &amp;quot;Unable to locate a block to edit property
&lt;br&gt;'ingredients' (with data type 'editComposition') of object
&lt;br&gt;org.trailsframework.examples.recipe.model.Recipe@5bfd2d&amp;quot;.
&lt;br&gt;&lt;br&gt;3) The application created by trails-archetype has the same issue as
&lt;br&gt;examples/recipe (String -&amp;gt; Long conversion).
&lt;br&gt;&lt;br&gt;Is there any way to fix these issues?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Working-example-archetype-of-trails-2.0.1-SNAPSHOT-%28trunk%29--tp25532327p25532327.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25162299</id>
	<title>Re: [trails-dev] Property viewers</title>
	<published>2009-08-26T14:52:29Z</published>
	<updated>2009-08-26T14:52:29Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Hi Erick
&lt;br&gt;&lt;br&gt;Have you tried with BeanEditContext, or PropertyEditContext:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Environmental
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Property(write = false)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private BeanEditContext beanEditContext;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Environmental
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Property(write = false)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private PropertyEditContext propertyEditContext;
&lt;br&gt;&lt;br&gt;I think you will find enough metadata there.
&lt;br&gt;Then you can access the trails's descriptors using something like:
&lt;br&gt;&lt;br&gt;descriptorService.getClassDescriptor(beanEditContext.getBeanClass()).getPropertyDescriptor(propertyEditContext.getPropertyId());
&lt;br&gt;&lt;br&gt;Is this what you were looking for?
&lt;br&gt;&lt;br&gt;Saludos.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Alejandro Scandroli - &lt;a href=&quot;http://weblog.amneris.es/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://weblog.amneris.es/&lt;/a&gt;&lt;br&gt;Amneris: We build process-driven web applications.
&lt;br&gt;&lt;a href=&quot;http://www.amneris.es&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.amneris.es&lt;/a&gt;&lt;br&gt;&lt;br&gt;Saludos.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Aug 26, 2009 at 8:02 PM, Erik Putrycz&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25162299&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erik@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I've been trying to add viewers to the trails trunk version in a similar way
&lt;br&gt;&amp;gt; Editors are handled. I would like to format the date being displayed.
&lt;br&gt;&amp;gt; However, only the PropertyOutputContext seems to carry any metadata about
&lt;br&gt;&amp;gt; the field to render, and this object doesn't have any clues about the type.
&lt;br&gt;&amp;gt; Does anyone have an idea on how to handle it or would someone have ties with
&lt;br&gt;&amp;gt; the tapestry development by any chances?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Erik
&lt;br&gt;&amp;gt; Apption Software
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--trails-dev--Property-viewers-tp25162299p25162299.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24491259</id>
	<title>Re: Help dynamic selects</title>
	<published>2009-07-14T20:18:24Z</published>
	<updated>2009-07-14T20:18:24Z</updated>
	<author>
		<name>Juancevi</name>
	</author>
	<content type="html">&lt;br&gt;Thank you very much Alejandro, to me was very helpful!!!
&lt;br&gt;&lt;br&gt;Saludos Juan!
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Alejandro Scandroli-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hey Juan!
&lt;br&gt;&lt;br&gt;I found the culprit.
&lt;br&gt;There is a missing key in the editorMap in the archetype's
&lt;br&gt;applicationContext.xml
&lt;br&gt;Here it is:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;key&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;
&lt;br&gt;supportsExtension('org.trails.descriptor.annotation.PossibleValuesDescriptorExtension')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or
&lt;br&gt;supportsExtension('org.trails.descriptor.annotation.InitialValueDescriptorExtension')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/key&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean class=&amp;quot;org.apache.tapestry.util.ComponentAddress&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;constructor-arg index=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;trails:Editors&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/constructor-arg&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;constructor-arg index=&amp;quot;1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;filteredAssociation&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/constructor-arg&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/bean&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/entry&amp;gt;
&lt;br&gt;&lt;br&gt;You need that entry in place to make &amp;nbsp;@PosibleValues work.
&lt;br&gt;&lt;br&gt;About the mapping thing:
&lt;br&gt;&lt;br&gt;* &amp;nbsp;@ManyToOne and &amp;nbsp;@Transient are incompatibles
&lt;br&gt;* &amp;nbsp;&amp;quot;mappedBy&amp;quot; &amp;nbsp;properties are readonly, you will need some extra code
&lt;br&gt;to make them &amp;quot;editable&amp;quot;
&lt;br&gt;* &amp;nbsp;It's best to use the Collection's inverse property together with the mappedBy
&lt;br&gt;* If Provincia is a &amp;quot;child&amp;quot; collection (aka: composition) region &amp;
&lt;br&gt;pais properties should be readonly, &amp;nbsp;there is no point in using the
&lt;br&gt;@PosibleValues there. If you want to use @PosibleValues Provincia
&lt;br&gt;shouldn't be marked as &amp;quot;child&amp;quot; collection.
&lt;br&gt;&lt;br&gt;I'm sending you two mapping examples one with Provincia as a
&lt;br&gt;composition and the other one with Provincia as an aggregation.
&lt;br&gt;&lt;br&gt;I hope it helps.
&lt;br&gt;Saludos.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;On Mon, Jul 6, 2009 at 1:07 PM, Alejandro
&lt;br&gt;Scandroli&amp;lt;ascandroli@codehaus.org&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hi Juan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There is some inconsistencies in your mappings.
&lt;br&gt;&amp;gt; But I tried to fix them to send you a working example and I found out
&lt;br&gt;&amp;gt; that I can't make the PossibleValues annotation work outside the
&lt;br&gt;&amp;gt; Simple example. So maybe there is something wrong or some
&lt;br&gt;&amp;gt; configuration missing. I will try again tonight, and let you know.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Saludos.
&lt;br&gt;&amp;gt; Alejandro.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PD:- I'm from Argentina too :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sun, Jul 5, 2009 at 7:20 PM, Juancevi&amp;lt;juancesarvillalba@gmail.com&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hello, my name is John I am from Argentina, I am newbie at trails, I have
&lt;br&gt;&amp;gt;&amp;gt; nested combos mark the link
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Enum-in-search-tt18317768.html#a18319874&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Enum-in-search-tt18317768.html#a18319874&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; but I can not be that I'm doing wrong.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Region---
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  @OneToMany(mappedBy = &amp;quot;region&amp;quot;, cascade = CascadeType.ALL)
&lt;br&gt;&amp;gt;&amp;gt;  @JoinColumn(name = &amp;quot;region_id&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;  @Collection(child = false , allowRemove=false)
&lt;br&gt;&amp;gt;&amp;gt;  public List&amp;lt;Pais&amp;gt; getPaises() {
&lt;br&gt;&amp;gt;&amp;gt;    return paises;
&lt;br&gt;&amp;gt;&amp;gt;  }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Pais---
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  @OneToMany(mappedBy = &amp;quot;pais&amp;quot;, cascade = CascadeType.ALL)
&lt;br&gt;&amp;gt;&amp;gt;  @JoinColumn(name = &amp;quot;pais_id&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;  @Collection(child = true)
&lt;br&gt;&amp;gt;&amp;gt;  public List&amp;lt;Provincia&amp;gt; getProvincias() {
&lt;br&gt;&amp;gt;&amp;gt;    return provincias;
&lt;br&gt;&amp;gt;&amp;gt;  }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Provincia---
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  @ManyToOne
&lt;br&gt;&amp;gt;&amp;gt;  @Transient
&lt;br&gt;&amp;gt;&amp;gt;  @InitialValue(&amp;quot;pais.region&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;  public Region getRegion() {
&lt;br&gt;&amp;gt;&amp;gt;    return region;
&lt;br&gt;&amp;gt;&amp;gt;  }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  @ManyToOne
&lt;br&gt;&amp;gt;&amp;gt;  @PossibleValues(&amp;quot;region.paises&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;  public Pais getPais() {
&lt;br&gt;&amp;gt;&amp;gt;    return pais;
&lt;br&gt;&amp;gt;&amp;gt;  }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I want when choosing a region, only to drain the countries of that region,
&lt;br&gt;&amp;gt;&amp;gt; but this I do not works.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any help thank you very much!
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Help-dynamic-selects-tp24345072p24345072.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Help-dynamic-selects-tp24345072p24345072.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Sent from the Trails - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-dynamic-selects-tp24345072p24491259.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24468370</id>
	<title>Re: ValidateUniqueness at the property level</title>
	<published>2009-07-13T13:22:48Z</published>
	<updated>2009-07-13T13:22:48Z</updated>
	<author>
		<name>ghachey</name>
	</author>
	<content type="html">Thanks Alejandro,
&lt;br&gt;&lt;br&gt;Yes I will go with 1st or 3rd option. &amp;nbsp;Will post result if it can help anyone too.
&lt;br&gt;&lt;br&gt;Salut,
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;GH
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Alejandro Scandroli-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi Ghislain
&lt;br&gt;&lt;br&gt;I'm sorry but there is currently no way to do what you want without
&lt;br&gt;some extra code.
&lt;br&gt;It's very difficult (almost impossible) to catch that &amp;quot;scary&amp;quot;
&lt;br&gt;exception to present it in a user friendly format because it's a low
&lt;br&gt;level DB exception and the &amp;quot;Open session in view&amp;quot; pattern gets in the
&lt;br&gt;the way. Three options I can think of:
&lt;br&gt;&lt;br&gt;* As you said: one option is to create your own Hibernate validator.
&lt;br&gt;* Try to catch the low level DB exception clossing the transaction and
&lt;br&gt;flushing the DB session on save, without waiting for the &amp;quot;Open Session
&lt;br&gt;In View&amp;quot; to do it.
&lt;br&gt;* Modify the ValidateUniqueness annotation and the
&lt;br&gt;ValidateUniqueAspect to allow more than one &amp;quot;unique&amp;quot; property. I think
&lt;br&gt;this will be the faster way to do what you want.
&lt;br&gt;&lt;br&gt;Saludos.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Fri, Jul 10, 2009 at 6:43 AM, ghachey&amp;lt;ghachey@gmail.com&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there a way to @ValidateUniqueness(property = &amp;quot;something&amp;quot;) on the
&lt;br&gt;&amp;gt; property level? Something like the hibernate @NotNull validator.  I don't
&lt;br&gt;&amp;gt; see one in trails or hibernate APIs.  I don't mind the class level
&lt;br&gt;&amp;gt; @ValidateUniqueness but I have more than one property that have to be unique
&lt;br&gt;&amp;gt; for a particular domain. Just using unique = true in the @PropertyDescriptor
&lt;br&gt;&amp;gt; throws a scary exception at the user.  Or do I have to write my own
&lt;br&gt;&amp;gt; hibernate validator and integrate it with tapestry's error reporting in
&lt;br&gt;&amp;gt; trails?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; GH
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/ValidateUniqueness-at-the-property-level-tp24421725p24421725.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/ValidateUniqueness-at-the-property-level-tp24421725p24421725.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Trails - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ValidateUniqueness-at-the-property-level-tp24421725p24468370.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24462939</id>
	<title>Re: ValidateUniqueness at the property level</title>
	<published>2009-07-13T07:35:55Z</published>
	<updated>2009-07-13T07:35:55Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Hi Ghislain
&lt;br&gt;&lt;br&gt;I'm sorry but there is currently no way to do what you want without
&lt;br&gt;some extra code.
&lt;br&gt;It's very difficult (almost impossible) to catch that &amp;quot;scary&amp;quot;
&lt;br&gt;exception to present it in a user friendly format because it's a low
&lt;br&gt;level DB exception and the &amp;quot;Open session in view&amp;quot; pattern gets in the
&lt;br&gt;the way. Three options I can think of:
&lt;br&gt;&lt;br&gt;* As you said: one option is to create your own Hibernate validator.
&lt;br&gt;* Try to catch the low level DB exception clossing the transaction and
&lt;br&gt;flushing the DB session on save, without waiting for the &amp;quot;Open Session
&lt;br&gt;In View&amp;quot; to do it.
&lt;br&gt;* Modify the ValidateUniqueness annotation and the
&lt;br&gt;ValidateUniqueAspect to allow more than one &amp;quot;unique&amp;quot; property. I think
&lt;br&gt;this will be the faster way to do what you want.
&lt;br&gt;&lt;br&gt;Saludos.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Fri, Jul 10, 2009 at 6:43 AM, ghachey&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24462939&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ghachey@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there a way to @ValidateUniqueness(property = &amp;quot;something&amp;quot;) on the
&lt;br&gt;&amp;gt; property level? Something like the hibernate @NotNull validator.  I don't
&lt;br&gt;&amp;gt; see one in trails or hibernate APIs.  I don't mind the class level
&lt;br&gt;&amp;gt; @ValidateUniqueness but I have more than one property that have to be unique
&lt;br&gt;&amp;gt; for a particular domain. Just using unique = true in the @PropertyDescriptor
&lt;br&gt;&amp;gt; throws a scary exception at the user.  Or do I have to write my own
&lt;br&gt;&amp;gt; hibernate validator and integrate it with tapestry's error reporting in
&lt;br&gt;&amp;gt; trails?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; GH
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/ValidateUniqueness-at-the-property-level-tp24421725p24421725.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/ValidateUniqueness-at-the-property-level-tp24421725p24421725.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Trails - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ValidateUniqueness-at-the-property-level-tp24421725p24462939.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24421725</id>
	<title>ValidateUniqueness at the property level</title>
	<published>2009-07-09T21:43:13Z</published>
	<updated>2009-07-09T21:43:13Z</updated>
	<author>
		<name>ghachey</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Is there a way to @ValidateUniqueness(property = &amp;quot;something&amp;quot;) on the property level? Something like the hibernate @NotNull validator. &amp;nbsp;I don't see one in trails or hibernate APIs. &amp;nbsp;I don't mind the class level @ValidateUniqueness but I have more than one property that have to be unique for a particular domain. Just using unique = true in the @PropertyDescriptor throws a scary exception at the user. &amp;nbsp;Or do I have to write my own hibernate validator and integrate it with tapestry's error reporting in trails?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;GH </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ValidateUniqueness-at-the-property-level-tp24421725p24421725.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24363277</id>
	<title>Re: Help dynamic selects</title>
	<published>2009-07-06T14:38:39Z</published>
	<updated>2009-07-06T14:38:39Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Hey Juan!
&lt;br&gt;&lt;br&gt;I found the culprit.
&lt;br&gt;There is a missing key in the editorMap in the archetype's
&lt;br&gt;applicationContext.xml
&lt;br&gt;Here it is:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;key&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;
&lt;br&gt;supportsExtension('org.trails.descriptor.annotation.PossibleValuesDescriptorExtension')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or
&lt;br&gt;supportsExtension('org.trails.descriptor.annotation.InitialValueDescriptorExtension')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/key&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean class=&amp;quot;org.apache.tapestry.util.ComponentAddress&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;constructor-arg index=&amp;quot;0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;trails:Editors&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/constructor-arg&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;constructor-arg index=&amp;quot;1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;filteredAssociation&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/constructor-arg&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/bean&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/entry&amp;gt;
&lt;br&gt;&lt;br&gt;You need that entry in place to make &amp;nbsp;@PosibleValues work.
&lt;br&gt;&lt;br&gt;About the mapping thing:
&lt;br&gt;&lt;br&gt;* &amp;nbsp;@ManyToOne and &amp;nbsp;@Transient are incompatibles
&lt;br&gt;* &amp;nbsp;&amp;quot;mappedBy&amp;quot; &amp;nbsp;properties are readonly, you will need some extra code
&lt;br&gt;to make them &amp;quot;editable&amp;quot;
&lt;br&gt;* &amp;nbsp;It's best to use the Collection's inverse property together with the mappedBy
&lt;br&gt;* If Provincia is a &amp;quot;child&amp;quot; collection (aka: composition) region &amp;
&lt;br&gt;pais properties should be readonly, &amp;nbsp;there is no point in using the
&lt;br&gt;@PosibleValues there. If you want to use @PosibleValues Provincia
&lt;br&gt;shouldn't be marked as &amp;quot;child&amp;quot; collection.
&lt;br&gt;&lt;br&gt;I'm sending you two mapping examples one with Provincia as a
&lt;br&gt;composition and the other one with Provincia as an aggregation.
&lt;br&gt;&lt;br&gt;I hope it helps.
&lt;br&gt;Saludos.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;On Mon, Jul 6, 2009 at 1:07 PM, Alejandro
&lt;br&gt;Scandroli&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24363277&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ascandroli@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Juan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There is some inconsistencies in your mappings.
&lt;br&gt;&amp;gt; But I tried to fix them to send you a working example and I found out
&lt;br&gt;&amp;gt; that I can't make the PossibleValues annotation work outside the
&lt;br&gt;&amp;gt; Simple example. So maybe there is something wrong or some
&lt;br&gt;&amp;gt; configuration missing. I will try again tonight, and let you know.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Saludos.
&lt;br&gt;&amp;gt; Alejandro.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PD:- I'm from Argentina too :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sun, Jul 5, 2009 at 7:20 PM, Juancevi&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24363277&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;juancesarvillalba@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hello, my name is John I am from Argentina, I am newbie at trails, I have
&lt;br&gt;&amp;gt;&amp;gt; nested combos mark the link
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Enum-in-search-tt18317768.html#a18319874&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Enum-in-search-tt18317768.html#a18319874&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; but I can not be that I'm doing wrong.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Region---
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  @OneToMany(mappedBy = &amp;quot;region&amp;quot;, cascade = CascadeType.ALL)
&lt;br&gt;&amp;gt;&amp;gt;  @JoinColumn(name = &amp;quot;region_id&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;  @Collection(child = false , allowRemove=false)
&lt;br&gt;&amp;gt;&amp;gt;  public List&amp;lt;Pais&amp;gt; getPaises() {
&lt;br&gt;&amp;gt;&amp;gt;    return paises;
&lt;br&gt;&amp;gt;&amp;gt;  }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Pais---
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  @OneToMany(mappedBy = &amp;quot;pais&amp;quot;, cascade = CascadeType.ALL)
&lt;br&gt;&amp;gt;&amp;gt;  @JoinColumn(name = &amp;quot;pais_id&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;  @Collection(child = true)
&lt;br&gt;&amp;gt;&amp;gt;  public List&amp;lt;Provincia&amp;gt; getProvincias() {
&lt;br&gt;&amp;gt;&amp;gt;    return provincias;
&lt;br&gt;&amp;gt;&amp;gt;  }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Provincia---
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  @ManyToOne
&lt;br&gt;&amp;gt;&amp;gt;  @Transient
&lt;br&gt;&amp;gt;&amp;gt;  @InitialValue(&amp;quot;pais.region&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;  public Region getRegion() {
&lt;br&gt;&amp;gt;&amp;gt;    return region;
&lt;br&gt;&amp;gt;&amp;gt;  }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  @ManyToOne
&lt;br&gt;&amp;gt;&amp;gt;  @PossibleValues(&amp;quot;region.paises&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;  public Pais getPais() {
&lt;br&gt;&amp;gt;&amp;gt;    return pais;
&lt;br&gt;&amp;gt;&amp;gt;  }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I want when choosing a region, only to drain the countries of that region,
&lt;br&gt;&amp;gt;&amp;gt; but this I do not works.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any help thank you very much!
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Help-dynamic-selects-tp24345072p24345072.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Help-dynamic-selects-tp24345072p24345072.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Sent from the Trails - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;paises.composition.zip&lt;/strong&gt; (83K) &lt;a href=&quot;http://old.nabble.com/attachment/24363277/0/paises.composition.zip&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;paises.agregation.zip&lt;/strong&gt; (69K) &lt;a href=&quot;http://old.nabble.com/attachment/24363277/1/paises.agregation.zip&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-dynamic-selects-tp24345072p24363277.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24353571</id>
	<title>Re: Help dynamic selects</title>
	<published>2009-07-06T04:07:53Z</published>
	<updated>2009-07-06T04:07:53Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Hi Juan
&lt;br&gt;&lt;br&gt;There is some inconsistencies in your mappings.
&lt;br&gt;But I tried to fix them to send you a working example and I found out
&lt;br&gt;that I can't make the PossibleValues annotation work outside the
&lt;br&gt;Simple example. So maybe there is something wrong or some
&lt;br&gt;configuration missing. I will try again tonight, and let you know.
&lt;br&gt;&lt;br&gt;Saludos.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;PD:- I'm from Argentina too :)
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Sun, Jul 5, 2009 at 7:20 PM, Juancevi&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24353571&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;juancesarvillalba@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello, my name is John I am from Argentina, I am newbie at trails, I have
&lt;br&gt;&amp;gt; nested combos mark the link
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/Enum-in-search-tt18317768.html#a18319874&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Enum-in-search-tt18317768.html#a18319874&lt;/a&gt;&lt;br&gt;&amp;gt; but I can not be that I'm doing wrong.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Region---
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  @OneToMany(mappedBy = &amp;quot;region&amp;quot;, cascade = CascadeType.ALL)
&lt;br&gt;&amp;gt;  @JoinColumn(name = &amp;quot;region_id&amp;quot;)
&lt;br&gt;&amp;gt;  @Collection(child = false , allowRemove=false)
&lt;br&gt;&amp;gt;  public List&amp;lt;Pais&amp;gt; getPaises() {
&lt;br&gt;&amp;gt;    return paises;
&lt;br&gt;&amp;gt;  }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Pais---
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  @OneToMany(mappedBy = &amp;quot;pais&amp;quot;, cascade = CascadeType.ALL)
&lt;br&gt;&amp;gt;  @JoinColumn(name = &amp;quot;pais_id&amp;quot;)
&lt;br&gt;&amp;gt;  @Collection(child = true)
&lt;br&gt;&amp;gt;  public List&amp;lt;Provincia&amp;gt; getProvincias() {
&lt;br&gt;&amp;gt;    return provincias;
&lt;br&gt;&amp;gt;  }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Provincia---
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  @ManyToOne
&lt;br&gt;&amp;gt;  @Transient
&lt;br&gt;&amp;gt;  @InitialValue(&amp;quot;pais.region&amp;quot;)
&lt;br&gt;&amp;gt;  public Region getRegion() {
&lt;br&gt;&amp;gt;    return region;
&lt;br&gt;&amp;gt;  }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  @ManyToOne
&lt;br&gt;&amp;gt;  @PossibleValues(&amp;quot;region.paises&amp;quot;)
&lt;br&gt;&amp;gt;  public Pais getPais() {
&lt;br&gt;&amp;gt;    return pais;
&lt;br&gt;&amp;gt;  }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I want when choosing a region, only to drain the countries of that region,
&lt;br&gt;&amp;gt; but this I do not works.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any help thank you very much!
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Help-dynamic-selects-tp24345072p24345072.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Help-dynamic-selects-tp24345072p24345072.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Trails - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-dynamic-selects-tp24345072p24353571.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24345072</id>
	<title>Help dynamic selects</title>
	<published>2009-07-05T10:20:39Z</published>
	<updated>2009-07-05T10:20:39Z</updated>
	<author>
		<name>Juancevi</name>
	</author>
	<content type="html">Hello, my name is John I am from Argentina, I am newbie at trails, I have nested combos mark the link 
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/Enum-in-search-tt18317768.html#a18319874&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Enum-in-search-tt18317768.html#a18319874&lt;/a&gt;&lt;br&gt;but I can not be that I'm doing wrong.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Region---
&lt;br&gt;&lt;br&gt;&amp;nbsp; @OneToMany(mappedBy = &amp;quot;region&amp;quot;, cascade = CascadeType.ALL)
&lt;br&gt;&amp;nbsp; @JoinColumn(name = &amp;quot;region_id&amp;quot;)
&lt;br&gt;&amp;nbsp; @Collection(child = false , allowRemove=false)
&lt;br&gt;&amp;nbsp; public List&amp;lt;Pais&amp;gt; getPaises() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; return paises;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;Pais---
&lt;br&gt;&lt;br&gt;&amp;nbsp; @OneToMany(mappedBy = &amp;quot;pais&amp;quot;, cascade = CascadeType.ALL)
&lt;br&gt;&amp;nbsp; @JoinColumn(name = &amp;quot;pais_id&amp;quot;)
&lt;br&gt;&amp;nbsp; @Collection(child = true)
&lt;br&gt;&amp;nbsp; public List&amp;lt;Provincia&amp;gt; getProvincias() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; return provincias;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;Provincia---
&lt;br&gt;&lt;br&gt;&amp;nbsp; @ManyToOne
&lt;br&gt;&amp;nbsp; @Transient
&lt;br&gt;&amp;nbsp; @InitialValue(&amp;quot;pais.region&amp;quot;)
&lt;br&gt;&amp;nbsp; public Region getRegion() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; return region;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; @ManyToOne
&lt;br&gt;&amp;nbsp; @PossibleValues(&amp;quot;region.paises&amp;quot;) 
&lt;br&gt;&amp;nbsp; public Pais getPais() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; return pais;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;I want when choosing a region, only to drain the countries of that region, but this I do not works.
&lt;br&gt;&lt;br&gt;Any help thank you very much!</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-dynamic-selects-tp24345072p24345072.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22575200</id>
	<title>Re: unit test compiles but throws NoClassDefFound  exception</title>
	<published>2009-03-18T02:17:23Z</published>
	<updated>2009-03-18T02:17:23Z</updated>
	<author>
		<name>Alejandro Scandroli-2</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;It's not necessarily a classpath issue. When you compile the
&lt;br&gt;application Trails creates &amp;nbsp;an hibernate.cfg.xml file on the fly (I'm
&lt;br&gt;not very fan of this functionality) and this functionality is not
&lt;br&gt;available for testing.
&lt;br&gt;Try this: After compiling look for target/classes/hibernate.cfg.xml
&lt;br&gt;(or target/generated-sources/resources/hibernate.cfg.xml) and copy it
&lt;br&gt;to &amp;nbsp;src/test/resources/hibernate.cfg.xml
&lt;br&gt;Eventually, you will need to maintain this file manually every time
&lt;br&gt;you add or delete an @Entity.
&lt;br&gt;&lt;br&gt;Let us know if it works.
&lt;br&gt;&lt;br&gt;Saludos.
&lt;br&gt;Alejandro.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Alejandro Scandroli - &lt;a href=&quot;http://weblog.amneris.es/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://weblog.amneris.es/&lt;/a&gt;&lt;br&gt;Amneris: We build process-driven web applications.
&lt;br&gt;&lt;a href=&quot;http://www.amneris.es&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.amneris.es&lt;/a&gt;&lt;br&gt;&lt;br&gt;On Sun, Mar 15, 2009 at 10:46 PM, beel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22575200&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wwarner@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt; I edited pom.xml and added
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;                &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt;                        &amp;lt;groupId&amp;gt;javax.servlet&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt;                        &amp;lt;artifactId&amp;gt;servlet-api&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt;                        &amp;lt;version&amp;gt;2.4&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt;                        &amp;lt;scope&amp;gt;test&amp;lt;/scope&amp;gt;
&lt;br&gt;&amp;gt;                &amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now i'm on to a new error; FileNotFoundException: hibernate.cfg.xml. It must
&lt;br&gt;&amp;gt; be a classpath issue again.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Kalle Korhonen-2 wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; You are missing servlet-api from your test classpath.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Kalle
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Sun, Mar 15, 2009 at 8:36 AM, warner &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22575200&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wwarner@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I'm just starting with trails. Using
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://docs.codehaus.org/display/TRAILS/Testing&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.codehaus.org/display/TRAILS/Testing&lt;/a&gt;&amp;nbsp;as a guide, I'm trying to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; test the mappings and eventually load my database with data from files.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        public void testCreate() {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;                DomainObj o = new DomainObj();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;                o.setName(&amp;quot;some name&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;                o = persistenceService.save(o);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; //              assertEquals(o.getName(), &amp;quot;some name&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; //              assertNotNull(o.getId());
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        }
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The method compiles but throws an exception at
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; persistenceService.save(o).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The website Trails has generated runs fine, so I'm missing something
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; simple.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  -Bill
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/unit-test-compiles-but-throws-NoClassDefFound-exception-tp22524377p22524377.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/unit-test-compiles-but-throws-NoClassDefFound-exception-tp22524377p22524377.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Sent from the Trails - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/unit-test-compiles-but-throws-NoClassDefFound-exception-tp22524377p22528594.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/unit-test-compiles-but-throws-NoClassDefFound-exception-tp22524377p22528594.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Trails - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/unit-test-compiles-but-throws-NoClassDefFound-exception-tp22524377p22575200.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22528594</id>
	<title>Re: unit test compiles but throws NoClassDefFound  exception</title>
	<published>2009-03-15T14:46:38Z</published>
	<updated>2009-03-15T14:46:38Z</updated>
	<author>
		<name>beel</name>
	</author>
	<content type="html">Thanks!
&lt;br&gt;I edited pom.xml and added 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;javax.servlet&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;servlet-api&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;2.4&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;scope&amp;gt;test&amp;lt;/scope&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/dependency&amp;gt;
&lt;br&gt;&lt;br&gt;Now i'm on to a new error; FileNotFoundException: hibernate.cfg.xml. It must be a classpath issue again.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Kalle Korhonen-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;You are missing servlet-api from your test classpath.
&lt;br&gt;&lt;br&gt;Kalle
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Sun, Mar 15, 2009 at 8:36 AM, warner &amp;lt;wwarner@gmail.com&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm just starting with trails. Using
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://docs.codehaus.org/display/TRAILS/Testing&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.codehaus.org/display/TRAILS/Testing&lt;/a&gt;&amp;nbsp;as a guide, I'm trying to
&lt;br&gt;&amp;gt; test the mappings and eventually load my database with data from files.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public void testCreate() {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DomainObj o = new DomainObj();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o.setName(&amp;quot;some name&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;o = persistenceService.save(o);
&lt;br&gt;&amp;gt; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;assertEquals(o.getName(), &amp;quot;some name&amp;quot;);
&lt;br&gt;&amp;gt; // &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;assertNotNull(o.getId());
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The method compiles but throws an exception at persistenceService.save(o).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The website Trails has generated runs fine, so I'm missing something
&lt;br&gt;&amp;gt; simple.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;-Bill
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/unit-test-compiles-but-throws-NoClassDefFound-exception-tp22524377p22524377.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/unit-test-compiles-but-throws-NoClassDefFound-exception-tp22524377p22524377.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Trails - Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/unit-test-compiles-but-throws-NoClassDefFound-exception-tp22524377p22528594.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22526626</id>
	<title>Re: unit test compiles but throws NoClassDefFound  exception</title>
	<published>2009-03-15T11:51:11Z</published>
	<updated>2009-03-15T11:51:11Z</updated>
	<author>
		<name>Kalle Korhonen-2</name>
	</author>
	<content type="html">You are missing servlet-api from your test classpath.&lt;br&gt;&lt;br&gt;Kalle&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Mar 15, 2009 at 8:36 AM, warner &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22526626&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wwarner@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;
Hi,&lt;br&gt;
&lt;br&gt;
I&amp;#39;m just starting with trails. Using&lt;br&gt;
&lt;a href=&quot;http://docs.codehaus.org/display/TRAILS/Testing&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://docs.codehaus.org/display/TRAILS/Testing&lt;/a&gt; as a guide, I&amp;#39;m trying to&lt;br&gt;
test the mappings and eventually load my database with data from files.&lt;br&gt;
&lt;br&gt;
        public void testCreate() {&lt;br&gt;
                DomainObj o = new DomainObj();&lt;br&gt;
                o.setName(&amp;quot;some name&amp;quot;);&lt;br&gt;
                o = persistenceService.save(o);&lt;br&gt;
//              assertEquals(o.getName(), &amp;quot;some name&amp;quot;);&lt;br&gt;
//              assertNotNull(o.getId());&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
The method compiles but throws an exception at persistenceService.save(o).&lt;br&gt;
&lt;br&gt;
 java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet&lt;br&gt;
&lt;br&gt;
The website Trails has generated runs fine, so I&amp;#39;m missing something simple.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;br&gt;
 -Bill&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/unit-test-compiles-but-throws-NoClassDefFound-exception-tp22524377p22524377.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/unit-test-compiles-but-throws-NoClassDefFound-exception-tp22524377p22524377.html&lt;/a&gt;&lt;br&gt;

Sent from the Trails - Users mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------&lt;br&gt;
To unsubscribe from this list, please visit:&lt;br&gt;
&lt;br&gt;
    &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/unit-test-compiles-but-throws-NoClassDefFound-exception-tp22524377p22526626.html" />
</entry>

</feed>
