Tapestry 5.1.0.2 and tapestry-spring-security 2.0.1

2009-04-06 Thread Volker Lamp
While attempting to upgrade my webapp to Tapestry 5.1.0.2 from Tapestry 5.0.18 I run into a problem related with tapestry-spring-security 2.0.1. Triggering LogoutService.logout() in a 5.1.0.2 environment results in a IllegalStateException which was not the case in 5.0.18. From a recent

Re: 5.4 - Javascript best practices

2013-07-01 Thread Volker Lamp
Here is another piece of information I had to figure out before the above worked for me: the META-INF folder needs to be under /src/main/resources (not /src/main/webapp). -- View this message in context:

Re: nullpointer exception

2013-08-02 Thread Volker Lamp
Make sure you properly initialize the object referenced by the form. The onPrepare() method is a good place to do that. Am 02.08.2013 um 09:06 schrieb Will N. llcool_wil...@yahoo.fr: Hi, i have some issues trying to save an Entitie in the database after filling the coresponding form. In

Re: Images broken on Tapestry documentation website

2019-12-10 Thread Volker Lamp
; https://cwiki-test.apache.org/confluence/download/attachments/23334911/newapp_Index.png?version=1=142807433=v2 > > is broken but changing it to > > > https://cwiki.apache.org/confluence/download/attachments/23334911/newapp_Index.png?version=1=142807433=v2 > > would wor

Re: Migrating Tapestry 3.0 to 5.x

