Re: Tapestry Not running in Weblogic

2010-11-03 Thread Guerin Laurent
Hi, The workaround is : 1. add true to the weblogic.xml of the war file. 2. wrap the war in an ear file 3. add a weblogic-application.xml file to the META-INF directory of the ear which contains javax.xml.stream.XMLInputFactory com.ctc.wstx.stax.WstxInpu

Re: configuration precedence

2010-11-03 Thread abangkis
Ok, thanks a lot Christian :) On Thu, Nov 4, 2010 at 3:29 AM, Christian Köberl < tapestry.christian.koeb...@gmail.com> wrote: > > > abangkis wrote: > > > > Hi in http://tapestry.apache.org/tapestry5.1/guide/conf.html said that > > there > > are 3 place where you can configure tapestry : > > - app

Re: Tapestry Not running in Weblogic

2010-11-03 Thread Howard Lewis Ship
Please search the mail archives; others have hit this and there is a workaround. Consider Tapestry 5.2.2, which is in late beta, and will not have this problem. On Wed, Nov 3, 2010 at 6:11 PM, Anas Mughal wrote: > > We are evaluating Tapestry for our project. The application is supposed to > ru

Tapestry Not running in Weblogic

2010-11-03 Thread Anas Mughal
We are evaluating Tapestry for our project. The application is supposed to run on Weblogic. When we deploy our sample application built with Tapestry 5.1.0.5 to Weblogic 11g, we get the following error: weblogic.xml.stax.XMLStreamInputFactory cannot be cast to org.codehaus.stax2.XMLInputFactory

Re: HTML5 forms for Tapestry 5.3?

2010-11-03 Thread Igor Drobiazko
Well, I don't think 5.3 will support HTML 5 as it will take some time until the standard is ready. See here: http://ishtml5readyyet.com/ On Wed, Nov 3, 2010 at 8:41 AM, Christian Köberl < tapestry.christian.koeb...@gmail.com> wrote: > > Hi! > > Has anybody read this article? > http://www.alistap

Re: "Code less, deliver more", possible problem

2010-11-03 Thread ael
There are both opensource i think there's no problem about that :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Code-less-deliver-more-possible-problem-tp3245157p3249330.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: configuration precedence

2010-11-03 Thread Christian Köberl
abangkis wrote: > > Hi in http://tapestry.apache.org/tapestry5.1/guide/conf.html said that > there > are 3 place where you can configure tapestry : > - app module > - web.xml > - passing it as a parameter to the JVM using the -D option > > I was wondering what kind of precedence between this 3

Re: Unknown Configuration changes with Tap 5.2 and Chenillekit 1.3.0 - Quartz

2010-11-03 Thread Sven Homburg
sorry for bad documentation. try this /** * configuring the quartz scheduler. * * @param configuration configuration map */ public void contributeSchedulerFactory(OrderedConfiguration configuration) { String fileName = applConfigDir + "/quartz.properties"; File file = new File(fileName); if (!

Unknown Configuration changes with Tap 5.2 and Chenillekit 1.3.0 - Quartz

2010-11-03 Thread Stefan Schuetz
Hi, after updating Tap to 5.2.2 and updating Chenillekit to the latest 1.3.0 Snapshot i've a configuration issue. I can't get this chenillekit-quartz part working again. Here's my (old) configuration (same as in doc) in my app-module: public static void contributeSchedulerFactory(OrderedConfigur

Re: Problem with Scala's 'lazy val' in Pages

2010-11-03 Thread stephanos
Cool - thanks, will look into it :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-with-Scala-s-lazy-val-in-Pages-tp3248823p3249068.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Problem with Scala's 'lazy val' in Pages

2010-11-03 Thread Thiago H. de Paula Figueiredo
On Wed, 03 Nov 2010 18:00:29 -0200, stephanos wrote: I know what the message says :) I'm merely pointing out that there might be a problem for some users - I meanwhile re-wrote the 'lazy val'-thing. Ooops, I'm sorry for misunderstanding your post. By the way, François Armand posted some n

Re: Problem with Scala's 'lazy val' in Pages

2010-11-03 Thread stephanos
I know what the message says :) I'm merely pointing out that there might be a problem for some users - I meanwhile re-wrote the 'lazy val'-thing. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-with-Scala-s-lazy-val-in-Pages-tp3248823p3249059.html Sent from the Tap

RE: Memory creep

2010-11-03 Thread Jim O'Callaghan
Thanks for the info Howard. It's working out very well so far - very happy with 5.2.1. Regards, Jim. -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 03 November 2010 16:40 To: Tapestry users Subject: Re: Memory creep FYI: Using either jconsole of VisualVM you

Re: Problem with Scala's 'lazy val' in Pages

