Re: T5.0.10 DateField component broken ???

2008-02-17 Thread Angelo Chen
Hi, I have the same problem, here is my http://www.nabble.com/T5%3A-JSCalender-popup-window-always-in-the-left-most-when-inside-a-layout-to15537707.html problem , the misplaced popup happens only inside a layout component, maybe somebody can package the old js calendar as a 3rd party component?

Re: T5.0.10 DateField component broken ???

2008-02-17 Thread Dapeng
hope that we can have a functional component in 5.0.11, doesn't matter it is less feature-rich Mahen Perera wrote: No errors. Just that , the date property returns null every time upon form submission , even though I have selected a date from the popup. -Original Message- From: Dav

Re: adjustable table columns width

2008-02-17 Thread David Marquis
Hi, This question is not related to Tapestry, but to HTML/Javascript. For the record, you might want to take a look at : http://jira.codehaus.org/secure/attachment/15108/ResizableTableColumns.html or try your good friend by the name of "Google". You know him, right? -- David On 14-Feb-08, at 8

Re: Event bubbling

2008-02-17 Thread Howard Lewis Ship
This simply isn't how its done. Once an event bubbles up from component A to container B to container C, it will appear as "FromB" in the methods of C. Is that clear? This is explicitly to enforce that component implementations are private to the component, such that a component (A or B) may chan

Re: T5: Validation troubles

2008-02-17 Thread Howard Lewis Ship
On Feb 17, 2008 12:46 PM, Chris Poulsen <[EMAIL PROTECTED]> wrote: > Hi, > > I've been trying to perform some cross field validation in 5.0.10, but > I'm unable to find any usable examples on how to get it working. > > I've added a "onValidateForm()" method to my page (and it is being > called prop

Re: Tap 5.0.10 : Classpath assets no longer accessible In Jboss 4.0.5AG

2008-02-17 Thread Howard Lewis Ship
So ... are you back in operation or still blocked? On Feb 17, 2008 11:48 AM, Shing Hing Man <[EMAIL PROTECTED]> wrote: > I have not changed my JBoss. I have the same problem > (with archiveClasses=true) when deploying a Tap 5.0.10 > war file into a standalone Tomcat 5.5.20. If the > problem is cau

Re: T5: 5.0.10 new features

2008-02-17 Thread Howard Lewis Ship
A new JIRA issue to cover this case; I believe it is something that can be addressed. On Feb 17, 2008 12:35 PM, Thiago HP <[EMAIL PROTECTED]> wrote: > Hi, everybody! > > This generics support introduced in Tapestry 5.0.10 is awesome. I was > already developing an in-house Tapestry 5-related librar

T5: JSCalender popup window always in the left most when inside a layout

2008-02-17 Thread Angelo Chen
Hi, There seems a problem in the JSCalender in the 5.0.10, if following form is in a normal tapestry page, it generates A css: this is my date but if I wrap above form in a layout like this: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

getColumnValue convert all "<" into "<"

2008-02-17 Thread venturer
is getColumnValue automatically convert all "<" into "<" ? can by pass the conversion? because i want to return a html tag rather than "string" Object getColumnValue(ITableColumn objColumn, Object objRow); } - To

Tapestry 6

2008-02-17 Thread Joseph Kobe
Ok Howard, thanks for your private mail to me clarifying my concerns about Tapestry 6, upcoming in 4th quater of 2008. I must be honest and open, hence my reply via this medium, that I disagree with you about rewriting Tapestry yet again from scratch and again not being backward compatible with

Howard deserves praise

2008-02-17 Thread Joseph Kobe
Hi guys, Is it me, or you too have noticed an active participation of Howard in the answering of questions here on the list in recent times? In the past when Tapestry was popular his ego and pompous attitude made him feel too high to even bother to read people's request for help. But now with th

Re: T5: 5.0.10 new features

2008-02-17 Thread Davor Hrg
:) of course... but still this way it is implemented in base class, and later with generics improvements, can be replaced with more elegant one :) Davor Hrg On Feb 17, 2008 10:05 PM, Thiago HP <[EMAIL PROTECTED]> wrote: > On 2/17/08, Davor Hrg <[EMAIL PROTECTED]> wrote: > > You can instead just a

Re: T5: 5.0.10 new features

2008-02-17 Thread Thiago HP
On 2/17/08, Davor Hrg <[EMAIL PROTECTED]> wrote: > You can instead just accept string > and call TypeCoercer your self in the meanwhile That's a very nice and clever way to do that, but that would not be very elegant in my structure. I defined an ActivationContextContext interface to encapsulate a

Re: T5: 5.0.10 new features

