GRID Refresh

2008-10-30 Thread Xunhua Teng
Hi all: I encountered a problem that the grid can not refresh when its source changed. Actually I have put the inPlace in the grid,and I monitored the productList has been changed but the grid's data not refresh. Tml is: Query

Re: T5: How to reverse engineer Tapestry Annotations with Hibernate

2008-10-30 Thread Howard Lewis Ship
My medium term plan is to make Tapestry smarter about the Hibernate annotations; so it will see @NotBlank and @Email and set up the correct Tapestry validations for those, as if @Validate("required,email") were present, in addition to any actual @Validate annotation. On Thu, Oct 30, 2008 at 5:23 A

Re: Anyone using weblogic?

2008-10-30 Thread Howard Lewis Ship
I bet it is about scanning the classpath for component classes. I don't know if there's a way to speed that up. On Thu, Oct 30, 2008 at 12:45 PM, Dan Adams <[EMAIL PROTECTED]> wrote: > One thing I've noticed about weblogic is that the startup time when deploying > the application is insanely lon

Tapestry 5.0.15 w/ Tomcat won't start on machine under load

2008-10-30 Thread Daniel Leffel
Has anyone else encountered the fact that if a machine is under heavy load (high request volume) and you restart Tomcat, that the application hangs without successfully initializing Tapestry? The end result is that the machine neither refuses requests nor ever answers them. The only solution is to

Re: Problems with 4.1.6 ExternalPages and back/forward button

2008-10-30 Thread Alejandro Scandroli
This one is tricky, specially on IE. The equiv meta tags are not enough for this to work properly across browsers, the cache configurations (Pragma, CacheControl, Expires) need to be in the HTTP headers. To accomplish this I've a shell render with an injected WebResponse and then I do this: public

Re: IE8 Compatibility Quick Fix

2008-10-30 Thread samlai
I'm guessing it's not currently doable with Tapestry 5. I bet this particular request will grow in popularity when IE8 is officially released. The easiest way to port existing web pages for IE8 is that one liner at the top. Peter Stavrinides wrote: > > There has been a lot of posts on this to

Anyone using weblogic?

2008-10-30 Thread Dan Adams
One thing I've noticed about weblogic is that the startup time when deploying the application is insanely long and this is not true of when run in Jetty. Anyone run into this or gotten around it? Dan Adams Principal Software Engineer Interactive Factory p: 617.235.5857

Re: T5: https -> http redirecting

2008-10-30 Thread Ryan Mitchell
This is indirectly related to https://issues.apache.org/jira/browse/TAP5-167 I notice. Another problem when switching between secure & non-secure is that if the server set a cookie marked as secure, you'll lose your session when going from https to http, since the browser wont send the same cookie

Re: T5: Multiple handlers for one event - calling order

2008-10-30 Thread shymon
Thiago H. de Paula Figueiredo wrote: > > > You're welcome again! > > Is it just me or this message list has been having an increase in new > members? This is very good news, IMHO. :) > > I'm totally new member so this._messageListUsers++; ;) After about two years of dealing with serv

Re: [T5.0.16-SNAPSHOT] type coercion does not work like before

