Re: how to debug a testng suite?

2011-02-22 Thread Ulrich Stärk
I think you are missing the org.apache.tapestry5.hibernate.HibernateModule.class Uli On 23.02.2011 04:54, Paul Stanton wrote: > Ok, I've installed the plugin .. not sure what was wrong with my java code > but the plugin works > fine, thanks Ulrich. > > Now that my @BeforeClass method is being r

Hello,Can anyone tell how to use servlet session Listener with tapestry IoC services ?

2011-02-22 Thread jqzone

Re: how to debug a testng suite?

2011-02-22 Thread Paul Stanton
Ok, I've installed the plugin .. not sure what was wrong with my java code but the plugin works fine, thanks Ulrich. Now that my @BeforeClass method is being run, I'm trying to get Tapestry Ioc to provide me with some services... I'm seting up the registry like so: @BeforeClass publi

Re: Update table column via Zone(s)

2011-02-22 Thread Josh Canfield
> Any ideas how i can force t:loop to be executed or force myZone body to be > rendered (i can re-iterate collection myself in handler method)? A similar question was asked a couple weeks ago. You can search the list for it for more details (subject was "Context of a Zone"). If what you are rende

Re: T5 : Zone / Tapestry.windowUnloaded / Download link

2011-02-22 Thread raulmt
There is an issue on jira about this problem: https://issues.apache.org/jira/browse/TAP5-1115 Maybe you should vote for it ;) The workaround I used was also target="_blank". But if you us Content-disposition: attachment it will open a new tab/window but the browser will close it just before show

Re: Update table column via Zone(s)

2011-02-22 Thread Cezary Biernacki
Hi Dmitriy, I solved similar problem by chaining list of MultiZoneUpdate, each with its own RenderCommand, something like that: @Inject private Block myBlock; MultiZoneUpdate mzu = null; for(String id : indexes) { mzu = addMZU(mzu, "zone-" + id, prepareRender(id)); } private Re

Re: Configuration Data

2011-02-22 Thread P . Stavrinides
You can do it with a little fiddling, but Tapestry is a bit conservative in exposing this part of the API, see: https://issues.apache.org/jira/browse/TAP5-838 Also, there is a wiki article as well with some helpful hints: http://wiki.apache.org/tapestry/Tapestry5HowToReadSymbolsFromPropertiesFile

Re: Classloader issues with 'skinny WARs'

2011-02-22 Thread Lenny Primak
Thanks! This error is actually 'severe' not a warning. Can this be made into a warning, or can some kind of list of IoC be used or some such in the static variable? On Feb 22, 2011, at 12:31 PM, Howard Lewis Ship wrote: > The warning you are getting are unavoidable. The background: > > Tapestr

Re: Classloader issues with 'skinny WARs'

2011-02-22 Thread Howard Lewis Ship
The warning you are getting are unavoidable. The background: Tapestry makes service proxies serializable. This is important, as it is not unusual to have a data object that persists in the HttpSession that must have a reference to a IoC service. The services are not serialized, just the proxies

Re: Classloader issues with 'skinny WARs'

2011-02-22 Thread Lenny Primak
They are definitely not repeated. The only time I get this error is when there more than one web app running that depends on tapestry in the same container, and there is only one copy of tapestry-* jars, in the common directory. There are no tapestry jar files in the WEB-INF/lib in this case. I

Re: Classloader issues with 'skinny WARs'

2011-02-22 Thread Thiago H. de Paula Figueiredo
On Tue, 22 Feb 2011 13:48:05 -0300, Lenny Primak wrote: Yes, I am using maven, but I don't think it's of any consequence in this case. Maybe yes: by default, Maven puts all the dependency JARs in WEB-INF/lib of the generated web app, so make sure the JARs you've put in the common JARs

RE: T5: UploadedFile problem

2011-02-22 Thread LLTYK
Hit your app with IE and it'll return something. Newer versions of IE actually return "c:\fakepath". -- View this message in context: http://tapestry-users.832.n2.nabble.com/T5-UploadedFile-problem-tp6052426p6053186.html Sent from the Tapestry Users mailing list archive at Nabble.com. -

Re: Classloader issues with 'skinny WARs'

2011-02-22 Thread Kalle Korhonen
On Tue, Feb 22, 2011 at 8:01 AM, Everton Agner wrote: > Are you using maven? Yes. Kalle > 2011/2/22 Kalle Korhonen > >> Never used GlassFish, but skinny wars work fine in Tomcat. >> >> Kalle >> >> >> On Tue, Feb 22, 2011 at 2:26 AM, Lenny Primak >> wrote: >> > I am trying to share tapestry J

Re: Classloader issues with 'skinny WARs'

