T5: Hibernate warning

2008-02-26 Thread Angelo Chen
Hi, I use Tapestry-Hibernate and it works very well, just I always see this warning in the log: [WARN] AnnotationBinder Package not found or wo package-info.java: : org.ust.test.t5.entities -- View this message in context: http://www.nabble.com/T5%3A-Hibernate-warning-tp15706803p15706803.htm

Re: Inject into Test Class

2008-02-26 Thread Angelo Chen
Hi Mark, @Inject is only for pages and components. Mark W. Shead-2 wrote: > > > @Inject > Logger _logger; > > -- View this message in context: http://www.nabble.com/Inject-into-Test-Class-tp15705386p15706258.html Sent from the Tapestry - User mailing list archive at Nabble.co

Inject into Test Class

2008-02-26 Thread Mark W. Shead
I have a test class using TestNG. I would like to get access to some of my services. For example, I have a datasource that I'd like to use to verify tests and I'd like to be able to use the logging service. I can't seem to find a way to inject services into the Test class. I have tried d

Re: [T5] Is there a way to restric filesize in upload component?

2008-02-26 Thread Howard Lewis Ship
Not that I know of; it's not something you can do on the client side. There is some configuration on the server side, but that may be too late for you. On Mon, Feb 25, 2008 at 11:11 AM, Otho <[EMAIL PROTECTED]> wrote: > Is there a way to restrict the size of uploaded files in the upload > compone

Re: Problem after upgrade to 5.0.10

2008-02-26 Thread Howard Lewis Ship
Also, the console should always show the full and uneditted stack trace. On Tue, Feb 26, 2008 at 9:21 AM, Tobias Wehrum <[EMAIL PROTECTED]> wrote: > Hi, > > I do not know how to fix this error, but maybe this helps searching: > Add "-Dtapestry.production-mode=false" to your JVM arguments to get

Re: OutOfMemory problem with Tapestry 4.0.2

2008-02-26 Thread Jesse Kuhnert
Garr, a siemens user! (sorry, past product competitiveness is hard to shake, just kidding either way though) I'd suggest that you do something like download the trial version of http://yourkit.com/ and run your application while inspecting it with this tool. There is a special "object allocat

OutOfMemory problem with Tapestry 4.0.2

2008-02-26 Thread Mlynarski, Michael
Hello, I'm searching for a solution to the following problem: My application allows a user to configure a personalized calendar (kind of wall calendar) with some individual dates and own images. The user has the chance to see the product as a preview pdf file. As the application is integrated int

T5: Client-side Execution before form submission

2008-02-26 Thread Michael Lake
I've got some javascript that I want to execute AFTER the client-side validation has passed but BEFORE the actual form submission. I've tested out adding my own Tapestry.Validator so that I could simply have a hidden form element that executes last(being placed before the tag), but I have

Re: T5.0.11-SNAPSHOT - tapestry-hibernate out of date

2008-02-26 Thread Daniel Jue
Thanks, it's working again! On Tue, Feb 26, 2008 at 12:33 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > It should be good now on the Formos repository. > > On Tue, Feb 26, 2008 at 12:28 AM, Patrick Moriarty > > > <[EMAIL PROTECTED]> wrote: > > In the meantime, I downloaded the source and de

Re: T5.0.11-SNAPSHOT - tapestry-hibernate out of date

2008-02-26 Thread Howard Lewis Ship
It should be good now on the Formos repository. On Tue, Feb 26, 2008 at 12:28 AM, Patrick Moriarty <[EMAIL PROTECTED]> wrote: > In the meantime, I downloaded the source and deployed to our internal maven > repository. > > > > On 25/02/2008, Daniel Jue <[EMAIL PROTECTED]> wrote: > > > > Thanks

Re: Problem after upgrade to 5.0.10

2008-02-26 Thread Tim Sawyer
Much better...thanks! Tim. On Tuesday 26 Feb 2008, Tobias Wehrum wrote: > Hi, > > I do not know how to fix this error, but maybe this helps searching: > Add "-Dtapestry.production-mode=false" to your JVM arguments to get the > detailed exception again. > > Regards, > Tobias > > Tim Sawyer schrieb

