Re: components collection release 0.5.0

2007-12-22 Thread Howard Lewis Ship
No problem, except that your code is a bit out of date. Note sure why people would want to see the test app, isn't not a demo ... it's just predictable code for the unit tests to operate against. On Dec 22, 2007 9:29 PM, <[EMAIL PROTECTED]> wrote: > thanks to sven. > I build tap5.0.7 core test e

Re: components collection release 0.5.0

2007-12-22 Thread korbenzhang
thanks to sven. I build tap5.0.7 core test examples, and deploy at http://mp2.crecg.com/tapestry-core-demo/ Forgive me if these have problems, Howard M. Lewis Ship Korben Zhang Tfan On 12/23/07, Sven Homburg <[EMAIL PROTECTED]> wrote: > the early bird catch the worm ;-) > > best regards > S.Hombu

T4.0.2,where to find the implement of Interface "ServletRequestServicer"?

2007-12-22 Thread Oliver Lee
Hi, i am studying the source code of T4.0.2,in the ApplicationServlet.java: -- _requestServicer = (ServletRequestServicer) _registry.getService( "tapestry.request.ServletRequestServicer",

Re: components collection release 0.5.0

2007-12-22 Thread Sven Homburg
the early bird catch the worm ;-) best regards S.Homburg Howard Lewis Ship schrieb: Fast! On Dec 22, 2007 11:40 AM, Sven Homburg <[EMAIL PROTECTED]> wrote: Hi there, components collection release 0.5.0 is accessable now (requiers tapestry 5.0.7) at http://code.google.com/p/tapestry5-

Re: [T5] - list paging from database ?

2007-12-22 Thread Sven Homburg
have a look at http://wiki.apache.org/tapestry/Tapestry5HibernateGridDatasource dalahoo wrote: > > Hi Sven, > > No, > Sorry about my pour English, > > in tapestry grid component (I am not sure), you most fetch all data to a > collection, list or array and then show them with paging, suppose t

Re: components collection release 0.5.0

2007-12-22 Thread Howard Lewis Ship
Fast! On Dec 22, 2007 11:40 AM, Sven Homburg <[EMAIL PROTECTED]> wrote: > > Hi there, > > > components collection release 0.5.0 is accessable now (requiers tapestry > 5.0.7) > at http://code.google.com/p/tapestry5-components/ > > change log at > http://code.google.com/p/tapestry5-components/wiki/

Re: Programmatically generating DirectLinks with updateComponents

2007-12-22 Thread Andreas Andreou
Hi, what's the html template for ResultElement ? Can't you add the link there? On Dec 22, 2007 11:48 PM, Kaspar Fischer <[EMAIL PROTECTED]> wrote: > On 21.12.2007, at 19:29, Kaspar Fischer wrote: > > > Hi, > > > > My custom component needs to emit in its renderComponent() method > > several > > Di

[T5] default DateFormat for DateFields

2007-12-22 Thread Moritz Gmelin
Hi, Is there a way to set the default DateFormat for all DateField elements of a BeanForm? I know that I could specify the format in a block for the form. But then I'd have to do this on every occurrence of a Date object. Is there maybe some service that I could intercept when it is creati

Re: Programmatically generating DirectLinks with updateComponents

2007-12-22 Thread Kaspar Fischer
On 21.12.2007, at 19:29, Kaspar Fischer wrote: Hi, My custom component needs to emit in its renderComponent() method several DirectLink with updateComponents information. That is, I need to output the same HTML as updateComponents="result"> generates non-programmatically, but from wit

Re: [T5] - list paging from database ?

2007-12-22 Thread Mohammad Shamsi
thats it. Thanks Robert On Dec 23, 2007 12:55 AM, Robert Zeigler <[EMAIL PROTECTED]> wrote: > Hi Mohammad, > > I had the same issue... collections of data with, eg, 250,000 "rows"; > clearly a bad idea to try to have all of that in memory at the same > time. > > What you want to do is provide yo

Re: [T5] - list paging from database ?

2007-12-22 Thread Robert Zeigler
Hi Mohammad, I had the same issue... collections of data with, eg, 250,000 "rows"; clearly a bad idea to try to have all of that in memory at the same time. What you want to do is provide your own implementation of "GridDataSource" to grid's "source" parameter, rather than providing a

Re: [T5] - list paging from database ?

2007-12-22 Thread Mohammad Shamsi
Hi Sven, No, Sorry about my pour English, in tapestry grid component (I am not sure), you most fetch all data to a collection, list or array and then show them with paging, suppose that data list have 1 million item, thats not good idea to fetch 1 million records and hold them in application spac

Re: [T5] - list paging from database ?

2007-12-22 Thread Sven Homburg
if i understand correctly, you should grid parameter "rowsPerPage" dalahoo wrote: > > Hi all, > > Grid Component related, > > I have a large size of data in database, i want to retrieve each pages > data > separately, is it any way to set list size and list data separately in > Grid > compo

components collection release 0.5.0

2007-12-22 Thread Sven Homburg
Hi there, components collection release 0.5.0 is accessable now (requiers tapestry 5.0.7) at http://code.google.com/p/tapestry5-components/ change log at http://code.google.com/p/tapestry5-components/wiki/ChangeLog - --- best regards Sven -- View this message in context: http://www.nabb

[T5] - list paging from database ?

2007-12-22 Thread Mohammad Shamsi
Hi all, Grid Component related, I have a large size of data in database, i want to retrieve each pages data separately, is it any way to set list size and list data separately in Grid component ? formerly, in struts and jsp i used dispalytag compoent in DisplayTag (a grid component with paging

Re: [T4]: EventListener autoSubmit

2007-12-22 Thread Kevin Menard
Thinking the matter over a little bit more, there's a fairly straightforward workaround. By removing any listener from the form and binding them all to submit button action values, I can get the desired behavior. Of course, this does mean more template changing which is not as transparent as I'd

Re: T5: A web flow idea on T5

2007-12-22 Thread Martino Piccinato
Hi, I think the only thing missing is a "conversational" type of persistence. That is that the application state object and persisted link shouldn't be simply session persisted but at least session persisted with some kind of "flowkey" prefix so to separate different flows. This would imply also s

Re: T5: PersistentLocale is lowercasing locales

2007-12-22 Thread SergeEby
Hi Geoff, I've seen this in past releases and I had to use the following as a workaround in my AppModule to get my application to work: ... configuration.add("tapestry.supported-locales", "en_us,fr_ca,zh_cn"); ... This didn't work: configuration.add("tapestry.supported-locales", "en_US,fr_CA,