Re: How to download 5.1 compatible Chenille kit?

2009-04-23 Thread Sven Homburg
Hey guys, sorry for let you waiting for the chennille kit working with tap5.1, but there is many private trouble around me. i hope that i have more time in the next 2 weeks to merge the 1.0 branch of chennille kit with the trunk line. please be patient! 2009/4/24 Thiago H. de Paula Figueiredo

Re: Tapestry harfs on templates using  

2009-04-23 Thread daniel joyce
So does that mean on pages using a border component, I need to add a dummy html/head/body tag as well, along with a DOCTYPE? Even though it gets thrown away and subbed with the border's parts. Because,   causes exceptions on pages like   with no surrounding body/html tags because those are

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-23 Thread zack1403
Seems like this would be a pretty common exception since the most basic form of the component does not work. I mean this is way more basic than even the tutorial. Is there something with the setup that I am doing wrong? Zack -- View this message in context: http://www.nabble.com/AjaxFormLoop

Re: Tapestry Forms and Cancel Button

2009-04-23 Thread Robert Zeigler
What about: .tml: Cancel .java: @Inject private ComponentResources resources; public String getCancelURL() { return resources.createEventLink("cancel").toAbsoluteURL();//or you could inject the service for creating page links and create a regular page link... } public Object onCanc

Tapestry Forms and Cancel Button

2009-04-23 Thread Geoffrey Wiseman
I like my forms to have cancel buttons. Tapestry BeanEditor forms don't have them. There are some options, each with some problems. I've been reading a bunch of other threads on the subject, and thought I'd summarize some of the options and issues here. *Submit Button* The most common approach

Re: Dispatcher returning XML

2009-04-23 Thread Howard Lewis Ship
A dispatcher is even easier; just think of it as a servlet that returns true if it "handles the request". Get a response stream and write XML to it. On Thu, Apr 23, 2009 at 3:05 PM, Borut Bolčina wrote: > Thanks, but I am not sure how to do that in a dispatcher. > > -Borut > > 2009/4/23 Howard Le

Re: How to download 5.1 compatible Chenille kit?

2009-04-23 Thread Thiago H. de Paula Figueiredo
I'm late in this discussion, but I'm using ChenilleKit (just the Editor component already) 1.0 with Tapestry 5.1.0.3 and it works without problems. I just added an exclusion for Tapestry in the ChenilleKit Maven Dependency. By the way, why Chenillekit has this name? Just curious. :) Em Thu

Re: How to download 5.1 compatible Chenille kit?

2009-04-23 Thread Geoff Callender
Please send them to me too! Geoff http://jumpstart.doublenegative.com.au On 21/04/2009, at 3:43 AM, Inge Solvoll wrote: Ok, I guess I'll just sit down and wait for the official 5.1 release for all the libraries I need :) Anyway, if anyone feels like sending me their T5.1-compatible chenille

Re: Web framework evaluation - What is beautiful in Tapestry?

2009-04-23 Thread Thiago H. de Paula Figueiredo
Em Thu, 23 Apr 2009 16:09:35 -0300, Sebastian Hennebrueder escreveu: What is your favourite feature or concept of Tapestry, what is unique as compared to other things, what is an eye catcher? There are many, but live class reloading (big productivity boost) and the very small amount of c

Re: Adding a module jar file on the fly

2009-04-23 Thread Thiago H. de Paula Figueiredo
Em Thu, 23 Apr 2009 14:55:54 -0300, Arnaud Thimel escreveu: I'm trying to add on the fly a tapestry module. Up to now, I can find my jar, modify the classLoader to insert my module, but i cannot tell tapestry to consider the module inside. 1) Why are you doing that? 2) Aren't you trying to

Re: Clearing field values after form validation

2009-04-23 Thread Thiago H. de Paula Figueiredo
Em Thu, 23 Apr 2009 14:22:16 -0300, Jason Lotz escreveu: These 3 values are form fields that I expect to be blank when I see the form, but the values are still there. From what I have read, it seems like this should be working as I expect. Can anyone help? Take a look at the generated

Re: Dispatcher returning XML

2009-04-23 Thread Borut Bolčina
Thanks, but I am not sure how to do that in a dispatcher. -Borut 2009/4/23 Howard Lewis Ship : > You can return a StreamResponse whose job is to generate an > InputStream of XML to be sent to the client. > > On Thu, Apr 23, 2009 at 6:12 AM, Borut Bolčina > wrote: >> Hello, >> >> I have a dispat

Re: Web framework evaluation - What is beautiful in Tapestry?

2009-04-23 Thread Sebastian Hennebrueder
Sebastian Hennebrueder wrote: Hello, Sorry, the question should be of course: What is your favourite feature or concept of Tapestry, what is unique as compared to other things, what is an eye catcher? -- Best Regards / Viele Grüße Sebastian Hennebrueder - Software Developer and Trainer

Re: message that i do not understand

2009-04-23 Thread Joachim Van der Auwera
Well, there may be similar issues in other code as well. In the equanda-tapestry5 library, some translators were registered, and these initialize by adding a validator. Removing one of the translators fixed the problem for me. The error message should give an indication of the validator or tr

Re: T5.1 Property Expressions

