Re: form method="GET"

2013-01-23 Thread trsvax
I did some testing and while I can see a reason to support GET, I think the way forms currently work make @ActivationRequestParamater along with the redirect a better choice because Tapestry uses a hidden field to map the form data to the Java parameters and I don't think you want that in the URL.

Re: ProgressiveDisplay UnknownValueException

2013-01-23 Thread Bryan Lewis
I've seen this error message when there was a JavaScript error elsewhere in my page. On Wednesday, January 23, 2013, George Christman wrote: > My bad, I pasted my test component exception with a different event > handler. > Anyhow, same exception with correct event handler. > > ioc.Registry A com

RE: Jquery Datatable ajax'd sort reverses

2013-01-23 Thread mwrohde
Excellent. Thank you. Do you happen to know a timeline? Or, a workaround? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Jquery-Datatable-ajax-d-sort-reverses-tp5719457p5719459.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

RE: Jquery Datatable ajax'd sort reverses

2013-01-23 Thread Tony Nelson
That should be fixed in an upcoming release to tapestry-jquery. I worked with Demey from their team to get that resolved, he just needs to check in and push the fix. -Original Message- From: mwrohde [mailto:mro...@navicure.com] Sent: Wednesday, January 23, 2013 12:32 PM To: users@tapest

Jquery Datatable ajax'd sort reverses

2013-01-23 Thread mwrohde
I've been struggling with the jquery datatable. I've been on this thread with some server side pagination and sorting: http://tapestry.1045711.n5.nabble.com/ANN-JumpStart-gets-jQuery-DataTables-example-td5715816.html

Re: ProgressiveDisplay UnknownValueException

2013-01-23 Thread George Christman
My bad, I pasted my test component exception with a different event handler. Anyhow, same exception with correct event handler. ioc.Registry A component event handler method returned the value Block[Body of PurchaseRequest:showone, at classpath:org/mydomain/eprs/pages/PurchaseRequest.tml, line 18

ProgressiveDisplay UnknownValueException

2013-01-23 Thread George Christman
Hello, I'm using the ProgressiveDisplay component with Tapestry-Jquery. My code is as followed. Audit Trail ${prLogging.label} @Property pri

Re: Null pointer exception when updating a component in a loop

2013-01-23 Thread Thiago H de Paula Figueiredo
On Wed, 23 Jan 2013 13:54:58 -0200, Peter Farkas wrote: Thiago H de Paula Figueiredo wrote I'm sorry, but you're wrong here. It has absolutely nothing to do with loops. Nothing. The issue, as I've said before, was not passing a parameter in an later AJAX render. The first render, a full page

Re: Exception constructing service 'ValueEncoderSource'

2013-01-23 Thread Thiago H de Paula Figueiredo
On Wed, 23 Jan 2013 13:03:09 -0200, nquirynen wrote: Hi I'm using Tapestry 5.3 and also tapestry-hibernate. Hi! Can someone point me to where to find the problem? Yep! It's right in the beginning of the error message! :D ;) java.lang.RuntimeException: Exception constructing service 'V

Re: Null pointer exception when updating a component in a loop

2013-01-23 Thread Peter Farkas
Thiago H de Paula Figueiredo wrote > I'm sorry, but you're wrong here. It has absolutely nothing to do with > loops. Nothing. The issue, as I've said before, was not passing a > parameter in an later AJAX render. The first render, a full page one, > passed the parameter correctly. A second on

Re: Tapestry performance

2013-01-23 Thread Thiago H de Paula Figueiredo
On Wed, 23 Jan 2013 11:36:01 -0200, John wrote: That's interesting Thiago, in the chart JSP ranked slightly better than Tapestry but not as well as play. Where's this chart? By the way, as far as I know, Play doesn't use JSP nor the Servlet API. Regarding Tapestry vs JSP, Tapestry has more

Re: [ANN] JumpStart gets jQuery DataTables example

