Re: Returning a file attachment and a page together in a request

2009-06-27 Thread Thiago H. de Paula Figueiredo
Em Sat, 27 Jun 2009 23:00:42 -0300, Raghu Yegavakota escreveu: I am a newbie to Tapestry and have a question: Welcome! :) I am able to do (1) using StreamResponse but not sure how to solve (2)- send a Page response back and a file as an attachment. To redirect the user to a page (Login

Returning a file attachment and a page together in a request

2009-06-27 Thread Raghu Yegavakota
I am a newbie to Tapestry and have a question: I have a downloads page that displays a list of files to the user. When the user clicks on any file link I need to do one of two things: 1) If the user is logged in, I need to send the selected file as an attachment to the browser 2) If the user is

Re: T5 ajax examples

2009-06-27 Thread Sergey Didenko
See "Ajax & JavaScript" in "User Guide" pane on this page: http://tapestry.apache.org/tapestry5.1/ On Sun, Jun 28, 2009 at 12:10 AM, haipeng du wrote: > What is the good reference for ajax in T5? I did not find any good > documentation from T5 website.

T5 ajax examples

2009-06-27 Thread haipeng du
What is the good reference for ajax in T5? I did not find any good documentation from T5 website. Thanks. -- Haipeng Du Salt Lake City

Re: gridtable with hashmap

2009-06-27 Thread nille hammer
Hi Gutemberg, Grid needs a collection as its source parameter. HashMap (i.e. the Map-Interface) is no collection itsself, but provides two methods to get the collections "Collection values()" or "Set> entrySet()". Use one of those as source for Grid. One sidenote, HashMap does not garantuee

Re: Tapestry 6: Famous last words?

2009-06-27 Thread Thiago H. de Paula Figueiredo
Em Sat, 27 Jun 2009 05:34:09 -0300, Piero Sartini escreveu: I expect the T5 IOC to live well beyond the web framework portion. T5 IoC is very powerful. Yes it is. And it's a pleasure to use. But at this point I am not so sure if Tapestry IoC is the best answer to flexibility. Take a loo

Re: T5 change grid column header label

2009-06-27 Thread Thiago H. de Paula Figueiredo
Em Sat, 27 Jun 2009 00:28:50 -0300, haipeng du escreveu: How could I change label for grid header and keep the sorting function. The easiest way is?: if you property is named xxx, add xxx-label=Desired label to your app.properties. -- Thiago H. de Paula Figueiredo Independent Java consu

Re: t5.1.x: IOC only app

2009-06-27 Thread Thiago H. de Paula Figueiredo
Em Fri, 26 Jun 2009 20:40:20 -0300, Angelo Chen escreveu: Hi, Hello! is there any easier way now to create IOC only app in 5.1.x? or still the same as the one documented in wiki? Thanks Easier than in the wiki? It should work in T5.1 just as T5. I don't recall any backward-incompatibl

Re: matriz

2009-06-27 Thread Shing Hing Man
There are a few more maths related utilities on http://lombok.demon.co.uk/mathToolkit/app Shing --- On Fri, 26/6/09, Igor Drobiazko wrote: > From: Igor Drobiazko > Subject: Re: matriz > To: "Tapestry users" > Date: Friday, 26 June, 2009, 2:28 PM > Very nice component. Where have you >

Re: Tapestry 5 and Event component.

2009-06-27 Thread ningdh
It seems that Button is not designed for ajax. I wonder why you don't try block/zone? DH http://www.gaonline.com.cn/ - Original Message - From: "b...@umd" To: Sent: Friday, June 26, 2009 2:48 AM Subject: Re: Tapestry 5 and Event component. > > Ok, it seems to come from the paramete

Re: Tapestry 6: Famous last words?

2009-06-27 Thread Piero Sartini
> I expect the T5 IOC to live well beyond the web framework portion. T5 IoC is very powerful. But at this point I am not so sure if Tapestry IoC is the best answer to flexibility. Take a look at Struts2 - they are able to switch their DI implementation by configuration. This brings them a lot