2008-02-17 Thread Davor Hrg
You can instead just accept string and call TypeCoercer your self in the meanwhile declare your generic class AbstractEntityEdit{ private transient Class persistentClass; private transient Class idClass; @Inject private Session _session; @Inject private TypeCoercer _typeCoercer;

T5: Validation troubles

2008-02-17 Thread Chris Poulsen
Hi, I've been trying to perform some cross field validation in 5.0.10, but I'm unable to find any usable examples on how to get it working. I've added a "onValidateForm()" method to my page (and it is being called properly) but if I want to indicate some error how do I do that? Following an

Re: T5: 5.0.10 new features

2008-02-17 Thread Thiago HP
Hi, everybody! This generics support introduced in Tapestry 5.0.10 is awesome. I was already developing an in-house Tapestry 5-related library, including a BaseEditPage and BaseListPage that does validation using Hibernate Validator, object saving (using our in-house DAO and service libraries), de

Re: Tap 5.0.10 : Classpath assets no longer accessible In Jboss 4.0.5AG

2008-02-17 Thread Shing Hing Man
I have not changed my JBoss. I have the same problem (with archiveClasses=true) when deploying a Tap 5.0.10 war file into a standalone Tomcat 5.5.20. If the problem is caused by recently changes in Tapestry 5, someone else should experience the same problem. Shing --- Howard Lewis Ship <[EMAIL

RE: T5: CSS Injection and IE Conditional Comments

2008-02-17 Thread Kevin Menard
I think allowing them in comments would be nice. It could be a good way to format values inside comments (e.g., dynamic copyright statements) and could be a nice way to debug values. I think it would reduce surprises marginally as well. Of course, if it's at the cost performance I may reconsider

Re: T5: CSS Injection and IE Conditional Comments

2008-02-17 Thread Howard Lewis Ship
I think these comments are right on the money. Perhaps it would be easier if expansions were allowed inside comments? That's entirely doable. On Feb 15, 2008 11:55 AM, Robert Zeigler <[EMAIL PROTECTED]> wrote: > Expansions won't work (directly) for the asset, b/c expansions inside > of comments

Re: T5: Quick fadeout of invalid value notice

2008-02-17 Thread Howard Lewis Ship
I'm getting to the point where the tapestry.js may have to be dynamically generated to account for things like configurable defaults and paths. On Feb 16, 2008 5:45 PM, Bill Holloway <[EMAIL PROTECTED]> wrote: > It'd be great to be able to configure that. contrib app defaults to the > rescue! >

Re: Tap 5.0.10 : Classpath assets no longer accessible In Jboss 4.0.5AG

2008-02-17 Thread Howard Lewis Ship
Sounds like you've solved your problem. Interesting that the archiveClasses stuff is no longer needed ... I wonder if it is due to the many changes in Tapestry or to some change in Tomcat/JBoss? On Feb 17, 2008 2:28 AM, Shing Hing Man <[EMAIL PROTECTED]> wrote: > After changing > archiveClasses f

Re: T5:BeanEditForm

2008-02-17 Thread Howard Lewis Ship
The bad news is: Caused by: java.lang.ClassCastException: net.agef.ccm_2.entities.FinishData at $PropertyConduit_1182855e1a8.get($PropertyConduit_1182855e1a8.java) at org.apache.tapestry.internal.services.CoercingPropertyConduitWrapper.get(CoercingPropertyConduitWrapper.java:36)

Re: T5:BeanEditForm

2008-02-17 Thread Andreas Pursian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I took the tapestry exception report ... the console stack trace look like this thx for your help! [ERROR] TaskWorkerPage Render queue error in BeginRender[core/PropertyEditBlocks:textfield]: Failure reading parameter value of component core/Pr

Re: T5: 5.0.10 new features

2008-02-17 Thread Howard Lewis Ship
To be more specified, you can define a base class: package com.myapp.base; public class EditPage { @Persist private T _object; public T getObject() { return _object; } public void setObject(T object) { _object = object; } . . . } So you can create a page that can edit an arbitrary ob

Re: T5:BeanEditForm

2008-02-17 Thread Howard Lewis Ship
Odd thing about that stack trace, it seems like there should be more going on. The line in question can't generate a CCE, but it calls code that can. Did you copy this off of the Tapestry exception report, or out of the console? On Feb 17, 2008 10:05 AM, Andreas Pursian <[EMAIL PROTECTED]> wrote

T5:BeanEditForm

2008-02-17 Thread Andreas Pursian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi List, i'am working on a workflow like application which provides distributed users the possibilty to work on a common piece of work (case). A case is divided in a couple of tasks which are actually simple forms a user has to deal with. To display

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Howard Lewis Ship
Or you could do as the quickstart archetype does: public static void contributeApplicationDefaults(MappedConfiguration configuration) { configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL, "false"); } That is, while you are actively developing the app, leave this in. When

Re: T5: 5.0.10 new features

2008-02-17 Thread Davor Hrg
creating a base ListPage and BaseEdit page is just what needs this feature. so you can genericaly declare common properties and have a those Common pages for the entities running quickly just by subclassing... and then going from there to customize. On Feb 17, 2008 3:10 PM, Angelo Chen <[EMAI

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Davor Hrg
yes :) either that, or pass the value to your ExceptionReporter and have customized page for both dev and production :) Davor Hrg On Feb 17, 2008 2:49 PM, Geoff Callender <[EMAIL PROTECTED]> wrote: > So you're suggesting that I test the value of the system property > tapestry.production-mode in

contrib table with

2008-02-17 Thread venturer
i have a custom column like below. but i cannot shoe the image "tick.gif". on the browser, source show -->"; else return ""; } return ""; } } ---

