t5: properties files

2010-03-18 Thread Angelo Chen
Hi, As I understand, Tapestry treats app_?.properties files as UTF-8 encoded and converts them to ISO-8850-1 with unicode escapes. however, this does not apply to the properties files accessed by Properties class, any idea how to do the same thing as what t5 is doing to those app.properties files

@For how to check last element?

2010-03-18 Thread asianCoolz
when using

Re: tapestry jumpstart without an editor (javax / compile problem)

2010-03-18 Thread Geoff Callender
Hi Quincy, Looks like you don't have the dependent files. Have you done step 4 of http://jumpstart.doublenegative.com.au/jumpstart4.5/installation.html ? HTH, Geoff On 19/03/2010, at 2:15 AM, Acklen, Quincy L wrote: > I'm having some difficulty getting tapestry to compile let alone run in >

Re: Directory listing error

2010-03-18 Thread Joost Schouten (ml)
URI /Index.tml may not be accessed remotely. try http://localhost:8081/index, without the .tml Tapestry by default will look for a /Start page (configurable with [1]), it seems like you have one called index and hence tapestry can't map / to anything and shows you a directory listing.

Re: Directory listing error

2010-03-18 Thread DH
Please have a look at your jetty log, there must be some error message when deploying your t5 application. DH - Original Message - From: "Mite" To: Sent: Friday, March 19, 2010 9:38 AM Subject: Directory listing error > > I have created a project few hours ago with the quickstart

Directory listing error

