Re: Autocomplete mixin - Ajax request path

2010-12-16 Thread Inge Solvoll
I believe the code that generates the link you're talking about is on line 150 of AutoComplete.java in T5.2.4. Link link = resources.createEventLink(*EVENT_NAME*); By doing a little bit of digging from there, I found that the (internal) service LinkSource does the hard work. I'm not the right

Re: Autocomplete mixin - Ajax request path

2010-12-16 Thread Robert Zeigler
You could use the url rewriting functionality introduced in 5.1 (note: the api for this changes between 5.1 and 5.2). It allows you to rewrite incoming urls and links within the application. It's a public api. Robert On Dec 16, 2010, at 12/162:06 AM , Inge Solvoll wrote: I believe the code

Re: How i can have multiple components with t:id on the page.

2010-12-16 Thread Taha Hafeez
Hi Hi id and t:id are different. t:id is component id for server side tapestry use and id is for javascript. So you can always use a single onValueChangeFromEditor() for this use case to handle events from the editor as t:id of the component for each iteration in loop is the same. Hope it helps

Re: Tapestry 5, jetty, jdbc drivers, class reloading

2010-12-16 Thread Jabbar
Thanks. I'll try this sometime today. On 15 December 2010 13:17, Michael Gentry mgen...@masslight.net wrote: The Run Jetty Run plugin doesn't include Jetty Plus, so it doesn't support JNDI. I run Jetty through Maven from the command-line (or the M2Eclipse plugin) and it works fine. To use

Re: Tapestry 5, jetty, jdbc drivers, class reloading

2010-12-16 Thread Jabbar
Thanks. I'll have a look at this later on. On 15 December 2010 13:17, Michael Gentry mgen...@masslight.net wrote: The Run Jetty Run plugin doesn't include Jetty Plus, so it doesn't support JNDI. I run Jetty through Maven from the command-line (or the M2Eclipse plugin) and it works fine. To

Re: T5: Javascript problem

2010-12-16 Thread Andreas Andreou
I dont like this way of refering to nodes ( document.entryForm.oosComment ) i'm not sure how many browsers fully support this but it looks like this can work when nodes have the name attribute set. If i remember correctly, T5.1 used to include a name in each form but this was removed in 5.2 -

Re: Advanced Grid

2010-12-16 Thread Taha Hafeez
Hi Recently I had to a similar requirement. I created a new component, embedded a grid in it. It took filter block as a parameter. I extended GridDataSource to include filtering based on a filter object and this object was the bean for the filter block form Hope it helps regards taha On Wed,

RE: T5: Javascript problem

2010-12-16 Thread Newham, Cameron
Thanks Andreas. Yes, name attribute was the problem. I've changed to using getElementById and it's working again. c. -Original Message- From: andre...@gmail.com [mailto:andre...@gmail.com] On Behalf Of Andreas Andreou Sent: 16 December 2010 10:12 To: Tapestry users Subject: Re: T5:

Re: T5: Javascript problem