Re: Problem after upgrade to 5.0.10

2008-02-26 Thread Howard Lewis Ship
http://www.catb.org/~esr/faqs/smart-questions.html On Tue, Feb 26, 2008 at 9:21 AM, Tobias Wehrum <[EMAIL PROTECTED]> wrote: > Hi, > > I do not know how to fix this error, but maybe this helps searching: > Add "-Dtapestry.production-mode=false" to your JVM arguments to get the > detailed except

Re: [T5] dont understand behaivior onActivate/onPrepareFromEditForm

2008-02-26 Thread Sven Homburg
about side note: good hint, thanx 2008/2/26, Josh Canfield <[EMAIL PROTECTED]>: > > Hi Sven, > > It's too much trouble to parse your message and try to figure out what > your > question is. To get a helpful answer you should ask a clear and specific > question like "Why does X come after Y" or "Wh

Re: Problem after upgrade to 5.0.10

2008-02-26 Thread Tobias Wehrum
Hi, I do not know how to fix this error, but maybe this helps searching: Add "-Dtapestry.production-mode=false" to your JVM arguments to get the detailed exception again. Regards, Tobias Tim Sawyer schrieb: Hi, I've just upgraded my app from 5.0.6 to 5.0.10 and I have the following error. W

Re: [T5] dont understand behaivior onActivate/onPrepareFromEditForm

2008-02-26 Thread Howard Lewis Ship
There are documented rules about order of method invocation with respect to event handler methods. Basically, don't call super(); Tapestry will be invoking super-class event handler methods for you. I tend to make event handler methods on base classes final to remove any ambiguity. On Tue, Feb 26

Re: [T5] dont understand behaivior onActivate/onPrepareFromEditForm

2008-02-26 Thread Josh Canfield
Hi Sven, It's too much trouble to parse your message and try to figure out what your question is. To get a helpful answer you should ask a clear and specific question like "Why does X come after Y" or "Why is X called". On a side note, the pattern of calling getLogger().isInfoEnabled() is general

Problem after upgrade to 5.0.10

2008-02-26 Thread Tim Sawyer
Hi, I've just upgraded my app from 5.0.6 to 5.0.10 and I have the following error. What does it mean? Where do I start looking? Thanks, Tim. An unexpected application exception has occurred. Render queue error in BeginRender[txn/SingleXmlClass:typerenderer.if]:Failure reading parameter tes

RE: T5.0.11-SNAPSHOT: pageLink rendering in SSL broken

2008-02-26 Thread Joel Wiegman
That does help! I'll have to make bunches of changes (getting the build to run my integration tests (Jetty) in SSL, etc.), but should be manageable. Thanks! -Original Message- From: Filip S. Adamsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 10:11 AM To: Tapestry users S

Re: T5.0.11-SNAPSHOT: pageLink rendering in SSL broken

2008-02-26 Thread Filip S. Adamsen
Hi Joel, A @Secure annotation was implemented recently, I believe you might want to override the BaseURLSource service: http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/secure.html Hope this helps. :) -Filip Joel Wiegman skrev: Hello all, After upgrading to T5.0.11-SNAPSHO

T5.0.11-SNAPSHOT: pageLink rendering in SSL broken

2008-02-26 Thread Joel Wiegman
Hello all, After upgrading to T5.0.11-SNAPSHOT, PageLink components that render SSL links do not render the correct protocol and omit the port altogether. Expected: https://myserver:9300/myapp Actual: http://myserver/myapp Running the same application over regular HTTP renders the links corre

Re: T5.0.10: DateField on IE

2008-02-26 Thread Marcelo Lotif
It would be nice if the new DateField grab automatically the format by the browser's language (i.e. a localization feature). There are any efforts on this? 2008/2/25, Howard Lewis Ship <[EMAIL PROTECTED]>: > > That's a feature of the old DateField that had to be stripped out. > Still, something al

[T5] dont understand behaivior onActivate/onPrepareFromEditForm