2020-01-17 Thread Volker Lamp
Hi Dhana, According to the information provided through the Tapestry website (http://tapestry.apache.org/supported-environments-and-versions.html), Tapestry 5.3.8 is the first release to support Java 8. Consider using the current release, 5.4.5, though, as it also supports Java 8 and has

component

2020-11-02 Thread Volker Lamp
Hello everybody I'm trying to figure out why the (singular) component is not working for me. No difficulties with (plural) in the same place. The error is recorded with a reference to the field. Inspecting the form's ValidationTracker contains the expected error. Likewise, is referencing that

Re: component

2020-11-02 Thread Volker Lamp
3164dec05ff2d9a3e9/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractField.java#L287 > > What kind of field is the t:error for? Did you record the error manually, > or use a validator? > > > Cheers > Ben > > > > On Mon, Nov 2, 2020 at 2:22 PM

Re: Help overriding ComponentMessageSource service

2021-06-17 Thread Volker Lamp
Hello Numa, I think you are missing withId() in your binder method to assign a unique name. See https://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html Cheers, Volker Am Do., 17. Juni 2021 um 12:20 Uhr schrieb Numa Schmeder : > Hello, > > I am trying to override the

Re: Tapestry 5.7+ and Spock

2021-05-22 Thread Volker Lamp
Just a quick email with some status information. The Spock project encouraged Tapestry should adopt 'spock-tapestry'. I contributed a patch today that will (if accepted) add 'tapestry-spock' to Tapestry as a drop-in replacement for 'spock-tapestry'. Anyone interested can follow-up in

Tapestry 5.7+ and Spock

2021-04-28 Thread Volker Lamp
If you, like me, use Spock (and perhaps Geb) specification/tests for your Tapestry apps, please support my initiative to have Spock, or spock-tapestry, to be precise, support Tapestry 5.7+. Indicate your support by adding a 'thumbs up' to my contribution to the discussion of my pull request

Re: Render a single Enum value

2021-08-25 Thread Volker Lamp
> Using ${object.enumValue} renders the enum in raw form ie ENUM1 > > How do I leverage "TapestryInternalUtils.getLabelForEnum" without having to > use a BeanDisplay or Grid etc? > > Or is there super easy way to just render the Enum value formatted without > rendering any wrapping html etc?

Re: upgrade from 3.0.1

2021-07-26 Thread Volker Lamp
Hello Chris, Having started my app with Tapestry 5.0 I don‘t have first hand experience with the previous versions of Tapestry. Telling from the activity on the mailing list, virtually nobody seems to be using Tapestry 3 or 4. Since you are facing some work related with backward

Re: Rendering a page without a .tml template?

2022-03-01 Thread Volker Lamp
Hello Jonathan, A page's onActivate() page can return something, for example, a org.apache.tapestry5.StreamResponse or a java.net.URL. (see https://tapestry.apache.org/page-navigation.html#PageNavigation-ComponentEventRequests for more). That way, you could have a page class that serves a static

Re: Apache FOP integration

2022-01-28 Thread Volker Lamp
Hello everybody Thank you all for your responses. Very useful to learn various libraries are being used in Tapestry apps. iText, JasperReport, PDFBox, and FOP. We'll go with Apache FOP in our project as it turns out we can re-use some FOP stylesheets from another project. A Tapestry FOP module

Apache FOP integration

2022-01-26 Thread Volker Lamp
Hello Tapestry users, Our Tapestry webapp needs to generate printable PDFs including user input. We are currently looking at using Apache FOP for that. Has anyone integrated FOP in their Tapestry webapp and perhaps a Tapestry module to share? Suggestions for other approaches are also welcome.

Re: t:grid coercing value when it shouldn't

2022-01-20 Thread Volker Lamp
Hello Jonathan New Tapestry user here, started with a bootstrapped 5.7.3 and experimenting. > Welcome + enjoy! > What am I doing wrong? There is really no room for error, the Blah class > is defined right there in the same class and the current row object has > absolutely no reason to be

Re: [RELEASE] Tapestry 5.8.0 released

2022-01-26 Thread Volker Lamp
Hello Thiago & other contributors, Thank you very much for new release. The Rest API feature is a very useful addition. Sorry I missed the vote. Thank you all for the hours and brains you put into the new release. Volker - To

Re: Tapestry Grid encoder

2022-05-13 Thread Volker Lamp
Hi Christopher, Here are three suggestions to achieve what you are trying to do. (1) Omit the 'model' parameter to let Tapestry create a default model. Use the 'add' parameter to add a column named 'crewman' to that model. In the template file, in the body of the grid component, define how to

Re: Tapestry Security

2022-05-13 Thread Volker Lamp
Hi Andreas, tapestry-security (http://www.tynamo.org/tapestry-security+guide/) is a Third Party project, not an Apache Tapestry module. The source code is available on GitHub (https://github.com/tynamo/tapestry-security). Perhaps you can speed things up by cloning the project, making the

Re: Tapestry Grid encoder

2022-05-14 Thread Volker Lamp
You are totally right, Chris, I got you wrong. Sorry for that. The problem may be constructor related. I remember having a similar problem a couple of years back. In my case, if I remember correctly, it was a missing default constructor. Sorry this is vague. I don't have my repo available as

Re: Jumpstart is down

2022-07-10 Thread Volker Lamp
t;>>> geoff.callender.jumpst...@gmail.com> wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> Yes, doublenegative.com <http://doublenegative.com/> was within a >>>>>> friend’s business, and he’s

Re: Jumpstart is down

2022-06-24 Thread Volker Lamp
Hi Richard > We're noticing that the Jumpstart site is down. I know it is on Github > so we could run it locally, but the official site also references it a lot. Yes, it's been down for a few days now. I emailed Geoff directly to find out if it's a temporary or a permanent outage. I'm totally

Re: Calling a Tapestry page from external website

2022-04-27 Thread Volker Lamp
Hello Eric Not sure about the setup of your application server, but likely the session id is stored in a cookie. So when your users return to your Tapestry app (in whatever way, e.g. using the browser's back-button; clicking a hyperlink; or typing the URL into the browser's address field)

Re: Problem with Ajax Form Submit and invalid Response Status

2023-02-21 Thread Volker Lamp
Hi Michael > How i am able to recognized from the Tapestry Pages the failed > communication ? The (server-side) page class has no chance of knowing the communication failed, because the ajax request never makes it through. So the logic would have to be on the client. If the server doesn't

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

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