Re: @SetupRender and class hierarchy

2010-08-31 Thread Christophe Cordenier
Hi ! You should use @Override on overriden methods in sub-classes 2010/9/1 Paul Stanton > I've found a strange issue with the @SetupRender annotation when used in a > class hierarchy. > > Typically, in java 2 classes within a hierarchy can have the same signature > for a private method and not

@SetupRender and class hierarchy

2010-08-31 Thread Paul Stanton
I've found a strange issue with the @SetupRender annotation when used in a class hierarchy. Typically, in java 2 classes within a hierarchy can have the same signature for a private method and not effect each other, so I would expect this to be the case when both of these private methods are

Re: No tapestry pages available in deployment

2010-08-31 Thread Chris Mylonas
http://osdir.com/ml/users-tapestry-apache/2009-05/msg00366.html My directory layout still needs some massaging obviously :) java.lang.RuntimeException: java.lang.ClassNotFoundException: caught an exception while obtaining a class file for au.com.vltest.admin.web.pages.voicemail.VMAccounts Tha

Re: No tapestry pages available in deployment

2010-08-31 Thread Chris Mylonas
Thanks for the pointer Thaigo - tapestry has made my pages available (got my own coding to deal with now!) javax.servlet.ServletException: Filter execution threw an exception org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.lang.NoClass

Re: File Handling and Buffer Handling

2010-08-31 Thread Thiago H. de Paula Figueiredo
On Tue, 31 Aug 2010 23:02:06 -0300, Charith Madusanka wrote: Hi Thiago! Hi, Charith! I want to render pdf file to images. I'm working with https://pdf-renderer.dev.java.net/ library therefore I need File Handling and Buffer Handling classes in T5 API. You don't really need file handlin

Re: File Handling and Buffer Handling

2010-08-31 Thread Charith Madusanka
Hi Thiago! > Why do you need random access in a file for? Tapestry-Core is a web > framework and Tapestry-IoC is an IoC container, so they ave no need to > provide this kind of feature. I want to render pdf file to images. I'm working with https://pdf-renderer.dev.java.net/ library therefore I

Re: tynamo exception handling doesn't work in setupRender?

2010-08-31 Thread Kalle Korhonen
File a (Tynamo) issue and I'll take a look. Kalle On Tue, Aug 31, 2010 at 6:31 PM, Paul Stanton wrote: > I'm using the Tynamo tapestry-exception module, and for the most part it > works great, however I've noticed that it doesn't seem to work for > exceptions thrown during a 'setupRender' event

Re: No tapestry pages available in deployment

2010-08-31 Thread Thiago H. de Paula Figueiredo
On Tue, 31 Aug 2010 22:38:33 -0300, Chris Mylonas wrote: Howdy, Hi! Seems like a simple mistake in my config - Where should I be looking? I've just deployed into testing an application and can't get tapestry pages to come up. 11:32:27,848 INFO [RegistryBuilder] Adding module definition

No tapestry pages available in deployment

2010-08-31 Thread Chris Mylonas
Howdy, Seems like a simple mistake in my config - Where should I be looking? I've just deployed into testing an application and can't get tapestry pages to come up. A hint (or answer) would be greatly appreciated - It's an ear deployed on jboss-4.2.3, context path is vltest 11:32:27,571 INFO

tynamo exception handling doesn't work in setupRender?

2010-08-31 Thread Paul Stanton
I'm using the Tynamo tapestry-exception module, and for the most part it works great, however I've noticed that it doesn't seem to work for exceptions thrown during a 'setupRender' event handler. These exceptions are wrapped in a 'RenderQueueException' and load in the normal tapestry exception

Re: Call function periodically

2010-08-31 Thread Kalle Korhonen
Quartz is nice but if you need something simple to happen every minute just use plain Java: timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { @Override public void run() {

Re: Call function periodically

2010-08-31 Thread Laurent Guerin
Hi, you should look at quartz integration provided by ChenilleKit : http://www.chenillekit.org/chenillekit-quartz/index.html 2010/9/1, Mite : > > I need to have a function called every one minute from the moment the > application is deployed on the server, that does some database row updates. >

Re: Call function periodically

2010-08-31 Thread Bryan Lewis
I had good results with the PeriodicUpdate mixin described at http://blog.bolkey.com/2010/05/creating-a-news-feed-in-tapestry-5 On Tue, Aug 31, 2010 at 6:25 PM, Mite wrote: > > I need to have a function called every one minute from the moment the > application is deployed on the server, that do

Call function periodically

2010-08-31 Thread Mite
I need to have a function called every one minute from the moment the application is deployed on the server, that does some database row updates. This has to be done independently of the activity of the users on the web application. Even if there are no users using the application, this call has t

Re: T5's closing of meta tags gives browser warnings ....

2010-08-31 Thread Andreas Andreou
Well, chrome may complain but what does http://validator.w3.org/ say ? On Tue, Aug 31, 2010 at 22:40, Gunnar Eketrapp wrote: > Hi! > > Chrome complains about unmatched tags. > > My .tml file contains meta lines  as ... > >     > > ... so it must be T5's template processer that splits the into

Re: T5's closing of meta tags gives browser warnings ....

2010-08-31 Thread Inge Solvoll
I suppose you could output the meta tags using MarkupWriter.writeRaw. void beginRender(MarkupWriter writer) { writer.writeRaw(""); } Put it in a component! On Tue, Aug 31, 2010 at 9:40 PM, Gunnar Eketrapp wrote: > Hi! > > Chrome complains about unmatched tags. > > My .tml file contains meta l

T5's closing of meta tags gives browser warnings ....

2010-08-31 Thread Gunnar Eketrapp
Hi! Chrome complains about unmatched tags. My .tml file contains meta lines as ... ... so it must be T5's template processer that splits the into which seems to be not valid. Is the any way that I can get rid of these warnings and instruct T5 to do it differently ? Thanks in advance

Re: [T5] Prevent multiple form submits

2010-08-31 Thread raulmt
I have an error in the second listener. It should be like this: document.observe(Tapestry.TRIGGER_ZONE_UPDATE_EVENT, function(event) { var element = event.findElement(); var zoneManager = Tapestry.findZoneManager(element); K12.showLoading(zoneManager.element); }); Regard

Re: [T5] Prevent multiple form submits

2010-08-31 Thread raulmt
For example, you can listen to Tapestry.FORM_PROCESS_SUBMIT_EVENT to show the div over the form, and then listen to Tapestry.ZONE_UPDATED_EVENT (this is fired when you update the content of a Zone). In order to put an overlay in all Zones, either associated with forms or with links, you can obser

Re: [T5] Prevent multiple form submits

2010-08-31 Thread LLTYK
I am wondering how I should handle ajax form submit. ClickOnce looks neat but looks like it wouldn't work for that, and it looks like it might break with client side validation too. I think I can see the events I need to observe now, although I'm wondering how to hide my div again after an ajax su

Re: generated image not showing up in IE7

2010-08-31 Thread ruksen inanir
Hi, Here is the image tag at the generated page's source http://localhost:8089/rcd/reports/charttestpage.chart:chart/200/150> "/> This line means, a chart event with parameters of width=200, and height=150 is to be fired. As a result of this event, onChart() (which is the event handler for Chart