2008-10-30 Thread Andy Pahne
You are right. Thanks for the pointer. This specific string "img" should have made me suspicious, but it did not :( Andy Howard Lewis Ship wrote: I'd bet that there's something odd in your template, something like If z.gif doesn't exist, it will look like your page with an activation

T5: https -> http redirecting

2008-10-30 Thread Ryan Mitchell
In my app that can be accessed either via http or https, I can access pages via https just fine but the redirects to render pages always end up back on the non-ssl http site. I know I can configure tapestry to force all access to ssl, but I want the option for both. Is this normal behavior? In o

Re: T5: How to reverse engineer Tapestry Annotations with Hibernate

2008-10-30 Thread Thiago H. de Paula Figueiredo
Em Thu, 30 Oct 2008 14:34:02 -0300, Francisco Manzano <[EMAIL PROTECTED]> escreveu: Why don't you use t:validate in the template? Do you have a lot of templates that USE this entity ? Example: t:validate="required" /> You could also create a simple component with the form that edits your e

Re: T5: How to reverse engineer Tapestry Annotations with Hibernate

2008-10-30 Thread Francisco Manzano
James Sherwood wrote: Hello, I have the reverse engineering working correctly but I wish to modify it a bit. Tapestry requires and @Validate("required") annotation in front of the variables of the class that are required for global validation. (Unless there is a way to do global validatio

Service binding question

2008-10-30 Thread Peter Stavrinides
Woa this is neat!!... but I am having a little trouble understanding how/why this scenario works: 1. I create "service A" (but unbound in my AppModule) 2. Then create "service B" inheriting from Service A (bound in AppModule) Tapestry not only allows me to Inject service A, but allows me to use

Re: [T5.0.16-SNAPSHOT] type coercion does not work like before

2008-10-30 Thread Howard Lewis Ship
I'd bet that there's something odd in your template, something like If z.gif doesn't exist, it will look like your page with an activation context of img/xy/z.gif. You have to be careful when using relative URLs to static assets, as the page activation context can shift your base URL so that re

Re: Javascript frameworks

2008-10-30 Thread César Lesc
I did the tests with Windows and Mac, with FF, Safari and IE and prototype only is the slowest with IE but not too far from YUI, in fact is pretty fast with the others browsers. César. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: T5: Multiple handlers for one event - calling order

2008-10-30 Thread Thiago H. de Paula Figueiredo
Em Thu, 30 Oct 2008 13:59:35 -0300, shymon <[EMAIL PROTECTED]> escreveu: I was just playing with activation context. Finally I replaced all onActivate methods with one taking object array as argument: onActivate(Object[] aParams). But now I will give EventContext a try. EventContext has some

Re: T5: Multiple handlers for one event - calling order

2008-10-30 Thread shymon
Thiago H. de Paula Figueiredo wrote: > > > When your page class ends up having more than one onActivate method, most > of the time it is a better idea to have a single onActivate(EventContext > e). Take a look at > http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/EventCo

Re: [T5.0.16-SNAPSHOT] type coercion does not work like before

2008-10-30 Thread Fernando Padilla
Is it failing while trying to handle a the returning url? Or trying to render the link to begin with? Can you give us the url that it generates ( before you click on it? ) if possible? Andy Pahne wrote: In my page class I build a List like this: public List getNavigationParameters(

Re: Javascript frameworks

2008-10-30 Thread Olivier Jacquet
This has come up before: http://mail-archives.apache.org/mod_mbox/tapestry-users/200710.mbox/[EMAIL PROTECTED] and http://www.google.be/search?hl=nl&q=jquery+T5+site%3Amail-archives.apache.org%2Fmod_mbox%2Ftapestry-users%2F&btnG=Zoeken&meta= So it seems it would be possible but a whole lot of

Re: [T5.0.16-SNAPSHOT] type coercion does not work like before

2008-10-30 Thread Andy Pahne
I need to add that this particular feature worked for weeks without any trouble. Andy Andy Pahne schrieb: In my page class I build a List like this: public List getNavigationParameters() { List result = new ArrayList(); result.add(hotel.getId()); result.add(

[T5.0.16-SNAPSHOT] type coercion does not work like before

2008-10-30 Thread Andy Pahne
In my page class I build a List like this: public List getNavigationParameters() { List result = new ArrayList(); result.add(hotel.getId()); result.add(getItemPos()); result.add(paging.getPagesTotal()); result.add(paging.getCurrentPage()); re

Re: Javascript frameworks

2008-10-30 Thread Toby Hobson
I agree that it would be nice to be able to swap out the JS implementation because I am not a great fan of Prototype. Personally I would go with YUI or GWT. However I believe Prototype is pretty much ingrained into T5 :( Just my 2c worth! Toby 2008/10/30 Onno Scheffers <[EMAIL PROTECTED]> > I j

Javascript frameworks

2008-10-30 Thread Onno Scheffers
I just stumbled upon this link that lets you test the performance of selectors in different Javascript libraries: http://jamesdonaghue.com/static/peppy/profile/slickspeed/ Prototype doesn't look very good from that tests and that's pretty much in line with my own feeling after having used JQuery

T5: Ajax components

2008-10-30 Thread James Sherwood
Hello, I have been looking into some Ajax components to use in my upcoming T5 project. Tapestry itself does not seem to have much along these lines built in and I was wondering where people are getting there Ajax components from(besides building them as this seems a bit above me right now)?

Re: T5: How to reverse engineer Tapestry Annotations with Hibernate

2008-10-30 Thread Thiago H. de Paula Figueiredo
Em Thu, 30 Oct 2008 09:23:26 -0300, James Sherwood <[EMAIL PROTECTED]> escreveu: Tapestry requires and @Validate("required") annotation in front of the variables of the class that are required for global validation. (Unless there is a way to do global validation without using @validate in the

T5: How to reverse engineer Tapestry Annotations with Hibernate

2008-10-30 Thread James Sherwood
Hello, I have the reverse engineering working correctly but I wish to modify it a bit. Tapestry requires and @Validate("required") annotation in front of the variables of the class that are required for global validation. (Unless there is a way to do global validation without using @validate

Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-10-30 Thread Antonio Fernández - STAR Málaga
Hi again ! Many thanks for you fast asnwer , i tryed your option , but this is not the behaviour i want. Now the submit action happens when one or more TextFields are empty, and with clientValidation=true the submit is not completed. I want the behaviour of clientValidation=true, but simp

Re: T5 - new clien side validator, again

2008-10-30 Thread Mohammad Shamsi
Thanks DH, but the problem is still there. if you look at html code generated for a page in browser it will be something like this : ... . * :: Tapestry add link to Tapestry.js here.* * . :: Tapestry registers validations to form inputs here * . if i add the co

How to get the value of other control

2008-10-30 Thread Xunhua Teng
Hi,all: In my form of tml files,there are 2 controls called A and B .Now I catch the blur event of control B using onEvent of t5c. In my onEvent method,I can get the value of control B.but I can not get the value of control A. I have used the context parameter in the page file.But It g

Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-10-30 Thread Sven Homburg
have a look in the "Form" component description (parameter "clientSideValidation") http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html 2008/10/30 Antonio Fernández - STAR Málaga <[EMAIL PROTECTED] > > Hi All & Good Morning :-) > > Is there a

[Tapestry 5.0.15] - Hidding client-side validation

2008-10-30 Thread Antonio Fernández - STAR Málaga
Hi All & Good Morning :-) Is there a way for hidding the JavaScript Validation Messages on the Client-Side ? Greetings Passi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]