Re: Apache Tapestry 5.9.0 Jakarta Maven Quickstart

2025-03-07 Thread Thiago H. de Paula Figueiredo
Hello, Tim! Thank you very much for your list of corrections! It's going to be very useful when creating quickstart-jakarta. Cheers! On Tue, Mar 4, 2025 at 7:47 PM D Tim Cummings wrote: > Hi Andreas > > I don't use tapestry runner myself, but I notice there is a > tapestry-runner-jakarta which

Re: Apache Tapestry 5.9.0 Jakarta Maven Quickstart

2025-03-07 Thread Thiago H. de Paula Figueiredo
On Tue, Mar 4, 2025 at 1:57 PM Andreas Ernst wrote: > Hi, > Hello, Andreas! > i did a Quickstart today, and i got some Javax Test Errors: > org.eclipse.jetty.util.component.AbstractLifeCycle FAILED app: > java.lang.IllegalStateException: class > org.apache.tapestry5.TapestryFilter is not a jav

Re: Apache Tapestry 5.9.0 Jakarta Maven Quickstart

2025-03-04 Thread D Tim Cummings
Hi Andreas I don't use tapestry runner myself, but I notice there is a tapestry-runner-jakarta which might be what you are supposed to use. I use `mvn jetty:run` to run my apps. You could try that. I posted an email on 10-Oct-2024 which detailed some fixes to get quickstart working in the pr

Re: Override a class in CSRF protection module

2025-01-22 Thread Thiago H. de Paula Figueiredo
Hello, everyone! On Wed, Jan 15, 2025 at 10:45 AM Ben Weidig wrote: > Off the top of my head, I'd say you're right that the problem originates > from binding an implementation. In this case, the service isn't proxied and > follows a different lifecycle. > Hmm, I wouldn't say Tapestry-IoC as a d

Re: Override a class in CSRF protection module

2025-01-15 Thread Niran Abeygunawardena
Many thanks Ben – I’ll give that a go. Cheers, -- Niran Abeygunawardena Senior Technical Architect T +44(0)1223 271264 clarivate.com<https://clarivate.com/> From: Ben Weidig Date: Wednesday, 15 January 2025 at 13:45 To: Tapestry users Subject: Re: Override a class in CSRF protection

Re: Override a class in CSRF protection module

2025-01-15 Thread Ben Weidig
Hello, Off the top of my head, I'd say you're right that the problem originates from binding an implementation. In this case, the service isn't proxied and follows a different lifecycle. See: https://github.com/apache/tapestry-5/blob/82199021fa646a7ea4f7ccd7a7ea08cccb014b46/tapestry-ioc/src/main/

RE: Thread locking (deadlock) issue using Tapestry 5.8.7 under heavy load