2010-03-18 Thread Mite
I have created a project few hours ago with the quickstart archetype. I was able to start it and it was running OK. I created some model classes and annotated them with hibernate to connect them to my database. Now I try to run the application (http://localhost:8081/)and all I get is a directory l

T5: native component needs asset: effects.js but I want to combine/minify js-files

2010-03-18 Thread britske
I've decorated ClientInfrastructure to supply my own set of required js-files. this is only 1 file containing complete prototype and a modified version of scriptaculous (stripped what I dont need, and some overridden controls) This all works well, but there is still a native component that injec

Re: linksubmit doesn't work on localized pages

2010-03-18 Thread Ilya Obshadko
No, the problem is that I don't see any request on the server side. No request is being sent at all. After clicking on linksubmit component it calls waitForPage() which is handling form submit event. Then, inside this function, it terminates right after checking whether Tapestry.pageLoaded is true

Re: linksubmit doesn't work on localized pages

2010-03-18 Thread Howard Lewis Ship
Do you see the request on the server side? I.e., use FireBug Net panel to see what request is being sent, what response is coming down. There shouldn't be any difference between normal and localized pages. Is it possible that some intermediate server is mangling the query path in some way? On T

linksubmit doesn't work on localized pages

2010-03-18 Thread Ilya Obshadko
I have a very strange blocker bug: linksubmit component doesn't work at all on localized pages. I have an AJAX form in a sidebar that processes user login and logout. Basically I'm on 5.1.0.5, but I am using LinkSubmit code from 5.1.0.6 (with a bugfix for working in zone-based forms). To make it

Use of eclipse plugin for T5 ?

2010-03-18 Thread jaques robert
Hi, Do you use any plugin inside eclipse for T5 ? I've tried loom with 3.4.1 however only the devel version seems to work (but do nothing visible. No completion. No actions) Regards, Mondes_engloutis.

Re: How to order libraries mapping ?

2010-03-18 Thread Christophe Cordenier
Hi I don't see any way to order your lib contribution, but it would be nice to have an ordered list instead, or maybe we should add a priority level to the LibraryMapping object to keep backward compatibility. Best Regards, Christophe Cordenier. 2010/3/17 Nourredine K. > Hello, > > I want to

Re: T5.2.0-SNAPHOT: newbie exceptions submitting form with BeanEditor

2010-03-18 Thread Howard Lewis Ship
It looks like what you have should work. This may represent a regression, based on the retooling of the ComponentClassTransformWorker code; it looks like the BeanEditForm (or BeanEditor) is possibly holding onto its instance of BeanModel from one request to the next, rather than starting from scrat

T5.2.0-SNAPHOT: newbie exceptions submitting form with BeanEditor

2010-03-18 Thread Joe Klecko
Hi, I'm trying to use the BeanEditor in a t:form which seems to work fine until I use the "add" parameter. I've read through the documentation and I'm just not sure what i'm doing wrong. The form renders fine but no matter what I do when I submit the form it always throws this exception: "Bean

tapestry jumpstart without an editor (javax / compile problem)

2010-03-18 Thread Acklen, Quincy L
I'm having some difficulty getting tapestry to compile let alone run in my IDE (IntelliJ IDEA 9) so I reverted to running the ant script from the command line. Ant (1.8.0) works fine for several other projects, as does tomcat (6.0) on my Windows XP machine. My build.properties file ends up loo

Re: [Announce] Wooki - Collaborative Writing - version 0.2.0 is here!

2010-03-18 Thread abangkis
hi, just wan't to point out that your download link still point to http://static.spreadthesource.com/wooki-0.1.war cheers, abangkis On Thu, Mar 18, 2010 at 2:37 PM, Christophe Cordenier wrote: > Hi > > You're very welcome. > > Also, note that we have planned to split wooki into smaller pieces

@EventListener on contrib:MultiplePropertySelection (Tapestry 4.1)

2010-03-18 Thread Michał Minicki
Hi. Is it possible to add @EventListener to a contrib:MultiplePropertySelection in Tapestry 4.1 (dojo) and listen to onclick on its checkboxes? I would like to redraw the component everytime I click on a checkbox (as I'm toggling disabled and checked properties on the rest of them then). I would l

Re: Validation based on condition

2010-03-18 Thread Jagadesh Paladugula
Thanks Christophe. Its working :) One more doubt, When I don't want to add validation, I am returning null, in this case page is not getting rendered. Should I need to create a new validator "Optional", make this as default validator; Regards, Jagadesh On Thu, Mar 18, 2010 at 1:01 PM, Christoph

Re: Order of processing of mixins

2010-03-18 Thread Kalle Korhonen
Just in general, explicit order of listeners would destroy (current or future) possibilities for implicit parallelism. Problems with listener ordering can be solved with event propagation (by creating a nested element). Kalle On Thu, Mar 18, 2010 at 12:27 AM, LiborGMC wrote: > > Hi, thanks for

Re: [Announce] Wooki - Collaborative Writing - version 0.2.0 is here!

2010-03-18 Thread Christophe Cordenier
Hi You're very welcome. Also, note that we have planned to split wooki into smaller pieces, so tapestry developers here can use reusable parts of wooki in the form of small contribution for their project. We still need to install our maven repository and then try the refactor work, but this is o

Re: Validation based on condition

2010-03-18 Thread Christophe Cordenier
@Inject private FieldValidatorSource source; @InjectComponent private Field yourField; public FieldValidator getDynamicConstraints() { return source.createValidators(yourField, "required", null); } Note that this is how we generally use Tapestry Services by injecting them. Have a look at the A

Re: Order of processing of mixins

2010-03-18 Thread LiborGMC
Hi, thanks for responses. I'm using 5.1.0.5. Version 5.2 brings me more pain than gain ;-). I think my problem could be somewhere else: both my mixins wired event handlers to same event "onclick". I don't know JS very well but could be possible that JS don't keep ordering when notify listeners fo

Re: Validation based on condition

2010-03-18 Thread Jagadesh Paladugula
Hi Christophe, Could you please give me a sample implementation. Regards, Jagadesh On Thu, Mar 18, 2010 at 12:39 PM, Christophe Cordenier < christophe.corden...@gmail.com> wrote: > Hi > > Try with fielvalidtorsource service to build your conditional constraints. > > Regards > Christophe cordeni

Re: Validation based on condition

2010-03-18 Thread Christophe Cordenier
Hi Try with fielvalidtorsource service to build your conditional constraints. Regards Christophe cordenier Le 18 mars 2010 à 06:59, Jagadesh Paladugula m> a écrit : Hi Everyone, I have a form which is getting generated dynamically based on some values in database. I want to add validat