Re: Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-11 Thread Martin Nagl
Setting tapestry.secure-enabled to false and removing @Secure annotations solved my problem. Internal users can acces Tomcat directly via HTTP. External users can access Apache httpd via HTTPS, which handles SSL and forwards the request to Tomcat (via AJP). Works nicely now when Tapestry does not

Re: Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-11 Thread Martin Nagl
On Thu, Feb 5, 2015 at 5:01 PM, Martin Nagl mn...@mtbiker.sk wrote: Aha, sorry for the hardcoded part, I can see that the number 80 is only used to determine whether to include port in URL or not :) Will try to provide HOSTPORT instead. M. On Thu, Feb 5, 2015 at 4:53 PM, Martin Nagl mn

Re: Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-05 Thread Martin Nagl
Aha, sorry for the hardcoded part, I can see that the number 80 is only used to determine whether to include port in URL or not :) Will try to provide HOSTPORT instead. M. On Thu, Feb 5, 2015 at 4:53 PM, Martin Nagl mn...@mtbiker.sk wrote: I am using Tapestry 5.3.6. I have not overridden

Re: Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-05 Thread Martin Nagl
I am using Tapestry 5.3.6. I have not overridden BaseURLSource or anything simmilar. I have not provided HOSTPORT or HOSTPORT_SECURE. Looking at the code in BaseURLSourceImpl, maybe my problem is that http communication goes on port 8080, not 80 as expected (hardcoded in BaseURLSourceImpl). I

Access a T5 app through both http (Tomcat) and https (Apache httpd + AJP + Tomcat)

2015-02-05 Thread Martin Nagl
Hi all, we have a Tapesty5 application deployed on Tomcat + Apache httpd. In production environment at our customer, the application should be deployed / accessed like this: - Tomcat is running on a server in internal network on port 8080. - There is an Apache HTTP server with reverse proxy

Re: T5.4 - spinner zone overlay

2014-03-21 Thread Martin Nagl
- Grid inplace update after click on paging link - Grid inplace update after click on sorting link - (I didn't test other cases) Thanx for sharing your code :) Martin On Thu, Mar 20, 2014 at 1:28 PM, Martin Nagl mn...@mtbiker.sk wrote: In T5.4, the event t5:zone:did-update fires only

T5.4 - spinner zone overlay

2014-03-20 Thread Martin Nagl
Hi all, I am trying to implement a loading indicator for zone updates in Tapestry 5.4. Something like this, but for T5.4: http://code.google.com/p/flowlogix/source/browse/tapestry-services/src/main/resources/com/flowlogix/web/mixins/spinner-zone-overlay.js In T5.3 you can use:

Re: T5.4 - spinner zone overlay

2014-03-20 Thread Martin Nagl
In T5.4, the event t5:zone:did-update fires only after zone has been updated, which is too late to add overlay to the zone. I need to add the zone overlay just after user clicks on a ajax-enabled EventLink / ActionLink (including paging and sorting links in Grid), or just after user submits an

Re: using tapx-templating with T5.4

2013-12-06 Thread Martin Nagl
Thanx for the guidance. I tried out tapestry-offline and it works very nicely for me, I think I will stick with this one. I had one configuration problem with tapestry-offline (maybe a bug?): I was getting exception when GZIP compression was turned on (full stack trace below). When I turned off

using tapx-templating with T5.4

2013-12-05 Thread Martin Nagl
with Tapestry 5.4? Or is there any alternative approach for generating HTML from my .tml files offline? BTW thanks for the work on 5.4. Finally I can have Bootstrap JQuery in my T5 app by default. Regards Martin Nagl http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/users-tapestry

Re: Glassfish 3.1 - and tapestry live class reload

2012-12-17 Thread Martin Nagl
Hi, I wonder, is there any update on this? Did you get live class reloading to work on Glassfish? I am considering dev environment using Eclipse + Maven + Glassfish. Thanks Martin -- View this message in context:

Re: Sharing the Registry instance between web applications (deployed in the same container)

2012-12-14 Thread Martin Nagl
Putting tapestry jars in shared folder to have them loaded by common class loader seems not quite right to me. Its a hack :) My high level feeling is: 1. Tapestry can provide IOC and JPA support in scope of 1 web application. 2. If I need IOC and JPA (and EJB) support in scope of multiple web

Re: How to sort Association column in Grid?

2012-12-13 Thread Martin Nagl
Have a look at class JPAGridDataSource from Tynamo: http://svn.codehaus.org/tynamo/trunk/tapestry-jpa-module/tapestry-jpa/src/main/java/org/tynamo/jpa/internal/JPAGridDataSource.java

Sharing the Registry instance between web applications (deployed in the same container)

2012-12-13 Thread Martin Nagl
Hi all, I am considering my options for building a combo of T5 web application + Jersey REST interface for this application. I am thinking about: Step 1: Implementing a T5 application with my business logic (DB access, computations) placed in Tapestry IOC services, because I like how the IOC