Re: T3: How to capture time

2007-08-09 Thread Martino Piccinato
In 4.1.2 there's a nice dojo DropDownTimePicker (even though default style has got a really small font) On 8/10/07, Robert Zeigler <[EMAIL PROTECTED]> wrote: > The "Calendar" component on tassel also wraps (a newer version of) > the same js calendar that DateTimePicker wraps. > But the component a

Re: T4: Client urls for listeners?

2007-08-09 Thread Martino Piccinato
You can use DirectService.getLink, an ILink can then return the URL. But if you need a JSON reply you'll need your class to implement http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/IJSONRender.html On 8/10/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > In a component class, I

Re: [T4.1.2] No component found in tree for EventListener binding

2007-08-09 Thread Daniel Kleine-Albers
Hi List, please ignore this mail. I've just found that JIRA which fixed it: https://issues.apache.org/jira/browse/TAPESTRY-1556 Thanks anyway - I've been really enjoying developing with Tapestry over last couple of months. Cheers Daniel On 10.08.2007, at 18:05, Daniel Kleine-Albers wrote:

[T4.1.2] No component found in tree for EventListener binding

2007-08-09 Thread Daniel Kleine-Albers
Hi All, I've got a problem with embedding the same component into multiple pages that might be a bug. The situation is as follows: Component C has a form in it that contains a Suggest component. An EventListener is attached to that suggest field (on the onblur event). I found out that I n

Re: T3: How to capture time

2007-08-09 Thread Robert Zeigler
The "Calendar" component on tassel also wraps (a newer version of) the same js calendar that DateTimePicker wraps. But the component as written in tassel doesn't do the time. Some time ago, I took it and revamped it somewhat for my own needs to allow for time selection as well as date selecti

Re: T3: How to capture time

2007-08-09 Thread Nick Westgate
Search the list for old posts (2004) about "DateTimePicker". The component jar is still here, I believe: http://myworkspace.sourceforge.net/component-library.html Cheers, Nick. Nazmul Bhuiyan wrote: Hello, I'm using DatePicker to capture dates. Is there any component to capture time? Thanks

T3: How to capture time

2007-08-09 Thread Nazmul Bhuiyan
Hello, I'm using DatePicker to capture dates. Is there any component to capture time? Thanks naz -- View this message in context: http://www.nabble.com/T3%3A-How-to-capture-time-tf4246404.html#a12084619 Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread Hans Jörg Hessmann
There is an excellent tool for post-mortem memory analyzation: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0eaafd5-6ffd-2910-019c-9007a92b392f. Just add -XX:+HeapDumpOnOutOfMemoryError to the startup parameters of your JVM. This will produce a memory dump when your JVM dies

T4: Client urls for listeners?

2007-08-09 Thread Bill Holloway
In a component class, I need to be able to generate a client URL to put into a JSON object that links to a server-side listener method. Didn't see this in the wiki or first search in mailing list. Ideas? Bill

Rounded Corners Service not working?

