Re: Laggy response after a quiet time

2019-05-16 Thread Mats Andersson
- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- -- Mats Andersson | Ronsoft AB | +46(0)73 368 79 82

Re: TemplateParser service override

2019-04-25 Thread Mats Andersson
dd(TemplateParser.class, new MspTemplateParser(configuration, defaultCompressWhitespace, tracker)); } Regards, Eric On Wednesday, April 24, 2019, Mats Andersson wrote: Hi Eric, What is the error you are getting? You should be able to either override or decorate the internal servi

Re: TemplateParser service override

2019-04-24 Thread Mats Andersson
er in order to use an own namespace. This is to be able to hide the Tapestry version info in the xsd declaration of our tml files. Can give me advice how to do it correctly? Thanks in advance. Kind Regards, Eric -- -- Mats Andersson | Ronsoft AB | +46(0)73 368 79 82

Re: ASM7 required

2019-04-06 Thread Mats Andersson
Yes of course, did that now. Thanks Thiago! /Mats On 2019-04-05 19:46, Thiago H. de Paula Figueiredo wrote: Hello, Mats! On Tue, Apr 2, 2019 at 12:42 PM Mats Andersson wrote: Continuing the attempt to upgrade an application from 5.4.4 to 5.5.0-beta-2 I stepped into a couple of issues

ASM7 required

2019-04-02 Thread Mats Andersson
parameter. See patch below for details: From 1f428d21610ca2ee4a0b0630b1e3d1c693a5a7e6 Mon Sep 17 00:00:00 2001 From: Mats Andersson Date: Mon, 1 Apr 2019 17:52:26 +0200 Subject: [PATCH] ASM7 dependencies ---  .../apache/tapestry5/internal/plastic/PlasticInternalUtils.java | 2 +-  .../tapestry5/ioc

Re: Jetty not reloading

2018-11-28 Thread Mats Andersson
mvn compile. Sent from my iPhone On 28 Nov 2018, at 15:34, Mats Andersson wrote: Usually tapestry.production-mode is used to check for updates less often so how can that help? Maybe tapestry.file-check-interval is defined somewhere? Default is 1s which should be enough in development. Also

Re: Jetty not reloading

2018-11-28 Thread Mats Andersson
Usually tapestry.production-mode is used to check for updates less often so how can that help? Maybe tapestry.file-check-interval is defined somewhere? Default is 1s which should be enough in development. Also, make sure resources are actually copied to the target directory when they are chang

Re: QuickStart

2018-11-27 Thread Mats Andersson
, Thiago H. de Paula Figueiredo wrote: On Tue, Nov 27, 2018 at 11:39 AM Mats Andersson wrote: I have been using Tapestry in different setups since the beginning of Tapestry 5. First I found the IOC and the client components useful. In my day job, which uses Tapestry, even the people who dislike

SV: Re: QuickStart

2018-11-27 Thread Mats Andersson
Tapestry does a lot of things. It is not easy to cover every aspect with a good/bad old/new style talking about Tapestry as one thing. Opinions from the ones actually using it could be useful for anyone reading this list, so here is my contribution to that. I have been using Tapestry in differ

Re: Get link to the page that contains custom component

2018-10-27 Thread Mats Andersson
What do you think about passing the model as a component argument instead? That way you are not depending on the order of the calls. See also: http://jumpstart.doublenegative.com.au/jumpstart6/examples/navigation/whatiscalledandwhen for an explanation. -- -- Mats

Re: Get link to the page that contains custom component

2018-10-26 Thread Mats Andersson
Hi, I think you should use ComponentResources to create an event link to your new component. The link will include the current page. Another solution is the getPageName method of ComponentResources. -- -- Mats Andersson | Ronsoft AB | +46(0)73 368 79 82 On 2018-10-26

Re: how to reconfigure my app so that it runs without "context" in the uri path

2017-08-27 Thread Mats Andersson
his server matched or handled this request." Is this a limitation of Tapestry, or just a limitation in my understanding? Sincerely, Joshua Richardson Email: jricjrpub...@outlook.com Phone: 408-205-4417 Skype: jricjr In: https://www.linkedin.com/in/joshua-richardson-878b8b1/

Re: handling parameters passed through the url path

2013-01-27 Thread mats . andersson
Easy, I would go as far as to say that this is the preferred way in Tapestry. See: http://tapestry.apache.org/page-navigation.html for examples of onActivate() and onPassivare(). /Mats   Mats AnderssonRonsoft AB - Fridhemsvägen 8 - 372 25 RonnebyTel. 073

Re: utf-8 (swedish) characters in the URL

2011-01-13 Thread Mats Andersson
de them on their way back input = java.net.URLDecoder.decode(input, "UTF-8"); ... } We are however using 5.2 and Jetty, not sure whether that makes a difference. Martin On Thu, 13 Jan 2011 12:20:38 +0100, Mats Andersson wrote: I have tried hard to get this working in Tape

utf-8 (swedish) characters in the URL

2011-01-13 Thread Mats Andersson
I have tried hard to get this working in Tapestry 5.1, but can't get it to work 100%. My intention is to have search parameters in the activation context to support RESTful URL:s for my search results page. This works out of the box in Tapestry, but since the Tapestry specific encoding of no

Re: Multiple tml files per page/component

