Re: [T5.1.0.5] Problem with report-plugin on windows

2009-10-26 Thread Kalle Korhonen
Same issue here. I'd hate to hack some replacement script together just to work around this - I can verify that manually replacing backslashes to forward ones works. Anybody with a good solution, for example does this work any better with some specific Maven javadoc plugin version on Windows ? Kal

Re: tapestry 5.1.0.5 with php

2009-10-26 Thread Ville Virtanen
Technically possible, feasibility? If you have httpd in front of tomcat or some other j2ee container that drives T5, then the session state is held in httpd and can be accessed from php also. Only scenario that comes to my mind is app that has to transition to some legacy system in some of the v

tapestry 5.1.0.5 with php

2009-10-26 Thread Argo Vilberg
hi Are everyone tried integrage tapestry with php pages? Is it even possible? I mean tapestry servlet send request to php and vise versa. How to manage session state? Argo

Re: T5: HOw to get an handle on the GridColumns object

2009-10-26 Thread Thiago H. de Paula Figueiredo
Em Mon, 26 Oct 2009 18:21:43 -0200, Fermin Da Costa Gomez escreveu: Hi, Hello! I only want a simple checkbox in the some of the columnheaders of a grid Have you tried adding a , just like you can do with a table cell with ? -- Thiago H. de Paula Figueiredo Independent Java consultan

T5: HOw to get an handle on the GridColumns object

2009-10-26 Thread Fermin Da Costa Gomez
Hi, Looking for a way to get a handle on the GridColumns component to override the way the headers are 'constructed'. Have been searching for a good 2h now (eyes are strating hurt .. : ( ) but to no avail. I only want a simple checkbox in the some of the columnheaders of a grid so i figured that

Re: Verbose path for combined javascript

2009-10-26 Thread Inge Solvoll
He also managed to hijack the subject of my thread :) The subject here is that the path for combined javascript is too long for some server configurations. On Mon, Oct 26, 2009 at 4:40 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Mon, 26 Oct 2009 11:23:53 -0200, Argo Vilbe

Re: T5: quickest way to get a handle on a gridcolumn (server side)

2009-10-26 Thread Fermin Da Costa Gomez
Now that i'v got your attention .. 1 question to test your knowledge .. ;-) I just noticed how i can get a hold of allAvailableRows via the ComponentResources .. so that is ok. However, once i see the grid on the screen and i click something (checkbox .. 2do) in the header followed by a submit aft

Re: Adding servlets to a T5 app ...

2009-10-26 Thread Thiago H. de Paula Figueiredo
Em Mon, 26 Oct 2009 14:46:32 -0200, Gunnar Eketrapp escreveu: Hi! Hi! So I would like to configure some url:s within my app to be served by these servlets. Out-of-the-box, you shouldn't have any problems, as Tapestry is a servlet filter, not a servlet. It is possible that Tapestry ha

Adding servlets to a T5 app ...

2009-10-26 Thread Gunnar Eketrapp
Hi! This may be a stupid newbie quest but anyway ... The app that I am porting includes a number of service/callback servlets for various purposes. So I would like to configure some url:s within my app to be served by these servlets. If I just configure my servlets I assume that the T5 filter w

Re: T5: quickest way to get a handle on a gridcolumn (server side)

2009-10-26 Thread Thiago H. de Paula Figueiredo
Em Mon, 26 Oct 2009 14:32:51 -0200, Fermin Da Costa Gomez escreveu: ;-) :) So an extra method it is then. Obri(e?)gado Thiago Obrigado. ;) De nada! :) -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago --

Re: T5: quickest way to get a handle on a gridcolumn (server side)

2009-10-26 Thread Fermin Da Costa Gomez
> > Is it correct that there is no method to 'just retrieve' a column form the >> model as such (at least i haven't seen it so far .. ;-) ) .. ? >> > > Have you tried Grid's row and rowIndex parameters? They should be more than > enough in 99% of the cases. > Not just yet but i figured that when a

Re: T4: bug in expression cache?

2009-10-26 Thread Andreas Andreou
Hi, i had to change to and of course i didn't include the helpballoon+prototype javascript but i got it to run... Problem is i can't reproduce what you're seeing On Mon, Oct 26, 2009 at 10:39 AM, Marc van Kempen wrote: > Hi Andreas, > > I've tried Tapestry 4.1.6, same result :( And my ognl ve

Re: T5: quickest way to get a handle on a gridcolumn (server side)

2009-10-26 Thread Thiago H. de Paula Figueiredo
Em Mon, 26 Oct 2009 12:38:01 -0200, Fermin Da Costa Gomez escreveu: Hi, Olá! Is it correct that there is no method to 'just retrieve' a column form the model as such (at least i haven't seen it so far .. ;-) ) .. ? Have you tried Grid's row and rowIndex parameters? They should be more

Re: Verbose path for combined javascript

2009-10-26 Thread Thiago H. de Paula Figueiredo
Em Mon, 26 Oct 2009 11:23:53 -0200, Argo Vilberg escreveu: ok ok, then write your own bugfree tapestry:) Most probably the problem is at your project. I have the JavaScript combination disabled working by adding the appropriate configuration at my AppModule class. And by the way, whe

T5: quickest way to get a handle on a gridcolumn (server side)

2009-10-26 Thread Fermin Da Costa Gomez
Hi, I'v got a working dynamically composed grid (based on a sourcemodel plus conduit) in which each column contains at least one value. Is it correct that there is no method to 'just retrieve' a column form the model as such (at least i haven't seen it so far .. ;-) ) .. ? If there is a way what

