Re: Persistent data issue

2010-10-28 Thread Mark
The difficulty I see with what you want to do is you need to find some way to call a method when the page is loaded, but not call that method when the load is a result of hitting the search button. One (probably convoluted) possibility is to set a persistent flash boolean variable that is only set

Re: Tapestry5 Got5-JQuery experiences

2010-10-28 Thread ael
http://docs.jquery.com/Using_jQuery_with_Other_Libraries http://docs.jquery.com/Using_jQuery_with_Other_Libraries -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry5-Got5-JQuery-experiences-tp3228056p3241523.html Sent from the Tapestry - User mailing list archive at

Re: jQuery Integration for 5.2

2010-10-28 Thread ael
http://docs.jquery.com/Using_jQuery_with_Other_Libraries http://docs.jquery.com/Using_jQuery_with_Other_Libraries -- View this message in context: http://tapestry.1045711.n5.nabble.com/jQuery-Integration-for-5-2-tp2834002p3241521.html Sent from the Tapestry - User mailing list archive at Nabble

Re: Persistent data issue

2010-10-28 Thread ael
Use OnPassivate OnActivate... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Persistent-data-issue-tp3241417p3241520.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscrib

Re: how to disable autoloading of additional javascripts when using got jquery

2010-10-28 Thread ael
http://docs.jquery.com/Using_jQuery_with_Other_Libraries http://docs.jquery.com/Using_jQuery_with_Other_Libraries Read Me -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-disable-autoloading-of-additional-javascripts-when-using-got-jquery-tp3240347p3241519.html Sen

Re: Persistent data issue

2010-10-28 Thread Muhammad Mohsen
I'm not sure of what you need but I think you need this annotation: @PageReset Check this page fo

Persistent data issue

2010-10-28 Thread Baishan Peng
Hi All, I have an T5 application like this: http://www.crazymcphee.net/x/2009/08/26/tapestry-5-web-framework/ public class Persons { @Property @Persist private List persons; @Property @Persist private String searchTerm; Object onSubmitFromSearch() { persons =

Persistent data issue

2010-10-28 Thread sigenz
Hi All, I have an T5 application like this: http://www.crazymcphee.net/x/2009/08/26/tapestry-5-web-framework/ public class Persons { @Property @Persist private List persons; @Property @Persist private String searchTerm; Object onSubmitFromSearch() { persons =

Re: how to disable autoloading of additional javascripts when using got jquery

2010-10-28 Thread gbrits
See my DEPRECATED code below (just copy paste into appmodule). I haven't tested this just now since like I said, I deprecated this for the got jquery implementation which implements a contributeContribuableClientInfrastructure that interferes (so I think) with the pasted code. Perhaps better is

Re: jQuery Integration for 5.2

2010-10-28 Thread françois facon
In got5, we miss the backward compatibility issue with project that use lot of prototype. In other hand, what is the use of importing prototype, when it's not needed. As far as i can see in 5.2 CoreJavascriptStack, will be in charge of adding core part of js toolkit. So what would be the best way,

Re: how to disable autoloading of additional javascripts when using got jquery

2010-10-28 Thread françois facon
hello jan, What did you change in your decoration Of clientInfastructure? We are also asking us how a component can contribute to the corejavascriptstack. françois 2010/10/28 gbrits > > I've ported my app (t5.1) to use jquery using Got jquery > (http://github.com/got5/tapestry5-jquery/issues)

Re: Objects session persistance and validation

2010-10-28 Thread Anton Mezerny
Resolved the issue - now it works fine: I extracted validation to the separate method with @OnEvent(value=EventContants.VALIDATE, component="submitForm") Also switched to 5.2.1. @OnEvent(value = EventConstants.VALIDATE, component = "registerForm") void validate(){ detectErrors(); }

[TapestryHotelBooking Demo]AjaxLoader component questions

2010-10-28 Thread Muhammad Mohsen
Hi All, Yet another great contribution and also a great component to facniate me. Thank you all for the effort done and for the tapestry team to create such a dynamic framework :) Now to the component. Here it is for fast reference: (I removed the package declaration and the imports) /** * App

how to disable autoloading of additional javascripts when using got jquery

2010-10-28 Thread gbrits
I've ported my app (t5.1) to use jquery using Got jquery (http://github.com/got5/tapestry5-jquery/issues) which works very good. However, in the past (when using the regular prototype stack) I supplied my own ClientInfrastructure (using decorateClientInfrastructure) to strip the small javascript

Re: tapestry-resteasy how to configure httpclient

2010-10-28 Thread Borut Bolčina
Ah, forget about it. I was looking at the wrong class, I am using resteasy directly for the client part. 2010/10/28 Borut Bolčina > Hi, > > I am making thousands of requests sequentally with tapestry-resteasy acting > as client to some in-house jersey service. I guess the defaul http client > co

tapestry-resteasy how to configure httpclient

2010-10-28 Thread Borut Bolčina
Hi, I am making thousands of requests sequentally with tapestry-resteasy acting as client to some in-house jersey service. I guess the defaul http client configuration is used and this involves reusing connection and making concurrent calls. How can I configure this using tapestry-resteasy? Pleas