Configuring Tapestry to use TestNG, Selenium, and Cucumber Step Definitions.

2013-08-02 Thread George Christman
Hello, I've recently been asked to integrate Cucumber step defs in to my application which currently uses TestNG and Selenium. I've been looking around on the web for some documentation on how to do it, but have come up blank. Is there anybody using this test configuration and if so do you happen t

Re: tapestry 5.2.5 doesnot work on Jboss 6

2013-08-02 Thread Kalle Korhonen
I agree with Igor that this shouldn't be in the core but I can totally see a need for a support library like tapestry-jboss. I don't use jboss myself. If somebody verifies and/or makes the patch to work on Jboss 5/6/7, I'm willing to create a library around it, release it and host the source on Tyn

Re: tapestry 5.2.5 doesnot work on Jboss 6

2013-08-02 Thread rukmini n
Hi Geoff, http://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss7Dot1 I did follow instructions from above, which is adding ClasspathUrlConverterJboss6 and adding contributeServiceOverride method. But it doesnot seem to be working. Bards, You are right. I went through the Jira. It looks like I

Re: tapestry 5.2.5 doesnot work on Jboss 6

2013-08-02 Thread Lenny Primak
Big +1 for me. One of the reasons we actually switched from JBoss to Glassfish was that Tapestry didn't work with JBoss and I couldn't fix it. I prefer Glassfish to JBoss now, but I am sure it will turn off many people from Tapestry, because it doesn't run out of the box On Aug 2, 2013, at 3

RE: Tapestry 5.4 - Question about Autocomplete

2013-08-02 Thread Alex Pasialis
Hi Serge, Sorry, I already know how to bind a mixin to a field. Anyone else? Thanks Alexis > Date: Fri, 2 Aug 2013 07:43:50 -0700 > From: sd...@hotmail.com > To: users@tapestry.apache.org > Subject: RE: Tapestry 5.4 - Question about Autocomplete > > See Tapestry-core integration tests here: >

RE: Tapestry 5.4 - Question about Autocomplete

2013-08-02 Thread Serge Eby
See Tapestry-core integration tests here: https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;a=blob;f=tapestry-core/src/test/app1/AutocompleteDemo.tml;h=226b1f35f857a964fef80f0b6b4db97b84397b81;hb=HEAD https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;a=blob;f=tapestry-core/src/test/

RE: Tapestry 5.4 - Question about Autocomplete

2013-08-02 Thread Alex Pasialis
I am not using the tapestry-jquery library anymore. Tapestry's built-in Autocomplete is using JQuery now. Can anyone post a simple working example please? Thanks Alexis > Subject: Re: Tapestry 5.4 - Question about Autocomplete > From: tawus.tapes...@gmail.com > Date: Fri, 2 Aug 2013 12:49:07 +05

Re: kaptcha deployment error

2013-08-02 Thread Lance Java
1. Tapestry is built on top of an IOC container (called unimaginatively Tapestry IOC) 2. Services are added to the IOC registry by an IOC Module ( http://tapestry.apache.org/tapestry-ioc-modules.html) 3. Components often require Services 4. Component libraries can include a "Tapestry-Module-Classes

Re: kaptcha deployment error

2013-08-02 Thread Nikola Vulovic
do not know why? Services are not very clear to me and documentation is unclear it worked when I removed line binder.bind(KaptchaProducer.class, KaptchaProducerImpl.class); On Fri, Aug 2, 2013 at 5:21 AM, Nikola Vulovic wrote: > this is the error: > java.lang.RuntimeException: Service id 'Kaptc

Re: Tapestry 5.4 - Question about Autocomplete

2013-08-02 Thread Emmanuel DEMEY
The 5.4-alpha branch of Tapestry5-jQuery is not ready yet. i worked on it a lot few months ago, but still some modifications to do. Manu 2013/8/2 Taha Hafeez Siddiqi > You have to add(require) javascript containing autocomplete plugin > > require.config({ >shim: { > "path/to/auto-comp

Re: nullpointer exception

2013-08-02 Thread Will N.
Proble solved! There was an error in my getter method for the concerned entity! Am 02.08.2013 09:06, schrieb Will N.: Hi, i have some issues trying to save an Entitie in the database after filling the coresponding form. In fact i figured out that the Entity(Object) is Null after a press the sa

Re: nullpointer exception

2013-08-02 Thread Volker Lamp
Make sure you properly initialize the object referenced by the form. The onPrepare() method is a good place to do that. Am 02.08.2013 um 09:06 schrieb "Will N." : > Hi, > i have some issues trying to save an Entitie in the database after filling > the coresponding form. In fact i figured out

Re: nullpointer exception

2013-08-02 Thread Ivan Khalopik
It happens because your entity is null. It can be because you didn't initialize it in prepare for submit handler or with page activation context. On Fri, Aug 2, 2013 at 10:06 AM, Will N. wrote: > Hi, > i have some issues trying to save an Entitie in the database after filling > the coresponding

Re: kaptcha deployment error

2013-08-02 Thread Taha Hafeez Siddiqi
Why are you binding KaptchaProvider service in your AppModule when it is already bound in tapestry-kaptcha ? regards Taha On 02-Aug-2013, at 8:51 AM, Nikola Vulovic wrote: > this is the error: > java.lang.RuntimeException: Service id 'KaptchaProducer' has already been > defined by > org.apach

Re: Tapestry 5.4 - Question about Autocomplete

2013-08-02 Thread Taha Hafeez Siddiqi
You have to add(require) javascript containing autocomplete plugin require.config({ shim: { "path/to/auto-complete": ["query"] } }); That may be part of jquery.ui.js which is included by Tapestry-jQuery. BTW there is an 5.4-alpha branch in tapestry-jquery but I am not sure about its

Re: tapestry 5.2.5 doesnot work on Jboss 6

2013-08-02 Thread Bård Magnus Kvalheim
Hi. I know it's JBoss's fault and all that, but shouldn't 'we' support jboss out of the box anyways? Either in core(preferred) or as a module? Might be wrong, but it just seems like such a small thing to add. Community/ Benjamin/Geoff already did all the work. Think it's a bad experience having to

nullpointer exception

2013-08-02 Thread Will N.
Hi, i have some issues trying to save an Entitie in the database after filling the coresponding form. In fact i figured out that the Entity(Object) is Null after a press the save button of the form. This is confusing because I do not have this effect with other entities and forms of my applica