Re: Hibernate validator

2008-05-18 Thread Olle Hallin
+1! FYI, see http://opensource.atlassian.com/projects/hibernate/browse/HV-44 . Good luck! Olle 2008/5/18 Toby Hobson <[EMAIL PROTECTED]>: > Hi > > I was thinking of integrating the hibernate-validator with T5's validation > framework (or trying to!) so I can re-use the validation rules I

Grid Global Data

2008-05-18 Thread Todd Orr
I'm probably overlooking something trivial. I have a form that populates a result list that is session persistent. I view this page in Firefox and I see my results. What's strange is that if I navigate to the page with IE I see the same results. Does the grid store its data in the application scope

Unit testing T5 pages/components

2008-05-18 Thread Toby Hobson
Can anyone recommend a suitable testing strategy for T5 components - I've looked at PageTester which seems suitable but I'm injecting spring managed beans into my components and PageTester is unable to see them. I tried to Inject the beans manually using a setter on the component but PageTester

Tap 5.0.11 : How to access mixin of a given component

2008-05-18 Thread Shing Hing Man
I am trying to use mixins to turn the standard checkbox components into a checkbox group. controller is a parameter of mixin ControlledCheckbox. In ControlledCheckbox.java, I am trying to register the red and blue checkboxes with the mixin ControlChec

Re: Little confused

2008-05-18 Thread Toby Hobson
snap! - Original Message From: Filip S. Adamsen <[EMAIL PROTECTED]> To: Tapestry users Sent: Sunday, 18 May, 2008 6:17:09 PM Subject: Re: Little confused Hi, Bleeding edge 5.0.12-SNAPSHOT at the moment. @Property autogenerates getters and setters so you can just specify getters and se

Re: Little confused

2008-05-18 Thread Toby Hobson
@Property is certainly in 5.0.11, you can also achieve the same effect with standard getters and setters - in fact this is probably a better idea because it makes it easier to test your pages IMHO Toby - Original Message From: Manuel Corrales <[EMAIL PROTECTED]> To: Tapestry users Sen

Re: Little confused

2008-05-18 Thread Filip S. Adamsen
Hi, Bleeding edge 5.0.12-SNAPSHOT at the moment. @Property autogenerates getters and setters so you can just specify getters and setters yourself if you don't have access to @Property in your version of Tapestry. -Filip On 2008-05-18 16:33, Manuel Corrales wrote: Hi Filip, i have no @Proper

Re: Javascript error in datefield component

2008-05-18 Thread Filip S. Adamsen
Simply refreshing won't clear cached scripts etc. You'll have to force a complete reload to do that. Usually holding ctrl or shift while pressing Refresh works. -Filip On 2008-05-18 16:18, sparqle wrote: Yes, I refreshed it. For example, if I change the title of the start page, I can see the

Help with Tapestry 3.4 and Stale Link Error

2008-05-18 Thread David Moskowitz
Hello Users, I just cannot figure this one out. It seems like this error just started out of nowhere. Of course this is probably not the case, but no changes I made seem to contribute to this error. anyway. I can get the following stale link error simply by clicking the form's search butto

Re: Little confused

2008-05-18 Thread Manuel Corrales
Hi Filip, i have no @Property annotation on my Tapestry version. What version are you using? On Sat, May 17, 2008 at 7:55 PM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > Hi, > > I've found the following pattern to work very well - at least I use it > everywhere on several sites in production wi

Re: Javascript error in datefield component

2008-05-18 Thread sparqle
Yes, I refreshed it. For example, if I change the title of the start page, I can see the change on the browser. However, the date issue is not going away. To see exactly what I am seeing, you can download and import the t5demo.war file (from http://code.google.com/p/tapestry4nonbelievers/downloads

Re: getting ClassFactory is matched by 2 services After upgrade from 5.06 -> 5.0.11

2008-05-18 Thread Toby Hobson
Check your classpath - one of your dependencies (which may be nested) might be putting something on the classpath which is conflicting with Tapestry's classes. Have you upgraded all your other Tapestry dependencies e.g. tapestry-spring etc? Toby - Original Message From: Britske <[EMAI

Hibernate validator

2008-05-18 Thread Toby Hobson
Hi I was thinking of integrating the hibernate-validator with T5's validation framework (or trying to!) so I can re-use the validation rules I have already defined on my model (kinda like JBoss seam). Firstly is anyone else working on anything like this? Secondly do you think this would be usef

getting ClassFactory is matched by 2 services After upgrade from 5.06 -> 5.0.11

2008-05-18 Thread Britske
After upgrading tapestry from 5.0.6 to 5.0.11 I'm getting the following error: Caused by: java.lang.RuntimeException: Service interface org.apache.tapestry.ioc.services.ClassFactory is matched by 2 services: ClassFactory, ComponentClassFactory. Automatic dependency resolution requires that exac

Re: Javascript error in datefield component

2008-05-18 Thread Geoff Callender
Did you forcibly refresh/reload the page/frame? You might be picking up the old one from the browser's cache. Geoff On 18/05/2008, at 1:54 PM, sparqle wrote: I upgraded my project to 5.0.11 and I still have this problem. On Firefox 2, the datepicker is visible, but is not aligned closely

Re: T5 troubles

2008-05-18 Thread maxthesecond
God bless you! So, it's real IMHO when user writes a component or class template he should not be woried to much about this oddities,so I expect that soon or later there will be no need to apply special patches to obtain normal behaviour Thanks a lot...I will endure with my for a while...

Re: T5 troubles

2008-05-18 Thread Filip S. Adamsen
Hi, It's what others are seeing. But you can do something about it: http://wiki.apache.org/tapestry/Tapestry5HowToXhtml -Filip On 2008-05-18 10:42, maxthesecond wrote: I forget to mention this third case component result The specifications about br in xhtm states that correct co

Re: how can I call a web url from actionlink

2008-05-18 Thread jg433
thank you very much :-) -Ursprüngliche Nachricht- Von: "Tapestry users" Gesendet: 17.05.08 17:48:23 An: "Tapestry users" Betreff: Re: how can I call a web url from actionlink Return an URL object: @OnEvent (component="quitGame") Object onQuit() throws MalformedURLException {

Re: Does the Palette works inside a zone/block

2008-05-18 Thread Massimo Lusetti
On Sun, May 18, 2008 at 10:02 AM, Chris Lewis <[EMAIL PROTECTED]> wrote: > https://issues.apache.org/jira/browse/TAPESTRY-2390 I was already watching that issue... now it has my vote too. -- Massimo http://meridio.blogspot.com ---

Re: T5 troubles

2008-05-18 Thread maxthesecond
I forget to mention this third case component result The specifications about br in xhtm states that correct correct and correct and recomended for compatibility isues. Now :however I write the tags in a tapestry component in the output I get tag wich is as you know incorrect.

Re: Does the Palette works inside a zone/block

2008-05-18 Thread Chris Lewis
Hi Massimo, Under some situations it will work, specifically if the asset files (js, css) have been included before the ajax request. Otherwise the palette, like all components using external js and css, will not work because of this issue (patch included): https://issues.apache.org/jira/browse/T