2010-12-16 Thread Nicolas Barrera
Hi Cameron, On Thu, Dec 16, 2010 at 8:03 AM, Newham, Cameron cameron.new...@bl.ukwrote: Should I be adding my JavaScript with JavaScriptSupport (and if so, where is documentation or an example? The only mention of JavaScript I can find is in the HOW-TOs which show it being added to the

Form Inheritance

2010-12-16 Thread Kado
Hi, I am working with a form that is used in 3 different places, so I tried to create an abstract form and extends from it. The problem with this is that Is not working the submit now. Anyone had this problem? Thanks. P.S. I am usign Tapestry 5.1

Re: Form Inheritance

2010-12-16 Thread Kado
Oh sorry, finally I found the problem after a day trying. It was a zone id problem. Nevermind. Thanks! On 12/16/2010 10:44 AM, Kado wrote: Hi, I am working with a form that is used in 3 different places, so I tried to create an abstract form and extends from it. The problem with this is

Re: T5: Javascript problem

2010-12-16 Thread Nicolas Barrera
Yes, it's true it might not be the fastest or easiest way, but I think it's good that Tapestry forces you to things the right way. Nicolás.-

Re: T5: Javascript problem

2010-12-16 Thread Richard Hill
One use case I have for putting javascript in .tml is to get a function to execute after a zone update. Due to Tapestry attaching onclick event handlers to actionlinks (as opposed to using onclick attribute), it's not that easy afaik to guarantee your own method will get called afterwards (the

Problem for write actionLink with markup writer

2010-12-16 Thread Cucchietti Denis
Hi all ! I've a question : it is possible to write an actionLink with a MarkupWriter ? I've tried to do : In my component : writer.writeRaw(a id='delete' href='../view.delete/+childLevel.getId()+?t:ac=+childLevel.getOrganism().getId()+'); But when I click on it's doesn't work, the page

Re: Problem for write actionLink with markup writer

2010-12-16 Thread Thiago H. de Paula Figueiredo
On Thu, 16 Dec 2010 13:05:31 -0200, Cucchietti Denis denis.cucchie...@atosorigin.com wrote: Hi all ! Hi! I've a question : it is possible to write an actionLink with a MarkupWriter ? Technically speaking, no, because you can only declare component instances in templates. In addition,

RE: Problem for write actionLink with markup writer

2010-12-16 Thread Cucchietti Denis
Thanks Thiago, Im trying to create a tree and for each node a menu. In this menu I have this action delete and I would like catch this event in order to delete the node from my page. -Message d'origine- De : Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Envoyé : jeudi 16

Re: Problem for write actionLink with markup writer

2010-12-16 Thread Thiago H. de Paula Figueiredo
On Thu, 16 Dec 2010 13:39:21 -0200, Cucchietti Denis denis.cucchie...@atosorigin.com wrote: Thanks Thiago, Im trying to create a tree and for each node a menu. In this menu I have this action delete and I would like catch this event in order to delete the node from my page. You need

RE: Problem for write actionLink with markup writer

2010-12-16 Thread Cucchietti Denis
Ok Thiago i will try it, thanks !! -Message d'origine- De : Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Envoyé : jeudi 16 décembre 2010 16:49 À : Tapestry users Objet : Re: Problem for write actionLink with markup writer On Thu, 16 Dec 2010 13:39:21 -0200, Cucchietti Denis

RE: Problem for write actionLink with markup writer

2010-12-16 Thread Cucchietti Denis
Thanks Thiago it's works !! Solution : writer.writeRaw(a id='delete' href=' + componentResources.createEventLink(delete, childLevel.getId()) + '); But use element() instead writeRaw ;-) -Message d'origine- De : Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Envoyé : jeudi

Re: Problem for write actionLink with markup writer

2010-12-16 Thread Thiago H. de Paula Figueiredo
On Thu, 16 Dec 2010 14:09:31 -0200, Cucchietti Denis denis.cucchie...@atosorigin.com wrote: Thanks Thiago it's works !! Yeah! Solution : writer.writeRaw(a id='delete' href=' + componentResources.createEventLink(delete, childLevel.getId()) + '); But use element() instead writeRaw ;-)

[Tapestry Central] Announcing Tapestry 5.2

2010-12-16 Thread Howard
I'm very proud to announce that the next major release of Tapestry, release 5.2, is now available as Tapestry version 5.2.4. This is the first stable release of Tapestry since 5.1.0.5 (back in April 2009), which is far too long a cycle. You might wonder: what's been the holdup? The answer, for

Re: [Tapestry Central] Announcing Tapestry 5.2

2010-12-16 Thread Howard Lewis Ship
With formatting: http://tapestryjava.blogspot.com/2010/12/announcing-tapestry-52.html On Thu, Dec 16, 2010 at 2:22 PM, Howard hls...@gmail.com wrote: I'm very proud to announce that the next major release of Tapestry, release 5.2, is now available as Tapestry version 5.2.4. This is the first

T5 Guide: Building T5.2.4 Application Using Netbeans 6.9.1

2010-12-16 Thread ael
1. File-New Project 2. Choose-Maven-Maven Project 3. Maven Archetype-Click Add 4. Specify Archetype Detail a. group id: org.apache.tapestry b. artifact id: quickstart c. version: 5.2.4 d. repository: http://repo1.maven.org/maven2 5. Select your created Archetype-Next 6. Project

Re: [Tapestry Central] Announcing Tapestry 5.2

2010-12-16 Thread Angelo C.
Congrats to the Tapestry 5 Team for a great job! now, how easy to upgrade from the 5.1 to 5.2? just replacing the version number? any upgrade guide? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Central-Announcing-Tapestry-5-2-tp3308716p3308860.html Sent from

Re: [Tapestry Central] Announcing Tapestry 5.2

2010-12-16 Thread Howard Lewis Ship
For the most part, it is just changing the version number. See the release notes for a few additional details, if you are doing some more advanced things. Of course, you should do some testing after changing versions! On Thu, Dec 16, 2010 at 5:44 PM, Angelo C. angelochen...@gmail.com wrote:

Re: [Tapestry Central] Announcing Tapestry 5.2

2010-12-16 Thread Angelo C.
that's good, will try that. talking about test, is there any sample where you use Groovy to do the test? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Central-Announcing-Tapestry-5-2-tp3308716p3308913.html Sent from the Tapestry - User mailing list archive at

Re: [Tapestry Central] Announcing Tapestry 5.2

2010-12-16 Thread Michael Gentry
Early Christmas! I'm curious to see how the page pooling changes work out. About six weeks ago one of our production apps blew up on us due to the page pool. We thought we had large enough sizes defined, but an external API we depended upon started responding very slowly (after months of

Re: [Tapestry Central] Announcing Tapestry 5.2

2010-12-16 Thread Yohan Yudanara
For me, replacing the version number on pom.xml is working. If you use tapestry-spring, u should change spring version from 2.5.6 to spring 3.0.0.RELEASE or later.. On Fri, Dec 17, 2010 at 8:44 AM, Angelo C. angelochen...@gmail.com wrote: Congrats to the Tapestry 5 Team for a great job!

Re: [Tapestry Central] Announcing Tapestry 5.2

2010-12-16 Thread Robert Zeigler
Not sure that the DataObjects will work... the live service class reloading basically works b/c there's the public interface, and the private implementation, and the only class that has a reference to the private implementation is the proxy. At least, that's how I understand it. ;) Not sure