Re: Session timeout alert.
In addition to the post before: Write a class which implemets javax.servlet.http.HttpSessionListener with something like this: > @Override > public void sessionCreated(final HttpSessionEvent se) { > se.getSession().setMaxInactiveInterval(sessionTimeoutSeconds); > } > A search in this forum returns much hits. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Session-timeout-alert-tp5601037p5601125.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Eclipse import of the sources.
Thiago H de Paula Figueiredo wrote > > Take a look at the Gradle documentation to know how to generate the > Eclipse > project files. > If you mean I should use the command "gradle eclipse", please read my initial post. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Eclipse-import-of-the-sources-tp5579088p5597081.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Eclipse import of the sources.
@Thiago H de Paula Figueiredo Thanks for your feedback. I thought about your answer and I'am not sure, if you already gave me the hint I need to import the tapestry sources in eclipse, or if we talk past each other. Thiago H de Paula Figueiredo wrote > > Its build tool is Gradle and used to be Maven. Don't forget that Gradle > generates Maven artifacts, so unless you're building Tapestry from source, > it won't have any difference for you. > I try to import the sources in Eclipse. Just for fun and learn. I know that gradle install does a maven install of the archive artifacts into my local .m2 cache. But it does not create the pom.xml's which I could import easy with "Import as existing maven project". So I don't see how your advice should help me. > I use Eclipse. Its m2e (Maven plugin) has a very friendly way to generate > a project from an archetype. I suggest you to use it instead of using the > command-line for that. > For instance I know the quickstart archetype. But I don't see the correlation to my question. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Eclipse-import-of-the-sources-tp5579088p5591885.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Eclipse import of the sources.
@Beat Durrer Thank you for your answer! This community is very quiet. The more I'am glad about your feedback. In general I know the way you describe, but it seems that tapestry is no maven project. I which it would be. The only pom.xml is in the quickstart directory. The others are configured as multi module gradle project. Maybe this is a good reason to try another IDE. I always wanted to test IDEA. What do the tapestry developers use? Or can somebody help me importing this project into eclipse? Cheers anon (-: -- View this message in context: http://tapestry.1045711.n5.nabble.com/Eclipse-import-of-the-sources-tp5579088p5591582.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Eclipse import of the sources.
Hello. I want to import the tapestry sources into eclipse and tried the following: svn checkout https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk/ tapestry-project Interrupted this after 30 minutes without success. Downloaded 5.3.2 from http://tapestry.apache.org/download.html Than I did: gradle eclipse with gradle 6 and got: FAILURE: Build failed with an exception. * Where: Build file '/home/user/workspace/tapestry_5.3.2/tapestry-core/build.gradle' line: 36 * What went wrong: A problem occurred evaluating project ':tapestry-core'. Cause: Could not find method description() for arguments [Generates Java sources from Antlr3 grammars.] on project ':tapestry-core'. Then I downloaded 5.3.1 gradle eclipse works Eclipse -> Import existing project into workspace works, too, but several things do not work. For instance Strg left mouse should normally lead to the specific class. And I can see no dependency tree. I read that eclipse needs a flat project structure, so I replaces the include in settings.gradle with includeFlat. But this does not work, too. I also tried to import it as existing project and copy project into workspace. Nothing worked. Some hints would be fine. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Eclipse-import-of-the-sources-tp5579088p5579088.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Access to session when testing with PageTester?
Hello, I have the same question. Would somebody answer, please? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Access-to-session-when-testing-with-PageTester-tp2425559p5552430.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org