custom prefix for assets

2007-01-26 Thread Marcus Irven
Is it possible to create a custom prefix that can be used for binding in ? I see how to create a custom binding similiar to ognl but I don't see how to create one similiar to context:. Thanks, Marcus

Re: Aspects in tapestry pages using spring

2007-01-26 Thread James Carman
Well, it depends on your pointcut, I guess. If it can be woven into your code properly, you don't need to recompile Tapestry. However, you might want to look into putting an interceptor on the page service or introducing a web request servicer filter. That's an easy way to do cross-cutting conc

Re: Autocompleter 4.1.1 to 4.1.2 changes?

2007-01-26 Thread andyhot
Yea, i'm getting the same behavior + mentioned it on the dev list. It should be caused by the recent update of dojo... please post a JIRA Anna Vo wrote: We just recently upgraded from 4.1.1 to 4.1.2 (2007 01 21) to get some of the fixes we needed. The autocompleters are now no longer working, b

Autocompleter 4.1.1 to 4.1.2 changes?

2007-01-26 Thread Anna Vo
We just recently upgraded from 4.1.1 to 4.1.2 (2007 01 21) to get some of the fixes we needed. The autocompleters are now no longer working, but were just working in 4.1.1 (typing doesn't do anything, but you can click on the arrow down icon to get the list). Has anyone encountered this or are ther

RE: Using @EventListener's functionality under Java 1.4?

2007-01-26 Thread Leffel, Daniel
It requires annotations which requires 1.5. -Original Message- From: Alex Valys [mailto:[EMAIL PROTECTED] Sent: Friday, January 26, 2007 1:32 PM To: users@tapestry.apache.org Subject: Using @EventListener's functionality under Java 1.4? I can't seem to figure out how to use the functiona

Using @EventListener's functionality under Java 1.4?

2007-01-26 Thread Alex Valys
I can't seem to figure out how to use the functionality provided by the @EventListener annotation under Java 1.4. Is this possible, or is it only usable under 1.5? Thanks, Alex Valys - To unsubscribe, e-mail: [EMAIL PROTEC

Re: Cannot get a connection, pool exhausted

2007-01-26 Thread Richard Clark
There's no good way to know when the user closes or navigates away from the web page. (There is an "on close" event available in Javascript. You might be tempted to send a signal to the server when this happens, but the event isn't implemented the same way across all browsers and if the user "clos

Is it possible to get values from a CSS ?

2007-01-26 Thread Daniel Jue
This is a long shot, but here it goes: I want to define the background color for a table in my css. Done. Now I have an image that renders itself in that table (it's a JFreeChart!), and I want that background to be the same color. Is there a way for the jwcid tag to pass in the background color t

Re: Favorite charting tool to use with Tapestry?

2007-01-26 Thread Daniel Jue
I've seen the light. =) I won't jump to javascript charting just yet--although it looks nice and interaction is great, I don't have the time and it's not required. Besides, the feeling I get is that I'd probably want to upgrade to Tap 4.1.something before diving into dojo integration. It was ver

Re: Help with sorting custom contrib:table column

2007-01-26 Thread Daniel Jue
Hi, What helped me out was taking parts from the TapestryTables sample application. Towards the middle of the samples, the author introduces a custom comparator for one of the columns. The author is John Reynolds, and the war file is available online, complete with source. One of these days I'l

RE: Help with sorting custom contrib:table column

2007-01-26 Thread Greg.L.Cormier
Thanks Andy. I think hacking up the source might be beyond my level. However if you do get the chance to work on it, I will be happy to test out some snapshots for you and provide feedback! Thanks, Greg -Original Message- From: andreas a [mailto:[EMAIL PROTECTED] Behalf Of andyhot Sent:

Passing Array to JavaScript ?

2007-01-26 Thread Bastian Voigt
Hi, I have a simply question: is it possible to pass an array to a javascript included with @Script? How can it be done? I have an array of Point objects (which consist of a latitude and a longitude value) and I want to pass them to my script, so that the line of points can be displayed on a m

Re: Aspects in tapestry pages using spring

2007-01-26 Thread Denis McCarthy
Thanks for that James. I've got the aspectj stuff working now. The reason why I've been looking into aspectj is to log the length of time users of my site spend on individual pages. I want to log when each page is rendered for a particular user's session, giving me a record of how long a user s

Re: Aspects in tapestry pages using spring

2007-01-26 Thread James Carman
You can also use AspectJ within Tapestry using hivemind-aspectj (at JavaForge). You still have to make sure you weave the aspects into your code, but hivemind-aspectj can inject HiveMind services into your singleton (the default) AspectJ aspects. That way, you can inject all of Tapestry's HiveMi

Re: WANTED: Tapestry Success Stories

2007-01-26 Thread Marilen Corciovei
SOLIS (http://www.solis.ro/about-solis/view?set_language=en) is a sales management product based on Tapestry 3. We have it in production since 4 years for clients which total sales sum up to much more than 100M EUR/year. Some clients have almost 100 concurent users using the system all day. www.a

Re: Aspects in tapestry pages using spring

2007-01-26 Thread Denis McCarthy
Thanks for that - I'm on the right track now. I'm now looking for a tapestry method to advise, one that invariably fires once and only per request. Is there such a method? Thanks Denis Ivano wrote: Once you have accomplished the task (a), the task (b) can be solved as follows. You need to de

multiple events fired on @EventListener although it should fire once (Tapestry 4.1.1/4.1.2-20070121)

2007-01-26 Thread Kristian Marinkovic
[update] i created a jira entry with a maven2 project to reproduce the bug https://issues.apache.org/jira/browse/TAPESTRY-1241 i hope this problem gets resolved soon as it poses a severe problem of the @EventListener g, kris ---

Re: how to Disable validations dynamically

2007-01-26 Thread Reto Hotz
Hi, This is how I did it at the end: In html: And then in java: public abstract String getSelectedSubmit(); public void renderPage(IMarkupWriter writer, IRequestCycle cycle) { if ( !"useValidators".equals(getSelectedSubmit() ) { getValidationDelegate().clearErrors(); } } Greetings Ret