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

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.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,

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 r...@su3analytics.com 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

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(ConfigurationTranslator configuration) { configuration.add(new MyTranslator(Decimal)); configuration.add(new MyTranslator(Decimal2Dp)); } I

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.

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:

Re: First Tapestry app with Hibernate

2010-12-02 Thread Angelo C.
try Tapestry 5.1.0.5, here is pom file to test: project xsi:schemaLocation=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; modelVersion4.0.0/modelVersion

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 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:

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 robnan...@gmail.com wrote: Thanks for that angelo but no luck. Same two errors as from the begining. -- View this message in context:

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 robnan...@gmail.com Hi all, Ive tried one or two example projects with tapestry and hibernate but

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

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:

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 robnan...@gmail.com 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

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 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 thiag...@gmail.com wrote: On Thu, 02 Dec 2010 13:26:48 -0200, robnangle robnan...@gmail.com wrote: I create my project

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

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

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 robnan...@gmail.com 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

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:

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: