Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Juan E. Maya
Oh sorry for that. I thought it was the page for tapestry-test. I am actually already using testify. The problem i was referring occurs because Spring-Security detects that the render of a page doesn't come from an HttpServletRequest (Correct me if i am wrong). I could just not use the security mo

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Peter Stavrinides
Have you tried to use a Mock object for this? Peter - Original Message - From: "Juan E. Maya" To: "Tapestry users" Sent: Friday, 17 July, 2009 10:25:15 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Tapestry-Spring Security & Page Testing Oh sorry for that. I thought it wa

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Juan E. Maya
Yes i tried and although it's possible i would be removing the security module from the tests and that's actually one of the critical things we want to test when testing the pages. Fri, Jul 17, 2009 at 9:53 AM, Peter Stavrinides wrote: > Have you tried to use a Mock object for this? > > Peter > -

RE: Is AjaxFormLoop example working for you?

2009-07-17 Thread Blower, Andy
Neither work for me on FF3.0.11, XP, Proxy from the UK. > -Original Message- > From: Geoff Callender [mailto:geoff.callender.jumpst...@gmail.com] > Sent: 17 July 2009 01:08 > To: Tapestry users > Subject: Is AjaxFormLoop example working for you? > > Everyone, > > Please try this quick ex

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread P . Stavrinides
How you test is up to you Juan, but if I may be so bold as to give you a humble opinion: I think testing is not worthwhile if you don't isolate portions of code from their dependencies to validate their behavior, in other words if you include too much, you will just be rewriting everything and w

Re: Is AjaxFormLoop example working for you?

2009-07-17 Thread Juan E. Maya
First one: Add and remove don't work Second one: Works fine Firefox 3.5, Leopard, No Proxy from Germany On Fri, Jul 17, 2009 at 10:18 AM, Blower, Andy wrote: > Neither work for me on FF3.0.11, XP, Proxy from the UK. > >> -Original Message- >> From: Geoff Callender [mailto:geoff.callender

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Juan E. Maya
Oh Peter yes i understand you, and i totally agree with you. I think i didn't explain myself very well. So let me elaborate a bit more. Maybe u have different opinion. We want to test our application thoroughly therefore we are using unit tests and integrations tests. We want like to test every pi

Re: T5.1 warning about cookie name in jetty log - blackbird related?

2009-07-17 Thread Andy Pahne
https://issues.apache.org/jira/browse/TAP5-785 Peter Stavrinides schrieb: Yes since this morning getting a ton of those. Peter - Original Message - From: "Andy Pahne" To: "Tapestry users" Sent: Thursday, 16 July, 2009 11:51:45 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread P . Stavrinides
> So yes, i could create a mock of the security module in our > application but then how to test that the security is working through > the application? Okay I agree that for integration tests you probably need a tool like Selenium or HtmlUnit (HtmlUnit is a headless browser based tool)... I *th

Re: Is AjaxFormLoop example working for you?

2009-07-17 Thread Felix Gonschorek
both work cookies enabled, ff 3.0.11, ubuntu 9.04, germany, no proxy Geoff Callender schrieb: Everyone, Please try this quick experiment. I am trying to figure out why it works for some people and not for others. The experiment is: go to the following two pages and click on "Add a row"...

Re: Is AjaxFormLoop example working for you?

2009-07-17 Thread Jonathan Barker
Both work. Safari 4.0.1 and FF3 on Mac OSX NAT but no proxy, Canada. On Thu, Jul 16, 2009 at 8:08 PM, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: > Everyone, > > Please try this quick experiment. I am trying to figure out why it works > for some people and not for others. > >

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Paul Field
Hi Juan, I had a similar problem, except that I'm using tapestry-acegi. However, tapestry-spring and tapestry-acegi seem very similar, so perhaps what I've done may help you... I have an IOC module TestInfrastructureModule that is included only in my tests. It contains this contribution:

Re: Is AjaxFormLoop example working for you?

2009-07-17 Thread Jakub Vlasak
Both are working Firefox 3.5 and also IE6, WinXP, proxy, Slovakia On Fri, Jul 17, 2009 at 3:08 PM, Jonathan Barker wrote: > Both work. > > Safari 4.0.1 and FF3 on Mac OSX NAT but no proxy, Canada. > > > On Thu, Jul 16, 2009 at 8:08 PM, Geoff Callender < > geoff.callender.jumpst...@gmail.com> wrot

Re: Is AjaxFormLoop example working for you?

2009-07-17 Thread Thiago H. de Paula Figueiredo
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/ajaxformloop1 Works on Opera 9.64 Works on Firefox 3.5 http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/ajaxformlooptailored1 Works on Opera 9.64 Works on Firefox 3.5 All tests using Linux from Brazil with

