Re: [T5] How to handle DAOs?

2008-08-09 Thread Sven Homburg
eventualy this helps you http://87.193.218.134:8080/t5components/t5c-contrib/howto_dao.html 2008/8/9 Onno Scheffers [EMAIL PROTECTED] Hi, I am having some troubles figuring out the proper way to use DAO services using tapestry-hibernate. The documentation describes how to write the DAO

Re: T5: Form using Zone with two submits - possible bug?

2008-08-09 Thread Stephane Decleire
Hi Mike, This is a bug tracked in JIRA as TAPESTRY-2324 and TAPESTRY-2505. Stephane Mike Leonardo a écrit : Hello, I have a form that uses the zone parameter so that the submission is handled as an Ajax reload. The problem is that my form has two submit buttons, but Tapestry seems to always

Snapshot repository down - alternative?

2008-08-09 Thread Dragan Djuric
Hi, It seems that the repository at http://tapestry.formos.com/maven-snapshot-repository is down (at least I cannot access it). Due to other dependencies and code refactoring I cannot use versions earlier then the latest snapshot. Two short questions: 1. What is the problem with the repository

Re: [T5] How to handle DAOs?

2008-08-09 Thread Onno Scheffers
Hi Sven, you are right, that does help me, thanks a lot! It's quite different from the directions the official tapestry-hibernate user guide gave me about DAOs, but it works very well. Just wondering if the code in the t5c-contrib package is production-ready? regards, Onno Scheffers

Re: Snapshot repository down - alternative?

2008-08-09 Thread Toby Hobson
The repo isn't working for me (in England) :-( Toby 2008/8/9 Dragan Djuric [EMAIL PROTECTED] Hi, It seems that the repository at http://tapestry.formos.com/maven-snapshot-repository is down (at least I cannot access it). Due to other dependencies and code refactoring I cannot use

Re: [T5] How to handle DAOs?

2008-08-09 Thread Sven Homburg
myself is using the chenillekit modules for my own customer projects but the libraries are poorly documented. for the future i suggest the using of chenillekit http://code.google.com/p/chenillekit/ 2008/8/9 Onno Scheffers [EMAIL PROTECTED] Hi Sven, you are right, that does help me, thanks a

Re: Snapshot repository down - alternative?

2008-08-09 Thread Dragan Djuric
I tried building Tapestry from the source with no luck: some tests fail. So, I really have to wait Snapshot rep to become available. Here is the console output of this unsuccessfull build: -- T E S T S

Re: T5 http - https redirect hang on IE6

2008-08-09 Thread Argo Vilberg
hi, My solution is that i write login and rolechooser page together. Problem is that if i use Login.page as redirection page then in ie6 redirection hangs. But if i user Login page same as to do ssh+IDcard authentication and show after that roles. Then all works fine. Also i find new bug, if

Re: Tapestry5 and css in IE6 and IE7

2008-08-09 Thread Argo Vilberg
Ok thanx. This version works very well! package ee.softpro.components; import org.apache.tapestry5.annotations.BeginRender; import org.apache.tapestry5.annotations.AfterRender; import org.apache.tapestry5.annotations.Parameter; import org.apache.tapestry5.MarkupWriter; public class

T5: Unpredictable deploy behaviour in tomcat 6 error - TapestryException FormSupport at ... corelib/pages/ExceptionReport.tml

2008-08-09 Thread adasal
org.apache.tapestry.ioc.internal.util.TapestryException: org.apache.tapestry.services.FormSupport [at classpath:org/apache/tapestry/corelib/pages/ExceptionReport.tml, line 11, column 45] Does anyone know the way round this? This is the basic test application - Tapestry5Test1. I have been able to

Re: [T5] How to handle DAOs?

2008-08-09 Thread Chris Lewis
Onno, The thing to know about tapestry-hibernate is that it creates a proxy for the actual hibernate session. When you use the injected session it actually gets the session for the current thread, via the HibernateSessionManager I believe. So when you instantiate your DAO with a session in the

Re: Getting users timezone-offset (javascript)

2008-08-09 Thread Peer Brink
On Tue, Aug 5, 2008 at 18:59, Josh Canfield [EMAIL PROTECTED] wrote: I looked around a bit for a solution once and ended up just sticking the offset into a hidden form field. Dear Josh, this in fact is working and seems to be a quite simple solution compared to other possibilties I was

Re: Transmitting a javascript-value to the server using JSON

2008-08-09 Thread Peer Brink
Dear Toby, thanks for your comments on this. But I decided to use a hidden form field (from t5components) and fill it with the offset-value using javascript. It seems to me that this is the simpler solution. I described the details in another thread (subject: Getting users timezone-offset

Tapestry5, grid and checkbox

2008-08-09 Thread Argo Vilberg
hi, Is it possible to user T5 GRID with combobox component? I want use grid in form component, and after form submits save checked items to database. Is this possible after all? I cant find any example. Argo

Re: Snapshot repository down - alternative?

2008-08-09 Thread Howard Lewis Ship
The tapestry.formos.com server is currently in transit between Formos' old and new offices. On Sat, Aug 9, 2008 at 2:15 AM, Dragan Djuric [EMAIL PROTECTED] wrote: Hi, It seems that the repository at http://tapestry.formos.com/maven-snapshot-repository is down (at least I cannot access it).

T5: contributeValueEncoderSource

2008-08-09 Thread Ned Jackson Lovely
I'm using tapestry-hibernate, and I'm enjoying all the magic that it provides, but I'm having one issue. I'd like to provide my own ValueEncoderSources for my mapped entities. I need to do some security checks and other housekeeping as I load them. Unfortunately, when I attempt to do something

Re: T5: contributeValueEncoderSource

2008-08-09 Thread Howard Lewis Ship
Currently, it is all or nothing. It would be easy to add support for making entity value encoding optional (triggered by a symbol). Please add a JIRA issue. On Sat, Aug 9, 2008 at 3:37 PM, Ned Jackson Lovely [EMAIL PROTECTED] wrote: I'm using tapestry-hibernate, and I'm enjoying all the magic

Re: T5: Unpredictable deploy behaviour in tomcat 6 error - TapestryException FormSupport at ... corelib/pages/ExceptionReport.tml

2008-08-09 Thread adasal
All good. I notice I sent this seven hours ago, so 4 hours of work later ... 1. I deployed into Jetty which has far better error messages. There may be a setting in tomcat for this? It told me there were bad class versions. Of course! 2. In Eclipse land it is necessary to compile and run the

[T5] Custom component parameter value within a loop

2008-08-09 Thread Brendan McNichols
Hi All, I have been struggling with the following problem for quite a while. I have a custom component for which I have defined a parameter with a binding type of property. I have the component within a form that is within a loop on my page. The parameter of my component is bound to the