2010-11-03 Thread Thiago H. de Paula Figueiredo
On Wed, 03 Nov 2010 15:21:15 -0200, stephanos wrote: Something I just noticed: I have a class 'BasePage' which every page inherits from, this base class has a Scala 'lazy val' field (private) - yet this error is issues (seems http://scala-programming-language.1934581.n4.nabble.com/Why-is

Problem with Scala's 'lazy val' in Pages

2010-11-03 Thread stephanos
Something I just noticed: I have a class 'BasePage' which every page inherits from, this base class has a Scala 'lazy val' field (private) - yet this error is issues (seems http://scala-programming-language.1934581.n4.nabble.com/Why-is-bitmap-0-public-td2255232.html Scala creates a public field

configuration precedence

2010-11-03 Thread abangkis
Hi in http://tapestry.apache.org/tapestry5.1/guide/conf.html said that there are 3 place where you can configure tapestry : - app module - web.xml - passing it as a parameter to the JVM using the -D option I was wondering what kind of precedence between this 3 option. For example if i set product

Re: Memory creep

2010-11-03 Thread Howard Lewis Ship
FYI: Using either jconsole of VisualVM you can force a GC remotely. In general, Tapestry is very good about memory management (though it likes to use a lot of it). There are a few user coding errors that can "trap" objects that should be reclaimed, but you have to work a bit hard to hit those. Th

Re: FAQ Entry? How to render TML from a database.

2010-11-03 Thread Thiago H. de Paula Figueiredo
I really don't think it's good idea to use Tapestry templates as a CMS instead of using Tapestry to implement a CMS with some templating language meant to be used by non-programmers. I hope this isn't what Michael wants . . . On Wed, 03 Nov 2010 14:35:52 -0200, Howard Lewis Ship wrote:

Re: FAQ Entry? How to render TML from a database.

2010-11-03 Thread Howard Lewis Ship
That seems like more of a cookbook item. On Wed, Nov 3, 2010 at 6:24 AM, Michael Gentry wrote: > Would an entry on how to render TML from a database be worthwhile? > I've been pondering that off-and-on lately for one of our projects, > but haven't explored the details yet. > > Thanks, > > mrg > >

RE: Chenillekit maven repos

2010-11-03 Thread Dávið Klein Sundsskarð
-Original Message- From: Massimo Lusetti [mailto:mluse...@gmail.com] Sent: 3. november 2010 15:22 To: Tapestry users Subject: Re: Chenillekit maven repos 2010/11/3 Dávið Klein Sundsskarð : > I think that if you use those files with Tapestry 5.2.2, you will run into > this issue: > http:

Re: Chenillekit maven repos

2010-11-03 Thread Borut Bolčina
Yeah, thanks, it seems we were typing the email at the same time. Thanks again. 2010/11/3 Massimo Lusetti > On Wed, Nov 3, 2010 at 3:22 PM, Borut Bolčina > wrote: > > > Aren't snapshots generated daily? If I look at the > > > http://snapshots.repository.codehaus.org/org/chenillekit/chenillekit-

Re: HTML5 forms for Tapestry 5.3?

2010-11-03 Thread Christian Köberl
Thiago H. de Paula Figueiredo wrote: > > Int? I thought Tapestry was written in Java, hehehe. > That happens when you "code" in gmail ;) Thiago H. de Paula Figueiredo wrote: > > I think this is a good idea. We already have a very nice support for JSR > 303 and this doesn't seem to need too

Re: Memory creep

2010-11-03 Thread Thiago H. de Paula Figueiredo
On Wed, 03 Nov 2010 11:29:18 -0200, Jim O'Callaghan wrote: Thiago, your suggestion of using VisualVM was very helpful - a very good tool. :) It looks like Tapestry (at least 5.2.1) is very good at releasing resources - my heap size vs. used heap is consistently bouncing between predi

Re: Chenillekit maven repos

2010-11-03 Thread Massimo Lusetti
On Wed, Nov 3, 2010 at 3:22 PM, Borut Bolčina wrote: > Aren't snapshots generated daily? If I look at the > http://snapshots.repository.codehaus.org/org/chenillekit/chenillekit-core/1.3.0-SNAPSHOT/ > > there is something fishy. There were only 4 snapshot releases in one year? As i said up to dat

Re: Chenillekit maven repos

2010-11-03 Thread Borut Bolčina
Aren't snapshots generated daily? If I look at the http://snapshots.repository.codehaus.org/org/chenillekit/chenillekit-core/1.3.0-SNAPSHOT/ there is something fishy. There were only 4 snapshot releases in one year? -Borut 2010/11/3 Dávið Klein Sundsskarð > I think that if you use those files

Re: Chenillekit maven repos

2010-11-03 Thread Massimo Lusetti
2010/11/3 Dávið Klein Sundsskarð : > I think that if you use those files with Tapestry 5.2.2, you will run into > this issue: > http://tapestry.1045711.n5.nabble.com/chenillekit-not-working-with-tapestry-5-2-1-td3213460.html > (At least, that is what I'm experiencing) > > It would be great if a n

Re: Chenillekit maven repos

2010-11-03 Thread Massimo Lusetti
On Wed, Nov 3, 2010 at 3:07 PM, Borut Bolčina wrote: > Thanks man, appreciate the speed! > > And the release? Anybody? It is quite annoying to do product releases based > on frozen snapshots, but yes, I know, it is open source :-) A 1.3.0 release (based on 5.2.2) is planned soon, during the week

RE: Chenillekit maven repos