2024-11-25 Thread Scott McCarthy
2024 12:57 PM To: Tapestry users Subject: Re: Thread locking (deadlock) issue using Tapestry 5.8.7 under heavy load [You don't often get email from thiag...@gmail.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] On Fri, Nov 15, 2024 at 12:38 PM

Re: Thread locking (deadlock) issue using Tapestry 5.8.7 under heavy load

2024-11-25 Thread Thiago H. de Paula Figueiredo
On Fri, Nov 15, 2024 at 12:38 PM Scott McCarthy < scott.mccar...@clarivate.com> wrote: > Hi All, > Hello! > We are running a fairly large Tapestry application with hundreds of > concurrent users. > When under load, we are occasionally seeing an instance go into deadlock, > whereby the Tomcat th

RE: Thread locking (deadlock) issue using Tapestry 5.8.7 under heavy load

2024-11-18 Thread Scott McCarthy
is that we can reproduce this fairly consistently on server startup under simulated load, so we'll see what we can learn. -Original Message- From: Ben Weidig Sent: Sunday, November 17, 2024 8:14 AM To: Tapestry users Subject: Re: Thread locking (deadlock) issue using Tapestry 5.8.7 und

Re: Thread locking (deadlock) issue using Tapestry 5.8.7 under heavy load

2024-11-17 Thread Ben Weidig
Hi Scott, Thanks for bringing this issue to our attention. I've looked through the JIRA and found https://issues.apache.org/jira/browse/TAP5-2621 with a similar thread dump attached. We're running multiple Tapestry instances with a varying degree of concurrent users and have yet to encounter a C

Re: Long running ProgressiveDisplay without holding on to tomcat thread?

2024-11-02 Thread Thiago H. de Paula Figueiredo
On Fri, Nov 1, 2024 at 10:22 AM Niran Abeygunawardena < niran.abeygunaward...@clarivate.com> wrote: > Hi, > Hello! > If I use the ProgressiveDisplay component to display a long running task > later, it looks like the tomcat thread is not released back to its pool > immediately so there may be

Re: [ANNOUNCEMENT] Tapestry 5.9.0-preview 2

2024-10-31 Thread Kalle Korhonen
Looks good to me (and tapestry-security). Ready when you are. Kalle [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 24.836 s [INFO] Finished at: 2024-10-31T22:53:51+02:00 [INFO] --

Re: REST API: Exception with trivial POST

2024-10-28 Thread Thiago H. de Paula Figueiredo
I forgot to mention this fix will be included in the next release, 5.9.0. On Fri, Oct 25, 2024 at 11:34 AM Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Hello, Erik! > > Indeed, this is a bug and we thank you for finding and reporting it. I've > just committed a fix. > > Cheers! >

Re: REST API: Exception with trivial POST

2024-10-25 Thread Thiago H. de Paula Figueiredo
Hello, Erik! Indeed, this is a bug and we thank you for finding and reporting it. I've just committed a fix. Cheers! On Mon, Sep 9, 2024 at 7:52 PM Erik Fäßler wrote: > Hey everyone, > > I just started out to check the REST capabilities of Tapestry that had > been added with 5.8.0. I created a

Re: [ANNOUNCEMENT] Tapestry 5.9.0-preview 2

2024-10-18 Thread Thiago H. de Paula Figueiredo
On Fri, Oct 18, 2024 at 11:20 AM Chelamalasetty Sunil Joshi wrote: > Hello, Tapestry Team > Hello! > Still, We see tapestry-spring-5.9.0-preview-2.jar using the > javax.serlvet.ServletContext Due to that we are facing below error. Kindly > check this issue > If you're using a servlet containe

RE: [ANNOUNCEMENT] Tapestry 5.9.0-preview 2

2024-10-18 Thread Chelamalasetty Sunil Joshi
Hello, Tapestry Team Still, We see tapestry-spring-5.9.0-preview-2.jar using the javax.serlvet.ServletContext Due to that we are facing below error. Kindly check this issue 2024-10-18 19:48:15,851 [main] ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/admin] - Exception st

Re: You can now sponsor my Apache Tapestry work

2024-10-18 Thread Thiago H. de Paula Figueiredo
Hello, Emmanuel! I was having a bad day and your e-mail brought a smile to my face with your message (in an ironic way, I should admit). Thanks for that, even though you came pretty late (11 days!). Nice to see a long time friend (for some peculiar value of "friend") back here in the mailing list

RE: You can now sponsor my Apache Tapestry work

2024-10-17 Thread Cyndy Ross
go in his current and future endeavors. Cheers to Thiago and all who contribute to the project! Cyndy -Original Message- From: Emmanuel Sowah Sent: Thursday, October 17, 2024 8:21 AM To: Tapestry users Subject: Re: You can now sponsor my Apache Tapestry work [You don't often get

Re: You can now sponsor my Apache Tapestry work

2024-10-17 Thread Emmanuel Sowah
My advice? Stop wasting your valuable time on this dead but walking project that only 5 people worldwide are using. Given alternatives like Angular (yes, there is a server side option too, not just SPA), React, Vue, Ember, etc., who in their right mind uses Tapestry in this day and age? Get a life

Re: [ANNOUNCEMENT] Tapestry 5.9.0-preview 2

2024-10-09 Thread D Tim Cummings
Thanks for working on the jakarta release. I am really looking forward to it. I thought I would try out the new quickstart to see how it performs. mvn archetype:generate \   -DinteractiveMode=false \   -DarchetypeGroupId=org.apache.tapestry \   -DarchetypeArtifactId=quickstart \   -DarchetypeVer

Re: Tapestry + ETag headers

2024-10-06 Thread Ben Weidig
Hi Chris! Tapestry's AssetDispatcher/ResourcerStreamer does ETag for assets: https://github.com/apache/tapestry-5/blob/b01afbedb325897084ab5f2277e99a0e6fe2a02f/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ResourceStreamerImpl.java#L156-L171 You could implement the BLOB-base

Re: REST API: Exception with trivial POST

2024-09-18 Thread Ben Weidig
Hi Erik, You're correct that STREAMED means that the HttpServletRequest was already read previously. I've tried it in one of our projects and got the same result. The code looks fine according to API docs, so I assume it's a bug/regression that needs further investigation. In our case, Shiro rea

Re: RequireJS timeout error

2024-09-17 Thread Christopher Dodunski (Tapestry)
Conclusion: The callback mechanism for modifying RequireJS's configuration on the go seems to have done the trick. I was able to disable RequireJS's default 7 second timeout. Not being entirely sure of when in the page's lifecycle the JS gets sent and the timeout clock starts ticking, I mad

Re: RequireJS timeout error

2024-09-17 Thread Christopher Dodunski (Tapestry)
Hi Ben, Thank you for those suggestions. In my case, RequireJS is pulling a remote JavaScript library as per the @Import annotation (below) on the pages’s class, so not a local jQuery module. The issue seems to arise when a user expands/refreshes a particular zone containing a large number o

Re: RequireJS timeout error

2024-09-17 Thread Ben Weidig
Hi Chris, as far as I know there are only two options to configure require.js, but both won't do it globally: - configure requirejs in your module/shim JS/Coffee code - use a ModuleConfigurationCallback We had timeout issues in the past, but only with a few scripts, like the Monaco editor, so we

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-18 Thread Thiago H. de Paula Figueiredo
On Fri, Aug 9, 2024 at 2:19 PM David Taylor wrote: > Hello All, > Hello, David! > We had the same idea about adding a classifier or altering the maven > coordinates. What we found is that adding "-jakarata" to the artifact > names worked extremely well and required very minimal changes to the

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-09 Thread David Taylor
Hello All, We had the same idea about adding a classifier or altering the maven coordinates. What we found is that adding "-jakarata" to the artifact names worked extremely well and required very minimal changes to the Tapestry 5 gradle build. One benefit of this approach is that we were able

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-07 Thread Thiago H. de Paula Figueiredo
On Wed, Aug 7, 2024 at 3:40 PM Dmitry Gusev wrote: > Hi Thiago, > Hello, Dmitry! > Just a thought, but did you consider to have a `jakarta` word somewhere in > the artifact coordinates? > Actually, I did! I'm happy to know I'm not the only one! :) Not 100% the same idea. I've even started wor

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-07 Thread Dmitry Gusev
Hi Thiago, Just a thought, but did you consider to have a `jakarta` word somewhere in the artifact coordinates? Either in the artifact names or as a classifier in the versions. This way we could still have release numbers continue naturally and let the users pick the flavor. We can eventually sto

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-01 Thread Thiago H. de Paula Figueiredo
On Thu, Aug 1, 2024 at 6:41 PM D Tim Cummings wrote: > Hi Thiago > Hello! > I like 5.18. I am even happy with 5.9 because I think committing to > producing new major releases in the javax branch sounds like a lot of > work. Thanks for your input! Actually, I expect keeping the jakarta and ja

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-01 Thread D Tim Cummings
Hi Thiago I like 5.18. I am even happy with 5.9 because I think committing to producing new major releases in the javax branch sounds like a lot of work. If people want the features of a new release they can migrate to jakarta. It is not like they can avoid that migration for ever. If they do

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-01 Thread Thiago H. de Paula Figueiredo
On Thu, Aug 1, 2024 at 7:35 AM Bob Harner wrote: > I agree with Kalle and others, call it 6. Permanently locking the version > at 5 was always a bad idea, in my opinion. > I believe the locking ended up being forced on the project by Tapestry 5 not getting a different name when it was first intr

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-01 Thread Thiago H. de Paula Figueiredo
On Thu, Aug 1, 2024 at 5:46 AM Carlos Montero Canabal < carlosmonterocana...@gmail.com> wrote: > On the other hand, thank you for your work with the framework and the > migration to Jakarta EE. > The migration to Jakarta EE should be thanked by derkoe (I know his name, but he never posted it here

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-01 Thread Thiago H. de Paula Figueiredo
Hello, Kall, Carlos and Bob! I appreciate and respect your suggestions, but I'm afraid going to Tapestry 6 is not happening. We already had a bunch of classes moved from one package to another or even to new packages and we just went to 5.6 to 5.7. The framework name is Tapestry 5. It's even in th

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-01 Thread Bob Harner
I agree with Kalle and others, call it 6. Permanently locking the version at 5 was always a bad idea, in my opinion. On Thu, Aug 1, 2024, 6:04 AM Andreas Ernst wrote: > Am 01.08.24 um 10:36 schrieb Kalle Korhonen: > > I would just call it Tapestry 6.x. It's not going to be compatible with > any

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-01 Thread Andreas Ernst
Am 01.08.24 um 10:36 schrieb Kalle Korhonen: I would just call it Tapestry 6.x. It's not going to be compatible with any previous version, or even with previous servlet containers. I well know the history ("there will never be Tapesty 6") but past is past, there's no good reason to avoid a new ma

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-01 Thread Carlos Montero Canabal
I agree with Kalle. It's a big breaking change (all dependencies have to be compatible with JakartaEE too, for example Spring Framework), I would sum +1 to the major version in favour of 6.x. On the other hand, thank you for your work with the framework and the migration to Jakarta EE. Best Regar

Re: [Informal poll] Version number for Jakarta EE-supporting Tapestry version

2024-08-01 Thread Kalle Korhonen
I would just call it Tapestry 6.x. It's not going to be compatible with any previous version, or even with previous servlet containers. I well know the history ("there will never be Tapesty 6") but past is past, there's no good reason to avoid a new major, semantic version to indicate the differenc

Re: Tapestry-hibernate module seemingly leaking connections

2024-06-13 Thread Christopher Dodunski (Tapestry)
Hi Ben, Your "educated guess" proved to be entirely correct! I added the below method to my RegistryProxy class, and calling it from the @OnMessage annotated method of the WebSocket server endpoint ensures Hibernate sessions get closed on completion and associated DB connections are released

Re: Tapestry-hibernate module seemingly leaking connections

2024-06-11 Thread Ben Weidig
Hi Chris, the RegistryProxy should work, we use something similar for a script editor component with access to the Registry. We don't use WebSockets, though, so the normal lifecycle applies. With WebSockets, however, someone has to handle it manually. Beware, I don't have any experience with Tape

Re: Tapestry-hibernate module seemingly leaking connections

2024-06-11 Thread Christopher Dodunski (Tapestry)
Hi Ben, Thank you for those helpful suggestions! You're right... debugging is tricky given the large number of moving parts. 😊 I've made some progress since last writing. By activating "hibernate.c3p0.debugUnreturnedConnectionStackTraces" within my Hibernate configuration I've been able to

Re: Tapestry-hibernate module seemingly leaking connections

2024-06-09 Thread Ben Weidig
Hi Chris, debugging Hibernate connection problems is no fun at all... You're correct that org.apache.tapestry5.hibernate.HibernateSessionManager is thread-scoped and is supposed to clean up after itself by rolling back any uncommitted transaction and closing the session. Hibernate/Connection iss

Re: Illegal char <<> at index 18: StreamableResource

2024-05-20 Thread Christopher Dodunski (Tapestry)
Thank you Ben, also for detailing a workaround. Glad to hear you are on the matter. The web application I upgraded isn't particularly busy and I've opted to disable minification, as below, until a permanent fix is in place, possibly version 5.8.7. configuration.override(SymbolConstants.M

Re: Illegal char <<> at index 18: StreamableResource

2024-05-20 Thread Ben Weidig
Hi Chris, that's most likely https://issues.apache.org/jira/browse/TAP5-2605 and it should be fixed next Tapestry release. In the meantime, you could override the GoogleClosureMinimizer by copying the code from org.apache.tapestry5.internal.webresources.GoogleClosureMinimizer to a new class and l

Re: Experiences with upgrading our apps from 5.8.2 to 5.8.6

2024-05-03 Thread Thiago H. de Paula Figueiredo
On Fri, May 3, 2024 at 3:16 AM Chris Poulsen wrote: > > It would help a lot to have an example of class hierarchy not being > handled > well. I'll definitely use it. > > OK, I'll try to find some time to see if I can create a minimal example > Much appreciated! > > Regarding service classes, f

Re: Experiences with upgrading our apps from 5.8.2 to 5.8.6

2024-05-02 Thread Chris Poulsen
> It would help a lot to have an example of class hierarchy not being handled well. I'll definitely use it. OK, I'll try to find some time to see if I can create a minimal example > Regarding service classes, field injection is indeed supported I think both cases that caused these issues was rel

Re: Experiences with upgrading our apps from 5.8.2 to 5.8.6

2024-04-30 Thread Thiago H. de Paula Figueiredo
Hello, Chris! Thanks for the information. We are aware that there are still some problems with 5.8.3 to 5.8.6, especially on projects with components having complex dependencies among them, and we're working on it. 5.8.3 introduces a lot of changes on how the Tapestry classloading and class transf

Re: IntelliJ Plugin

2024-04-27 Thread Ben Weidig
Hi Andreas, what a coincidence, I was thinking about the plugins this week! I'm not an IntelliJ user, but I see the need for readily available plugins, for both Eclipse and IntelliJ, that work with the latest Tapestry and IDE versions. IMO, the plugins are good candidates for the "Community Proj

Re: Attribute Usages Within Grid Implementation

2024-04-23 Thread Ben Weidig
Hi Michael, we've also stumbled over private/final fields in components in the past. I don't know the actual reason, but I'm guessing it simply was a design choice made long ago and never changed. Going forward, maybe many (or maybe all?) of the core components should be easier to extend by maki

Re: [ANNOUNCEMENT] Tapestry 5.8.5 released

2024-04-04 Thread JumpStart
Great work. Thank you all! Geoff > On 2 Apr 2024, at 6:07 AM, Thiago H. de Paula Figueiredo > wrote: > > Hello, Tapestry community! > > Apache Tapestry 5.8.5 has just been. It's got 2 bugfixes and it's a > drop-in replacement and recommended upgrade for Tapestry 5.7.0+ plus > projects. > > R

Re: translations and poedit

2024-03-12 Thread JumpStart
Thank you Ben for such a thoughtful answer and some great insights. Geoff > On 12 Mar 2024, at 6:32 pm, Ben Weidig wrote: > > Hi Geoff, > > we translated a Tapestry app for one of our customers in recent years but > don't have a ready-to-deploy workflow... > But I can share our experiences and

Re: translations and poedit

2024-03-12 Thread Ben Weidig
Hi Geoff, we translated a Tapestry app for one of our customers in recent years but don't have a ready-to-deploy workflow... But I can share our experiences and how we managed to do it in the end. Tools like poedit or plugins for IDEs are great tools, but only if both sides use them. Still, they

Re: [ANNOUNCEMENT] Tapestry 5.8.4 release

2024-02-14 Thread Ben Weidig
Hi David, To expand the answer a little further, no schedule still means "the next thing to release". We absolutely understand the community's need for Jakarta EE. It's just that, given our available resources, we won't/can't commit to a fixed timeline. The Java 21 release was done first to g

Re: [ANNOUNCEMENT] Tapestry 5.8.4 release

2024-02-14 Thread Thiago H. de Paula Figueiredo
On Tue, Feb 13, 2024 at 6:57 PM David Taylor wrote: > First, thanks for the 5.8.4 release! The timing was perfect since > underscore.js was one of the items flagged in a recent vulnerability scan. Nice! > Given there is no schedule for official Tapestry Jakarta EE support, we > decided to creat

Re: [ANNOUNCEMENT] Tapestry 5.8.4 release

2024-02-13 Thread David Taylor
First, thanks for the 5.8.4 release! The timing was perfect since underscore.js was one of the items flagged in a recent vulnerability scan. I am also very interested in the Jakarata EE migration. We are currently in the process of upgrading to Spring Boot 3.2 since support for 2.7 ended in No

Re: [ANNOUNCEMENT] Tapestry 5.8.4 release

2024-02-13 Thread Thiago H. de Paula Figueiredo
On Tue, Feb 13, 2024 at 8:20 AM Carlos Montero Canabal wrote: > Good job Tapestry Team, congratulations! Thanks! > I have a question. This release supports Java 21 but checking Tomcat > versions (https://tomcat.apache.org/whichversion.html), If I want to use > Java 21 I have to use Tomcat 11.0.

Re: [ANNOUNCEMENT] Tapestry 5.8.4 release

2024-02-13 Thread Carlos Montero Canabal
Good job Tapestry Team, congratulations! I have a question. This release supports Java 21 but checking Tomcat versions (https://tomcat.apache.org/whichversion.html), If I want to use Java 21 I have to use Tomcat 11.0.X and this version requires servlet spec 6.1. From the 6.0 version, servlet is pr

Re: [ANNOUNCEMENT] Tapestry 5.8.4 release

2024-02-12 Thread Massimo Lusetti
Happy to see a new release! On Wed, Feb 7, 2024 at 3:02 AM Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Hello, Tapestry community! > > Tapestry 5.8.4 has just been released, including some enhancements and > bug fixes. It's a > a drop-in replacement and recommended upgrade for Tap

Re: Reason for PlasticClassLoader Problems

2024-01-18 Thread Thiago H. de Paula Figueiredo
On Tue, Jan 16, 2024 at 5:12 PM Michael Helbig wrote: > Hi Hi! Are you running with multiple classloader mode on? Unless you have something tied specifically to Tomcat, I really prefer and advise developing Tapestry webapps locally with Jetty. tapestry-test's JettyRunner class can be used for

Re: Anyone still using Java 8 in Tapestry webapps

2023-11-08 Thread TNO
latter… YES! ~150 web sites with t5 and java8 Thomas Le 03/10/2023 à 19:34, Thiago H. de Paula Figueiredo a écrit : Hello, everyone! While planning the next Tapestry steps, one piece of information that would be useful is whether there's still Tapestry webapps out there running on Java 8. No

Re: Help request with LCR and IntelliJ

2023-10-30 Thread Ben Weidig
Hi Riccardo, At my company, we're using Eclipse and registered .tml with the XML editor, to have at least rudimentary tag-completion and highlighting. Tapestry's xsd scheme only contains the most essential elements, so there's no code completion for its components. The Eclipse Tapestry Plugin has

Re: Help request with LCR and IntelliJ

2023-10-30 Thread Riccardo De Menna
Thank you Thiago, Yes I was able to somehow make it work. It’s not as fast as in eclipse where it’s basically instantaneous, but it works. Now I’m fighting the Tapestry plugin that is doing weird things with the syntax claiming prop: type entries to be unrecognised but then linking them correct

Re: Help request with LCR and IntelliJ

2023-10-30 Thread Thiago H. de Paula Figueiredo
On Thu, Oct 26, 2023 at 1:50 PM Riccardo De Menna wrote: > Hi everyone, Hi! Welcome to the Tapestry community! There's a fundamental difference in how Eclipse and IntelliJ idea work regarding how they build Java code which affects the Tapestry live class reloading experience. Every time you s

Re: Anyone still using Java 8 in Tapestry webapps

2023-10-05 Thread Numa Schmeder
Hello, Same here working with jdk8. Tapestry 5 and Tapestry 4 applications… Still migrating some tapestry 4 to tapestry 5. Best regards, Numa Schmederwww.dfacto.ch n...@dfacto.ch | M +41 79 538 30 01 DI

Re: Anyone still using Java 8 in Tapestry webapps

2023-10-05 Thread Thiago H. de Paula Figueiredo
Thank you all for your feedback! It's very important to us. We have no plans of dropping support for Java 8 in Tapestry. On Tue, Oct 3, 2023 at 2:34 PM Thiago H. de Paula Figueiredo wrote: > > Hello, everyone! > > While planning the next Tapestry steps, one piece of information that > would be us

Re: Anyone still using Java 8 in Tapestry webapps

2023-10-04 Thread Pitman, Andrew
Sent: Tuesday, October 3, 2023 5:45 PM To: users@tapestry.apache.org Subject: Re: Anyone still using Java 8 in Tapestry webapps CAUTION: This email originated from outside of BAYADA. Beware of links and attachments. Hi Thiago, Yes, I have two apps in production using Java 8. Best, Charles On

Re: Anyone still using Java 8 in Tapestry webapps

2023-10-04 Thread Charles Karow
Hi Thiago, Yes, I have two apps in production using Java 8. Best, Charles On 10/3/23 12:34 PM, Thiago H. de Paula Figueiredo wrote: Hello, everyone! While planning the next Tapestry steps, one piece of information that would be useful is whether there's still Tapestry webapps out there runnin

Re: Anyone still using Java 8 in Tapestry webapps

2023-10-04 Thread Aleksandar Nikolov
YES! We are still using JDK 1.8! And it will remain so in the future. This is due to JDK license agreements after 1.8. Alex On 3.10.23 г. 20:34 ч., Thiago H. de Paula Figueiredo wrote: Hello, everyone! While planning the next Tapestry steps, one piece of information that would be useful is

Re: Anyone still using Java 8 in Tapestry webapps

2023-10-03 Thread JumpStart
Yes. We really want to move up and have done all the work to go from Tapestry 5.4.3 to a later version so that we can upgrade our JDK from 8 to 11 or later, but got stuck when we found that HighCharts didn’t work properly in PhantomJS when all our other dependencies were upgraded accordingly! W

Re: https://issues.apache.org/jira/browse/TAP5-2630

2023-09-03 Thread Ben Weidig
Hi Jens, I finally found some free time to take a look, but I can't reproduce your issue with the current HEAD. PAGE: public class StaticFieldAsPropertyDemo { public static int[] INT_ARRAY = {1, 3, 5, 7, 9}; public static final String CONSTANT = "this is a constant"; } TML: http://tap

Re: https://issues.apache.org/jira/browse/TAP5-2630

2023-08-01 Thread Ben Weidig
That's weird... Here's an example from my code with some custom types: public static final List WEEK_DAY_SOURCE = List.of(...); In the TML: ... Works fine for me, but I'm running 5.8.2 with OpenJDK 17, not 11. On Tue, Aug 1, 2023 at 4:29 PM Jens Breitenstein wrote: > Sorry, Ben, tri

Re: https://issues.apache.org/jira/browse/TAP5-2630

2023-08-01 Thread Jens Breitenstein
Sorry, Ben, tried it, but this is not working.     private final String x = "...";     public final String x = "..."; throws: "Update to non-static final field ...x... attempted from a different method (initializeInstance) than the initializer method " which is correct, because the field isn'

Re: https://issues.apache.org/jira/browse/TAP5-2630

2023-08-01 Thread Ben Weidig
Hi Jens, I was looking into static fields and the @Property annotation worker the other day but stopped, as I realized you can use "public static final" fields directly in the TML without any additional work. So the following code should be fine: public final String[] keys = new String[] {

Re: T5.8.3 upgrade T5.4 webapp

2023-08-01 Thread Jens Breitenstein
Ben, you nailed it. Surprisingly, the import of TapestryModule in our own application module solved the issue. Honestly, we should consider this as a bug, because a Tapestry application without having TapestryModule loaded won't work at all and this behaviour differes from the past, what you t

Re: T5.8.3 upgrade T5.4 webapp

2023-07-31 Thread Ben Weidig
Hi Jens, There was thread with a similar problem in April, and it turned out that the new Module organization could lead to missing one if you don't use the TapestryFilter directly, like via web.xml: https://lists.apache.org/thread/ocy882q8tgdyq6j3mjs50mjx4y7l7yod You could try to import the Tap

Re: Avoiding page loading

2023-07-12 Thread Thiago H. de Paula Figueiredo
Hello, Ben! Your suggestion is great and I've implemented it in https://github.com/apache/tapestry-5/commit/d6c4324215337b3bfb9ed8e62dd7174e0427410d . It's some code that will be called a low number times during the application runtime, so I decided to not try to optimize the just-1-page-name case

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-27 Thread Thiago H. de Paula Figueiredo
Hello, everyone! While I believe we should fix this problem in the Tapestry's proxy creator code, since it may have been happening in non-Hibernate stuff as well, maybe we could have an interim fix of not using PropertyShadowBuider to build the Session service? Code is in HibernateCoreModule.build

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-24 Thread Ben Weidig
I think I found the issue. Not 100% sure yet, but my first tests look good. The PropertyShadowBuilder got changed in TAP5-2582, so it can handle duplicate methods if interfaces extend each other. In the case of Session, however, the return types of the methods differ, as it's totally valid to el

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-23 Thread Vangel V. Ajanovski
On 21.6.23 20:32, Volker Lamp wrote: Is there any chance I can motivate you to contribute your test case as a unit test to the Tapestry code base? Have a look at the test apps in tapestry-jpa as a starting point. If I find some free time in the following months to look it up and learn how to

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-21 Thread Volker Lamp
Hi Vangel > For me, it is very easy to reproduce. I can share the entire source > code, but there is nothing special to share. Thank you for the code example! Is there any chance I can motivate you to contribute your test case as a unit test to the Tapestry code base? Have a look at the test a

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-21 Thread Volker Lamp
Hi Vangel > Is this because the bug only occurs in some very specific environments > (only some specific OS and some specific JDK combination and some > specific DB driver), or tapestry-hibernate is not in use any more by > committers and other developers and tapestry-jpa is the preferred way,

Re: Avoiding page loading

2023-06-18 Thread Ben Weidig
Hi Thiago, I like your implementation as a general solution better, as it solves the problem in a simple and straightforward way, whereas my approach would only provide the tools to build a solution by yourself. One thing I might have added is a helper method in the ReferenceType to create the mo

Re: Avoiding page loading

2023-06-17 Thread Thiago H. de Paula Figueiredo
Hello! So I've just implemented what I suggested in Tapestry 5.8.3: https://issues.apache.org/jira/browse/TAP5-2756. Example: public static void contributePageCachingReferenceTypeService( OrderedConfiguration configuration) { configuration.add("VeryLarge", p -> p.equals("VeryLar

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-15 Thread Vangel V. Ajanovski
On 15.6.23 14:17, Thiago H. de Paula Figueiredo wrote: Yeah, it doesn't seem to happen for everyone. tapestry-hibernate has unit and integration tests and they have been successful. For me, it is very easy to reproduce. I can share the entire source code, but there is nothing special to share.

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-15 Thread Thiago H. de Paula Figueiredo
Hello, everyone! On Sun, Jun 11, 2023 at 2:04 PM Vangel V. Ajanovski wrote: > This bug prompts another question that bothers me. > > How come nobody else has noticed the bug for two years? I had a report > in Sep 2021, which did not get an answer, there is another mention on > Stack Overflow in

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-14 Thread Chris Poulsen
> > How come nobody else has noticed the bug for two years? > In general we're isolating the use of Tapestry to our presentation layer - The datastore access (and business logic) lives in modules and the UI sits on top of the business logic layer - The lower level modules are usually wired up with

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-11 Thread Vangel V. Ajanovski
This bug prompts another question that bothers me. How come nobody else has noticed the bug for two years? I had a report in Sep 2021, which did not get an answer, there is another mention on Stack Overflow in the last month and now this thread here opened by Chris. Is this because the bug on

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-11 Thread Ben Weidig
Hi Chris, I've created a ticket: https://issues.apache.org/jira/browse/TAP5-2754 If I understand it correctly, the getSession() call just returns the associated session of the org.hibernate.jpa.HibernateEntityManager which Session extends since 5.2, see https://github.com/hibernate/hibernate-orm/

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-10 Thread Christopher Dodunski (Tapestry)
Hi Ben, Thank you for your investigative efforts, even though you weren't yet able to pinpoint the exact cause. And thank you, you and Vangel, for sharing that workaround. Occasionally, this HibernateCrudServiceDAO method works as expected. Most times not. This seeming randomness fits wit

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-10 Thread Ben Weidig
I've tried to debug the issue again, but to no avail :-/ Here are my observations/findings/notes: The Session you get injected is actually a shadowed property of org.apache.tapestry5.hibernate.HibernateSessionManager that is created in org.apache.tapestry5.hibernate.modules.HibernateCoreModule.bu

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-09 Thread Vangel V. Ajanovski
On 9.6.23 14:30, Ben Weidig wrote: we ran into similar issues with custom queries, our workaround is calling getSession() on the session, like this: return this.session.getSession().createQuery(sql) // .setParameter("replyToId", relatedId) //

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-09 Thread Ben Weidig
Hi Chris, we ran into similar issues with custom queries, our workaround is calling getSession() on the session, like this: return this.session.getSession().createQuery(sql) // .setParameter("replyToId", relatedId) // .setParameter("type",

Re: ComponentClassResolver error

2023-04-27 Thread Ric 2000
A direct ecplicit import of the Filter Module did solve the Problem Thanks a Lot :-) Regards, Ric Ben Weidig schrieb am Do., 27. Apr. 2023, 17:32: > Is org.apache.tapestry5.modules.TapestryModule in the list of loaded > modules? > Is tapestry-core missing in the dependencies? > Which version d

Re: ComponentClassResolver error

2023-04-27 Thread Ben Weidig
Is org.apache.tapestry5.modules.TapestryModule in the list of loaded modules? Is tapestry-core missing in the dependencies? Which version did you update from to 5.8? Which TapestryFilter are you loading in the web.xml? Is there maybe an old JAR somewhere screwing up the classpath? Without more inf

Re: ComponentClassResolver error

2023-04-27 Thread Ric 2000
Hi Ben, Yes, we Start in Standard jboss eap 7.x Thanks and Regards Ric Ben Weidig schrieb am Do., 27. Apr. 2023, 13:04: > Hi Ric, > > that's weird, the method signature looks fine to me. > > Is org.apache.tapestry5.modules.TapestryModule listed in the loaded modules > in the log output? > > Ho

Re: ComponentClassResolver error

2023-04-27 Thread Ben Weidig
Hi Ric, that's weird, the method signature looks fine to me. Is org.apache.tapestry5.modules.TapestryModule listed in the loaded modules in the log output? How do you start your Tapestry project? Do you use the standard way of starting Tapestry in a ServletContainer/web.xml/TapestryFilter or do

Re: Migration planned From Java EE8 to Jakarta EE9

2023-03-21 Thread Volker Lamp
Hi Michael > i was wondering, if there is already a plan / timeline to use tapestry > as well with the switch of javax to jakarta. Currently a Huge Migration > from a current environment to new base is blocked due to the dependency > of javax.*. Neccasary dependencies like spring and spring sec

Re: Preventing double click eventlink and form submit

2023-02-27 Thread Niran Abeygunawardena
', 'aria-busy':'true'}).focus(); }; return { initialize : initialize }; }); }).call(this); Cheers, Niran PS: I’m sorry if you receive this email twice as I used different email domain for subscribing to this list and I did

Re: Preventing double click eventlink and form submit

2023-02-26 Thread Ben Weidig
Hi Nathan, Maybe I misunderstood your goal, but I would solve it with a module configured by CSS classes or data attributes instead of dedicated components. Something along the line of this (untested) CoffeeScript I improvised: define ['jquery', 't5/core/events'], ($, events) -> EVENT = 'c

Re: Problem with Ajax Form Submit and invalid Response Status

2023-02-24 Thread JumpStart
Hi Michael, To date I’ve handled this more generally by letting the user know when the server cannot be reached. It’s detected by Offline.js (https://github.hubspot.com/offline/docs/welcome/), which is in in the of our layout component.

  1   2   3   4   5   6   7   8   9   10   >