[T5.1] Remembering Search Parameter during Changing Page in Grid

2010-02-15 Thread Yohan Yudanara
Hi.. I'd like to ask a question which seems to be basic question, but I can't find it on this mailing list archives and wiki. I have a page with textfield, "search" button, and grid to display search result: Let's say the search returned 60 rows, and the grid display the first 25 rows. If I c

Re: Tapestry5 and javascript loading...

2010-02-15 Thread Howard Lewis Ship
Take a peek at the ProgressiveDisplay component, which handles all the mechanics of loading page content dynamically. On Mon, Feb 15, 2010 at 12:55 PM, Thiago H. de Paula Figueiredo wrote: > On Mon, 15 Feb 2010 18:36:14 -0200, Argo Vilberg wrote: > >> Hi, > > Hi! > >> Last time i dealing with ja

ActivationContext for a component

2010-02-15 Thread Thiago H. de Paula Figueiredo
Try this: http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter"> Donkey's name: ${donkey.name} Description: Cancel Description: ${donkey.descr} Edit The only difference

Grid get objects from current page

2010-02-15 Thread blueboy6
Hi guys, I have one problem and I'm not sure how to solve it, so here it goes. I have large set of objects(markers) and I'm using grid to show them on the page. I want to display that data in Map that is on same page, but only data of objects that I can see in that moment in grid. So elementa

Re: Tapestry5 and javascript loading...

2010-02-15 Thread Thiago H. de Paula Figueiredo
On Mon, 15 Feb 2010 18:36:14 -0200, Argo Vilberg wrote: Hi, Hi! Last time i dealing with javascript and Tapestry5 there was very difficult to write any javascript. Tapestry just took control over my own javascript. Please explain what you meant by "Tapestry just took control over my

Tapestry5 and javascript loading...

2010-02-15 Thread Argo Vilberg
Hi, How easy is to write javasript that shows some gif like "loading..." and waiting for server response. Last time i dealing with javascript and Tapestry5 there was very difficult to write any javascript. Tapestry just took control over my own javascript. My example is here www.elavtoit.com/lo

Re: [T5] GWT and Tapestry code and a question

2010-02-15 Thread Barry Books
I've used the ignore option in the past. I referred to it as a problem because that's not what I wanted to happen in this case. On my first attempts I did use an IoC service but it seems better to call component methods. If you want to call an IoC service it's easy enough to do that from the compo

Re: Activation context for a component?

2010-02-15 Thread Thiago H. de Paula Figueiredo
On Mon, 15 Feb 2010 03:51:08 -0200, Nathan Kopp wrote: This looks like a bug in your code, most probably by working in a T4-ish way in T5. Well, it's certainly a "bug" in that I'm trying to do something that T5 doesn't seem to handle out-of-the-box. I disagree. A bug is something that doe

Re: [T5] GWT and Tapestry code and a question

2010-02-15 Thread Thiago H. de Paula Figueiredo
Hi! On Mon, 15 Feb 2010 17:45:19 -0200, Barry Books wrote: This has been on my TODO list for a while. I've written a Dispatcher that handles GWT RPC requests and directs them to Tapestry components. I've scanned the project documentation and I didn't understand what exactly you're trying t

Re: Activation context for a component?

2010-02-15 Thread Nathan Kopp
I agree... It sounded like a normal use case to me and I was fully expecting it to "just work." But it didn't. I'm not trying to complicate things... I'm looking for an uncomplicated solution... but I have not found one yet. All of the code necessary to run this example can be found in my origin

Re: Activation context for a component?

2010-02-15 Thread Nathan Kopp
On Sun, Feb 14, 2010 at 3:07 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sun, 14 Feb 2010 00:10:02 -0200, Nathan Kopp > wrote: > > There are two things preventing this from working: >> First, Tapestry does not replay the loop when processing the eventlink >> (like it did

[T5] GWT and Tapestry code and a question

2010-02-15 Thread Barry Books
This has been on my TODO list for a while. I've written a Dispatcher that handles GWT RPC requests and directs them to Tapestry components. It all works pretty well except when I tried to add Zone support. The zones work but the zone update happens before the GWT async RPC happens. I'm guessing (ho

Page activation context again

2010-02-15 Thread Alfie Kirkpatrick
I've been trawling the archive again on ways to manipulate the page activation context and break up the parameters. The specific scenario I'm working on is that of 'hijacking' part of the activation context by a transformation worker or similar. For example, I'd like to be able to define a

Updating a PropertySelection

2010-02-15 Thread barneystinson
Hello, I am using Tapestry 4 and am having a problem to update a select box (PropertySelection). In fact, I chose from a first selectbox (eg car brand) an element. Then I launch an asynchronous request to a service to retrieve a list (eg the models of this brand). There is an autorefresh method

RE: [T5.2.0-SNAPSHOT] Block to String without MarkupWriter

2010-02-15 Thread Alfie Kirkpatrick
A simpler question. In my scenario I want to render a block and do have a MarkupWriter, but cannot see an obvious way to do it (even in 5.2.0-SNAPSHOT). Thanks, Alfie. -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 14 February 2010 16:23 To: Tapestry users Su

problems with page testing

2010-02-15 Thread Jan Jirout
Hi, I would like to ask about your testing practice. I have few problem with testing. Now I have simple T5 application with few pages and forms. 1) When I write page it's straightforward process I create components and then compose from them page. But when I write test for one page for each

Re: Activation context for a component?

2010-02-15 Thread Inge Solvoll
I also think that you're over-complicating this. To me this sounds like a very normal use case, looping over items and creating a form for each one. It should "just work". And it shouldn't be too many lines of complicated code either, so the code listed here confuses me a bit. Someone should post