Re: [T5] Submit does not fire selected event when using disabled property

2008-09-27 Thread Harald Geritzer
sorry, seems to be my fault. i just did not know that first the form submission is processed and afterwards setupRender ist called. i had some intializing logic in my setupRender function which is needed for calculating the submit's disabled state. harald

Re: [T5] Submit does not fire selected event when using disabled property

2008-09-27 Thread Ulrich Stärk
Works fine here. 2 submit components, one with disabled="true", the other with disabled="false", and the select event from the submit component with disabled="false" gets fired just as expected. Maybe you could show us some code so we can try to figure out what's wrong with it. Uli Harald Ger

[T5] XHtml approach renders a lot of tags

2008-09-27 Thread Harald Geritzer
when following the xhtml approach from the howtos (http://wiki.apache.org/tapestry/Tapestry5HowToXhtml) tapestry renders a lot of cascaded tags in my resulting page. any ideas why? am i missing anything? ty harald - To unsub

[T5] Submit does not fire selected event when using disabled property

2008-09-27 Thread Harald Geritzer
hi all, im am having some sort of wizard with previous and next submits, which i want to disable depending on the actual step. the strange thing is, if one of the submits has the property disabled set to false it submits the form but does not fire the "selected" event. anybody else discovere

Re: Development Environment

2008-09-27 Thread adamh
I currently use Eclipse 3.4 J2EE, Run-Jetty-Run and Jetty 6 with no problems at all, I can debug quite happily through the debugger with class reloading (components/pages) and template (.tml) changes all happening live. The only thing I need to restart for is non-managed clesses such as Entities a

Re: Encoder may not be instantiated directly.

2008-09-27 Thread Keith Bottner
Ted, That worked but I am getting null for the value. In my page class I have: @Property private Country test; And in my template I have: (It is vf,countrySelect because I have this bundled in a library of share components and such.) No matter what I set it to when the page displays aft

[T5] Passing page state with AJAX request

2008-09-27 Thread Alexey Hanin
Hello, Recently I started to examine AJAX features in T5 and I already have a lot of question of course, but I'd like to go through the each very deeply. The question is: how can I send an AJAX request from within the control and also include component (page) state? I've created a mixin similar to

Re: Development Environment

2008-09-27 Thread Olle Hallin
Or "mvnDebug jetty:run" and then attach the debugger to the running jvm. Regards, Olle 2008/9/27 Luther Baker <[EMAIL PROTECTED]> > I love this forum! > > > On Sep 27, 2008, at 10:44 AM, Martin Strand wrote: > > With m2eclipse: >> Right click your project, select "Debug As" --> "Maven build..."

Re: Development Environment

2008-09-27 Thread Luther Baker
I love this forum! On Sep 27, 2008, at 10:44 AM, Martin Strand wrote: With m2eclipse: Right click your project, select "Debug As" --> "Maven build..." and start jetty:run from there On Sat, 27 Sep 2008 17:20:54 +0200, Luther Baker <[EMAIL PROTECTED] > wrote: :-) Nice analogy. So, how d

Re: Development Environment

2008-09-27 Thread Martin Strand
With m2eclipse: Right click your project, select "Debug As" --> "Maven build..." and start jetty:run from there On Sat, 27 Sep 2008 17:20:54 +0200, Luther Baker <[EMAIL PROTECTED]> wrote: :-) Nice analogy. So, how do I use the eclipse debugger with mvn jetty:run? --

Re: Encoder may not be instantiated directly.

2008-09-27 Thread Keith Bottner
Ted, Thanks for the pointer, that made it stop giving me the error all right and now it displays. Now all I have to do is figure out why it always comes back as null when I include it in my template. Keith On Sep 27, 2008, at 1:36 AM, Ted Steen wrote: You should not put non-component c

Re: Development Environment

2008-09-27 Thread Luther Baker
:-) Nice analogy. So, how do I use the eclipse debugger with mvn jetty:run? Is it possible? Can I put a breakpoint in my source and have the application drop into it from mvn jetty:run? If not, I have relegated myself to use the simple tomcat solution for now. The button on an M5 is nice but I'd

Re: Development Environment

2008-09-27 Thread Borut Bolčina
Luther, it is true - you can work with WTP and Tomcat 6, but that is like driving the BMW M5 without the M button being pressed. Try running the quick start T5 application with mvn jetty:run and with WTP/Tomcat. Try changing Start.java and then clicking the refresh button in the browser. Even in

is http://howardlewisship.com ok?

2008-09-27 Thread Korben Zhang
When I access http://howardlewisship.com/tapestry-javaforge/tapestry-prop/ return "Reported Attack Site!" Browser: Firefox 3.0.3 -- Korben Zhang Blog: http://korben-zhang.blogspot.com | http://korbenzh.spaces.live.com

Re: Creating inner components on the fly in a form custom component

2008-09-27 Thread Edouard sur edouardmercier.fr
Thank you so much Kris for your answer. The Tapestry 5 BeanEditor source code gives some kind of vertigo, but I will look at it, in order to better understand what you mean. In the meantime, I had another idea: using some .tml inside my component with a and statements inside that nest some /...

Re: append checkbox to grid list

2008-09-27 Thread wesley
hi Marcelo, thanks very much with the advise, yeah, it's my silly mistake, i shouldn't use actionlink on it. It Works now, thanks very much. :-) Regards, Wesley Marcelo Lotif wrote: > > On Fri, Sep 26, 2008 at 11:40 AM, wesley <[EMAIL PROTECTED]> wrote: > >> >> hi Marcelo, >> >> thanks with