2011-02-22 Thread Lenny Primak
Yes, I am using maven, but I don't think it's of any consequence in this case. Kalle, I just tried this with Tomcat 6, and I get the same error, although just like in Glassfish, the application seems to work. I am assuming that this error will cause something to break at some point :)

Re: Classloader issues with 'skinny WARs'

2011-02-22 Thread Everton Agner
Are you using maven? ___ Everton Agner Ramos 2011/2/22 Kalle Korhonen > Never used GlassFish, but skinny wars work fine in Tomcat. > > Kalle > > > On Tue, Feb 22, 2011 at 2:26 AM, Lenny Primak > wrote: > > I am trying to share tapestry JARs between multiple web apps by > >

Update table column via Zone(s)

2011-02-22 Thread Dmitriy Vsekhvalnov
Hi all, i'm looking for some ideas how to update entire column in html table, without updating overall table. For instance: ${rowValue.a} ${rowValue.b} ${rowValue.c}

Re: Classloader issues with 'skinny WARs'

2011-02-22 Thread Kalle Korhonen
Never used GlassFish, but skinny wars work fine in Tomcat. Kalle On Tue, Feb 22, 2011 at 2:26 AM, Lenny Primak wrote: > I am trying to share tapestry JARs between multiple web apps by > placing Tapestry JARs into common library directory on the container > (domain1/lib in GlassFish) > > Clearl

RE: T5: UploadedFile problem

2011-02-22 Thread Newham, Cameron
Thanks Thiago. Although that begs the question as to why there is a getFilePath(). c. -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 22 February 2011 14:22 To: Tapestry users Subject: Re: T5: UploadedFile problem On Tue, 22 Feb 2011 11:01:22 -

Re: T5: UploadedFile problem

2011-02-22 Thread Thiago H. de Paula Figueiredo
On Tue, 22 Feb 2011 11:01:22 -0300, Newham, Cameron wrote: Hi, Hi! I notice that: getFileName() and getFilePath() of UploadedFile return the same thing (the name of the file) on Windows. This seems to be a bug. I'd like to get the path - is there any way to do this? It isn't a bug. For

T5: UploadedFile problem

2011-02-22 Thread Newham, Cameron
Hi, I notice that: getFileName() and getFilePath() of UploadedFile return the same thing (the name of the file) on Windows. This seems to be a bug. I'd like to get the path - is there any way to do this? Thanks, c.

Re: how to debug a testng suite?

2011-02-22 Thread Ulrich Stärk
I usually run my tests from within Eclipse with the testng plugin. right-click, run as -> TestNG test. Works like a charm. Uli On 22.02.2011 12:22, Paul Stanton wrote: > Hi all, > > I'm new to testNG, and wrote a simple java class to run my tests. > > Problem is, it doesn't seem to run my @Bef

how to debug a testng suite?

2011-02-22 Thread Paul Stanton
Hi all, I'm new to testNG, and wrote a simple java class to run my tests. Problem is, it doesn't seem to run my @BeforeClass methods. For some services, I like to write tests and develop to satisfy the test, so I need to be able to debug (use breakpoints) and run them rapidly and many times.

Re: t:select enum conflict

2011-02-22 Thread Thiago H. de Paula Figueiredo
On Tue, 22 Feb 2011 07:18:08 -0300, Paul Stanton wrote: thiago, is this how it's supposed to work? What exactly? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. htt

Classloader issues with 'skinny WARs'

2011-02-22 Thread Lenny Primak
I am trying to share tapestry JARs between multiple web apps by placing Tapestry JARs into common library directory on the container (domain1/lib in GlassFish) Clearly Tapestry does not support this configuration, as I get multiple IoC instances and warnings of such. Is this by-design or some t

Re: t:select enum conflict

2011-02-22 Thread Paul Stanton
thiago, is this how it's supposed to work? On 31/01/2011 1:40 PM, Paul Stanton wrote: Sorry, I realise I'm not being very easy to understand, i'll clarify: 1. Yes thiago, I tried that and it doesn't work. It doesn't resolve the message entry. Which makes sense given the source code for EnumSe

AUTO: Guletsky, Peter is out of the office. (returning 03/07/2011)

2011-02-22 Thread Peter.Guletsky
I am out of the office until 03/07/2011. In case of urgency please contact Parvez Zariwala (x.5910) or Praveen Makhija (x.5962) Note: This is an automated response to your message "Re: EventLink URI and loop component" sent on 2/22/2011 3:57:08 AM. This is the only notification you will recei

Re: EventLink URI and loop component

2011-02-22 Thread Erik Fäßler
Thank you all for your answers. This behaviour of the loop is actually unexpected. I see that I'll have to stick with a more static structure or to rewrite the components in question. For the moment, I will pospone these things and come back to them later. And no, I havn't found anything abou