Re: 404 from onActivate

2010-03-24 Thread Joost Schouten (ml)
Hi Jan, Did you find a solution to this problem on tomcat? I am faced with exectly the same situation where the response.sendError(404, null); works great in jetty but not on tomcat. Cheers, Joost Jan Jirout wrote: Hi, thanks for replay. My situation is exactly as you wrote. After all thi

Dynamic loading of JavaScript libraries in Safari broken?

2010-03-24 Thread Howard Lewis Ship
Just noticed something in the application I'm building. The page is complicated with a lot of Ajax; part of the page will load in a sophisticated component (the Tapx SetEditor) which includes additional JS & CSS files that are not part of the initial page load. It works in FF but not in Safari. I

Re: [tapx-datefield] bug in dynarch calendar-nl.js

2010-03-24 Thread Joost Schouten (ml)
Great! I look forward to what's up next in the tapx package. Currently I am working from a patched tag and it works fine. Howard Lewis Ship wrote: Sorry, I've seen your issue but haven't had a chance to take the patch yet. I'll look into it today, I'm creating some tapx components for a client

Re: [tapx-datefield] bug in dynarch calendar-nl.js

2010-03-24 Thread Howard Lewis Ship
Sorry, I've seen your issue but haven't had a chance to take the patch yet. I'll look into it today, I'm creating some tapx components for a client right now. On Wed, Mar 24, 2010 at 2:25 PM, Joost Schouten (ml) wrote: > Hi, > > There seems to be a bug in the calendar-nl.js used in the tapx-date

Re: Live service reloading in 5.2

2010-03-24 Thread Howard Lewis Ship
Thanks for the heads up; I think I know why this is behaving as you suggest, and its fixable. Add an issue. Basically, when using reloadable, the object at the end of the delegate/advice stack, which is normally the service implementation, is itself a proxy that performs live class reloading. Curr

Re: Live service reloading in 5.2

2010-03-24 Thread Christophe Cordenier
Hi .eagerload() does not work when we do not call preventReload() on the service. If it's by design, maybe the first call to one of the two methods should take the priority, or maybe an exception should be thrown if the two are called on the service. Best Regards, Christophe Cordenier. 2010/3/13

[tapx-datefield] bug in dynarch calendar-nl.js

2010-03-24 Thread Joost Schouten (ml)
Hi, There seems to be a bug in the calendar-nl.js used in the tapx-datefield. It is teh same bug as described at [1] in the calendar-de.js file. I created an ticket and patch for it at github [2] but am unsure if this is used. Should I also create a ticket at http://tapestry.formos.com/jira?

