Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-25 Thread Martijn Brinkers
This posting also report similar problems and it was 'solved' by disabling the statement cache. https://jira.jboss.org/jira/browse/JBPORTAL-1287 Martijn On Thu, 2008-07-24 at 22:57 -0700, Martijn Brinkers (List) wrote: Sounds to me something related to the PreparedStatement cache. Do you use

Re: [T4] Using differ validator on async form?

2008-07-25 Thread Andreas Andreou
Wouldn't the encode parameter of http://tapestry.apache.org/tapestry4.1/components/form/hidden.html help here? On Fri, Jul 25, 2008 at 8:02 AM, Kalle Korhonen [EMAIL PROTECTED] wrote: Ah, just answering to myself and for future reference. The form components don't need to do anything special to

Missing output with global layouts (T5)

2008-07-25 Thread Udo Abel
I'm posting this for future searches on similiar problems: After renaming the package of my app I had strage effects in the output: Part of the pages where missing, depending on the follow-up tags, e.g., in the tml pPrintOrNorp t:form /t:form the PrintOrNot paragraph only got printed,

T5.0.14-SNAPSHOT and UTF8

2008-07-25 Thread José Paumard
Hello all, For a few days, I have noticed what seems a regression to me : all my non-ASCII chars are output badly in my HTML pages. I took back 5.0.13, and all was ok again. Is it me, or have you noticed the same things ? Thank you, José

Re: https to https

2008-07-25 Thread Kristian Marinkovic
hi, if i recall it correctly the @Secure annotation was added in version 5.0.11 try to update to the latest stable version 5.0.13 anyway. g, kris tapestry5 [EMAIL PROTECTED] 24.07.2008 23:02 Bitte antworten an Tapestry users users@tapestry.apache.org An users@tapestry.apache.org Kopie

Re: [T5]: Hibernate question - session is null

2008-07-25 Thread photos
I'm using Eclipse. The XML config appears in target/classes and appears to be in the classpath. I'm afraid I'm rather new to Tap 5 and also to Hibernate. I'm just following what is in the Tutorial. Unfortunately the session is still coming out as null. Is there anywhere I can see that

Showing the GET URL with search parameters

2008-07-25 Thread Suran Jayathilaka
Hi, I'm new to Tapestry and am trying to do the following. I have a search form. in the @OnEvent(submit) public Object doSearch() method, the search params are stored into the session and the result class is returned. How can I do the same while showing a GET style URL with all the search

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-25 Thread Chris Lewis
Yep, that solved it. property name=hibernate.c3p0.max_statements0/property After that prepared statements work as normal. Doesn't the hibernate.c3p0.max_statements directive help improve performance though? I mean, wouldn't it if it didn't fall over ... ;-) Thanks Martijn, I'm glad I'm not

Re: https to https

2008-07-25 Thread 9902468
Hmm, I wouldn't call it latest stable yet, perhaps latest beta? :thinking: kristian.marinkovic wrote: hi, if i recall it correctly the @Secure annotation was added in version 5.0.11 try to update to the latest stable version 5.0.13 anyway. g, kris tapestry5 [EMAIL

Re: [T5]: Hibernate question - session is null

2008-07-25 Thread 9902468
Check that the @Inject private Session session; session is org.hibernate.Session. - 99 photos-4 wrote: I'm using Eclipse. The XML config appears in target/classes and appears to be in the classpath. I'm afraid I'm rather new to Tap 5 and also to Hibernate. I'm just following

Re: Showing the GET URL with search parameters

2008-07-25 Thread 9902468
One way to do it is to use PageLink and activation context, more of it here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html especially Page activation part. Using that tapestry creates ursl like http://localhost:8080/Products/View/2345 where the last part is the

Re: t5components - Window

2008-07-25 Thread 9902468
Might be because environmentals can't be used during Ajax requests, at least I have banged my head to wall many times because of that. If Sven has plenty of time in his hands could I request a window that takes it's contents as a block? =) - 99 Petros Petrou wrote: Hi Sven, I had

T5 palette problem - disabled buttons

2008-07-25 Thread Janko Muzykant
hi there, there is closed jira issue (TAPESTRY-2185) that describes palette problem with disabled buttons. it seems it should be reopened. i may reproduce the situation when add/remove arrows stay disabled, no matter if something is selected or not. it happens almost (!) everytime the form is

Re: [T5]: Hibernate question - session is null

2008-07-25 Thread 9902468
Tapestry should be quite verbose about hibernate if tapestry is configured to run in debug mode: http://tapestry.apache.org/tapestry5/tapestry-core/guide/conf.html add: //This is the time in seconds that Tapestry waits before checking if a file is modified //Use a big number in

Re: [T5]: Hibernate question - session is null

2008-07-25 Thread 9902468
And of course, check that you have Hibernate and hibernate annotation in your libraries, they are NOT included automatically by maven if maven is used. - 99 photos-4 wrote: I'm using Eclipse. The XML config appears in target/classes and appears to be in the classpath. I'm afraid

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-25 Thread Angelo Chen
Hi, I also use hibernate in dispatcher and some strange errors occurs, after debugging whole day without any result, I commented out c3p0, and it works, from there I proceeded, looks like disabling c3p0 is a good debugging method when hibernate is giving out strange errors. Chris Lewis-5

How to replace ComponentClassResolverImpl