2007-08-09 Thread Henry Chen
I tried it with the latest 4.1.3 snapshot without success. Please help. Thank you. In tomcat 5.5, the following error was generated when I run the timetracker example: (http://localhost:8080/TimeTracker/rounded?c=FF9900&bc=white&w=60&h=60&a=tr&sw=3&o=.5): SEVERE: Image generated had zero length

Re: [4.0] session expiration

2007-08-09 Thread Jacob von Eyben
> In Tapestry 4.0.2, what controls the session expiration, and how can it > be increased? The session timeout specified in your web.xml as in any other webapplication. Your visit object is just placed in the http session. Regards Jacob von Eyben http://ancientprogramming.blogspot.com ---

[4.0] session expiration

2007-08-09 Thread Ed Cohen
In Tapestry 4.0.2, what controls the session expiration, and how can it be increased? Thanks, Ed

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread Todd Orr
True enough. I'll get more details from our side. I was merely pointing in that direction based on experience. On 8/9/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > Whatever this mysterious "issue" is that you seem to think exists it'd > be impossible to fix whatever memory leaks you think you hav

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread Ben Tomasini
I have used both Tapestry and HiveMind under high production loads and have never found any memory leaks in the frameworks themselves. This includes memory intensive, high volume workflow and image processing applications for large financial institutions. However, nearly every application I have

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread Jesse Kuhnert
Whatever this mysterious "issue" is that you seem to think exists it'd be impossible to fix whatever memory leaks you think you have found without knowing about them. There is a map that grows as large as the system using it internally to javassist of various cached reflection info - but it doesn'

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread Todd Orr
We've run into this problem on a production system. It was a not a good situation. One of our developers narrowed down the issue to Hivemind. There is some Map that continually grows and grows (I can speak to our dev to get more detail). After some research into similar posts it became evident that

RE: [ANN]T5 book: reviewers are needed

2007-08-09 Thread Kolesnikov, Alexander GNI
Sorry, Thiago, I don't think I should... I think the publisher has already contacted them. -Original Message- From: Thiago H de Paula Figueiredo [mailto:[EMAIL PROTECTED] Sent: 09 August 2007 16:40 To: Tapestry users Subject: Re: [ANN]T5 book: reviewers are needed On Thu, 09 Aug 2007 1

Re: [ANN]T5 book: reviewers are needed

2007-08-09 Thread Thiago H de Paula Figueiredo
On Thu, 09 Aug 2007 12:28:41 -0300, Kolesnikov, Alexander GNI <[EMAIL PROTECTED]> wrote: Phew... The publisher has actually contacted me a few days ago to tell me that he's got many more reviewer volunteers than he ever expected, and so he selected only three of them. But it will be an ho

RE: [ANN]T5 book: reviewers are needed

2007-08-09 Thread Kolesnikov, Alexander GNI
Phew... The publisher has actually contacted me a few days ago to tell me that he's got many more reviewer volunteers than he ever expected, and so he selected only three of them. But it will be an honor for both me and them to have you as a reviewer. I will contact them now and try to convince to

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread Jesse Kuhnert
Tapestry 4.1.2 has no memory leaks. Each and every object created / managed is accounted for and known. I've done a lot of analysis in this area lately which is why I'm so sure. On 8/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Within one day it rises slowly from 100 MByte to about 1 Gi

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread Jonathan Glanz
Have you tried pulling heap dumps and anaylizing them ? Sent via BlackBerry by AT&T -Original Message- From: [EMAIL PROTECTED] Date: Thu, 09 Aug 2007 17:04:21 To:"Tapestry users" Subject: Re: Memory leaks in Tapestry 4.1 Within one day it rises slowly from 100 MByte to about 1 Gigabyt

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread munich
Within one day it rises slowly from 100 MByte to about 1 Gigabyte at night when it crashes due to the limt that was set to the virtual machine. It could be increased - but only with the effect of having an additional day or so before it crashes again.restarting Tomcat is also not a viable so

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread munich
We have tried both enabling and disabling the cache. The same effect... it is only leaking a little bit slower in the other case. Original-Nachricht Datum: Thu, 9 Aug 2007 15:33:43 +0200 Von: Kristian Marinkovic <[EMAIL PROTECTED]> An: "Tapestry users" Betreff: Re: Memory leaks

Re: createReadOnlyBindingException help!

2007-08-09 Thread Andreas Andreou
No, i just meant "playing with properties and parameters" :) On 8/9/07, Martino Piccinato <[EMAIL PROTECTED]> wrote: > > You mean you could do something like > > > > > ?? (don't think so). > > Or you just refer about playing with properties and paramters? > > I know there are other ways

Re: [ANN]T5 book: reviewers are needed

2007-08-09 Thread Howard Lewis Ship
I'd be happy to review the book, of course! On 8/2/07, Kolesnikov, Alexander GNI <[EMAIL PROTECTED]> wrote: > > I am writing a book on T5 and the publisher is looking for technical > reviewers for this book. > Please contact me directly if you want to review the book or if you have > any questions

Re: createReadOnlyBindingException help!

2007-08-09 Thread Martino Piccinato
You mean you could do something like ?? (don't think so). Or you just refer about playing with properties and paramters? I know there are other ways to achieve 1700 but I thought an "initial-value" might be clearer, just because it seems to me that also the creatot of Dialog got conf

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Lutz Hühnken
I'm not sure if I understand that correctly... I think the idea was not return the page name as a string from a submit method, but to set it.. in page A: - inject page B - set the name of page A as a property in page B - activate (or redirect to) B in page B: - do not inject page A, but get it by

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Martino Piccinato
If I got right what's your case you could use the following pattern: public interface CalledPageCallback extends ICallback { public void setMyObject(MyClass myObject); } public class CallingPageCallback implements CalledPageCallback { private MyClass _myObject;

Re: createReadOnlyBindingException help!

2007-08-09 Thread andyhot
I'm not against 1699 at all! I'm just saying that it's also a documentation problem As for 1700, I think the traditional way of doing something like that has been to declare and use both a parameter and a property... so i'm not sure if what you're suggesting will help or confuse users - waiting

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread Kristian Marinkovic
do you have Tapestry caching deactivated? andyhot <[EMAIL PROTECTED]> Gesendet von: Andreas Andreou <[EMAIL PROTECTED]> 09.08.2007 15:28 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Re: Memory leaks in Tapestry 4.1 Well, we did lots of tests with 4.1.2 and have

Re: Memory leaks in Tapestry 4.1

2007-08-09 Thread andyhot
Well, we did lots of tests with 4.1.2 and have yet to observe such memory leaks. [EMAIL PROTECTED] wrote: Have you ever observed the memory usage for your Tapestry application? For example, make a simple HelloWorld Application and load the page regularly using HTTP_LOAD. Then watch how the mem

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Paolo Scopa
And you are right, actually i cant make it working. It seems that IPage is not serializable, so i cant use the @Persist("client") The problem using a string is that, when i return the string from my onOk listener, the calling page A is activated, but after the "return" statement it is too late to

Memory leaks in Tapestry 4.1

2007-08-09 Thread munich
Have you ever observed the memory usage for your Tapestry application? For example, make a simple HelloWorld Application and load the page regularly using HTTP_LOAD. Then watch how the memory consumption grows and grows especially after an hour. Has anyone got a solution how avoid this lea

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Ulrich Stärk
Where's the problem to do the same thing with the name of the calling page? Store the name in a string property of page B before activating it... Uli Paolo Scopa schrieb: No prob. As i said to uli, i might call B from different pages, not only A. Maybe i should use a common interface for those

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Paolo Scopa
No prob. As i said to uli, i might call B from different pages, not only A. Maybe i should use a common interface for those pages. Ill try and let you know Paolo Patrick Klein wrote: > > Hello Paolo, > > mea culpa, you are correct abot that :) > replace IPage with the A's class (implementing I

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Patrick Klein
Hello Paolo, mea culpa, you are correct abot that :) replace IPage with the A's class (implementing IPage) and cast the result of cycle.getPage(...) accordingly Regards, Patrick > Thanks Patrick, > this helps, except that the IPage does not expose the setList method, so i > don't think it wou

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Paolo Scopa
Thanks Uli, only problem is that i was planning to call page B from different pages, so i dont know which one to inject. Maybe will try the PropertyUtils.write, even if it seems to be a little unsafe (does not assure that the property exists in page A when compile). Paolo Ulrich Stärk wrote: >

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Paolo Scopa
Thanks Patrick, this helps, except that the IPage does not expose the setList method, so i don't think it would work the page.setList(composedList); maybe not even compile. Paolo Patrick Klein wrote: > > Hello Paolo, > > page a should hold an (persist) abstract getter and setter for the list,

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Patrick Klein
Hello Paolo, page a should hold an (persist) abstract getter and setter for the list, page b hold a persist abstract getter and setter for the name of the calling page which is set when page b is accessed and maybe reset if needed in the button's listener. When you are done with compiling your lis

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Ulrich Stärk
You'll have a property for the list in page A and an abstract setter for this property. So now in page B just inject page A using the @InjectPage annotation, call the setter for this list and return the page object in your listener method. Or use the PropertyUtils.write(pageObject, "propertyName"