Re: Verbose path for combined javascript

2009-10-26 Thread Olle Hallin
BTW, the source and javascript for Tapestry is as always in the Maven repo. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/10/26 Olle Hallin > Very constructive comment! NOT! > > You don't get better treatment by being rude. > > Olle Hallin > Senior Ja

Re: Verbose path for combined javascript

2009-10-26 Thread Olle Hallin
Very constructive comment! NOT! You don't get better treatment by being rude. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/10/26 Argo Vilberg > ok ok, then write your own bugfree tapestry:) > > And by the way, where i get tapestry latest source. Are

Re: T5: javascript assets

2009-10-26 Thread cordenier christophe
digileping org.apache.tapestry5.TapestryFilter So your class must be called DigilepingModule... 2009/10/26 Argo Vilberg > i dont no. here is my web.xml > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" >"http://java.sun.com/dtd/web-app_2_3.dtd";> > > Dig

Re: T5: javascript assets

2009-10-26 Thread Argo Vilberg
i dont no. here is my web.xml http://java.sun.com/dtd/web-app_2_3.dtd";> Digileping tapestry.app-package ee.softpro tapestry.combine-scripts false digileping org.apache.tapestry5.TapestryFilter digileping /* 10 2009/10/26 cordenier christophe > Hi > > What name have you given to t

Re: Verbose path for combined javascript

2009-10-26 Thread Argo Vilberg
ok ok, then write your own bugfree tapestry:) And by the way, where i get tapestry latest source. Are there any SVN server? Thise combine javascript are massed up my hole javascript library so nothing works with no brausers!! So combine javascript is tottaly BUG! ARgo 2009/10/26 Inge Solv

Re: T5: javascript assets

2009-10-26 Thread cordenier christophe
Hi What name have you given to the TapestryFilter in you web.xml ? 'App' prefix (in 'AppModule') is the name of the filter. Regards Christophe. 2009/10/26 Argo Vilberg > Thanks, seems taht web.xml variants works. > > But AppModule.java is no use :) > > > Argo > > 2009/10/26 cordenier christoph

Re: T5: javascript assets

2009-10-26 Thread Argo Vilberg
How i can see java system properties (-D) ? web.xml are set tapestry.combine-scripts false And here are my AppModule.java combine-script are true in this appmodule. But in working server combine-script are trule false as in web.xml file // Copyright 2007, 2008 The Apache Software Foundation /

Re: Verbose path for combined javascript

2009-10-26 Thread Inge Solvoll
I know, but I don't want to do that :) On Mon, Oct 26, 2009 at 2:15 PM, Argo Vilberg wrote: > Just use > > tapestry.combine-scripts > false > > > > > in your web.xml faile and there are no more virtual big links. > > > Argo > > 2009/10/26 Inge Solvoll > > > Hi! > > > > The path to the aggrega

Re: T5: javascript assets

2009-10-26 Thread Inge Solvoll
All of this works for me. Are you sure there aren't any JVM params set in your app server? And other configuration points? On Mon, Oct 26, 2009 at 2:13 PM, Argo Vilberg wrote: > Thanks, seems taht web.xml variants works. > > But AppModule.java is no use :) > > > Argo > > 2009/10/26 cordenier ch

Re: Verbose path for combined javascript

2009-10-26 Thread Argo Vilberg
Just use tapestry.combine-scripts false in your web.xml faile and there are no more virtual big links. Argo 2009/10/26 Inge Solvoll > Hi! > > The path to the aggregated javascript included on the page by T5 looks like > this: > > /assets/virtual/ > > H4sIAJXQUWrDMAyAYTPY065RyhjUTr

Re: T5: javascript assets

2009-10-26 Thread Argo Vilberg
Thanks, seems taht web.xml variants works. But AppModule.java is no use :) Argo 2009/10/26 cordenier christophe > Hello > > Actually, it is possible to configure Tapestry with (in priority order) > > 1. java system properties (-D) > 2. web.xml context parameters > 3 contributeApplicationDefa

Re: Return type

2009-10-26 Thread Mite
Thanks for the answers. :) -- View this message in context: http://www.nabble.com/Return-type-tp26058940p26059228.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr.

Re: Return type

2009-10-26 Thread cordenier christophe
Thanks Thiago, my response was to quick :) 2009/10/26 Thiago H. de Paula Figueiredo > Em Mon, 26 Oct 2009 10:39:05 -0200, cordenier christophe < > christophe.corden...@gmail.com> escreveu: > > Hi >> > > Hi! > > The difference is that you will be able to call accessors on the object >> that wil

Re: Return type