2008-07-25 Thread Jost Bökemeier
Hi, I would like to run a JSR 223 script engine within tapestry 5. I think this could be possible, provided that the ComponentClassResolver and some other places can be customized. Basically we need a way to intercept the class check and reloading and return our own generated class code

Re: [T5]: Hibernate question - session is null

2008-07-25 Thread photos
Quoting 9902468 [EMAIL PROTECTED]: Check that the @Inject private Session session; session is org.hibernate.Session. - 99 It is. I notice that when I switch on the mysql log that no attempt is ever made to access the db. Is there any kind of logging I can switch on from Tapestry

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-25 Thread Martijn Brinkers (List)
Could be a c3po or database driver bug. Are you using the latest versions? Martijn On Fri, 2008-07-25 at 06:49 -0400, Chris Lewis wrote: Yep, that solved it. property name=hibernate.c3p0.max_statements0/property After that prepared statements work as normal. Doesn't the

Re: [T5]: Hibernate question - session is null

2008-07-25 Thread photos
Thanks for your help, but so far no joy: Quoting 9902468 [EMAIL PROTECTED]: And of course, check that you have Hibernate and hibernate annotation in your libraries, they are NOT included automatically by maven if maven is used. The libraries appear in my repository and appear under

Re: Showing the GET URL with search parameters

2008-07-25 Thread Suran Jayathilaka
Thanks for your reply. I manged to get what I wanted by doing the following in the search component class. I found it in the mail archives. @Inject private ComponentResources componentResources; @OnEvent(submit) public Object doSomething(){ Link searchLink;

[T5] Strange Tomcat Behavior I Can Not Explain

2008-07-25 Thread Martin Kersten
Hi There, I encounter a strange Tomcat (6.0.14) behavior. When deploying my Tapestry web-application (5.0.13), Tomcat tells me that pages are not available unless I specify the root-page without context first. Just an Example to be more illustrative: 1. Deploy myApp 2. Visit Page

Re: 5.0.13 IE javascript error

2008-07-25 Thread Joachim Van der Auwera
Thanks Sven, that really helped to assure I don't need to include prototype in the layout template. Unfortunately I stil get the script error though. Will try to figure out how to fix that. Kind regards, Joachim Sven Homburg wrote: here some ugly code sequences hope that helps example

Re: https to https

2008-07-25 Thread tapestry5
Is there any thing i can do with version 5.0.10. How can this be possible that before 5.0.11 version Https was not supported. kristian.marinkovic wrote: hi, if i recall it correctly the @Secure annotation was added in version 5.0.11 try to update to the latest stable version 5.0.13

Re: https to https

2008-07-25 Thread Martijn Brinkers (List)
You can always configure your servlet engine (Tomcat, Jetty, etc.) to make it useHTTPS. HTTPS is not some 'feature' of a web toolkit, it's a feature of the servlet engine. The @Secure annotation is just a helpful addition that tells the servlet egine that it should switch to HTTPS for that page.

Re: EagerLoad service doesn't use PerThread service correctly

2008-07-25 Thread Franz Amador
Thanks, Howard. Splitting my per-thread service into interface and implementation did the trick. My intent, by the way, is to have all threads share the singleton eager-load service but for some of that service's behavior to be per-thread, provided by the per-thread service. This is an odd

Re: [T4] Using differ validator on async form?

2008-07-25 Thread Kalle Korhonen
Hmm, that's exactly what I said, no? Kalle On Thu, Jul 24, 2008 at 11:21 PM, Andreas Andreou [EMAIL PROTECTED] wrote: Wouldn't the encode parameter of http://tapestry.apache.org/tapestry4.1/components/form/hidden.html help here? On Fri, Jul 25, 2008 at 8:02 AM, Kalle Korhonen [EMAIL

Re: [T4] Using differ validator on async form?

2008-07-25 Thread Andreas Andreou
it is? sorry, i misunderstood :) On Fri, Jul 25, 2008 at 8:26 PM, Kalle Korhonen [EMAIL PROTECTED] wrote: Hmm, that's exactly what I said, no? Kalle On Thu, Jul 24, 2008 at 11:21 PM, Andreas Andreou [EMAIL PROTECTED] wrote: Wouldn't the encode parameter of

Re: https to https

2008-07-25 Thread Filip S. Adamsen
I'm sure Kristian means stable as opposed to snapshot. :) -Filip On 2008-07-25 14:22, 9902468 wrote: Hmm, I wouldn't call it latest stable yet, perhaps latest beta? :thinking: kristian.marinkovic wrote: hi, if i recall it correctly the @Secure annotation was added in version 5.0.11 try

Explorer like tree component

2008-07-25 Thread Hugo Palma
I was wondering if anyone knows of a component for T5 that displays a tree with behaviour similar to this http://www.treemenu.net/treemenu/3fr_beenthere.html I just need expanded / collapsible nodes, with the plus / minus sign and configurable node icons. Thanks.

Re: Explorer like tree component

2008-07-25 Thread Toby Hobson
I have written a component based on treemenu. I'll happily send you the code but it comes with no warranty!! Toby - Original Message From: Hugo Palma [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Friday, 25 July, 2008 6:41:02 PM Subject: Explorer like tree

Re: Explorer like tree component

2008-07-25 Thread Daniel Jue
Toby, please add yours to the Wiki if you can! There is already a T5 Tree component there based on a DHTMLGoodies tree. (That one needs updating, but I have a working version of it on my current work project. Mine is a bit more complex, but should support multiple trees per page.) Perhaps