Re: Testing Tapestry webapps with Selenium

2011-01-26 Thread Ulrich Stärk
Since these are edit or delete links this would be ambigous. I guess there will be dozens of links called edit on that page. On 26.01.2011 15:49, Mark wrote: On Wed, Jan 26, 2011 at 5:14 AM, Matias Moran wrote: But, the problem here is that I don't know the position in the Grid of the eleme

Re: creating an InPlaceSelect control

2011-01-26 Thread Josh Canfield
>    void beginRender(MarkupWriter writer) { >                writer.element("t:select", >                                "t:id", getClientId(), >                                "model", model, >                                "value", value); > >        resources.renderInformalParameters(writer);

Re: [5.1] Confusing ZoneUpdater behavior

2011-01-26 Thread Josh Canfield
> On my local machine, it runs as expected. I take in parameters from a TML > declaration of the mixin on a Submit button. I have it bind via Prototype to > the mouseup event to fire a method that returns via AJAX back to the Page > class. I just re-read your original post. Are you canceling the f

Re: Need help upgrading JumpStart examples to Tapestry 5.2

2011-01-26 Thread françois facon
Hi Geoff, to my point of view, the update is complete. https://github.com/frafac-JumpStart/jumpstart-5.2.4.0 Regards François Le 9 janvier 2011 18:54, françois facon a écrit : > Hi Geoff, > I use your site every time I need to show to someone how much Tapestry is > powerful. > So I very happy

Re: Tapestry 4.1 injecting the wrong application state object

2011-01-26 Thread Howard Lewis Ship
It isn't familiar to me. Once possible way things could go awry would be for you to keep a reference to some page as a property of some other page ... that can result in data moving into and out of the page without Tapestry's normal lifecycle to initialize it and clean it out. I'd look along those

Re: creating an InPlaceSelect control

2011-01-26 Thread hese
If you see my previous post, I have included my own context value.. context="program.id" Using firebug I see that the post for the onChange event looks like this - http://localhost:8080/fcc/programs.inplaceselect:internalevent/9007 9007 is program.id...but that doesnt get passed into the eve

Re: creating an InPlaceSelect control

2011-01-26 Thread LLTYK
Just a guess, but change your tml to have a context along with changing the event handler. t:mixins="ck/OnEvent" t:event="change" t:context="contextyoumakeup" -- View this message in context: http://tapestry-users.832.n2.nabble.com/creating-an-InPlaceSelect-control-tp5963248p5963981.html Sent

Re: creating an InPlaceSelect control

2011-01-26 Thread hese
ok, i tried the mixin ... i am not receiving the context parameter in the onEvent handler... I checked the chenillekit's onEvent documentation and they say: "The context for the link (optional parameter). This list of values will be converted into strings and included in the URI. The strings wi

Re: creating an InPlaceSelect control

2011-01-26 Thread hese
thanks for your response. Yes, I saw some examples using onEvent mixins...but my use case is that i have to generate this select control for every row in a table/grid. So if I use this mixin, will it be able to get back the particular row id for which the onChange event occured, or just the val

Re: creating an InPlaceSelect control

2011-01-26 Thread LLTYK
Just use the chenillekit onevent mixin. Unfortunately it'll only pass the selected value as a string. So you'd have to translate the string back into your object. @OnEvent(component = "TheSelect", value = "change") void onSelected(String value) { } -- View this message in context:

creating an InPlaceSelect control

2011-01-26 Thread hese
Hi, I am trying to create an ajax enabled select control, much like chenilleKits InPlaceCheckbox...so i copied the .js and .java files and tried to customize it for a select control. I ran into problems passing the 'model' parameter. instead of taking the model parameter to use it to generat

Re: [5.1] Confusing ZoneUpdater behavior

2011-01-26 Thread Rich M
Oh wow, I never thought of that.. so it was racing between triggering the zone event and the form submission then I'm guessing? I tried moving a single breakpoint to the ZoneManager call and then resuming the JS again. That wasn't working in Firebug, the only way was if I stepped past the ZoneM

Re: Testing Tapestry webapps with Selenium

2011-01-26 Thread Mark
On Wed, Jan 26, 2011 at 5:14 AM, Matias Moran wrote: > But, the problem here is that I don't know the position in the Grid of the > elements. So, is there a way to iterate the rows of a Grid, looking for a > particular element? Do you know the name of the link? Can you use something like: clic

Re: Tapestry 4.1 injecting the wrong application state object

2011-01-26 Thread Pepijn Schmitz
No, not yet! :-( Anyone else have any idea? In short: my Page objects occasionally get the wrong application state object injected by Tapestry 4.1! I've been looking into it, but it's very hard to see what's going on with all the synthetic classes created by Hivemind. But one clue I got by

Re: Testing Tapestry webapps with Selenium

2011-01-26 Thread Matias Moran
Hi! It's probably better to use an approach like Mark's suggestion in my case, given that I have no idea the IDs of the elements, because these depend on the database. But, the problem here is that I don't know the position in the Grid of the elements. So, is there a way to iterate the rows of

Re: Question on Tapesry Services IoC

2011-01-26 Thread Nicolas Barrera
Well, thanks again Alex so now I know which key to contribute to... cheers! Nicolás.- On Wed, Jan 26, 2011 at 12:59 AM, Alex Kotchnev wrote: > And again - it looks like this documentation is properly populated in > trunk; > however, it was not reflected in the documentation on the website. >

Re: FCKEditor/ChenilleKit Editor and zoneupdate mixin

2011-01-26 Thread jeczmien
Ok. I'll try. Thank you for help (and patch :) ). -- View this message in context: http://tapestry.1045711.n5.nabble.com/FCKEditor-ChenilleKit-Editor-and-zoneupdate-mixin-tp3356186p3357557.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: FCKEditor/ChenilleKit Editor and zoneupdate mixin

2011-01-26 Thread Joost Schouten (ml)
Hi, The issue was reported for version 1.2.0 but is still relevant. The patch works with 1.3.1-SNAPSHOT which is the current trunk, but has not been included in the trunk or release (yet). You would have to get the source [1], apply the patch and build yourself. Hope it helps, Joost [1]:

Re: [ANN] Manning Publications translates my Tapestry 5 book

2011-01-26 Thread Koka Kiknadze
Thanks