RE: Make your voice heard! Tapestry 4.1 "wish list"

2006-06-23 Thread Firas A.
Hello Henri, everybody I've read your list and I'd subscribe to your opinion on the following issues (from a newbie's perspective): * Better Documentation Yes, please! That would include hivedoc too. * Rename the template page from *.page to *.xml or *.page.xml or perhaps to *.spec.xml * Fa

Re: Tapestry making Java use 99% cpu?

2006-06-23 Thread Bryan Lewis
Good point. Here's what I use, based on a tip I picked up from this list some time ago. I override the doService() method of the ApplicationServlet, which is a level I shouldn't be messing with. public class ApplicationServlet extends org.apache.tapestry.ApplicationServlet { /** Override doS

Re: Tapestry making Java use 99% cpu?

2006-06-23 Thread Henri Dupre
On 6/23/06, Mark Stang <[EMAIL PROTECTED]> wrote: Actually, I think it was just a listener method. There wasn't a deadlock, maybe it should have been sync'd. However, the question came up about listeners in general. And I think the real question is shouldn't listeners and submits by design, o

RE: Tapestry making Java use 99% cpu?

2006-06-23 Thread Mark Stang
Actually, I think it was just a listener method. There wasn't a deadlock, maybe it should have been sync'd. However, the question came up about listeners in general. And I think the real question is shouldn't listeners and submits by design, only allow one click of each? Should Tapestry by d

Tapestry leaks memory in IE and my workaround

2006-06-23 Thread Cliff Zhao
Tapestry leaks memory in IE. I'm using Tap 4.0.2. I did some research and like to share it with you. The leaks may be more than I listed here as I did not use client side validation on forms. Tapestry form and DatePicker leak memory IE, here is what I did to remove the leaks. // the following co

Listener delegating causes NullPointerException

2006-06-23 Thread Paul Cantrell
The basic problem: one page's listener calls another page's listener (after activating the other page). The other page records a validation error, and that causes a NullPointerException deep in Tapestry's guts. The details: I have two pages (Subscribe and SubscribeAlternateLink), both of

Re: Make your voice heard! Tapestry 4.1 "wish list"

2006-06-23 Thread Henri Dupre
I added my two cents there and willing to contribute... Is anyone else annoyed with @PropertySelection or is it just me? On 6/22/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I've started a new wiki page for anyone that has a list of nagging annoyances/features they'd like to see fixed/added to

Re: Make your voice heard! Tapestry 4.1 "wish list"

2006-06-23 Thread hv @ Fashion Content
One of the things I would like to see is an easy way to build dynamic determination of doctype+mimetype+charset either as part of @Shell or when setting up the Markup writer for the page. I already have functionality that does this ported over from Tapestry3 which uses cached UserAgent capabili

Re: Tapestry making Java use 99% cpu?

2006-06-23 Thread Henri Dupre
On 6/23/06, Alex Kartashev <[EMAIL PROTECTED]> wrote: This is a really good one link. Make sure that you also use Hivemind 1.1.1 (previous versions suffered from the "ThreadLocal" problem described in that URL). You must also use Tomcat 5.5.15 or higher. A good profiler is a key in debugging t

Re: Tapestry making Java use 99% cpu?

2006-06-23 Thread Alex Kartashev
This is a really good one link. Make sure that you also use Hivemind 1.1.1 (previous versions suffered from the "ThreadLocal" problem described in that URL). You must also use Tomcat 5.5.15 or higher. A good profiler is a key in debugging this kind of issues. YourKit on JDK 1.6 is recommended

Re: please unsubscribe me from list

2006-06-23 Thread Jesse Kuhnert
Feel free to unsubscribe yourself via the standard apache mail commands: http://tapestry.apache.org/mail-lists.html On 6/23/06, Andrew B <[EMAIL PROTECTED]> wrote: QQ - Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -- Jesse Kuh

please unsubscribe me from list

2006-06-23 Thread Andrew B
QQ - Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

Re: Porting Existing Site To Tapestry

2006-06-23 Thread Michael Grundvig
Thanks for the exception code, that's most helpful. Where did you get it? I'd like to be able to just look this type of thing up rather then bugging everyone on the list about it. As for the site, they do want to make it more dynamic. It seems the easiest approach is to bite the bullet and get

Re: Porting Existing Site To Tapestry

2006-06-23 Thread Kevin Menard
On Fri, 23 Jun 2006 12:27:21 -0400, Michael Grundvig <[EMAIL PROTECTED]> wrote: 1) How do I capture a Tapestry error that was caused by a missing page (a 404). With friendly URLs enabled I get the nice Tapestry error page when someone uses an invalid page. I need this to go to the custom 40

Porting Existing Site To Tapestry

2006-06-23 Thread Michael Grundvig
Hi all; I'm a recent convert to Tapestry and love it thus far! I am about to migrate a huge static site into Tapestry. The site is http://www.unityonline.org and runs more then 1000 pages and tons of images. When packaged down into a war using Maven2, it comes out at 250 megs. Because the exist

ZK comparison

2006-06-23 Thread hv @ Fashion Content
Has anyone checked out ZK (http://zk1.sourceforge.net/) and compared it with Tapestry ? Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Null Date in a Contrib:Table

2006-06-23 Thread Shing Hing Man
You could give the following a try. The documentation on the If component is at http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/If.html Shing --- Manuel Thurn <[EMAIL PROTECTED]> wrote: > Thank you very much for your answer. > > I realized that my attempt to forma

Re: Date format bug?? (Headache. Tried all options.)

2006-06-23 Thread Jesse Kuhnert
Yes, the documentation portion of things is on the "wish list". http://wiki.apache.org/tapestry/Tapestry41WishList It'll get fixed soon. On 6/23/06, Bode, Bianca <[EMAIL PROTECTED]> wrote: Djeeez! I feel stupid, but then again this whole validation/translator stuff isn't very well documented y

Re: Tapestry making Java use 99% cpu?

2006-06-23 Thread Rui Pacheco
I found this on the web. The nice folks at the Spring framework compiled a list of possible causes and possible solutions for this problem. http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 On 6/23/06, Mahmut Izci <[EMAIL PROTECTED]> wrote: Alex Kartashev: >

Re: Date format bug?? (Headache. Tried all options.)

2006-06-23 Thread Jesse Kuhnert
See http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/components/Insert.html There is no translator binding on the @Insert component. You must use "format" instead. On 6/23/06, Bode, Bianca <[EMAIL PROTECTED]> wrote: To simplify things, I just tested the following: Ho

RE: Date format bug?? (Headache. Tried all options.)

2006-06-23 Thread Bode, Bianca
Djeeez! I feel stupid, but then again this whole validation/translator stuff isn't very well documented yet ;) I thought I read somewhere that the format binding was T3 Anyway...Thanks for pointing in the right direction :) -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]

RE: Date format bug?? (Headache. Tried all options.)

2006-06-23 Thread Bode, Bianca
To simplify things, I just tested the following: Home.java has java.util.Date date. In Home.html I try this: And it displays: Fri Jun 23 17:24:29 CEST 2006 Which is funny because this isn't the same format as I mentioned before when using the Table component. -Original Message

Re: Date format bug?? (Headache. Tried all options.)

2006-06-23 Thread Jesse Kuhnert
Ah it is as I feared. I do not think the Insert component has a translator binding, but it does have a "format" binding. http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Insert.html On 6/23/06, Bode, Bianca <[EMAIL PROTECTED]> wrote: Here's a piece of the .jwc add a desc

RE: Date format bug?? (Headache. Tried all options.)

2006-06-23 Thread Bode, Bianca
Here's a piece of the .jwc add a description .. . -Original Message- From: Jesse Kuhn

Re: Tapestry making Java use 99% cpu?

2006-06-23 Thread Mahmut Izci
Alex Kartashev: This is clearly a garbage collection in action. Happened to me many times on Tomcat in development. You're running out of Perm space. Try increasing the perm size to its max (256M - I believe with XX:MaxPermZize=256m). It will still happen but less often (every 10 reloads?), it

RE: Date format bug?? (Headache. Tried all options.)

2006-06-23 Thread Bode, Bianca
Nope, that also doesn't work, tried several formats -Original Message- From: Paul Ferraro [mailto:[EMAIL PROTECTED] Sent: vrijdag 23 juni 2006 17:14 To: Tapestry users Subject: Re: Date format bug?? (Headache. Tried all options.) Check the capitalization of your date format. It must co

Re: Date format bug?? (Headache. Tried all options.)

2006-06-23 Thread Jesse Kuhnert
What component are you binding the "translator" parameter to? For tables I usually use the "columns" parameter to pass in an ognl string that includes calls to format my dates with a formatter object I've statically setup in a page. Something like columns="col1:formatter.format(col1), col2:col2 "

Re: Date format bug?? (Headache. Tried all options.)

2006-06-23 Thread Paul Ferraro
Check the capitalization of your date format. It must comply with java.text.SimpleDateFormat: http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html I think you want this: Bode, Bianca wrote: > Hi guys, > > I've tried everything I could come up with to display my Dates in a >

Date format bug?? (Headache. Tried all options.)

2006-06-23 Thread Bode, Bianca
Hi guys, I've tried everything I could come up with to display my Dates in a certain format. Unfortunately, none of them are working: what am I doing wrong?? Currently displayed like this: 2006-06-15 09:33:37.0 Already tried: In .jwc: Also tried in .jwc: Also tried setting t

RE: Null Date in a Contrib:Table

2006-06-23 Thread Manuel Thurn
Thank you very much for your answer. I realized that my attempt to format a null Date was the reason for the exception. Without the formatting component (with the id "creationDateFormat") an empty string is displayed. Despite the possible drawback I'd like to try your suggestion. I would be ver

Re: Tacos components or Tassel or some where else?

2006-06-23 Thread Chris Chiappone
You can write one using xtile for 3.0 and just create the javascript on your own. On 6/22/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Yeah...4.0 only unfortunately. Tapestry has one built-in with 4.1. (available now via maven2 snapshot ) On 6/22/06, James Carman <[EMAIL PROTECTED]> wrote: > >

Re: Tapestry Build in Search

2006-06-23 Thread Chris Chiappone
i think stiches already has an implementation of lucene and tapestry, not sure what the url is though... On 6/23/06, Stephane Decleire <[EMAIL PROTECTED]> wrote: Perhaps, you should have a look at Lucene ... (http://lucene.apache.org) Peter Dawn a écrit : > hi all, > does tapestry provide a t

Re: Null Date in a Contrib:Table

2006-06-23 Thread Shing Hing Man
Have you consider wrapping your component 'creationDateFormat' with an If component - so that the date is only rendered if it is not null ? There might be a drawback with the above approach. The default sorting on your date column might not work. Shing --- Manuel Thurn <[EMAIL PROTECTED]> wro

Null Date in a Contrib:Table

2006-06-23 Thread Manuel Thurn
Hi! For a project I want to display a list of objects in an html table. I'm using the Table component of the contrib library of Tapestry. One column should show a formatted Date (or Calendar) object. It works fine as long as the Date is not null. But if the database contains objects with null v

RE: [OT] Tapernate and Optimistic Locking

2006-06-23 Thread Ben Dotte
Thanks James and Marcus for your suggestions. I tried using detached objects and got the exception I was looking for. The problem is 1. we use the Hibernate session for object identity rather than defining equals() and hashCode() on all persisted objects, which is not conducive to using detached ob

Portlets and Liferay?

2006-06-23 Thread Mitchell O'Brien
Hi all, my company is looking to create portlets for a project and I want to do this in Tapestry. We have already chosen a portlet container called Liferay and I was wondering if anybody has gotten Tapestry portlets to work with it and if there were any problems encountered? Cheers, Mitc

Null Date in a Contrib:Table

2006-06-23 Thread Manuel Thurn
Hi! For a project I want to display a list of objects in an html table. I'm using the Table component of the contrib library of Tapestry. One column should show a formatted Date (or Calendar) object. It works fine as long as the Date is not null. But if the database contains objects with null valu

Re: Tapestry making Java use 99% cpu?

2006-06-23 Thread Rui Pacheco
Nope, its a standard CRUD application. Nothing fancy. I haven't had time to test it again, but I'll try this saturday. On 6/23/06, Ivano Pagano <[EMAIL PROTECTED]> wrote: Are you using code which should be synchronized... maybe your code is stuck in a deadlock? or does the service still runs?

Re: Tapestry making Java use 99% cpu?

2006-06-23 Thread Ivano Pagano
Are you using code which should be synchronized... maybe your code is stuck in a deadlock? or does the service still runs? Mark Stang wrote: At one point, I noticed my machine going a bit crazy. I believe it happened when I clicked on a link and then clicked it again... hth, Mark -O

Re: Tapestry Build in Search

2006-06-23 Thread Stephane Decleire
Perhaps, you should have a look at Lucene ... (http://lucene.apache.org) Peter Dawn a écrit : hi all, does tapestry provide a text search functionality. i am trying to implement a text search function on a page and was hoping that perhaps there is some component i can use. has anyone else tried

Re: [q] How to access to hivemind registry not from Pages

2006-06-23 Thread Shing Hing Man
I think this was discussed recently in the mailing list. The registry is stored as a context parameter. You can get it by doing something like : ServletContext context = session.getServletContext(); Registry registry = (Registry) context .getAttribute(ApplicationServlet.

[q] How to access to hivemind registry not from Pages

2006-06-23 Thread corsair
Hello! How to get access to classes in registry not from tapestry pages? I need same instance of classes in another Servlets and Filters. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC