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,

T5: javascript assets

2009-10-26 Thread Argo Vilberg
hi, In tapestry 5.1.0.5 javascript are combained together in one file: src=

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=

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/

Re: T5: javascript assets

2009-10-26 Thread Argo Vilberg
Secondly, how to tell tapestry production or development mode? 2009/10/26 Carl Crowder carl.crow...@taptu.com 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

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 wilps...@gmail.com Secondly, how to tell tapestry

Re: T5: javascript assets

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

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

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: 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

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 vidya.siva...@rediffmail.com 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

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

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 -

Re: Return type

2009-10-26 Thread Thiago H. de Paula Figueiredo
Em Mon, 26 Oct 2009 10:34:37 -0200, Mite mitemeis...@gmail.com 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

Re: Return type

2009-10-26 Thread 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 will allow to persist datas between request. Use @Persist on persisted properties for the target page.

Re: Return type

2009-10-26 Thread cordenier christophe
Thanks Thiago, my response was to quick :) 2009/10/26 Thiago H. de Paula Figueiredo thiag...@gmail.com 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

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:

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 christophe.corden...@gmail.com Hello Actually, it is possible to configure Tapestry with (in priority order) 1. java system properties (-D) 2. web.xml context parameters 3

Re: Verbose path for combined javascript

2009-10-26 Thread Argo Vilberg
Just use context-param param-nametapestry.combine-scripts/param-name param-valuefalse/param-value /context-param in your web.xml faile and there are no more virtual big links. Argo 2009/10/26 Inge Solvoll inge.tapes...@gmail.com Hi! The path to the aggregated javascript included on the

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 wilps...@gmail.com wrote: Thanks, seems taht web.xml variants works. But AppModule.java is no use :) Argo 2009/10/26

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 wilps...@gmail.com wrote: Just use context-param param-nametapestry.combine-scripts/param-name param-valuefalse/param-value /context-param in your web.xml faile and there are no more virtual big links.

Re: T5: javascript assets

2009-10-26 Thread Argo Vilberg
How i can see java system properties (-D) ? web.xml are set param-nametapestry.combine-scripts/param-name param-valuefalse/param-value /context-param 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

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 wilps...@gmail.com Thanks, seems taht web.xml variants works. But AppModule.java is no use :) Argo 2009/10/26

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

Re: T5: javascript assets

2009-10-26 Thread Argo Vilberg
i dont no. here is my web.xml ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameDigileping/display-name context-param

Re: T5: javascript assets

2009-10-26 Thread cordenier christophe
filter filter-namedigileping/ filter-name filter-classorg.apache.tapestry5.TapestryFilter/filter-class /filter So your class must be called DigilepingModule... 2009/10/26 Argo Vilberg wilps...@gmail.com i dont no. here is my web.xml ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app

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 wilps...@gmail.com ok ok, then write your own bugfree tapestry:) And by the way, where i get tapestry

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 olle.hal...@hit.se Very constructive comment! NOT! You don't get better treatment by being rude. Olle

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

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 wilps...@gmail.com 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.

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 dacostago...@gmail.com 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

Re: T4: bug in expression cache?

2009-10-26 Thread Andreas Andreou
Hi, i had to change parameter name=title default-value=Help Title / to parameter name=title default-value=literal:Help Title / 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

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: 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 dacostago...@dcgconsultancy.nl 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

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

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 gunnar.eketr...@gmail.com 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

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

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 Vilberg

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: 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 dacostago...@gmail.com escreveu: Hi, Hello! I only want a simple checkbox in the some of the columnheaders of a grid Have you tried adding a t:parameter name=propertyNameHeader, just like you can do with a table cell with

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: 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

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 ?