Re: t:container vs t:content?

2012-01-22 Thread Josh Canfield
>From the docs: http://tapestry.apache.org/component-templates.html A element contains markup without being considered part of the template. marks a portion of the template as the actual template content; any markup outside the element is ignored. t:container must be the root element. It allow

Re: messages bundle containing special characters

2012-01-22 Thread Paul Stanton
Ah, that's it .. my project/eclipse workspace defaults to ISO-8859-1 which i thought was recommended.. ? On 20/01/2012 6:23 PM, Kalle Korhonen wrote: On Thu, Jan 19, 2012 at 10:30 PM, Paul Stanton wrote: I did try just the ®initially, however it doesn't seem to work. The Make sure you are sa

Group of related t:checkboxes bound to a single variable?

2012-01-22 Thread Julien Martin
Hello, I need to have a number of t:checkbox bound to an List of one of my domain classes as follows: @Property @Persist List theList; I would then implement a T5 valueEncoder for MyDomainClass. Is this possible? I have this requirement of binding the checkboxes to a List because I need finer

t:container vs t:content?

2012-01-22 Thread Julien Martin
Hello, I have read the documentation and have had a look into code samples and I am still trying to figure out the difference between *t:container* and * t:content*. Can anyone please advise? Regards, Julien.

Re: org.apache.tapestry5.ioc.internal.OperationException

2012-01-22 Thread Bob Harner
The root exception appears to be: Caused by: java.lang.NullPointerException at ae.sukar.client.http.pages.checkout.CheckoutOrderSummary.onActivate(CheckoutOrderSummary.java:179) So, are you accessing a method on a sometimes-null object at CheckoutOrderSummary.java line 179? On Sun, Jan 22

org.apache.tapestry5.ioc.internal.OperationException

2012-01-22 Thread Adeeb Maqsood Cheulkar
Dear Tapestry User I need some help to understand under which run time condition Exception: org.apache.tapestry5.ioc.internal.OperationException occurs? I believe that if an Injected object has null value then it will refer give this exception. I got following exception in console: Referer [null

Re: Some tips... client side

2012-01-22 Thread Thiago H. de Paula Figueiredo
On Sun, 22 Jan 2012 04:32:25 -0200, csckid wrote: I need to populate a grid using values entered into a autocomplete textfield. In order to enter the values into the grid what sort of button should I use? Should I use an eventlink, or submit button or should I write javascript code into t

Re: Some tips... client side

2012-01-22 Thread csckid
Eventlink cannot retrieve the value of a textfield with or without autocomplete mixin. However, submit button can retrieve the value. void onAddToPrescriptionTest(){ System.out.println("\n\n\n" + fNameTf + "\n\n\n"); //returns null } void onSuccess(){ System.out.pri

Re: Some tips... client side

2012-01-22 Thread Lenny Primak
It should work I think. Are you saying that if you remove autocomplete then it starts working? The only time I believe you need JS code is if the DOM is getting modified at runtime outside tapestry control. On Jan 22, 2012, at 2:51 AM, csckid wrote: > eventlink cannot read the value of the a