Re: T5: 5.0.10 new features

2008-02-17 Thread Angelo Chen
Hi Davor, Looks good although I have no idea yet how to use this feature, thanks. A.C. Davor Hrg wrote: > > it is a resolution of these issues > > https://issues.apache.org/jira/browse/TAPESTRY-2053 > https://issues.apache.org/jira/browse/TAPESTRY-1518 > > you have samples there > > > --

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Geoff Callender
So you're suggesting that I test the value of the system property tapestry.production-mode in AppModule and use it to condition whether I contribute an ExceptionReporter. Is that right? On 17/02/2008, at 11:49 PM, Davor Hrg wrote: you can use that symbol in your custom erro page too, eithe

best practice: testing pages subclassed from class from libraries

2008-02-17 Thread Sven Homburg
hi there, i have a multi module application. 1. there is a class in module "core" de.hsofttec.tapestry.base.AbstractBrowsePage 2. a page class in an other module "masterdata" de.hsofttec.masterdata.pages.ClientBrowse subclassed from AbstractPage how can i test the page ClientEdit with PageTest wi

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Davor Hrg
you can use that symbol in your custom erro page too, either omit the contribution, or display different message On Feb 17, 2008 1:25 PM, Geoff Callender <[EMAIL PROTECTED]> wrote: > Is there a way to make it use your own custom exception report page > only if -Dtapestry.production-mode=true? > >

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Geoff Callender
Is there a way to make it use your own custom exception report page only if -Dtapestry.production-mode=true? On 17/02/2008, at 10:47 PM, Geoff Callender wrote: I like it - I think it's the right default. Just need to make sure everyone's aware of it. Geoff On 17/02/2008, at 9:58 PM, Davo

Re: T5: 5.0.10 new features

2008-02-17 Thread Davor Hrg
it is a resolution of these issues https://issues.apache.org/jira/browse/TAPESTRY-2053 https://issues.apache.org/jira/browse/TAPESTRY-1518 you have samples there On Feb 17, 2008 12:55 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm looking at 5.0.10 new features, following are some t

T5: 5.0.10 new features

2008-02-17 Thread Angelo Chen
Hi, I'm looking at 5.0.10 new features, following are some that I'd need some additional info: Tapestry now understands JDK 1.5 Generics, allowing for simple parameterized types for properties of data objects and components. what this means? any sample? Components can now supply an event handl

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Geoff Callender
I like it - I think it's the right default. Just need to make sure everyone's aware of it. Geoff On 17/02/2008, at 9:58 PM, Davor Hrg wrote: it's exactly that On Feb 17, 2008 11:20 AM, Chris Poulsen <[EMAIL PROTECTED]> wrote: Hi, Could this be related to the introduction of production

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Chris Poulsen
Hi, As the snippet below says; it is a system property - meaning that you should be able to pass it using a -Dtapestry.production-mode=false in your tomcat startup config -- Chris Angelo Chen wrote: Hi, Got the same issue, not using jetty, but tomcat, where could I add that production mode

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Davor Hrg
you can add it as JVM parameter, -Dtapestry.production-mode=false On Feb 17, 2008 12:07 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > Got the same issue, not using jetty, but tomcat, where could I add that > production mode setting? thanks, > a.c. > > Chris Poulsen wrote: > > > > Hi, > >

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Angelo Chen
Hi, Got the same issue, not using jetty, but tomcat, where could I add that production mode setting? thanks, a.c. Chris Poulsen wrote: > > Hi, > > Could this be related to the introduction of production mode ? > > I had to add: > > > >

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Davor Hrg
it's exactly that On Feb 17, 2008 11:20 AM, Chris Poulsen <[EMAIL PROTECTED]> wrote: > Hi, > > Could this be related to the introduction of production mode ? > > I had to add: > > > > tapestry.production-mode >

Re: Tap 5.0.10 : Classpath assets no longer accessible In Jboss 4.0.5AG

2008-02-17 Thread Shing Hing Man
After changing archiveClasses from true to false in maven-war-plugin in pom.xml, the classpath assets are available again. I have been using maven 2.0.7. I cannot tell whether I have downloaded a new version of maven-war-plugin since the last deploy. The current version of maven-war-plug in my

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Chris Poulsen
Hi, Could this be related to the introduction of production mode ? I had to add: tapestry.production-mode false Into the maven-jetty-plugin config

Re: T5: 5.0.10 exception report has no detail

2008-02-17 Thread Joost Schouten (ml)
I'm experiencing the same with 5.0.11 Cheers, Joost Geoff Callender wrote: Is anyone else seeing this? The exception report page in T5.0.10 has no detail - I'm getting only a heading and the exception, eg. An unexpected application exception has occurred. Render queue error in BeginRender[ex

T5: 5.0.10 exception report has no detail

2008-02-17 Thread Geoff Callender
Is anyone else seeing this? The exception report page in T5.0.10 has no detail - I'm getting only a heading and the exception, eg. An unexpected application exception has occurred. Render queue error in BeginRender[examples/jodatime/1:pagelink]: java.lang.ClassNotFoundException: caught an ex