Re: Exception starting filter test

2011-03-04 Thread Gillespie59
Can you send to us your web.xml . Emmanuel -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3409390.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Invoke method after page is loaded; when method finishes, redirect to another page

2011-03-04 Thread Gillespie59
If I understand your question yourFirstPage.java @Inject private myCalculatePage mySecondPage; void onClickFromMyButton(){ //Call a method to set all the parameters needed for the next page mySecondPage.setParam(...); return mySecondPage; } yourCalculatePage.java @Inject private myResultP

Re: JavaScript Stack aggregator

2011-03-03 Thread Gillespie59
I found the solution. I add the js files to my stack in the getJavaScriptLibraries method depending of a parameter of my request. public List getJavaScriptLibraries() { List jsStack = new ArrayList(); if (myRequest.getMyParam) { js

JavaScript Stack aggregator

2011-02-28 Thread Gillespie59
Hi everybody ! I have some problems with the aggregation of my JavaScript stack when PRODUCTION_MODE='true'. When PRODUCTION_MODE is false, everything is OK. My 4 js files are included into my page. But when i change to true, the js of my stack is empty. If i am right, this js file have to incl

Re: T5: setting locale without changing url

2011-02-10 Thread Gillespie59
You can set your locale with the PersistentLocale service @Inject private PersistentLocale persistentLocaleService; Locale newLocale = new Locale("el"); persistentLocaleService.set(newLocale); -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-setting-locale-without-cha

Re: XSS vulnerability in calendar component

2011-02-08 Thread Gillespie59
Hi With François and Nourredine, we have just checked the Tapestry 5.2.4 datefield.js. A part of our patch was not included into the new javascript file. We still have an vulnerability in the sendServerRequest method. We can inject some JavaScript code for example, using the Paros software. B

Re: Test Selenium with Tapestry 5.2.4

2011-02-07 Thread Gillespie59
Thanks Mark We have just found the solution. I had the wrong testng version in my pom.xml . -- View this message in context: http://tapestry.1045711.n5.nabble.com/Test-Selenium-with-Tapestry-5-2-4-tp3370957p3374542.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Test Selenium with Tapestry 5.2.4

2011-02-07 Thread Gillespie59
Does anyone have a solution to my problem ? I really thank to all of you! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Test-Selenium-with-Tapestry-5-2-4-tp3370957p3373989.html Sent from the Tapestry - User mailing list archive at Nabble.com. -