2013-01-23 Thread mwrohde
Geoff Callender-2 wrote > setupRender() doesn't get called in an AJAX request. I very much appreciate all the help (from everyone). However, just for feedback, it is definately calling setupRender(). I've got logging statements in each method and that one is getting called. I'm going to install

Re: Tapestry performance

2013-01-23 Thread John
That's interesting Thiago, in the chart JSP ranked slightly better than Tapestry but not as well as play. I'm not sure what the test case is like though but taglibs can easily get out of hand. I think performance tests should compare complex web pages and form handling because trivial test case

Re: form method="GET"

2013-01-23 Thread Lance Java
The fact that I have mentioned two of the biggest sites on the internet, google and ebay, using flags to me that this should be supported in tapestry. Should I file a jira for this or is it a conscious decision made in tapestry to NOT support "GET"? To clarify, I think that tapestry should redire

Re: form method="GET"

2013-01-23 Thread Lance Java
I'm trying to avoid session creation (ie flash persistance). At the moment, a session is only created at login but users can perform a search without being logged in. In eBay, for instance, I can see the advanced search is backed by a -- View this message in context: http://tapestry.1045711.n

Re: form method="GET"

2013-01-23 Thread Thiago H de Paula Figueiredo
On Wed, 23 Jan 2013 08:53:42 -0200, Lance Java wrote: As I mentioned in my original post, I could use onActivate / onPassivate which is equivalent to @ActivationRequestParameter but I would prefer . Why? You have a lot of fields, so you'll end up with a long, ugly URL, and some browsers

Re: Null pointer exception when updating a component in a loop

2013-01-23 Thread Thiago H de Paula Figueiredo
On Wed, 23 Jan 2013 06:03:33 -0200, Peter Farkas wrote: Thanks a lot, Thiago! Yes, passing the child as a context parameter fixes it. ;) I think Tapestry does try to figure out the component parameters for a partial update, but for loops, it can't. I'm sorry, but you're wrong here. It

Re: form method="GET"

2013-01-23 Thread Lance Java
Alejandro, you mentioned @ActivationRequestParameter which I was confusing with @PageActivationContext which you can only have one of. I think I can get it to work with multiple @ActivationRequestParameter for each filter field. Thanks. I'm still of the opinion that tapestry should support as it

Re: form method="GET"

2013-01-23 Thread Lance Java
Hi Alejandro, my search is an advanced search and has much more than a simple "q" parameter. I have fields for category, query, location, min price, max price etc etc etc. I have encapsulated all of these fields into a bean named SearchFilter. As I mentioned in my original post, I could use onActi

Re: form method="GET"

2013-01-23 Thread Lance Java
I'd be very surprised if a mixin would work. Tapestry's form is hard-coded to require post Form.java === private void executeStoredActions() { String[] values = request.getParameters(FORM_DATA); if (!request.getMethod().equals("POST") || values == null) thr

Re: form method="GET"

2013-01-23 Thread Alejandro Scandroli
Hi Lance Can you tell us more about what are you trying to achieve with using the GET method? If you are after bookmarkability and persistence after refresh then I think that @ActivationRequestParameter is a good option, as Barry said. My approach is to do the filtering during the setupRender an

Re: T5.3 Select Component onValueChanged never fired

2013-01-23 Thread wesleywj2
hi, thanks for the reply, however i found out the culprit. it's my submit button, it has a clickonce mixin which prevent the ajax method calling. when i removed it, it works ok. i guess the mixin of clickonce is not working very well now. -- View this message in context: http://tapestry.104571

Re: Null pointer exception when updating a component in a loop

2013-01-23 Thread Peter Farkas
Thanks a lot, Thiago! Yes, passing the child as a context parameter fixes it. In ExecutableRowPair.java: I think Tapestry does try to figure out the component parameters for a partial update, but for loops, it can't. In the loop, the same instance of 'ExecutableRowPair' is rendered multiple ti