2010-11-03 Thread Dávið Klein Sundsskarð
I think that if you use those files with Tapestry 5.2.2, you will run into this issue: http://tapestry.1045711.n5.nabble.com/chenillekit-not-working-with-tapestry-5-2-1-td3213460.html (At least, that is what I'm experiencing) It would be great if a new snapshot was built and submitted to the rep

Re: Chenillekit maven repos

2010-11-03 Thread Borut Bolčina
Thanks man, appreciate the speed! And the release? Anybody? It is quite annoying to do product releases based on frozen snapshots, but yes, I know, it is open source :-) -Borut 2010/11/3 Eric Chatellier > Le 03/11/2010 14:47, Borut Bolčina a écrit : > > Hi, > > > > I wanted to use the latest 1

Re: Chenillekit maven repos

2010-11-03 Thread Eric Chatellier
Le 03/11/2010 14:47, Borut Bolčina a écrit : > Hi, > > I wanted to use the latest 1.3.0-SNAPSHOT chenillekit which should work with > Tapestry 5.2.2. > > which does not contain 1.3.0-SNAPSHOT. It seems rather old. Where is the new > repo? There is a repo here : http://snapshots.repository.codehaus

Chenillekit maven repos

2010-11-03 Thread Borut Bolčina
Hi, I wanted to use the latest 1.3.0-SNAPSHOT chenillekit which should work with Tapestry 5.2.2. At http://chenillekit.codehaus.org/mvnrepo.html there is chenillekit http://www.chenillekit.org/mvnrepo/snapshot tru

RE: Memory creep

2010-11-03 Thread Jim O'Callaghan
Thanks for the suggestions guys. Josh was right in that what I was seeing was not a problem, just what I thought was a problem. I reduced my heap from about 1.5GB down to 512MB and saw GC happening as expected and no OOMEs with a moderate consistent load on the app. I think I got the idea tha

FAQ Entry? How to render TML from a database.

2010-11-03 Thread Michael Gentry
Would an entry on how to render TML from a database be worthwhile? I've been pondering that off-and-on lately for one of our projects, but haven't explored the details yet. Thanks, mrg - To unsubscribe, e-mail: users-unsubscr...

Re: Memory creep

2010-11-03 Thread Ivano Luberti
and make sure you trap the exception that can be thrown Il 03/11/2010 14.02, p.stavrini...@albourne.com ha scritto: >> can you give me some >>> detail on how to go about that? > Just invoke System.gc(); > > regards, > Peter > > > > - Original Message - > From: "Thiago H. de Paula Figueire

Re: Memory creep

2010-11-03 Thread P . Stavrinides
> can you give me some >> detail on how to go about that? Just invoke System.gc(); regards, Peter - Original Message - From: "Thiago H. de Paula Figueiredo" To: "Tapestry users" Sent: Friday, 29 October, 2010 20:55:03 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Memor

Re: HTML5 forms for Tapestry 5.3?

2010-11-03 Thread Thiago H. de Paula Figueiredo
On Wed, 03 Nov 2010 05:41:16 -0200, Christian Köberl wrote: Hi! Hi! Has anybody read this article? http://www.alistapart.com/articles/forward-thinking-form-validation/ Tapestry could use the JSR-303 annotations and type-info to generate this HTML5 code instead of the old plain HTML: @NonN

Re: Let's make @ActivationRequestParameter first-class citizen

2010-11-03 Thread Thiago H. de Paula Figueiredo
On Wed, 03 Nov 2010 04:45:07 -0200, Vjeran Marcinko wrote: Hello again, Hi! Maybe the simpliest example would be EditEmployeePage which can be used both for *creating* and *editing* an Employee. When you edit an Employee, you have "employeeId" page context. When you create an Employee,

Component context @ActivationRequestParameter

2010-11-03 Thread Denis Stepanov
Hello everyone, we are using tapestry in our ajax application, most web actions like creating, editing etc. are implemented using modal dialogs, problem is that only easy way how to store context is to put it in page link (on Activate approach). Now, if you think about switching page navigatio

Re: Regarding zone updates, and custom events.

2010-11-03 Thread Thiago H. de Paula Figueiredo
On Wed, 03 Nov 2010 04:36:04 -0200, ael wrote: Ypu cannot mixed them... That's not correct. You can use a Zone wrapping a Form without any problems. I do that all the time. What doesn't work currently is wrapping one or more form field components in a Zone that doesn't wrap the whole

Re: [Tapestry Central] Tapestry 5.2.2

2010-11-03 Thread Thiago H. de Paula Figueiredo
On Wed, 03 Nov 2010 03:45:21 -0200, Vjeran Marcinko wrote: The thing that I worry about is that utility class and its static field is used as a way for filter and pages to communicate. I thought if filter and pages are in different classloaders, will they see different instances of stati

HTML5 forms for Tapestry 5.3?

2010-11-03 Thread Christian Köberl
Hi! Has anybody read this article? http://www.alistapart.com/articles/forward-thinking-form-validation/ It's about building web forms for HTML5 browsers with backward compatibility to older browsers. Simply spoken a input field for a numeric postcode is defined as: (not as type="text) Modern