Re: Does Ajax Form Loop render full form on addRow?

2010-03-15 Thread Greg Pagendam-Turner
Guys, The ajaxform loop fragment generates the following JSON on an add new row Returned from Object onActionFromRowInjector(EventContext context) ajaxResponse.elements contains: [Text[ ], ComponentPageElement[examples/tables/AjaxFormLoop1:ajaxformloop.delegate_1], Text[

Re: Does Ajax Form Loop render full form on addRow?

2010-03-15 Thread Greg Pagendam-Turner
|Thanks Thiago, When the Add Row works the following JSON is returned: {"content":"<\/input><\/td>\n\t\t\t\t\t\t\t<\/input><\/td>||\n\t\t\t\t\t\t\t<\/input><\/td>\n\t\t\t\t\t\t\t<\/input><\/td>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tremove<\/a><\/td>","scripts":["/jumpstart||/assets/datepicker/5.1.0.5/j

Re: Does Ajax Form Loop render full form on addRow?

2010-03-15 Thread Thiago H. de Paula Figueiredo
On Mon, 15 Mar 2010 22:55:12 -0300, Greg Pagendam-Turner wrote: I'm stilling trying to trace this issue with AjaxFormLoop. I have a simple question. Does an Add Row event trigger the entire AjaxForm to be updated via Ajax or is just the new row returned? Just the new row returned. Firebu

Does Ajax Form Loop render full form on addRow?

2010-03-15 Thread Greg Pagendam-Turner
Guys, I'm stilling trying to trace this issue with AjaxFormLoop. I have a simple question. Does an Add Row event trigger the entire AjaxForm to be updated via Ajax or is just the new row returned? Regards, Greg. - To unsub

Re: Why does nesting break my Ajax?

2010-03-15 Thread Pierce T. Wetter III
On Mar 13, 2010, at 6:54 PM, Thiago H. de Paula Figueiredo wrote: > On Sat, 13 Mar 2010 12:20:52 -0300, Pierce T. Wetter III > wrote: > >>> T5 already has some magic elements, a.k.a. directives, such as t:body, >>> t:parameter, t:block, t:content and t:remove. I don't want to >>> introduce m

Re: Empty body?

2010-03-15 Thread Robert Hailey
On Mar 12, 2010, at 1:20 PM, Manuel Sugawara wrote: Hi I'm working in a menu component, similar to the one in the howtos. The menuItem template looks like: I am not able to find such a menu component in the howtos. Can you provide a link please? -- Robert Hailey --

[JOB] Looking for t5 contractors

2010-03-15 Thread dan
Hey all. We are looking for good t5 contractors (full-time optimally). We are located in Boston, MA, USA. Located locally is of course preferred but remote is okay too. Here's a short-list of the things I'm looking for: • T5 (of course) • Some experience building some serious software

Re: Testify 1.0.2-SNAPSHOT using deprecated ClassTransformation.addMethod(TransformMethodSignature,String)

2010-03-15 Thread Piero Sartini
>> One other thing that stopped working is this: >> http://wiki.apache.org/tapestry/Tapestry5AnotherSelectWithObjects > > The approach used in that wiki page (using a list even when handling a form > submission) is far from recommended. I advise anyone to not use it. Why? I am using it in some pro

Re: Testify 1.0.2-SNAPSHOT using deprecated ClassTransformation.addMethod(TransformMethodSignature,String)

2010-03-15 Thread Joost Schouten (ml)
I will update Testify to work with Tapestry 5.2 but I was waiting until it gets relatively near a release so I didn't have to maintain multiple releases of Testify or track changes in T5.2. Paul Thanks, I will await these changes. Until then I'll use a Tapestry 5.2 revision from before

Re: Render large page

2010-03-15 Thread Dariusz Majewski
Hi, Actually Dmitry is right that javascript variables are invalid. They cannot contain '-' character and error that is shown when they do is exactly "SyntaxError: missing ; before statement". I've happend to have similiar issue. This is because tapestry adds '-' + random number to generated cl

Re: exception page debug

2010-03-15 Thread Robert Hailey
On Mar 15, 2010, at 2:42 PM, Yury Luneff wrote: Yury, I think that something is catching the exceptions and not rendering anything. Do you have any custom filters? My understanding is that this anti-pattern will break exception reporting in a filter: try { return handler.service(reque

Re: exception page debug

2010-03-15 Thread Yury Luneff
> On Mar 15, 2010, at 2:10 PM, Yury Luneff wrote: >>> Hi, >> >>> Have you overrided the ExceptionReport or even >>> ExceptionRequestHandler ? >> >>> Regards, >>> Christophe Cordenier. >> >> in security module from tapestry5.localhost.nu ()there is: >> @InjectService("SpringSecurityExceptionFilt

Re: exception page debug

2010-03-15 Thread Robert Hailey
On Mar 15, 2010, at 2:10 PM, Yury Luneff wrote: Hi, Have you overrided the ExceptionReport or even ExceptionRequestHandler ? Regards, Christophe Cordenier. in security module from tapestry5.localhost.nu ()there is: @InjectService("SpringSecurityExceptionFilter") final Spring

Re: exception page debug

2010-03-15 Thread Yury Luneff
> Perhaps you have injected a service before the exception handler/filter? > -- > Robert Hailey i guess, i have solved the issue ;) the problem was in custom logic i've added to stock timingFilter! So I am happy again, thanks to everyone! :-D -

Re: Cannot create 'form' component / NPE

2010-03-15 Thread Robert Hailey
On Mar 15, 2010, at 2:02 PM, Ulrich Stärk wrote: You want or Uli Thank you, that worked... now I am wondering why "Login.tml" works w/ the original form (?). On Mar 15, 2010, at 1:09 PM, Howard Lewis Ship wrote: What version of Tapestry? Come on, you know the drill, give us inf

Re: exception page debug

2010-03-15 Thread Yury Luneff
> Hi, > Have you overrided the ExceptionReport or even ExceptionRequestHandler ? > Regards, > Christophe Cordenier. in security module from tapestry5.localhost.nu ()there is: @InjectService("SpringSecurityExceptionFilter") final SpringSecurityExceptionTranslationFilter springSecurit

Re: Cannot create 'form' component / NPE

2010-03-15 Thread Ulrich Stärk
You want or Uli On 15.03.2010 18:43, Robert Hailey wrote: Ok... I've got another question. I've copied/modified the code & template for the login form to make a "logout" page, but when it tries to make the form object it throws a NullPointerException. The exception report simply highlights t

Re: Component used in 2 different pages and have method getParentPage

2010-03-15 Thread Ulrich Stärk
Tapestry pages can't just be casted to individual page instances because they are dynamically enhanced. Cast them to their interface type or @InjectPage them. Uli On 15.03.2010 16:06, Andrey Etush wrote: Hi, I have a problem. I have dialog that used in 2 pages each page implements Interface "C

Re: Cannot create 'form' component / NPE

2010-03-15 Thread Howard Lewis Ship
What version of Tapestry? Come on, you know the drill, give us information to help you. On Mon, Mar 15, 2010 at 9:43 AM, Robert Hailey wrote: > > Ok... I've got another question. I've copied/modified the code & template > for the login form to make a "logout" page, but when it tries to make the

Cannot create 'form' component / NPE

2010-03-15 Thread Robert Hailey
Ok... I've got another question. I've copied/modified the code & template for the login form to make a "logout" page, but when it tries to make the form object it throws a NullPointerException. The exception report simply highlights the definition of the form (which is the same as on the

Re: exception page debug

2010-03-15 Thread Robert Hailey
Perhaps you have injected a service before the exception handler/filter? -- Robert Hailey On Mar 15, 2010, at 11:17 AM, Yury Luneff wrote: I have already raised this question some time ago, but we still did not overcome our situation. It is frequent in our project that when a exception page

[ANNOUNCEMENT] New releases of conversations and hibernate-seedentity modules

2010-03-15 Thread Kalle Korhonen
Just to avoid spamming the list too often, I'm sending these two release announcements as aggregated. We've released 0.1.0 version of tapestry-hibernate-seedentity and 0.1.1 of tapestry-conversations. The documentation for both is updated and the libraries are available from Central immediately. We

Re: exception page debug

2010-03-15 Thread Christophe Cordenier
Hi, Have you overrided the ExceptionReport or even ExceptionRequestHandler ? Regards, Christophe Cordenier. 2010/3/15 Yury Luneff > I have already raised this question some time ago, but we still did > not overcome our situation. > > It is frequent in our project that when a exception page sho

Re: Error in tapestry.js in IE 8

2010-03-15 Thread LiborGMC
Tapestry using prototype 1.6.1 (I've done what you suggest). Ok I will try to use another library for checkbox group. Any recommendations? -- View this message in context: http://old.nabble.com/Error-in-tapestry.js-in-IE-8-tp27714386p27906691.html Sent from the Tapestry - User mailing list archi

exception page debug

2010-03-15 Thread Yury Luneff
I have already raised this question some time ago, but we still did not overcome our situation. It is frequent in our project that when a exception page should be shown, we have completely null response (no data at all). And often even no log messages in log4j with stacktrace. At a glance, I'v

Re: Testify 1.0.2-SNAPSHOT using deprecated ClassTransformation.addMethod(TransformMethodSignature,String)

2010-03-15 Thread Thiago H. de Paula Figueiredo
On Mon, 15 Mar 2010 11:49:53 -0300, Piero Sartini wrote: The class transformation API was changed in Tapestry 5.2-SNAPSHOT. Is it planned to provide the old API work in 5.2 as well? (and not break backward compatibility) One other thing that stopped working is this: http://wiki.apache.org/

Component used in 2 different pages and have method getParentPage

2010-03-15 Thread Andrey Etush
Hi, I have a problem. I have dialog that used in 2 pages each page implements Interface "CommonPage" in component I have getParentPage that returns "CommonPage" When I switch pages I have cast exception : $Page1 cannot be cast to com.mycompany.Page2 what could be the problem?

Re: [Announce] Tapestry Testify project - v1.0.1 released

2010-03-15 Thread Paul Field
Hi Angelo, I'm not entirely sure what's causing the error; but I have a workaround :-) Testify runs on top of Tapestry's testing infrastructure. Tapestry's testing infrastructure doesn't route via HttpServletRequest/HttpServletResponse - it comes in at the level of Tapestry's own Request and

Re: Testify 1.0.2-SNAPSHOT using deprecated ClassTransformation.addMethod(TransformMethodSignature,String)

2010-03-15 Thread Paul Field
"Thiago H. de Paula Figueiredo" wrote on 15/03/2010 12:40:53: > On Mon, 15 Mar 2010 04:15:41 -0300, Joost Schouten (ml) > wrote: > > > org.apache.tapestry5.corelib.pages.ExceptionReport.request: Method > > ClassTransformation.addMethod(TransformMethodSignature,String) has been > > deprecate

Re: Testify 1.0.2-SNAPSHOT using deprecated ClassTransformation.addMethod(TransformMethodSignature,String)

2010-03-15 Thread Piero Sartini
> The class transformation API was changed in Tapestry 5.2-SNAPSHOT. Is it planned to provide the old API work in 5.2 as well? (and not break backward compatibility) One other thing that stopped working is this: http://wiki.apache.org/tapestry/Tapestry5AnotherSelectWithObjects Piero

Re: Error in tapestry.js in IE 8

2010-03-15 Thread Ulrich Stärk
I guess that's some problem of that third-party library then. If you request the prototype.js file directly (i.e. point your browser to the URL used inside the page source to include it), what version does it say it has? Uli On 15.03.2010 14:59, LiborGMC wrote: Thanks for quick reply. I have

Re: Live service reloading in 5.2

2010-03-15 Thread Vangel V. Ajanovski
On 15.03.2010 01:14, Howard Lewis Ship wrote: > That's very odd, I can't think of a reason why any of the changes I > made would change that behavior. So, to be more precise: Our application was build mainly using the approach proposed in http://wiki.apache.org/tapestry/Tapstry5First_project_with_

Re: Error in tapestry.js in IE 8

2010-03-15 Thread LiborGMC
Thanks for quick reply. I have tried night build I can see little progress if have used Tapestry 5.2.0 But still it is not work 100%. From time time it doesn't propagate selected checkboxes to server. Night build 5.1. didn't work at all. I have tried to copy prototype.js version 1.6.1 to tapestry-

T5: getting a specific locale string from Messages

2010-03-15 Thread Angelo Chen
Hi, Messages.get("key") returns a localized string, is there a way to get a string from a particular locale? example: Messages.get("key", "de")? Thanks, Angelo -- View this message in context: http://old.nabble.com/T5%3A-getting-a-specific-locale-string-from-Messages-tp27903953p27903953.html S

Re: Testify 1.0.2-SNAPSHOT using deprecated ClassTransformation.addMethod(TransformMethodSignature,String)

2010-03-15 Thread Thiago H. de Paula Figueiredo
On Mon, 15 Mar 2010 04:15:41 -0300, Joost Schouten (ml) wrote: org.apache.tapestry5.corelib.pages.ExceptionReport.request: Method ClassTransformation.addMethod(TransformMethodSignature,String) has been deprecated and is no longer functional. Please consult the JavaDoc for a suitable repl

Re: Error in tapestry.js in IE 8

2010-03-15 Thread Ulrich Stärk
Or use one of the latest snapshots which contains a newer version of prototype. Uli On 15.03.2010 10:23, DH wrote: Prototype 1.6.0 in T5.1 has such issue on IE8. You can upgrade prototype.js to 1.6.1 or use tapx lib. DH - Original Message - From: "LiborGMC" To: Sent: Monday, March 15

Re: Empty body?

2010-03-15 Thread Mats Andersson
Hi Manuel, Seems more logical to have the at the same level as the . That way you will know if you have generated any . BR Mats Manuel Sugawara skrev: Hi I'm working in a menu component, similar to the one in the howtos. The menuItem template looks like: $

Re: Error in tapestry.js in IE 8

2010-03-15 Thread DH
Prototype 1.6.0 in T5.1 has such issue on IE8. You can upgrade prototype.js to 1.6.1 or use tapx lib. DH - Original Message - From: "LiborGMC" To: Sent: Monday, March 15, 2010 3:51 PM Subject: Re: Error in tapestry.js in IE 8 > > Hi, > I'm still facing this issue. I cannot use Tap

Re: Error in tapestry.js in IE 8

2010-03-15 Thread Angelo Chen
how about : < meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" / > ? LiborGMC wrote: > > Hi, > I'm still facing this issue. I cannot use Tapestry 5 on IE8! Am I only one > who face to this problem? Or Tapestry cannot be used on IE8? Could anybody > answer me, plese? Please help! > >

Re: Error in tapestry.js in IE 8

2010-03-15 Thread LiborGMC
Hi, I'm still facing this issue. I cannot use Tapestry 5 on IE8! Am I only one who face to this problem? Or Tapestry cannot be used on IE8? Could anybody answer me, plese? Please help! Libor -- View this message in context: http://old.nabble.com/Error-in-tapestry.js-in-IE-8-tp27714386p27901196.

Testify 1.0.2-SNAPSHOT using deprecated ClassTransformation.addMethod(TransformMethodSignature,String)

2010-03-15 Thread Joost Schouten (ml)
Hi, My Tapestry Testify tests stopped working when using the latest Tapestry trunk (5.2.0-SNAPSHOT). The stacktrace seems to be pointing to the deprecated method ClassTransformation.addMethod(TransformMethodSignature,String) which is called when handling the @ForComponents annotation (see lon