Re: T5 : [ANN] The book - (Index & Appendices)

2008-09-04 Thread Alex Kotchnev
I know from experience that creating a good index is just a lot of grueling work . I really haven't given much thought to the topic, as it seems that it's quite far away in the future. Also, not to diminish the importance of the index; however, at this point, it is not very clear exactly what the

Re: T5 : [ANN] The book - next steps

2008-09-04 Thread Alex Kotchnev
Tim, regarding the application accompanying the book, I think that the first chapter of the book doesn't necessarily have to have a full blown application, fully completed with all bells and whistles. It only needs to be good enough working application, that could have a "black blox" part that w

Re: T5 : [ANN] The book - next steps

2008-09-04 Thread Alex Kotchnev
Just to wrap up the initial discussion on this thread, I'll respond here. Any future discussion should probably occur on the Google Groups. I've taken a liking to BitBucket (http://www.bitbucket.org/), which is quite similar to what assemla seems to offer, but also has Mercurial repository, which

[ANN] Tapestry5-book discussion group created

2008-09-04 Thread Alex Kotchnev
In order to take the discussion about the proposed Tapestry 5 community book off the T5 user list, I've created a group on the topic . I've sent invitations to most (if not all) people who have expressed an interest in contributing, if you haven't received such an invitation, please visit the group

Page activation contexts with blank values

2008-09-04 Thread atraver
I'm having trouble wrapping my head around how Tapestry handles page activation contexts. Here's the deal: I have an overview (index) page that lists objects from my database represented by CommunityOverview.java (/communityoverview). Clicking on each item in the list will take you to its individ

Re: 5.0.15 date / application lockups with IE6

2008-09-04 Thread Andy Huhn
Answered my own question...thanks, Steven Wooley (http://www.nabble.com/-jira--Created:-(TAPESTRY-2561)-Deadlock-when-double-clicking-a-pagelink-td18877508.html). I'll get a core dump to you as soon as I can. Thanks, Andy On Thu, 2008-09-04 at 20:16 -0400, Andy Huhn wrote: > Howard, > > Forgive

Re: 5.0.15 date / application lockups with IE6

2008-09-04 Thread Andy Huhn
Howard, Forgive me, I think I should know how to do what you're talking about, but I don't. I'm running on Linux with Jetty...are you talking about a core dump at the OS level, or at the Java level? Thanks, Andy On Thu, 2008-09-04 at 13:36 -0700, Howard Lewis Ship wrote: > A thread core dump wo

Re: T5 : [ANN] The book - next steps

2008-09-04 Thread Richard Clark
On Thu, Sep 4, 2008 at 4:29 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I would say that step 1 would be to collaborative design and implement > the sample application. From that, the outline and division of tasks > should be more attainable. Let me second that :) When I was building progr

Re: T5 : [ANN] The book - next steps

2008-09-04 Thread Howard Lewis Ship
I would say that step 1 would be to collaborative design and implement the sample application. From that, the outline and division of tasks should be more attainable. On Thu, Sep 4, 2008 at 10:04 AM, Don Ryan <[EMAIL PROTECTED]> wrote: > > On 4 Sep 2008, at 17:05, Timothy Sweetser wrote: > >> Whe

Re: T4: How I can obtain the system path of my application?

2008-09-04 Thread Jorge Quiroga
Thanks Andreas and excuse me for my ignorance, but I was searching and all was abstract interface and I never thought that it were so easy. Jorge Quiroga Andreas Andreou escribió: just add an abstract getter for it (ServletContext) in your page or component and call it. On Wed, Sep 3, 2008 at

Re: 5.0.15 date / application lockups with IE6

2008-09-04 Thread Howard Lewis Ship
A thread core dump would be very useful in seeing if this is the same deadlock that's (hopefully) been addressed in 5.0.15. On Thu, Sep 4, 2008 at 4:13 AM, Andy Huhn <[EMAIL PROTECTED]> wrote: > Hello, > > In production (T5.0.14), my app seems to deadlock every time IE 6 is > used to render a page

Re: T5 : Contributing a translator

2008-09-04 Thread Howard Lewis Ship
I'm afraid your best resource now is the TapestryModule source; it makes contributions to the TranslatorSource service. The translator defines, via a callback method, its name, so adding your own translators is cake. On Thu, Sep 4, 2008 at 7:36 AM, José Paumard <[EMAIL PROTECTED]> wrote: > Hello

Re: T5: Tapestry classloader problems?

2008-09-04 Thread Howard Lewis Ship
I don't know enough about CXF/JAXB to say for certain, but I would think not. Tapestry uses the context class loader (Thread.currentThread().getContextClassLoader() ) which is set by the application server. It doesn't change it. It creates new class loaders that use the context class loader as a

Re: T5 : [ANN] The book - next steps

2008-09-04 Thread Timothy Sweetser
Ah, should clarify a point: I wasn't arguing for a completely unstructured environment, just one organized by scope and topic. Break it down, for example, into IoC Container, App-level Configuration and Processing, Pages, Components, Forms, Built-in Components, Integration with Hibernate/Spring/etc

Re: How to create simple wizard with tapestry

2008-09-04 Thread Martijn Brinkers
see http://202.177.217.122:8080/jumpstart/ On Thu, 2008-09-04 at 16:14 -0300, Alex Florentino wrote: > Hi all, > > I have an page that user type some informations and if the information is ok > the user is redirect for finish the wizard, but I need that information user > fill at first step. >

Re: How to create simple wizard with tapestry

2008-09-04 Thread Thiago H. de Paula Figueiredo
Em Thu, 04 Sep 2008 16:14:22 -0300, Alex Florentino <[EMAIL PROTECTED]> escreveu: Hi all, I have an page that user type some informations and if the information is ok the user is redirect for finish the wizard, but I need that information user fill at first step. I would put all the fie

How to create simple wizard with tapestry

2008-09-04 Thread Alex Florentino
Hi all, I have an page that user type some informations and if the information is ok the user is redirect for finish the wizard, but I need that information user fill at first step. sample flow: user preferences -> user settings(here I need user preferences data). thanks, Alex

T5: Tapestry classloader problems?

2008-09-04 Thread Martijn Brinkers
My Tapestry 5 application uses the CXF soap client (cxf.apache.org) to connect to an external soap service. The soap client uses JAXB for marshalling and unmarshalling of the XML. When I run my (war) application in Jetty I get a strange JAXB error javax.xml.bind.JAXBException: mitm.application.mim

Re: T5 : [ANN] The book - next steps

2008-09-04 Thread Don Ryan
On 4 Sep 2008, at 17:05, Timothy Sweetser wrote: When people only have an hour a day, and may only write a paragraph or two, I think that works against us. You decrease the contribution pool and increase the amount of effort required to get somewhere. That's a fair point. The sort of thi

Re: T5 : [ANN] The book - next steps

2008-09-04 Thread Timothy Sweetser
The problem with building the book, from the start, around a working application (or, vise versa, building an application during the course of the book), in my mind, is that it requires far more cooperation and coordination between the contributors. I don't think it really works to the strengths o

Re: How to use Grid Component?

2008-09-04 Thread Daniel Jue
IIRC, the grid component stores a copy of the list which has the sorting applied. You'll have to look into the api to see if that list is exposed. (if the list is not visible, you may want to extend the Grid component to allow you to get it) This could be useful if you wanted to export the tabula

Re: T5 : [ANN] The book - next steps

2008-09-04 Thread Don Ryan
The discussion here (knowingly or otherwise) mirrors something that comes up a lot when people are debating the pedagogical approaches in academia. A framework like Tapestry, which comes into its own on larger projects, is not served well by using toy examples to illustrate framework featur

T5 : Contributing a translator

2008-09-04 Thread José Paumard
Hello all, I saw that the textfield component changed the prefix of it's translator attribute from prop to translate, my application just crashed there... I just fixed my TML, and it now works ok, but I would like to know if there is a way to contribule translators to the application, which wo

Re: [T4] Validation Problem

2008-09-04 Thread Christian Haselbach
Hi again, a colleague of mine gave me a hint: Look at FieldLabel. FieldLabel handles exactly the same problem and uses preRender(). I could solve it analogous. Regards, Christian Christian Haselbach wrote: > Hi, > > I'm using a required validator on a TextField and use the form delegate > to che

Re: t5: using a non primary key field as context

2008-09-04 Thread Ulrich Stärk
Try the following. It's not automatic but should provide the desired behaviour. private EntityType entity; @Inject private Session session; void onActivate(String searchString) { this.entity = (EntityType) Session.createQuery("from EntityType e where e.field=:searchString").setParameter("sea

Re: T5 : [ANN] The book - (Index & Appendices)

2008-09-04 Thread photos
I know this is very early in the piece, but what do you intend to do about indexing the book? The Kolesnikov Tapestry book has one of the worst indexes I've ever come across and stands as a good example of how not to do it. Having a good index is a very important part of any successful te

[T4] Validation Problem

2008-09-04 Thread Christian Haselbach
Hi, I'm using a required validator on a TextField and use the form delegate to check whether there is an error in the TextField. If so, I render an error message. However, this message is rendered before the input-field is rendered. The problem starts when I have this TextField in a For loop. Now

force download csv file in /web/ folder

2008-09-04 Thread michael lim
i put my csv file in /web folder. when user open browser, the entire content of csv is displayed in browser. how to force download the file? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: t5: using a non primary key field as context

2008-09-04 Thread Chris Lewis
Hi, I've wondered the same thing and taken a quick look at it. I'm pretty sure that it can be done, but the big issue is how to identify what the activation context's value means to the entity? With a PK it's easy to make assumptions (cast the context value and if it can be cast to a long and the

Re: T5.0.14 BeanEditForm

2008-09-04 Thread Natia Gdzelishvili
Than you... On Thu, Sep 4, 2008 at 4:18 PM, Thiago H. de Paula Figueiredo < [EMAIL PROTECTED]> wrote: > Em Thu, 04 Sep 2008 09:15:25 -0300, Natia Gdzelishvili < > [EMAIL PROTECTED]> escreveu: > > on my page I have >> >> but id is still on the edit form, how can i remove id from edit form? >> >

Re: T5.0.14 BeanEditForm

2008-09-04 Thread Thiago H. de Paula Figueiredo
Em Thu, 04 Sep 2008 09:15:25 -0300, Natia Gdzelishvili <[EMAIL PROTECTED]> escreveu: on my page I have but id is still on the edit form, how can i remove id from edit form? Intead of "remove", use "exclude". This Grid parameter was changed some Tapestry versions ago. Thiago --

T5.0.14 BeanEditForm

2008-09-04 Thread Natia Gdzelishvili
on my page I have but id is still on the edit form, how can i remove id from edit form?

Re: Problem with aso

2008-09-04 Thread Natia Gdzelishvili
i've solved it, thank you all for helping On Wed, Sep 3, 2008 at 8:46 PM, Marcus <[EMAIL PROTECTED]> wrote: > Hi Natia, > just correcting: > > _visit.setMyLoginId(u.getUserName()); > > and check Jonathan's tip. (old Tapestry libraries in your classpath.) > > > Marcus >

5.0.15 date / application lockups with IE6

2008-09-04 Thread Andy Huhn
Hello, In production (T5.0.14), my app seems to deadlock every time IE 6 is used to render a page that has several FCKEditor instances on it (using the Editor component from t5components). You can imagine I would like to get this fixed ASAP...and I'm desperately hoping that 5.0.15 will fix this i

How to use Grid Component?

2008-09-04 Thread dvdface
I have a page having a grid in it. the page class offers grid data to display. how can I get the sorted data from grid component in this page class after user clicks the title of column to sort data displayed in the grid? Any ideas? -- View this message in context: http://www.nabble.com/How-t

Re: T4.1.5 possible ognl cache problem

2008-09-04 Thread denis queffeulou
No, i've checked all my html (it's not a single html because we're using lots of components). -- denis On the page in your production application, you wouldn't be using #this anywhere in an OGNL expression, would you? Kalle On Wed, Sep 3, 2008 at 6:35 AM, denis queffeulou < [EMAIL PROTECTED]

RE: T5 : [ANN] The book - next steps

2008-09-04 Thread Newham, Cameron
Hear hear. I too would love to see a complete application made from start to finish using T/S/H. Something along the lines of what Howard suggested (but please - no "pet store"!) I'm looking forward to seeing how this new book progresses. C -Original Message- From: ProAdmin Dariusz