Re: Is AjaxFormLoop example working for you?

2009-07-17 Thread Erick Erickson
Both work for me. Chrome: 2.0.172.33 Windows XP USA No proxy

T 5.1 Error building service proxy for service 'ServletApplicationInitializer'

2009-07-17 Thread Ritesh.S
Hello Everybody, I am upgrading my application from Tapestry 5.0.18 to 5.1.0.5. After upgrading all required jars and setting the context param tapestry.use-external-spring-context to true to use external context for spring I am getting following error while tomcat server start - Root WebAppli

Re: Is AjaxFormLoop example working for you?

2009-07-17 Thread Markus Joschko
both work. With and without cookies. Firefox 3.0.11 Ubuntu 04.09 Germany No proxy On Fri, Jul 17, 2009 at 4:37 PM, Erick Erickson wrote: > Both work for me. > Chrome: 2.0.172.33 > Windows XP > USA > No proxy > - To unsubscribe,

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Juan E. Maya
This is awesome Paul :) Thanks a lot! This is exactly what i need. Thanks a lot On Fri, Jul 17, 2009 at 3:43 PM, Paul Field wrote: > Hi Juan, > > I had a similar problem, except that I'm using tapestry-acegi. However, > tapestry-spring and tapestry-acegi seem very similar, so perhaps what I've >

Re: T5 Page field persistance and multithread problems

2009-07-17 Thread Ivano Luberti
I had a lot of experiences with users using multiple tabs of the same browser. They can do really a mess p.stavrini...@albourne.com ha scritto: >> Multiple threads accessing the same data concurrently => potential >> threading issues. >> > > Yes its true that multiple requests can occur whe

Rendering Page to diff OutputStream from ServiceLink

2009-07-17 Thread Nathan Beemer
Been using Tapestry 4 (now 4.1) for ~3yrs now and love it. However, just ran across a new use-case that I'm having a tough time cracking (not for lack of trying). I need to be able to capture a Page's rendered html output so I can pipe it through post processing and then send to the client for do

Re: Is webflow ready?

2009-07-17 Thread Howard Lewis Ship
No, it is not. I'm pretty sure how to integrate it, and that'll be a focus when I start working on 5.2. On Thu, Jul 16, 2009 at 6:38 PM, Donyee wrote: > I found there is a t5-webflow,is there any example or docs? > > -- > Yet Another Java EE Developer! > -- Howard M. Lewis Ship Creator of Apa

Re: T5 Asset URLs

2009-07-17 Thread John Frege
Thanks, Sergey. I had played with that before but didn't see how I could use it to get rid of the version number (unless I just don't configure that). My problem with the versioned URL is that many of my assets (particularly PDFs, but some images as well) are things people will want to link to dir

Re: setting up maven in eclipse

2009-07-17 Thread John Frege
Thanks, Juan. > 1. If you have a maven project in the filesystem you can run mvn > eclipse:eclipse in the directory with the pom.xml. This creates the > necessary files for eclipse to recognise the project as a maven > project. After this u only have to import the project to eclipse. U > would ha

Re: setting up maven in eclipse

2009-07-17 Thread Thiago H. de Paula Figueiredo
Em Fri, 17 Jul 2009 18:00:57 -0300, John Frege escreveu: The issue is that the project already exists in Eclipse. Is there any way for Eclipse to recognize the existing Eclipse project as a Maven project? With Sonatype's m2eclipse plugin, try right-clicking the project -> Maven -> Ena

Fragments, Validation and IE

2009-07-17 Thread Geoffrey Wiseman
I'm experiencing an odd issue where a hidden form fragment is showing server-side validation errors (even though the fragment is hidden); it's only happening when the form is submitted via IE. Seems ok in Firefox and Safari, anyway. I don't know i f I can isolate the problem into an easy-to-absor

Re: Fragments, Validation and IE

2009-07-17 Thread Geoffrey Wiseman
On Sat, Jul 18, 2009 at 12:46 AM, Geoffrey Wiseman < geoffrey.wise...@gmail.com> wrote: > I'm experiencing an odd issue where a hidden form fragment is showing > server-side validation errors (even though the fragment is hidden); it's > only happening when the form is submitted via IE. Seems ok i

Re: How to inform a user that a form is submitted?

2009-07-17 Thread Stephan Windmüller
Sergey Didenko wrote: > You can also show "the latest submit was at 15:56" message. This is what I implemented now. Also I used a little bit of JavaScript, displaying a "please wait until submit is finished"-message. Regards Stephan -