2009-04-23 Thread Howard Lewis Ship
Looks like a bug to me. On Thu, Apr 23, 2009 at 10:37 AM, Andy Blower wrote: > > I just tried out the new T5.1 property expressions for the first time and got > an error. I’m trying to replace this: > > ${linkTitle} > > public String getLinkTitle() { >        return getTitle(false); > } > > With

Web framework evaluation - What is beautiful in Tapestry?

2009-04-23 Thread Sebastian Hennebrueder
Hello, I am working on an article evaluating Tapestry 5 in details. The article is part of an article series on my website http://www.laliluna.de on web technologies and frameworks. Apart from a large article on technologies, there is a detailed test of the Stripes Framework. One chapter in t

Re: T5.1 Property Expressions

2009-04-23 Thread Ulrich Stärk
Have you tried ${getTitle('false')}? Uli Andy Blower schrieb: I just tried out the new T5.1 property expressions for the first time and got an error. I’m trying to replace this: ${linkTitle} public String getLinkTitle() { return getTitle(false); } With this: ${getTitle(false)

Adding a module jar file on the fly

2009-04-23 Thread Arnaud Thimel
Hi, I'm trying to add on the fly a tapestry module. Up to now, I can find my jar, modify the classLoader to insert my module, but i cannot tell tapestry to consider the module inside. I definitly know that it's not the correct way, but I'm trying to reflectivly (because of my new classLoader) invo

T5.1 Property Expressions

2009-04-23 Thread Andy Blower
I just tried out the new T5.1 property expressions for the first time and got an error. I’m trying to replace this: ${linkTitle} public String getLinkTitle() { return getTitle(false); } With this: ${getTitle(false)} Which I should be able to do according to the Grammar as far

Clearing field values after form validation

2009-04-23 Thread Jason Lotz
I have a simple form that does some server-side validation in the onValidate() method. When the form is invalid, I have confirmed that it correctly calls my onFailure() method which is defined as - void onFailure() { // Clear the previous password and captcha fields. passw

How do you download Tapestry?

2009-04-23 Thread Howard Lewis Ship
I've set up a poll on my blog ... please vote! http://tapestryjava.blogspot.com/ -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos - To unsubscribe, e-mail: users-unsubscr...@tape

Re: Dispatcher returning XML

2009-04-23 Thread Howard Lewis Ship
You can return a StreamResponse whose job is to generate an InputStream of XML to be sent to the client. On Thu, Apr 23, 2009 at 6:12 AM, Borut Bolčina wrote: > Hello, > > I have a dispatcher which matches some URL pattern like this: > >    public boolean dispatch(Request request, Response respon

Re: message that i do not understand

2009-04-23 Thread Peter Stavrinides
This is not likely an Equanda issue! I have seen this error too many times in my logs (not lately though), and I used Tapestry components and now ChenilleKit, but have never used Equanda. Peter - Original Message - From: "Jorge Saridis" To: "Tapestry users" Sent: Friday, 17 April, 20

Dispatcher returning XML

2009-04-23 Thread Borut Bolčina
Hello, I have a dispatcher which matches some URL pattern like this: public boolean dispatch(Request request, Response response) throws IOException { String path = request.getPath(); // just imagine this works ok String uglyWord = request.getContextPath() == "" ? Stri

Re: Form submit with bypass to required validation

2009-04-23 Thread pjanuario
Hi, I have accomplished the main goal without removing cliente side validation. I don't wanted to remove the client validation and by this way the required field validation is made in java code on server side only. The default client side validation it's still working. I belivie this should be a

Re: How to pass data from page(tml) to java class

2009-04-23 Thread kk4Nabble
Oh thanks a lot.. Ya u r right. I got NPE. Now got it. .:-) Ulrich Stärk wrote: > > client = new Client(); > > Beaneditform is taking care of that for you. If you want to do it > manually than you have to make sure it gets instantiated. > > BTW, I'm just guessing that this is causing your

Re: How to pass data from page(tml) to java class

2009-04-23 Thread Kristian Marinkovic
your client field is null!! kk4Nabble 23.04.2009 11:28 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema Re: How to pass data from page(tml) to java class HI, It workes for beaneditform perfectly fine. Thats when i give like this. But not for the

Re: How to pass data from page(tml) to java class

2009-04-23 Thread Ulrich Stärk
client = new Client(); Beaneditform is taking care of that for you. If you want to do it manually than you have to make sure it gets instantiated. BTW, I'm just guessing that this is causing your NPE. If you had read the stacktrace or even used a debugger you would know exactly where the NPE

Re: How to pass data from page(tml) to java class

2009-04-23 Thread kk4Nabble
HI, It workes for beaneditform perfectly fine. Thats when i give like this. But not for the usual form . I even tried t:value="client.firstName". But it does not work. Ulrich Stärk wrote: > > Your client object is probably null. Make sure it isn't. > > Uli > > Am 23.04.2009 11:14 sc

Re: How to pass data from page(tml) to java class

2009-04-23 Thread Ulrich Stärk
Your client object is probably null. Make sure it isn't. Uli Am 23.04.2009 11:14 schrieb kk4Nabble: Hi all, Am learning Tapestry 5. This is createclient.tml First Name:

How to pass data from page(tml) to java class

2009-04-23 Thread kk4Nabble
Hi all, Am learning Tapestry 5. This is createclient.tml First Name: Last Name: