Re: Over Reliance on Session Storage

2014-04-15 Thread Luke Wilson-Mawer
On Tue, Apr 15, 2014 at 2:31 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 15 Apr 2014 07:48:47 -0300, Luke Wilson-Mawer < > lukewilsonma...@gmail.com> wrote: > > A slightly more significant departure might be to start replacing your >

Re: Over Reliance on Session Storage

2014-04-15 Thread Luke Wilson-Mawer
Hi Ben, Have you tried using Tapestry's client persistence? I'm not up to speed with how well it works now. A slightly more significant departure might be to start replacing your pages and components with stateless rest endpoints using Tynamo's tapestry-resteasy, a piece at a time. We've done thi

Re: Caching of assets (js libraries, css etc.)

2014-03-14 Thread Luke Wilson-Mawer
nt hash in module URLs, and no far-future expires header (since an > upgrade of the app may change the module). However, there's still ETags > support, so most module requests are quickly responded to with a 304 status > code. > > > On Fri, Mar 14, 2014 at 9:35 AM, Luke Wi

Caching of assets (js libraries, css etc.)

2014-03-14 Thread Luke Wilson-Mawer
In previous version the asset URLs contained the version, so they would change each time the version changed. In 5.4 this doesn't seem to be the case. Am I mistaken? If not, is this by design? And what's to stop assets being cached between releases of different versions of the software? Kind rega

Re: [5.4-beta-2] Two JavaScript Errors - Quick Fixes

2014-01-25 Thread Luke Wilson-Mawer
I advised modulemanager to fix this. On 23 Jan 2014 21:44, "Dimitris Zenios" wrote: > Until this is fixed a quick tip. > > You dont have to create custom jars.just create a new js file with the same > filename as the one you want to fix and place it on your meta-inf using the > same folder struct

Re: AjaxFormLoop Implementation

2014-01-24 Thread Luke Wilson-Mawer
e using this component, would you mind telling > me if my configuration is similar to yours? I'm not sure that I'm using the > encoder properly etc. Thank you. > > > On Fri, Jan 24, 2014 at 7:15 AM, Luke Wilson-Mawer < > lukewilsonma...@gmail.com> wrote: > &

Re: AjaxFormLoop Implementation

2014-01-24 Thread Luke Wilson-Mawer
Yes, I noticed a bug in Tap 5.4-beta-2 but it may not be related to yours. The events.zone.didUpdate event isn't triggered when a row is added because of a javascript error. >From memory the click event for adding a new element returns something like newElement.trigger... when it should be $(new

Re: AssetsModule.ResourceMinimizer Exception yui compressor

2012-04-23 Thread Luke Wilson
On 23 Apr 2012, at 17:58, Kalle Korhonen wrote: > On Mon, Apr 23, 2012 at 4:37 AM, Luke Wilson wrote: >> On 23 Apr 2012, at 11:25, netdawg wrote: >>> Thanks, Luke. Yes, please... >> I've uploaded the repackaged version here: >> http://viscri.co.uk/labs/tape

Re: Contribute custom messages

2012-04-23 Thread Luke Wilson
Hi, In 5.3, overriding ComponentMessageSource is a bit harder than you might think: https://issues.apache.org/jira/browse/TAP5-1850 Luke On 12 Apr 2012, at 10:11, Gerold Glaser wrote: > Hi Henrik! > > You can override or decorate the ComponentMessageSourceImpl and enhance it > with your requi

Re: AssetsModule.ResourceMinimizer Exception yui compressor

2012-04-23 Thread Luke Wilson
Pleased it worked. Luke On 23 Apr 2012, at 17:23, netdawg wrote: > Indeed that fixed the issue. > > Much Thanks, Luke. > > This community is simply great! > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/AssetsModule-ResourceMinimizer-Exception-yui-c

Re: PlasticClass.getMethods() doesn't include introduced methods.

2012-04-23 Thread Luke Wilson
t can't be > addressed that way, and because I like to raise the bar higher in > terms of efficiency on things inside the framework that will be > replicated (hundreds of) thousands of times in an application. +1 to bar-raising! > > On Sat, Apr 21, 2012 at 5:12 AM, Luke Wi

Changed behaviour in tapestry 5.3 with discarding persistent fields.

2012-04-23 Thread Luke Wilson
Hi, The following documentation in ComponentResources is misleading in Tapestry 5.3.2. /** * Discards all persistent field changes for the page containing the component. Changes are eliminated from * persistent storage (such as the {@link org.apache.tapestry5.services.Session}) w

No defaultValidate method on RadioGroup

2012-04-23 Thread Luke Wilson
Hi, There is no defaultValidate method in the RadioGroup component. We have a longstanding workaround (which doesn't work anymore because of plastic issues) to add a method dynamically. This issue seems to have been around for a while: http://mail-archives.apache.org/mod_mbox/tapestry-users/20

Re: AssetsModule.ResourceMinimizer Exception yui compressor

2012-04-23 Thread Luke Wilson
On 23 Apr 2012, at 11:25, netdawg wrote: > Thanks, Luke. Yes, please... I've uploaded the repackaged version here: http://viscri.co.uk/labs/tapestry/yuicompressor-rhino-bugfix-5.0.jar > > net.dawg at yahoo > > Did I have to install into maven repository (would appreciate version etc)? >

Re: AssetsModule.ResourceMinimizer Exception yui compressor

2012-04-23 Thread Luke Wilson
The only way I could fix this when I came across this problem was to repackage the whole yui jar to contain most of rhino. http://stackoverflow.com/questions/6652550/yui-compressor-stringindexoutofboundsexception-on-jboss Let me know if you need the package and I'll see if I can send it to you.

Re: PlasticClass.getMethods() doesn't include introduced methods.

2012-04-21 Thread Luke Wilson-Mawer
On 20 Apr 2012, at 19:00, Howard Lewis Ship wrote: > On Fri, Apr 20, 2012 at 9:39 AM, Luke Wilson wrote: >> >> More is described here: >> http://stackoverflow.com/questions/10249254/tapestry-5-3-plasticclass-getmethods-doesnt-include-introduced-methods. >> >

PlasticClass.getMethods() doesn't include introduced methods.

2012-04-20 Thread Luke Wilson
Hi, The behaviour of the now deprecated ClassTransformation.matchMethods() and related methods has changed to not include introduced Methods. I believe this problem also applies to fields. On top of this, the built in ClassTransformationWorker2s use PlasticClass.getMethods() directly to find

CSS Stacks

2011-11-09 Thread Luke Wilson-Mawer
Hi, Are relative URLs in CSS the only reason that combining CSS files in stacks isn't supported? Or are there other issues? Basically, I want to serve a combined stack for each 'product' in our multi product application. Products contain many CSS files. I'm looking now at how to add CSS suppor

Re: tapestry.apache.org is down?

2011-01-19 Thread Luke Wilson
Aha, it seems to be back up now. On 19 Jan 2011, at 13:36, Dmitry Gusev wrote: > http://apache.org/ is down for me > > On Wed, Jan 19, 2011 at 16:34, Taha Hafeez wrote: > >> yes, it is down >> >> taha >> >> On Wed, Jan 19, 2011 at 7:01 PM, Luke W

Re: tapestry.apache.org is down?

2011-01-19 Thread Luke Wilson
Actually, everything under tapestry.apache.org seems to be down. On 19 Jan 2011, at 13:28, Luke Wilson wrote: > Hi, > > http://tapestry.apache.org/tapestry5/ is up > > http://tapestry.apache.org is down (for me at l

tapestry.apache.org is down?

2011-01-19 Thread Luke Wilson
Hi, http://tapestry.apache.org/tapestry5/ is up http://tapestry.apache.org is down (for me at least) Luke - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.ap

Re: Can I disable template proessing for a section of my TML file ?

2011-01-17 Thread Luke Wilson
Perhaps you can you engineer it so you use addScript and pass all dynamic items to a constructor, keeping your JS in a separate file. Luke On 17 Jan 2011, at 12:33, Gunnar Eketrapp wrote: > No that didn't work either. > > 2011/1/17 Luke Wilson > >> Does enclosing the

Re: Can I disable template proessing for a section of my TML file ?

2011-01-17 Thread Luke Wilson
Does enclosing the JS in a CData section help? http://en.wikipedia.org/wiki/CDATA Luke On 17 Jan 2011, at 11:40, Gunnar Eketrapp wrote: > This ugly hack solved the problem but is far from what we want :-) > >if (counter 1) { > > /Gunnar > > 2011/1/17 Gunnar Eketrapp > >> I en