2010-11-21 Thread Mats Andersson
And don't be too afraid to create more pages, one page for each view. If you find that you have to duplicate code in the pages you could probably put that into services and components and that way your code will be easier to maintain than one complex page. Thiago H. de Paula Figueiredo skrev

Re: Question about mixins

2010-11-11 Thread Mats Andersson
I assume that you are maintaining the condorTapestryLib/PeriodicUpdate mixin. You could add a html element to the body of the zone as long as you want the zone to be updated. Pass the id of that element as a parameter to the mixin and let the mixin check if the element exists before calling the

Re: Allowing users to override message properties

2010-11-05 Thread Mats Andersson
It would be enough to cache all messages in the service and reload periodically if something has changed. BR Mats Mats Andersson Ronsoft AB - Fridhemsvägen 8 - 372 25 Ronneby Tel. 073-368 79 82 http://www.ronsoft.se

Re: Application Scope

2010-11-02 Thread Mats Andersson
One solution is to implement your own tapestry service for this. BR Mats Stephan Windmüller skrev 2010-11-02 13:36: Hi! Since the ApplicationState annotation has been renamed to SessionState, I am wondering if there is a usable Application scope in Tapestry where I can store data globally for

Re: Updating zones from a page that uses a layout

2010-10-31 Thread Mats Andersson
(); } public Object onUpdatetestzone() { return testzone.getBody(); } ... Best Regards Mats Mats Andersson Ronsoft AB - Fridhemsvägen 8 - 372 25 Ronneby Tel. 073-368 79 82 http://www.ronsoft.se

Re: [T 5.1.0.5]Parameter namespacePrefix was null

2010-10-29 Thread Mats Andersson
mvn dependency:tree BR Mats olip skrev 2010-10-29 12:04: Hi everyone! Using T 5.1.0.5. When I build my project with maven integrated jetty webserver everything works fine. When I am deploying the war package to our deployment webserver with a standalone jetty instance I get the following error

Re: T5.1 How to prevent uniquifying client ID

2010-10-29 Thread Mats Andersson
Hi, One solution could be to let tapestry handle id attribute as before and instead use a unique class as your own identifier. Best regards Mats Daniel Henze skrev 2010-10-28 00:17: Hi there, I have two actionlinks with different t:id, but still Tapestry sets a unique id at the end and t

Re: Using latest Hibernate with Tap 5.1.0.5

2010-08-24 Thread Mats Andersson
Andersson Ronsoft AB - Fridhemsvägen 8 - 372 25 Ronneby Tel. 073-368 79 82 http://www.ronsoft.se Mats Andersson skrev 2010-08-24 18:14: Thanks Thiago! I have a few references to Hibernate in the project so you are probably right about this. I will do

Re: Using latest Hibernate with Tap 5.1.0.5

2010-08-24 Thread Mats Andersson
Thanks Thiago! I have a few references to Hibernate in the project so you are probably right about this. I will do some more tests. Mats Mats Andersson Ronsoft AB - Fridhemsvägen 8 - 372 25 Ronneby Tel. 073-368 79 82 http://www.ronsoft.se

Using latest Hibernate with Tap 5.1.0.5

2010-08-23 Thread Mats Andersson
I have encountered a problem with Hibernate 3.3.1.GA and I tried to override the version with 3.5.5-Final in my project pom-file, but it seems that I have to build tapestry from source using the same Hibernate version (see stack trace). If this is the case, I wonder if there are many Tapestry

Re: Empty body?

2010-03-15 Thread Mats Andersson
Hi Manuel, Seems more logical to have the at the same level as the . That way you will know if you have generated any . BR Mats Manuel Sugawara skrev: Hi I'm working in a menu component, similar to the one in the howtos. The menuItem template looks like: $

Re: [T5]Has AjaxFormLoop-addrow-addrowlink-parameter context value?

2010-02-24 Thread Mats Andersson
As far as I can see there is no simple solution using addRowLink. If you have found a solution to this by now, I am interested in how you solved it. If I can find a solution I will post it here. Dariusz skrev: Is it possible? Maybe there is a workaround for this. moonlee wrote: I use Aj

Re: ChenilleKit InPlaceEditor

2009-09-15 Thread Mats Andersson
Many thanks, it works now! The problem was that I put the file in my component package. Mats Andersson Ronsoft AB - Fridhemsvägen 8 - 372 25 Ronneby Tel. 073-368 79 82 http://www.ronsoft.se Massimo

ChenilleKit InPlaceEditor

2009-09-15 Thread Mats Andersson
Changes! Thanks! Mats -- Mats Andersson Ronsoft AB - Fridhemsvägen 8 - 372 25 Ronneby Tel. 073-368 79 82 http://www.ronsoft.se - To

Re: Using object or id in Context

2009-09-03 Thread Mats Andersson
pattern means myObject.id is no less type safe as myObject is never really going to be null in your page. regards, Peter - Original Message - From: "Mats Andersson" To: "Tapestry users" Sent: Thursday, 3 September, 2009 15:58:20 GMT +02:00 Athens, Beirut, Buchare

Using object or id in Context

2009-09-03 Thread Mats Andersson
Why are most examples written as context="myObject.id"? Should not the best practice be to use the object directly? This way the handler method will be more type safe. Do you know of any good best-practices page for issues like this one? /Tapestry learner