Re: T5: Hibernate

2010-12-02 Thread ael
How about this? http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Hibernate-tp2409789

Re: Tapestry-Hibernate

2010-12-02 Thread ael
How about this? http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Hibernate-tp3

Re: First Tapestry app with Hibernate

2010-12-02 Thread Thiago H. de Paula Figueiredo
On Thu, 02 Dec 2010 16:40:29 -0200, robnangle wrote: Hi, I switched to using jetty and unfortunetly the project still will not work. I get a different error by the looks of it though: Are you using m2eclipse? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernat

Re: First Tapestry app with Hibernate

2010-12-02 Thread robnangle
Hi, I switched to using jetty and unfortunetly the project still will not work. I get a different error by the looks of it though: HTTP Error 500: Exception constructing service 'ValueEncoderSource': Error invoking service builder method org.apache.tapestry5.services.TapestryModule.buildValueEnco

JPA EntityManager injection (Spring Roo + Tapestry)

2010-12-02 Thread Matheus Eduardo Machado Moreira
Hi! I'm building a proof of concept app using Tapestry + Spring Roo and am having a little trouble trying to inject the JPA EntityManager (or EntityManagerFactory) into one of my contribute (AppModule) methods. The method signature is contributeValueEncoderSource(MappedConfiguration(Clas

Re: First Tapestry app with Hibernate

2010-12-02 Thread Andreas Andreou
Also, because you import th project this way, if you change your pom, you have to reimport the project again On Thu, Dec 2, 2010 at 17:30, Thiago H. de Paula Figueiredo wrote: > On Thu, 02 Dec 2010 13:26:48 -0200, robnangle wrote: > >> I create my project through the command: >> mvn archetype:ge

Re: Tapestry-Hibernate

2010-12-02 Thread Sven Homburg
here is a very very simple demo apllication (maven-ized) http://www.chenillekit.org/tap5hib36.tar.gz unzip that achive, step into the "tap5hib36" folder and start "mvn jetty:run" from command line and point your browser to "http://localhost:8080/taphib-demo/"; with regards Sven Homburg Founder o

Re: T5 page request return blank layout under heavy load test

2010-12-02 Thread dennisdeo81
Turn out to be "-XX:+UseCompressedOops" cause the problem. Problem solved. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3289579.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: First Tapestry app with Hibernate

2010-12-02 Thread Thiago H. de Paula Figueiredo
On Thu, 02 Dec 2010 13:26:48 -0200, robnangle wrote: I create my project through the command: mvn archetype:generate -DarchetypeCatalog=http://tapestry.formos.com/maven-repository It should be http://tapestry.apache.org. You're probably getting a very old version, as that repository isn't u

Re: First Tapestry app with Hibernate

2010-12-02 Thread robnangle
I create my project through the command: mvn archetype:generate -DarchetypeCatalog=http://tapestry.formos.com/maven-repository then to import it into eclipse: mvn eclipse:eclipse sysdeo-tomcat:generate i also start the server in eclipse -- View this message in context: http://tapestry.1045711.

Re: First Tapestry app with Hibernate

2010-12-02 Thread robnangle
Hi Juan, I run tomcat through my eclipse plugin. Start the server in eclipse. -- View this message in context: http://tapestry.1045711.n5.nabble.com/First-Tapestry-app-with-Hibernate-tp3285845p3289532.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: First Tapestry app with Hibernate

2010-12-02 Thread Richard Hill
Yes tomcat needs most (all?) of your project's dependencies on it's classpath. I recently switched to run-jetty-run and it's been a bit of a revelation. No messy classpath issues and live class reloading which a) really speeds up dev time (changes to .tml and .java are near instant) and b) also m

Re: Tapestry-Hibernate

2010-12-02 Thread Everton Agner
What is the error you're getting? Btw, could you stick on one of your mails? It seems that there's 3 mails with the same issue. ___ Everton Agner Ramos 2010/12/2 robnangle > > Hi all, > Ive tried one or two example projects with tapestry and hibernate but cant > seem to ge

Re: First Tapestry app with Hibernate

2010-12-02 Thread Andreas Andreou
Can you compile/run the project from the command line? What happens when you do mvn jetty:run ? On Thu, Dec 2, 2010 at 16:06, robnangle wrote: > > Thanks for that angelo but no luck. > > Same two errors as from the begining. > -- > View this message in context: > http://tapestry.1045711.n5.nabb

Re: First Tapestry app with Hibernate

2010-12-02 Thread Juan E. Maya
Rob, the problem u have is because tomcat is not finding those classes in the classpath. How do u launch ur tomcat? if u want to work with tomcat u might want to follow Kalle's guide so u r sure that there r no problems in ur development environment. Here is the guide: http://tynamo.org/Developing+

Re: First Tapestry app with Hibernate

2010-12-02 Thread robnangle
Thanks for that angelo but no luck. Same two errors as from the begining. -- View this message in context: http://tapestry.1045711.n5.nabble.com/First-Tapestry-app-with-Hibernate-tp3285845p3289417.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: First Tapestry app with Hibernate

2010-12-02 Thread Angelo C.
try Tapestry 5.1.0.5, here is pom file to test: http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://maven.apache.org/POM/4.0.0";> 4.0.0 learning tutorial1 1.0-SNAPSHOT war

Tapestry-Hibernate

2010-12-02 Thread robnangle
Hi all, Ive tried one or two example projects with tapestry and hibernate but cant seem to get the hibernate part working. Is there any extremely basic ones out there that anyone would recommend? Cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Hibernate-tp

Re: First Tapestry app with Hibernate

2010-12-02 Thread robnangle
Hi Angelo, Unfortunetly adding that in failed to fix or progress the error im receiving. -- View this message in context: http://tapestry.1045711.n5.nabble.com/First-Tapestry-app-with-Hibernate-tp3285845p3289356.html Sent from the Tapestry - User mailing list archive at Nabble.com.

translators in 5.2, and re-use as formatters

2010-12-02 Thread Paul Stanton
Hi, in 5.0 you used to be able to define and refer to Translators by name: public static void contributeTranslatorSource(Configuration configuration) { configuration.add(new MyTranslator("Decimal")); configuration.add(new MyTranslator("Decimal2Dp")); } I could then

Re: T5.1 - dynamically generated pop-up dialogue box

2010-12-02 Thread Thiago H. de Paula Figueiredo
On Thu, 02 Dec 2010 08:32:51 -0200, Richard Hill wrote: Hi All, Hi! So ideally I don't want to use an iframe, but something ajax, i.e a zone. However as the dialogue is dynamically generated, how can I bind what's in there with the page? Should I have a hidden zone on the page which I att

Re: T5.1 - dynamically generated pop-up dialogue box

2010-12-02 Thread Everton Agner
Check out ChenilleKit http://www.chenillekit.org/ You might get what you want with the Window component - demo here : http://www.chenillekit.org/demo/tapcomp/windowdemo# But i believe it would be better to abstract this set of components which appear in your dialog box in a single component, spec

T5.1 - dynamically generated pop-up dialogue box

2010-12-02 Thread Richard Hill
Hi All, I have a draggable pop-up dialogue box which is generated dynamically in javascript when a user clicks a link/button. I want this to contain a couple of components - at the moment I have them in their own T5 page which I am loading as an iframe in the dialogue box. But this isn't great -

Re: [t5] Problems with grid in a loop

2010-12-02 Thread forum
I am also same kind of the issue let me explain Currently we are working on a report generation. We are facing an issue with pagination using tapestry grid component. For a given date search criteria (1-Nov-2010 to 2-Nov-2010). We are using a tapestry “Loop” component to iterate over the date r