Re: Disable clientside x on serverside validation

2012-06-15 Thread George Christman
Yup, figured it out already. Thanks Steve. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Disable-clientside-x-on-serverside-validation-tp5713893p5713937.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Disable clientside x on serverside validation

2012-06-15 Thread Steve Eynon
That's not a server class, that's done in JavaScript. Look at the createUI() function in Tapestry.ErrorPopup around line 1300 in tapestry.js You may have to monkey patch the JS with your own function(s) / class. Steve. -- Steve Eynon --- "If at first you don't succeed,

Re: Element.getChildren() returns ArrayList

2012-06-15 Thread Howard Lewis Ship
Importantly, the critical thing done with an Element, rendering markup to a character stream, walks the list and doesn't use this method. Earlier versions of Tapestry uses an internal ArrayList for storing the children; this was changed in 5.1 or 5.2 to help reduce the memory footprint of pages.

Re: Disable clientside x on serverside validation

2012-06-15 Thread George Christman
I figured this out, just needed to override the js. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Disable-clientside-x-on-serverside-validation-tp5713893p5713933.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Tapestry 5.3.4-rc-5

2012-06-15 Thread Howard Lewis Ship
I straightened out a number of startup deadlock issues for 5.2. They can be very challenging to root out. On Thu, Jun 14, 2012 at 9:47 PM, Jens Breitenstein TOC < jens.breitenst...@t-o-c.biz> wrote: > Hi Howard, > > In the past we had severe problems with T5 when a tomcat was started under > hea

Re: Tapestry 5.3.4-rc-5

2012-06-15 Thread Jens Breitenstein TOC
Hi Howard, In the past we had severe problems with T5 when a tomcat was started under heavy load. It deadlocked reproduceble in the classloader / bytecode instrumentation area. Thus we workaround this issue but clicking the index page manually ones before adding the tomcat to the loadbalancer (

Re: Element.getChildren() returns ArrayList

2012-06-15 Thread Thiago H de Paula Figueiredo
On Fri, 15 Jun 2012 12:35:07 -0300, Lance Java wrote: Have you checked http://tapestryxpath.sourceforge.net I'm aware of the library but I haven't used it. I can only assume that it makes use of Element.getChildren() too (unless it accesses the private "firstChild" and "nextSibling" fields w

Re: Element.getChildren() returns ArrayList

2012-06-15 Thread Lance Java
> Have you checked http://tapestryxpath.sourceforge.net I'm aware of the library but I haven't used it. I can only assume that it makes use of Element.getChildren() too (unless it accesses the private "firstChild" and "nextSibling" fields which I highly doubt). > Have you done any benchmarks to kn

Re: Element.getChildren() returns ArrayList

2012-06-15 Thread Thiago H de Paula Figueiredo
On Fri, 15 Jun 2012 04:57:57 -0300, Lance Java wrote: When manipulating the serverside DOM in a mixin etc, the only public API for accessing a node's children is via Element.getChildren(). Have you checked http://tapestryxpath.sourceforge.net/? I haven't yet, but I should. :) The getCh

Re: Disable clientside x on serverside validation

2012-06-15 Thread George Christman
Steven, do you happen to know what class handles the tjq-error-popup div? After looking at this closely, it might make better sense to create a new Validation Decorator, I was using css to alter the x img to a V pointer from the bubble to the field. Might be easier to just include that with the tjq

Re: What do you use to do "full text" search

2012-06-15 Thread Thiago H de Paula Figueiredo
On Fri, 15 Jun 2012 06:34:11 -0300, Massimo Lusetti wrote: On Thu, Jun 14, 2012 at 7:58 PM, Thiago H de Paula Figueiredo wrote: The company I work for uses Apache Solr. I've talked to some friends that work at another company and they seem to be happy with it too, even having a backend

Re: What do you use to do "full text" search

2012-06-15 Thread Massimo Lusetti
On Thu, Jun 14, 2012 at 7:58 PM, Thiago H de Paula Figueiredo wrote: > The company I work for uses Apache Solr. I've talked to some friends that > work at another company and they seem to be happy with it too, even having a > backend server written in C++. :P The more I look the more I see a goo

Re: Tapestry 5.3.4-rc-5

2012-06-15 Thread Denis Stepanov
Right, I should known that it will not lock when there are some readers. Denis Jun 14, 2012 v 7:28 PM, Howard Lewis Ship: > I'm already somewhat unhappy at the complexity of the code; I'd prefer not > to make it any more complicated. I think race conditions on the write lock > are going to be p

Re: Adding confirmation step to form

2012-06-15 Thread David Rees
On Fri, Jun 15, 2012 at 12:57 AM, Geoff Callender wrote: > See if this helps: the Wizard Using Form Fragments example on: > >     http://jumpstart.doublenegative.com.au/jumpstart Yeah - don't know how I missed that before - that looks like the perfect solution and is nearly exactly the app flow I

Re: Adding confirmation step to form

2012-06-15 Thread Lance Java
I'm pretty sure that hidden fields will not be validated by tapestry. You can wrap non-hidden fields in a -- View this message in context: http://tapestry.1045711.n5.nabble.com/Adding-confirmation-step-to-form-tp5713910p5713922.html Sent from the Tapestry - User mailing list archive at Nabble.co

Element.getChildren() returns ArrayList

2012-06-15 Thread Lance Java
When manipulating the serverside DOM in a mixin etc, the only public API for accessing a node's children is via Element.getChildren(). The getChildren() method creates a new ArrayList, adds all the children and returns it which I think is inneficcient. I would have expected getChildren() to retur

Re: Adding confirmation step to form

2012-06-15 Thread Geoff Callender
See if this helps: the Wizard Using Form Fragments example on: http://jumpstart.doublenegative.com.au/jumpstart Cheers, Geoff On Friday, 15 June 2012, Paul Stanton wrote: > The simplest way would be to save your form data into a bean, and use the > @Persist annotation on your bean so you c

Re: Checklist disabled possible bug

2012-06-15 Thread Lance Java
You can always write a mixin to tweak the DOM generated by any component. You could write a mixin to add disabled="true" to all the checkboxes and attach it to the checklist. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Checklist-disabled-possible-bug-tp5713681p5713919.h

Re: BreadCrumbsModule error

2012-06-15 Thread Lance Java
> I was testing it with 0.0.3-Snap No, please try this code with the normal (non snapshot) zbreadcrumbs dependency. -- View this message in context: http://tapestry.1045711.n5.nabble.com/BreadCrumbsModule-error-tp5713794p5713918.html Sent from the Tapestry - User mailing list archive at Nabble.co

Re: BreadCrumbsModule error

2012-06-15 Thread sommeralex
1. only on the server 2. i will check everything again, and if, upload / test again and give feedback asap. 3. i was testing it with 0.0.3-Snap thx 2012/6/15 Lance Java [via Tapestry] < ml-node+s1045711n5713916...@n5.nabble.com> > For better or worse, this is a new exception. > 1. Is this failur