@Block render problem

2010-01-14 Thread Andrey Etush
T4 question I have this structure: Page 1àPage2 à @Blockà @Block With Last block I have some weird problem, some times after render it this is no ajax response(response is empty). When I debug Tapestry sources I’ve see that in good and in bad response tapestry works (recursively) but in bad

Re: get component according to ID

2010-01-14 Thread Jun Tsai
I think your problem that How to update a zone content. .tml t:actionlink t:id=refreshData context=some parameter zone=prop:zoneIdrefresh data/t:actionlink t:block id=myBlock t:loop /t:loop /t:block .java @Inject private Block myBlock; Object onActionFromRefreshData(some parameter){ //do

Re: @Block render problem

2010-01-14 Thread Jun Tsai
I have the same problem. I use that fix it; t:block id=blankBlock span/ /t:block good luck 2010/1/14 Andrey Etush andr...@sentrigo.com T4 question I have this structure: Page 1àPage2 à @Blockà @Block With Last block I have some weird problem, some times after render it this is no ajax

Re: Does anyone deploy on Tomca6 (ubuntu)

2010-01-14 Thread Massimo Lusetti
On Wed, Jan 13, 2010 at 7:14 PM, Jonathan Barker jonathan.theit...@gmail.com wrote: I hit the same problem on Debian with Tomcat 5.5.  I eventually gave up trying to grant permissions, and turned off the security manager. If that's OK with you, edit your startup file in /etc/init.d

T5-Chenillekit Quartz-Accessing JobDataMap

2010-01-14 Thread Yohan Yudanara
Hi... I'm using chenillekit quartz from http://chenillekit.codehaus.org/chenillekit-quartz/index.html. I already follow the how-to guide and it is running well. But I'd like to ask: how to access JobDataMap from Tapestry page class, in case I want to change the JobDataMap value from user input.

T4 Hot deply to tomcat with cache

2010-01-14 Thread Andrey Etush
Hi. I want to use tapestry cache but with cache I want to also use hot deploy without restarting the server. Could it be done? And How?

Re: API for obtaining absolute URL of the page?

2010-01-14 Thread Peter Stavrinides
Hi Ilya, IMHO I don't think this should be a Tapestry function, constructing an absolute URL is not always perfectly generic... i.e.: detecting SSL, port and hostname reliably to construct the URL from. Sometimes people configure SSL on non-standard ports, and browser headers are at best

Re: T5-Chenillekit Quartz-Accessing JobDataMap

2010-01-14 Thread Yohan Yudanara
Sorry, the problem was solved.. It's very simple :) just using this in tapestry page class: @Inject private QuartzSchedulerManager schedulerManager; and use this code to access the jobDataMap and update the value: JobDetail jobDetail =

RE: Accessing Tapestry Services from Spring Beans

2010-01-14 Thread Jim O'Callaghan
Juan, Please disregard the query below - I figured it out. I was missing context:component-scan for Spring to check my @autowire annotations from applicationContext.xml. It's all working fine now. Thanks. Regards, Jim. -Original Message- From: Jim O'Callaghan

Re: Access the Tapestry IoC from another servlet

2010-01-14 Thread P . Stavrinides
Hi Mike, If you still have issues, then post your code... this is an issue that comes up a lot it should probably be documented. regards, Peter -- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain

301 vs 302 redirects due to SEO

2010-01-14 Thread Stephan Schwab
Event handlers in Tapestry, such as onActivate() may return a page object or page name. That gets translated into a HTTP 302 redirect. Now there are situations, e.g. in shopping applications, where one needs to use 301 (moved permanently) redirects instead. One can @Inject the Response object,