[T5.2.6] Testing File Upload with PageTester

2011-10-09 Thread Steve Eynon
Hi, Is there any way to perform / simulate a File Upload with tapestry-upload when using the tapestry PageTester (via Testify)? Looking around, I can't find a way to set the org.apache.tapestry5.upload.services.UploadedFile property. Steve. --

Re: PageCatalog and ServiceStatus

2011-10-09 Thread Steve Eynon
On 30 September 2011 04:16, Howard Lewis Ship wrote: > Meanwhile, beta-14 includes the PageCatalog, and beta-15 (building > now) improves it by dealing better with pages that have problems. Looks like you need at least beta-14. On 9 October 2011 21:48, TG wrote: > It is beta 9. Which jar file

Beta 18 not starting properly

2011-10-09 Thread Greg Pagendam-Turner
Hi, Just upgraded to beta 18 from beta 16 and now I get the following error on startup. Regards, Greg "C:\Program Files\Java\jdk1.6.0_21\bin\java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:11443,suspend=y,server=n -Dclassworlds.conf=C:\development\apache-maven-3.0\bin\m2.conf -

Re: Tapestry JPA question

2011-10-09 Thread Lenny Primak
5.3.0 is very old. Your problem may be that you need the later beta... tapestry-repo https://repository.apache.org/content/groups/staging and use beta-18 or later. On Oct 9, 2011, at 4:10 PM, Christine wrote: > Hi, > I read the messages from a month ago about

Tapestry JPA question

2011-10-09 Thread Christine
Hi, I read the messages from a month ago about getting the example app running as explained here: http://tapestry.apache.org/integrating-with-jpa.html I have put version 5.3.0 in my pom, so it downloads Tapestry 5.3.0 including jpa. I have added tapestry-jpa, ejb3 and eclipselink dependencie

Re: T5.3 Grid - how to enable inPlace only if JavaScript is enabled?

2011-10-09 Thread Muhammad Gelbana
I suspected something related to the request object. I think I was reading about something else then :) Thanks. On Sun, Oct 9, 2011 at 9:55 PM, Lenny Primak wrote: > I have a custom JavaScript event that sets a variable if javascript is > enabled, > on the login page. Very much a hack. Obvious

Re: T5.3 Grid - how to enable inPlace only if JavaScript is enabled?

2011-10-09 Thread Lenny Primak
I have a custom JavaScript event that sets a variable if javascript is enabled, on the login page. Very much a hack. Obviously, if JS is disabled, the event will not be called and the variable will not be set :) On Oct 9, 2011, at 3:52 PM, Muhammad Gelbana wrote: > Good to know you solved it. T

Re: T5.3 Grid - how to enable inPlace only if JavaScript is enabled?

2011-10-09 Thread Muhammad Gelbana
Good to know you solved it. Too bad you didn't tell how :) So how did you check if JS is enabled ? On Sun, Oct 9, 2011 at 9:28 PM, Lenny Primak wrote: > Yes, I actually wound up doing this, > but I think there is a better solution, since this solution is a hack. > Basically, the problem lies wi

Re: T5.3 Grid - how to enable inPlace only if JavaScript is enabled?

2011-10-09 Thread Lenny Primak
Yes, I actually wound up doing this, but I think there is a better solution, since this solution is a hack. Basically, the problem lies with the Grid's pager, which does not work if inPlace = true and JavaScript is disabled. There links in the pager probably could be gracefully degraded if JS is di

Re: T5.3 Grid - how to enable inPlace only if JavaScript is enabled?

2011-10-09 Thread Muhammad Gelbana
The grid component is generated server-side, so on server-side, you have to know if the client has JS enabled. I have no idea how to do this but I "think" I read something similar here on the list lately, something about checking the request object I suppose. Anyway if that's possible, bind the in

T5.1.0.5 problem with a grid

2011-10-09 Thread upgrading
Hi I have a problem with a grid, i did a custom grid in a Form when i sort the grid there isn't problem but i use a button in my form after sorting grid after i have an exception : java.lang.NullPointerException org.apache.tapestry5.corelib.components.Grid$DefaultGridSortModel.getSortConstraints(

Re: T5.3 beta 18: java.net.URISyntaxException: Illegal character in path at index 33

2011-10-09 Thread Howard Lewis Ship
Obviously, there's a bug here. You may be able to work around this by turning off service reloading (see the documentation for more information). You should have seen a list of operations in addition to the stack trace; this would also be helpful. Finally, you truncated the nested exceptions ...

T5.3 beta 18: java.net.URISyntaxException: Illegal character in path at index 33

2011-10-09 Thread TG
I tried T5.3 beta 18, I can not load the app without getting this exception - Caused by: java.lang.RuntimeException: Error invoking service contribution method org.apache.tapestry5.services.TapestryModule.productionModeOverrides(MappedConfiguration, boolean): Exception constructing service 'Applic

Re: PageCatalog and ServiceStatus

2011-10-09 Thread TG
It is beta 9. Which jar file(s) is it in? I do not use Maven. Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/PageCatalog-and-ServiceStatus-tp4880131p4885211.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: JavascriptStack

2011-10-09 Thread Martin Strand
The User-Agent header is very unreliable (unless this is for an intranet) and you would also need to add "Vary: User-Agent" to defeat caching by shared proxies. It's probably better to use two stacks instead, and include the IE stack with a conditional comment. For example, I use this "IERe

[ANN] Tapestry and JAX-WS (Metro)

2011-10-09 Thread derkoe
I read the recent threads about integrating JAX-WS and Tapestry. One of our projects is using JAX-WS (Metro) with Tapestry for 3 years now, so I extracted the relevant code and put in on github. Here's the result: Tapestry JAX-WS Integration https://github.com/derkoe/tapestry-jaxws Features: *

Re: Flowlogix tapestry utility module released

2011-10-09 Thread François Facon
Hi Lenny, Great job!. Thanks for sharing. Best Regards François 2011/10/9 Lenny Primak : > Hi guys, > if anyone cares, I have released the utility module for Tapestry, > it's on google code at: > http://code.google.com/p/flowlogix/ > > It contains integrations with JEE components mostly, as well

Re: JavascriptStack

2011-10-09 Thread François Facon
Hi Dimitris, Perphas a perThread service could detect with the useragent header if the browser used by the client is IE. by injecting this service to stack, you could use it to verify if you have to add the js when the method getJavaScriptLibraries get called . Regards François 2011/10/9 Dimitr

JavascriptStack

2011-10-09 Thread Dimitris Zenios
Hi guys.I have a javascript stack which includes two javascript files. One should be always added and the other only when internet explorer. Is there a possibility to append the internet explorer javascript file only when needed or it should be always added? Dimitris Zenios --