Re: API for obtaining absolute URL of the page?

2009-12-13 Thread Kristian Marinkovic
hi just inject the LinkSource service and create a Link object which can generate the absolute URL of a page: @Inject private LinkSource linkSource; @Inject private ComponentResources resources; public void create() { String absolute = linkSource.createPageRenderLink(resources.getPageNam

Tapestry 5 and Selenium

2009-12-13 Thread Ville Virtanen
Hi, I've googled around but couldn't find solution for this one. The problem is that we have to test a form that is loaded using progressive display which makes all the ids to be generated for each request. Now, how can I use selenium.type to locate the correct input, when the input name changes

Re: T5.1.0.5 Return Page with many blocks in a zone?

2009-12-13 Thread alanearl
I dont think iframes will work, In iframes you need a src but the problem is i cannot return the src. Yes, i think component will do... Thanks man you gave me an idea! have a nice day... Ashwanth Kumar wrote: > > Well, I dont think you can return Page A, into Page B. If u want so, > instead >

Re: T5.1.0.5 Return Page with many blocks in a zone?

2009-12-13 Thread Ashwanth Kumar
Well, I dont think you can return Page A, into Page B. If u want so, instead of Blocks, why not use iframes? If you cant use iframes then, try converting you Page A, into a component and add it to page B, onDemand! After all, Tapestry is all about that r8? HTH - Ashwanth Kumar On Mon, Dec 14, 2

T5.1.0.5 Return Page with many blocks in a zone?

2009-12-13 Thread alanearl
Im making a page zone in Tapestry 5.1.0.5. I know how to use page links. PageLink EventLink ActionLink But my problem is how will i return a pages into it specific block? I can directly return page a into page b. But i cannot return from page a into page b.1 or page b.2 or page b.3. Any ideas?