Re: Getting Error when do any action in my page

2012-06-19 Thread karthick
Hi , Thanks for your reply. Ices is context path my application. http://localhost:8080/ices/app -- View this message in context: http://tapestry.1045711.n5.nabble.com/Getting-Error-when-do-any-action-in-my-page-tp5713876p5713971.html Sent from the Tapestry - User mailing list archive at

Re: PageTester cant handle querystring ?

2012-06-19 Thread Steve Eynon
A colleague already filed this JIRA last year: PageTester causes StringIndexOutOfBoundsException with query parameter https://issues.apache.org/jira/browse/TAP5-1770 While you're at it, you may also wish to patch TestableRequestImpl with the following: @Override public TestableRequest clear() {

Re: Getting Error when do any action in my page

2012-06-19 Thread Steve Eynon
Still... Servlet.service() for servlet ices threw exception ...sounds like a servlet is being invoked which is causing the NPE. T5 is a servlet filter, no servlet should be being called. Depending on your setup - have you read this?:

Re: PageTester cant handle querystring ?

2012-06-19 Thread Steve Eynon
There is also a duplicate JIRA for the PageTester bug and a patch file here: REOPEN TAP5-698 - PageTester's setupRequestFromURI incorrectly uses substring twice on same string https://issues.apache.org/jira/browse/TAP5-1936 Steve. -- Steve Eynon --- If at first you

BeanEditor should always provide a new BeanValidationContext (JSR-303)

2012-06-19 Thread Luca Menegus
Hi, we are starting to use tapestry-beanvalidator and found that the current BeanEditor implementation can't be used with complex beans (beans that contain other beans) for beanvalidation. The problem is that BeanEditor doesn't provide the correct BeanValidationContext to the validation

T5 template expansion for component

2012-06-19 Thread Norman Franke
I'm creating a list of t:checkbox items and I want to label them. I can't use t:label, since I need to customize the label. At first, I tried: ${component:myCheckItemID} since the documentation says that should result in the clientId for the compoent. It doesn't, I get basically the

Re: T5 template expansion for component

2012-06-19 Thread Howard Lewis Ship
So you have a CustomLabel component of some kind, right? What you need is to pass the Checkbox component as a parameter of type Field, and invoke Field.getLabel(). t:CustomLabel field=component:theCheckbox/ t:Checkbox t:id=thisCheckbox .../ And inside CustomLabel.java:

Re: T5 template expansion for component

2012-06-19 Thread Howard Lewis Ship
How about t:checkbox label=prop:propertyThatProvidesLabel? On Tue, Jun 19, 2012 at 8:47 AM, Norman Franke nor...@myasd.com wrote: I'm creating a list of t:checkbox items and I want to label them. I can't use t:label, since I need to customize the label. At first, I tried:

Re: ?t:lb=t being appended to query parameter

2012-06-19 Thread George Christman
Hi Howard, should I file this as a bug in Jira? -- View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5713977.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: T5 template expansion for component

2012-06-19 Thread Dusko Jovanovski
I don't see why you couldn't customize t:label, it supports informal parameters, everything you pass as an attribute will be passed down to the label tag. In the for parameter of t:label you pass the server id of the component. On Tue, Jun 19, 2012 at 5:47 PM, Norman Franke nor...@myasd.com

Re: Tapestry 5.2.5 Select component's multiple property

2012-06-19 Thread Ab
At first I used myList for the first field with multiple select and it worked. When I wanted to have two fields with multiple select I took myList out of the picture by commenting it out and used two new lists myList1 and myList2. However, in the methods getEncoder() and getModel() I originally

Re: T5 template expansion for component

2012-06-19 Thread Norman Franke
On Jun 19, 2012, at 12:43 PM, Howard Lewis Ship wrote: How about t:checkbox label=prop:propertyThatProvidesLabel? On Tue, Jun 19, 2012 at 8:47 AM, Norman Franke nor...@myasd.com wrote: I'm creating a list of t:checkbox items and I want to label them. I can't use t:label, since I need to

JSON issue when upgrading to 5.3.3 from 5.2.6

2012-06-19 Thread Dongmei Cao
Hi, After upgrading the Tapestry to 5.3.3 from 5.2.6, we have been getting the following exceptions. I know that it is because the client has the old JavaScript in the browser cache. My question is whether there is an elegant way to force the browsers to reload the JavaScript before the

Re: JSON issue when upgrading to 5.3.3 from 5.2.6

2012-06-19 Thread Howard Lewis Ship
Change your application version number. On Tue, Jun 19, 2012 at 3:00 PM, Dongmei Cao dongmei@icann.org wrote: Hi, After upgrading the Tapestry to 5.3.3 from 5.2.6, we have been getting the following exceptions. I know that it is because the client has the old JavaScript in the browser

QaModule / DevelopmentModule intended usage

2012-06-19 Thread Alex Kotchnev
Not having used Tapestry for a while, I ran into the addition of the QaModule and Development module. I've been looking at the new Tapestry project setup and I noticed the new (at least 'new for me') QaModule and DevelopmentModule . Is there a special relationship between the regular AppModule and

Re: QaModule / DevelopmentModule intended usage

2012-06-19 Thread Alex Kotchnev
Ah, I forgot to add the more important question - if I wanted to have other custom environments, how would I go about defining one ? I understand that I'd need to add a new module for the given environment, but the more interesting question is how to configure it to become active if a given value