2009-10-26 Thread Thiago H. de Paula Figueiredo
Em Mon, 26 Oct 2009 10:39:05 -0200, cordenier christophe escreveu: Hi Hi! The difference is that you will be able to call accessors on the object that will allow to persist datas between request. Use @Persist on persisted properties for the target page. Or properties that are populate

Re: Return type

2009-10-26 Thread cordenier christophe
Hi The difference is that you will be able to call accessors on the object that will allow to persist datas between request. Use @Persist on persisted properties for the target page. Regards, Christophe. 2009/10/26 Mite > > A beginner question. A short answer will be enough. > > What is the di

Re: Return type

2009-10-26 Thread Thiago H. de Paula Figueiredo
Em Mon, 26 Oct 2009 10:34:37 -0200, Mite escreveu: A beginner question. A short answer will be enough. What is the difference between returning a .class and an object from the same class, by a method handler? None. :) -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, a

Return type

2009-10-26 Thread Mite
A beginner question. A short answer will be enough. What is the difference between returning a .class and an object from the same class, by a method handler? Thank you, Mite -- View this message in context: http://www.nabble.com/Return-type-tp26058940p26058940.html Sent from the Tapestry - Use

Re: T5: javascript assets

2009-10-26 Thread cordenier christophe
Hello Actually, it is possible to configure Tapestry with (in priority order) 1. java system properties (-D) 2. web.xml context parameters 3 contributeApplicationDefaults 4. contribteFactoryDefaults Check your environment to verify the configuration symbol is not duplicated with a wrong value

Re: Problem with tapestry grid inside form

2009-10-26 Thread Thiago H. de Paula Figueiredo
Em Sat, 24 Oct 2009 09:25:16 -0200, Vidya Sivadas escreveu: Hi, Hi! After coming to the page (for eg:5 rows in the grid),if I manually delete a record from the database and click any of the submit buttons it is showing exception index 4,size 4. Please post the stack trace, not just t

Re: Verbose path for combined javascript

2009-10-26 Thread cordenier christophe
Hi This is because it contains all the URLs of the Asset to get prefixed by the number of elements, all is written in a ObjectOutputStream and URL Encoded I think that it may be possible to override the default behavior by implementing a custom DocumentLinkerImpl, and override the addScriptLinksF

Testify and activation context problems

2009-10-26 Thread Mats Henricson
Hi! I use Testify to smoke test our pages, and currently I have problems with a non-empty onActivate() function: public Object onActivate(Long id) { // ... } What do I need to mock to get this onActivate() function to be called? Mats

Re: T5: javascript assets

2009-10-26 Thread Argo Vilberg
I tried configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true"); and also configuration.add(SymbolConstants.COMBINE_SCRIPTS, "false"); But in bot cases there are my localhost always every javascript its own notation. And in production server always are javascript combained to

Re: T5: javascript assets

2009-10-26 Thread Argo Vilberg
I put this line in AppModule.java public static void contributeApplicationDefaults( MappedConfiguration configuration) { configuration.add(SymbolConstants.PRODUCTION_MODE, "false"); configuration.add(SymbolConstants.COMBINE_SCRIPTS, "false"); } But no suc

Re: T5: javascript assets

2009-10-26 Thread Argo Vilberg
In my environment are development mode but if i put some war to production server, there are production mode. Some time in AppModule.java is configuration.add(SymbolConstants.PRODUCTION_MODE, "false"); Argo 2009/10/26 Argo Vilberg > Secondly, how to tell tapestry production or devel

Re: T5: javascript assets

2009-10-26 Thread Argo Vilberg
Secondly, how to tell tapestry production or development mode? 2009/10/26 Carl Crowder > There's a configuration variable you can set: "tapestry.combine-scripts" > > See http://tapestry.apache.org/tapestry5.1/guide/conf.html > > Argo Vilberg wrote: > >> hi, >> >> In tapestry 5.1.0.5 javascript

Verbose path for combined javascript

2009-10-26 Thread Inge Solvoll
Hi! The path to the aggregated javascript included on the page by T5 looks like this: /assets/virtual/ H4sIAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUYq

Re: T5: javascript assets

2009-10-26 Thread Carl Crowder
There's a configuration variable you can set: "tapestry.combine-scripts" See http://tapestry.apache.org/tapestry5.1/guide/conf.html Argo Vilberg wrote: hi, In tapestry 5.1.0.5 javascript are combained together in one file: src=" /digileping/assets/virtual/H4sIAJXQUWrDMAyAYTPY065RyhjUT

T5: javascript assets

2009-10-26 Thread Argo Vilberg
hi, In tapestry 5.1.0.5 javascript are combained together in one file: src=" /digileping/assets/virtual/H4sIAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUY

Re: T4: bug in expression cache?

2009-10-26 Thread Marc van Kempen
Hi Andreas, I've tried Tapestry 4.1.6, same result :( And my ognl version is 2.7.3. Are you able to reproduce it with the code I sent? Cheers, Marc. On Oct 24, 2009, at 21:03 , Andreas Andreou wrote: Hmm - don't see anything wrong... Are you using the latest ognl ... afaik it's 2.7.3 Also,