Re: Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Christophe Cordenier
mmm, already done all of this. But thank you anyway. 2010/3/24 Andreas Andreou > Try closing the project in eclipse, > then cleaning ~/.m2/repository/org/apache/tapestry/** > and finally doing an intial build from the commang line > > On Wed, Mar 24, 2010 at 21:31, Christophe Cordenier > wrot

Re: Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Andreas Andreou
Try closing the project in eclipse, then cleaning ~/.m2/repository/org/apache/tapestry/** and finally doing an intial build from the commang line On Wed, Mar 24, 2010 at 21:31, Christophe Cordenier wrote: > ...cannot figure out what ?? > > If Anyone has a valid pom.xml to share with apache reposi

Re: Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Christophe Cordenier
...cannot figure out what ?? If Anyone has a valid pom.xml to share with apache repository configured, it would be really helpful ? Best Regards 2010/3/24 Christophe Cordenier > > > 2010/3/24 Andreas Andreou > > i see the same values (which makes sense since the one url is an alias >> to the

Re: Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Christophe Cordenier
2010/3/24 Andreas Andreou > i see the same values (which makes sense since the one url is an alias > to the other i guess) > The md5 should be changing every time there's a deploy so i'm still > not sure how > that affected eclipse... > Actually my nightmare has started since i have removed form

Re: Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Andreas Andreou
i see the same values (which makes sense since the one url is an alias to the other i guess) The md5 should be changing every time there's a deploy so i'm still not sure how that affected eclipse... On Wed, Mar 24, 2010 at 20:53, Christophe Cordenier wrote: > It seems that > maven-metadata.xml.m

Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Christophe Cordenier
It seems that maven-metadata.xml.md5is different from https://repository.apache.org/content/groups/public/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/ and http

Re: LabJs

2010-03-24 Thread based2
On the subject: http://www.reddit.com/r/programming/comments/bh98u/the_truth_about_ajax_performance_slides/ Fernando Padilla wrote: > > I just learned of this neat Js library to help load Js files faster. > Maybe Tapestry should look into leveraging it. If the new > JavascriptSupport, could

Re: Tapestry and SeeSaw talk

2010-03-24 Thread Massimo Lusetti
On Wed, Mar 24, 2010 at 6:29 PM, Ben Gidley wrote: > Hi, > > I did a talk last night on how we used tapestry for SeeSaw.com and if you > are interested there is a video podcast at > http://skillsmatter.com/podcast/java-jee/tapestry-5-in-action-for-real and > the slides are at links.gidley.co.uk/t

Decorate parameter

2010-03-24 Thread Christophe Cordenier
Hi I am currently trying to decorate the encoder parameter of Select component (at least every component that has an encoder parameter) to apply an indirection on client Value (see owasp rule A4) I have tried to use InternalComponentResources of the container to write a new value via the Binding,

Re: Could not find a coercion (T5)

2010-03-24 Thread Thiago H. de Paula Figueiredo
On Wed, 24 Mar 2010 10:56:00 -0300, jaques robert wrote: So it works for the display, however it seems that it isn't sufficiant for update ... Why ? Because Tapestry needs to keep information about the looped objects so they can be correctly updated when the form is submitted. -- Thiago

Re: Could not find a coercion (T5)

2010-03-24 Thread jaques robert
I don't understand the need of use of coercion inside loop. Indeed in my loop I define : <<                                 ${processType.processType} (${processType.processTypeDN})                                                >> So it works for the display, however it seems that

Re: Could not find a coercion (T5)

2010-03-24 Thread Thiago H. de Paula Figueiredo
On Wed, 24 Mar 2010 10:16:10 -0300, jaques robert wrote: Have you got some samples about using ValueEncoder ? It's quite easy. toClient() should return the id of the received object. toValue() should return the object that has a given id. This last method is usually implemented using a

Re: Could not find a coercion (T5)

2010-03-24 Thread Michael Gentry
Here is one from our code (I made no attempt to map it to yours, but hopefully it'll give you an idea): @Property private final ValueEncoder answerEncoder = new ValueEncoder() { @Override public String toClient(SurveyAnswer answer) {

Re: Could not find a coercion (T5)

2010-03-24 Thread jaques robert
Thanks a lot. << If you're editing ExportProcessType instances, implement a ValueEncoder for that type and use pass it to the encoder parameter of Loop. If you're not, try formState="none" in the Loop. >> Have you got some samples about using ValueEncoder ? Regards, Mondes_engloutis. --- En

Re: Could not find a coercion (T5)

2010-03-24 Thread Thiago H. de Paula Figueiredo
On Wed, 24 Mar 2010 09:20:43 -0300, jaques robert wrote: Hi, Hi! org.apache.tapestry5.ioc.internal.util.TapestryException Could not find a coercion from type java.lang.String to type com.wizard.data.model.ExportProcessType. If you're editing ExportProcessType instances, implement a Va

Could not find a coercion (T5)

2010-03-24 Thread jaques robert
Hi, I've got a simple T5 file with the following loop : <<                                           ${processType.processType} (${processType.processTypeDN})                                                                                                                                     

Re: LabJs

2010-03-24 Thread Andreas Andreou
I was aware of RequireJS (formerly RunJS) which i thought would become a standard (more ties to CommonJS) - a guess there's competition in that field as well! On Wed, Mar 24, 2010 at 09:40, Fernando Padilla wrote: > I just learned of this neat Js library to help load Js files faster.  Maybe > Tap

Re: Documentation Request/Suggestion

2010-03-24 Thread Piero Sartini
> So a community-driven documentation effort is out of the question unless we > come up with a system or procedure that complies with ASF rules. We could just require to sign a CLA for people that want to help out with documentation. This would mean to give rights to modifiy/create only to people

Re: [T5.2] Deprecated public API of RenderSupport removed without replacements?

2010-03-24 Thread Massimo Lusetti
On Tue, Mar 23, 2010 at 5:36 PM, Howard Lewis Ship wrote: > I think because I had built all the supporting APIs around Assets, not > links.  I'm sure there's a way to slip this back in. It would be useful to people which need to integrate with legacy apps (as me) Cheers -- Massimo http://merid

Re: Documentation Request/Suggestion

2010-03-24 Thread Markus Feindler
What about developing such a system in Tapestry, document the code and use it as a guide? Two birds with one stone. > > Original-Nachricht > Datum: Wed, 24 Mar 2010 08:46:30 +0100 > Von: "Ulrich Stärk" > An: Tapestry users > Betreff: Re: Documentation Request/Sugg

Re: Missing dependency in Tapestry 5.2.0-SNAPSHOT?

2010-03-24 Thread Robin Komiwes
It's now seems to be working. I needed to delete all my JARs from my local repo that belong to org/seleniumhq to make the thing work. Don't have any clue why I had corrupted JARs. Many thanx for your help everyone here. On Tue, Mar 23, 2010 at 4:48 PM, Howard Lewis Ship wrote: > I did a clean

Tapestry 5.2 / Eclipse / Dependency failure

2010-03-24 Thread Christophe Cordenier
Hi, After moving to 5.2.0, Eclipse keep on failing with this error on my pom.xml Multiple annotations found at this line: - Missing indirectly referenced artifact org.apache.tapestry:tapestry-ioc:jar:5.2.0-SNAPSHOT:compile - org.apache.tapestry:tapestry-ioc:5.2.0-SNAPSHOT:jar end tag name

Re: Documentation Request/Suggestion

2010-03-24 Thread Ulrich Stärk
Unfortunately, ASF procedures require every contribution to be made porpuseful and record of this purpose has to be kept. In practice that means that every contribution to the project, even documentation, has to be made by someone who either signed a contributor license agreement (CLA) or (in ca

Re: Documentation Request/Suggestion

2010-03-24 Thread Inge Solvoll
Agree! Would be nice with something a bit more well-structured than the wiki, though. The wiki is great for finding examples, but it isn't a great guide by Geoff's definition. On Wed, Mar 24, 2010 at 7:45 AM, Peter Stavrinides < p.stavrini...@albourne.com> wrote: > We understand that Tapestry c

LabJs

2010-03-24 Thread Fernando Padilla
I just learned of this neat Js library to help load Js files faster. Maybe Tapestry should look into leveraging it. If the new JavascriptSupport, could expose script dependencies, then it could automatically parallelize script download. Tapestry could then use it to load scripts for zones to