Re: T5 Grid Error

2009-06-30 Thread DH
Is the data source 'displayedCompanies' volatile? Error comes out in ajax request? DH http://www.gaonline.com.cn - Original Message - From: "haipeng du" To: "Tapestry users" Sent: Wednesday, July 01, 2009 11:54 AM Subject: T5 Grid Error >I have one grid which take list of object as

T5 Grid Error

2009-06-30 Thread haipeng du
I have one grid which take list of object as source. Most time, it works great. But sometimes I got following erros: DefaultRequestExceptionHandler.handleRequestException(62) | Processing of request failed with uncaught exception: Index: 1, Size: 1 org.apache.tapestry5.runtime.ComponentEventExcept

Re: COMBINE_SCRIPTS no effect

2009-06-30 Thread Moritz Gmelin
Well, then it seems that there is something wrong. As I said on some pages of the application I can see a header like this (correct) http://www.w3.org/TR/html4/loose.dtd ">http://www.w3.org/1999/xhtml";>Avetana Patientenakteequiv="Content-Type">href="/avetanafile/assets/tapestry/5.1.0.5/de

[Tapestry Central] Public Tapestry Training in London: Aug 10 - 12

2009-06-30 Thread Howard
Formos is partnering with London-based SkillsMatter to provide open enrollment Tapestry training. The training will take place at the SkillsMatter offices in downtown London. This is the same course materials that I use for my on-site Tapestry training ... and I'll be debuting a new lab on Ajax tec

Re: COMBINE_SCRIPTS no effect

2009-06-30 Thread Howard Lewis Ship
@IncludeJavaScriptLibrary uses RenderSupport under the covers; I meant when your Layout.tml includes

T5: Enabling disabled datefield

2009-06-30 Thread Przemysław Wojnowski
Hi! Is there a way to submit datefield, which has attribute disabled="true" in template but was enabled using JavaScript on page. Currently enabling field using JS does nothing and datefield is not submitted, although it should IMHO. Or is there some other way to have field disabled by default, but

Re: [Announce] Tapestry Testify project

2009-06-30 Thread P . Stavrinides
> The latest snapshot's POM should pull in tapestry-test for you > transitively. >The latest snapshot's POM should pull in tapestry-test for you >transitively. Great stuff, it seems to work, thanks Paul! - Original Message - From: "Paul Field" To: "Tapestry users" Sent: Tuesday, 30 J

Re: Re: Re: access component variable

2009-06-30 Thread Captain Cid
nille hammer wrote: > > Hi Cid, > > I have just been to the toilett and have thought about your question. > Maybe you could nest component B in component A directly rather than in > the page? Example follows: > > in page.tml > ... > > ... > > in a.tml > ... > > > > how

Re: [Announce] Tapestry Testify project

2009-06-30 Thread Paul Field
> > So, you need to add a dependency on the tapestry-test module (and I need > > to check what's going on in the Testify POM because you should've got that > > automatically... ). > Thanks Paul, up and running now! please keep me posted once you have > the pom sorted. The latest snapshot's P

Re: Re: Re: access component variable

2009-06-30 Thread Captain Cid
I tried using Environment and it works..but i have a doubt A and B both are defined as component in my page... code snippet is like : page.java @Component private A a; @Component private B b; void beforeRender() { envoronment.push(A.class,a); } void afterRender() { environment

Re: Validating nested loops with helper classes

2009-06-30 Thread Stephan Windmüller
On Mon, 29. Jun 2009, Stephan Windmüller wrote: > The site is used to assign users to jobs. Each job has a java.util.List > of users assigned to it. Of course a user should not be assigned twice > to a job. To clarify this I modified the example from http://wiki.apache.org/tapestry/Tapestry5Howto

Re: Validating nested loops with helper classes

2009-06-30 Thread Stephan Windmüller
nille hammer schrieb: > This looks to me as if you were displaying all users that are allready > assigned to a Job in a select box. Correct, one user per SelectBox. > You´d need a select box with the UN-assigned users to make it possible to add > new ones to the Job. The number of users and t