2008-02-26 Thread Sven Homburg
senario: a page contains al link like this @Component(parameters = {"page=IssueEdit", "context=list:project.id, 0, 0"}) private PageLink _issueEditLink; the IssueEdit page contains following methods public void onActivate(long ticketId) { if (getLogger().isInfoEnabled())

Re: JumpStart 3.3.1 now available - fixes 3.3.0 bugs

2008-02-26 Thread Geoff Callender
Thanks, Julian. I'll look into it. On 26/02/2008, at 6:19 AM, Julian Wood wrote: Thanks Geoff for continuing to make this available. It is proving to be an invaluable resource in getting up to speed on Tap 5. If I could make one suggestion, it would be to organize the code as Howard has d

Re: Tapestry 5 Error handling

2008-02-26 Thread Filip S. Adamsen
Just goes to show how awesome Tapestry 5 is. :) -Filip Peter Stavrinides skrev: Hi Filip, That's clever!, definitely worth looking into, I could modify my service quite easily, thanks for your comment ! Filip S. Adamsen wrote: Hi Peter, I've turned the RequestExceptionHandler service into

Re: defer rendering of block

2008-02-26 Thread Kristian Marinkovic
i agree with you partially :) but what if i want to nest more complex components in the loop within my block?... and what is the point of having a component based framework if i can't reuse it (ActionLink for link generation) thanks for your feedback "Davor Hrg" <[EMAIL PROTECTED]> 26.02.20

Re: defer rendering of block

2008-02-26 Thread Davor Hrg
generating action links is not much rendering :) On Tue, Feb 26, 2008 at 12:07 PM, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: > hi davor, > > rendering the document only using Tapestry's dom API is > one possibility... but only if you don't have to render too much > markup :) > > my block

Re: defer rendering of block

2008-02-26 Thread Kristian Marinkovic
hi davor, rendering the document only using Tapestry's dom API is one possibility... but only if you don't have to render too much markup :) my block contains a Loop that generates a list of ActionLink components... i somehow want to avoid doing it all manually g, kris "Davor Hrg" <[EMAIL

Re: defer rendering of block

2008-02-26 Thread Davor Hrg
tapestry uses dom while generating page, it would be very complicated to defer all rendering, but you can hold on to references of any of created elements and change attributes.. etc... if you can minimize things that need to be deferred it will be simpler to do. look at corelib.Label for example

defer rendering of block

2008-02-26 Thread Kristian Marinkovic
is there a way to defer the rendering of a block? i can render this part of my component only when the Heartbeat service starts executing its Runnable instances because only then i've gathered the necessary data from the page g, kris

Re: Tapestry 5 Error handling

2008-02-26 Thread Peter Stavrinides
Hi Filip, That's clever!, definitely worth looking into, I could modify my service quite easily, thanks for your comment ! Filip S. Adamsen wrote: Hi Peter, I've turned the RequestExceptionHandler service into a pipeline, which seems to work quite well for my applications. I inject the Def

Re: Calling javascript after asynchronous update

2008-02-26 Thread Richard Hoberman
Just a note to confirm that this does work with the 4.1.5 snapshot. Andreas Andreou wrote: Can you try it with a recent snapshot? http://people.apache.org/maven-snapshot-repository/org/apache/tapestry/tapestry-framework/4.1.5-SNAPSHOT/ I think someone mentioned that something like this now shou

Re: T5.0.11-SNAPSHOT - tapestry-hibernate out of date

2008-02-26 Thread Patrick Moriarty
In the meantime, I downloaded the source and deployed to our internal maven repository. On 25/02/2008, Daniel Jue <[EMAIL PROTECTED]> wrote: > > Thanks Howard. I am experiencing this problem as well. > > > On Mon, Feb 25, 2008 at 12:01 PM, Howard Lewis Ship <[EMAIL PROTECTED]> > wrote: > > Typica

Re: T5.0.10: DateField on IE

2008-02-26 Thread Martin Grotzke
If you're working on linux, there's the possibility to run IE: http://www.tatanka.com.br/ies4linux/page/Main_Page Cheers, Martin On Mon, 2008-02-25 at 12:08 -0800, Howard Lewis Ship wrote: > I've done some work on it in 5.0.11, and tested with Mac Firefox 2 and > Windows IE 7. I don't have acce