[T4.1]Returning a list to a page

2007-08-09 Thread Paolo Scopa
Hi all, got a bit blocked here: i need to return a value to the invoking page. Page A calls page B - in Page B I select a list of item from a longer list when I press OK on page B, the browser returns to page A where the list is set according to the selection made. I can set the returning page but

Re: [T5] Integration of Guice in the domain model?

2007-08-09 Thread Donyee
Thanks, I got the idea! 2007/8/9, Nick Westgate <[EMAIL PROTECTED]>: > I haven't looked into it, but search this list. > Back in April "Leon Pennings" posted about it. > > Cheers, > Nick. > > > Donyee wrote: > > Hi all, I want to use the guice in my t5 app? > > does anyone got ideas to use it like

Re: createReadOnlyBindingException help!

2007-08-09 Thread Martino Piccinato
Hi Andy, I do not agree, it's not just a documentation problem I've opened a bug for the specific Dialog problem: https://issues.apache.org/jira/browse/TAPESTRY-1699 I think default use just doesn't behave the way you expect it to behave (that is a bug, even though a minor one). But I think the

Re: [T5] Integration of Guice in the domain model?

2007-08-09 Thread Nick Westgate
I haven't looked into it, but search this list. Back in April "Leon Pennings" posted about it. Cheers, Nick. Donyee wrote: > Hi all, I want to use the guice in my t5 app? > does anyone got ideas to use it like tapestry-spring? > > > > 徐 依伟 ---