Re: [info] Tapestry = 4.1.2 memory issues potentially fixed in latest 4.1.3-SNAPSHOT

2007-09-12 Thread Peter Stavrinides
What further information do you require over and above the bug report I filed? http://jira.opensymphony.com/browse/OGNL-120 Jesse Kuhnert wrote: Hmmm... I think I'm going to need a lot more detailed information than that. I'm sure something is broken but without knowing more it's not

T5: replacing the ComponentInstantiatorSource service

2007-09-12 Thread Tom Davies
Hi, I want to override the ComponentInstantiatorSource service with my own implementation (so that I can add another Translator to the Javassist ClassPool). It seems that I can't simply define a duplicate of the service in my own module, which is fair enough. What's the approach to use?

Re: T5: replacing the ComponentInstantiatorSource service

2007-09-12 Thread Nick Westgate
To quote HLS: You supply a new implementation with a new id, and contribute to the Alias service configuration. This will allow injections based on type to prefer your implementation over the built-in one. See Alias/AliasOverrrides:

Re: [T4.1.2] Using tapestry app behind a proxy server

2007-09-12 Thread Christian Dutaret
I agree with you about those web anonymizers, but I do have some users behind real HTTP proxies for whom my application js/ajax stuff do not work. I'm sure there are some proxies for which it does work, but I know for sure there are some for which it doesn't, and the symptoms are very similar as

Re: [T4.1.2] Using tapestry app behind a proxy server

2007-09-12 Thread Johan Maasing
And since you do use such a proxy, could you try one of my pages : http://www.hyperassur.com/assurance-auto-recherche.html and then click on the sponsored link labelled ASSURANCE RESILIEE and see if it works for you. The link is supposed to open a dojo dialog with a short form (please do

Re: [T4.1.2] Using tapestry app behind a proxy server

2007-09-12 Thread Christian Dutaret
That's good news. Thanks. Anyone behind a Micro$oft proxy? (don't ask me why I ask this, pure speculation...) 2007/9/12, Johan Maasing [EMAIL PROTECTED]: And since you do use such a proxy, could you try one of my pages : http://www.hyperassur.com/assurance-auto-recherche.html and then click

Re: T5: replacing the ComponentInstantiatorSource service

2007-09-12 Thread Howard Lewis Ship
I'd love to know why you want to do this ... it indicates to me that there needs to be some additional configuration available to CIS to support your needs. On 9/12/07, Tom Davies [EMAIL PROTECTED] wrote: Hi, I want to override the ComponentInstantiatorSource service with my own

[5.0.6-SNAPSHOT] Bug? isTraceEnabled missing when I switch to slf4j

2007-09-12 Thread Christian Gruber
Hi, I just started using Tapestry, and was working a little past the tutorial. I pulled in the snapshot code and my app broke, particularly around commons-logging no longer being imported as a transative dependency. I declared public RequestFilter buildTimingFilter(final

Re: [5.0.6-SNAPSHOT] Bug? isTraceEnabled missing when I switch to slf4j

2007-09-12 Thread Christian Gruber
followup. Strange thing is - looking at the actuall log4j.Logger - it has an isTraceEnabled, so I'm really unclear as to why this would happen. Christian. On 12-Sep-07, at 10:01 AM, Christian Gruber wrote: Hi, I just started using Tapestry, and was working a little past the

Re: T5: replacing the ComponentInstantiatorSource service

2007-09-12 Thread Tom Davies
On 13/09/2007, at 12:00 AM, Howard Lewis Ship wrote: I'd love to know why you want to do this ... it indicates to me that there needs to be some additional configuration available to CIS to support your needs. I don't know if I have a valid use-case, but what I'm doing is

T5: Troubles editing a list of objects

2007-09-12 Thread lasitha
Marcus, you mentioned offline you'd gotten this to work by setting the Loop component's 'volatile' parameter to true. I've scanned the source and must admit i don't quite understand how the component is designed to work when _not_ volatile. If anyone's had any success updating state within a

Re: [5.0.6-SNAPSHOT] Bug? isTraceEnabled missing when I switch to slf4j

2007-09-12 Thread Christian Koeberl
followup. Strange thing is - looking at the actuall log4j.Logger - it has an isTraceEnabled, so I'm really unclear as to why this would happen. The problem is the log4j lib in the Jetty ext directory - replace it with the newer log4j (1.2.12 or higher) version. -- Chris

Re: T5: Troubles editing a list of objects

2007-09-12 Thread lasitha
Woah, sorry, i messed up that subject line (missed the RE: ), so if you're looking for the original post, its: http://mail-archives.apache.org/mod_mbox/tapestry-users/200709.mbox/[EMAIL PROTECTED] On 9/12/07, lasitha [EMAIL PROTECTED] wrote: Marcus, you mentioned offline you'd gotten this to

Re: [info] Tapestry = 4.1.2 memory issues potentially fixed in latest 4.1.3-SNAPSHOT

2007-09-12 Thread Jesse Kuhnert
Well, there are probably a few things: -) If the issue belongs anywhere it is probably in the Tapestry jira. -) While I can see ognl errors about missing classes I have no idea what led up to these errors. For all I know you got a java.lang.OutOfMemory exception in your app and this is the

Re: [5.0.6-SNAPSHOT] Bug? isTraceEnabled missing when I switch to slf4j

2007-09-12 Thread Massimo Lusetti
On 9/12/07, Christian Koeberl [EMAIL PROTECTED] wrote: followup. Strange thing is - looking at the actuall log4j.Logger - it has an isTraceEnabled, so I'm really unclear as to why this would happen. The problem is the log4j lib in the Jetty ext directory - replace it with the newer log4j

Re: T5: FCKEditor Component

2007-09-12 Thread Borut Bolčina
Hello Alexander, when do you plan to publish T5 book? A rough estimate will do. Thanks! 2007/9/12, Kolesnikov, Alexander GNI [EMAIL PROTECTED]: This is a fabulous component, indeed. I wonder if a few more toolbar sets could be added to it? The default one is too big, the Basic is, well, a

T5 - Inject an Application State Object into a Service

2007-09-12 Thread César Lesc
I need to use data stored in an ASO (user information) to process the a requests in a service object, i guess the service object must be in perthread scope, because the ASO stores his data in the session, but the @ApplicationState annotation is not working inside the service. Finally i found the

How to synchronize a service

2007-09-12 Thread Manuel Sugawara
Hi all, I'm using tapestry 4.0 and have a service that what roughly does is create a PDF file in the tmp dir if it does not exists. If the file exists or after its creation the service returns its contents to the client. Now I'm worried about synchronization issues in this code. Mi first idea was

Re: T5 - Inject an Application State Object into a Service

2007-09-12 Thread lasitha
Sorry to ask the obvious, but is there some reason you can't just pass the ASO into the relevant service method: class Page { @ASO aso; @Inject service; void onAction() { service.doSomethingWith(aso); } } I'm sure your situation's more complicated - just had to get the obvious out of

Re: T5 - Inject an Application State Object into a Service

2007-09-12 Thread Filip S. Adamsen
Have a look at the ApplicationStateManager service: http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/services/ApplicationStateManager.html -Filip César Lesc skrev: I need to use data stored in an ASO (user information) to process the a requests in a service

Re: T5 - Inject an Application State Object into a Service

2007-09-12 Thread Kevin Menard
Hmm . . . I haven't really gotten my feet wet with T5 yet. Does this mean that it will still only inject into page classes, as is the case with T4? I was hoping with the move to POJOs that you could inject into arbitrary classes, such as services. The ASM is a pain to use. -- Kevin On

Re: [5.0.6-SNAPSHOT] Bug? isTraceEnabled missing when I switch to slf4j

2007-09-12 Thread Howard Lewis Ship
I ran into this myself; I've updated the docs to explain, but haven't republished. I'm republishing now. Expect updates on the web site in an hour or two. On 9/12/07, Massimo Lusetti [EMAIL PROTECTED] wrote: On 9/12/07, Christian Koeberl [EMAIL PROTECTED] wrote: followup. Strange thing

Re: T5: FCKEditor Component

2007-09-12 Thread Ted Steen
Hi Alexander, Im glad you like it! But remember, there will be improvements and changes because this is very early versions of these components. Also, I think there will be a date picker included in T5 in the near future so this one could be obsolete. The fckeditor on the other hand could still be

Re: T5 - Inject an Application State Object into a Service

2007-09-12 Thread César Lesc
Well, many of the methods of this service needs the user name (from the ASO) for security constraints, i don't want pollute the service interface with a parameter that is almost a constant (for each user), when can be easily grabbed from the session, and don't have to repeat the code to obtain the

Re: T5 - Inject an Application State Object into a Service

2007-09-12 Thread Robert Zeigler
Hm... it would certainly be nice if a service could have an ASO injected into it directly, but that would then mandate a particular scope to your service. I personally like the approach of injecting the ASM into the service and grabbing your ASO's from there. Not familiar with the T4

Re: T5 - Inject an Application State Object into a Service

2007-09-12 Thread Kevin Menard
In T4, you'd have something like the following to grab a global Cayenne DataContext: public void setDataContext(final ApplicationStateManager asm) { this.dc = (DataContext) asm.get(global-data-context); } Exposing the name of the ASO and having to do a cast is not nice. I'll have to check

Re: T5: replacing the ComponentInstantiatorSource service

2007-09-12 Thread Howard Lewis Ship
I don't know much about CAL ... could this kind of thing be accomplished by extending the ComponentClassEnhancementWorker chain of command? Or is CAL based on the raw Javassist APIs? On 9/12/07, Tom Davies [EMAIL PROTECTED] wrote: On 13/09/2007, at 12:00 AM, Howard Lewis Ship wrote: I'd

Re: T5 - Inject an Application State Object into a Service

2007-09-12 Thread Filip S. Adamsen
I usually expose commonly used ASOs through a wrapper service, like CurrentUser for a User ASO. Works quite nice and gives me a place to put various user related methods. -Filip Kevin Menard skrev: Hmm . . . I haven't really gotten my feet wet with T5 yet. Does this mean that it will still

Re: How to synchronize a service

2007-09-12 Thread Manuel Sugawara
Manuel Sugawara [EMAIL PROTECTED] writes: So, can I safely assume that there is only one instance of the service running? No, of course not. For set-object to work there should be an instance for client. Regards, Manuel. -

Re: Revisit T5 / OC4J (Oracle) 10.1.3 - No root element has been defined.

2007-09-12 Thread Howard Lewis Ship
It comes down to whether the container fulfills its contract in terms of the APIs used to locate resources and check for changes (based on date time modified). Jetty is very compliant in this area, so it works easily. I've never used OC4J so I can't say what the issue is off hand. On 9/11/07,

Re: T5 Error in 5.0.5 palette.js

2007-09-12 Thread Howard Lewis Ship
Please add this as an issue in JIRA if you have not done so already. On 8/28/07, Daniel Jue [EMAIL PROTECTED] wrote: When using the Palette component, I am getting a Javascript error in IE, Line: 183 Char: 1 Error: Expected identifier, string or number Code: 0

wiki profile creation

2007-09-12 Thread Angelo Chen
Hi, I'd like to register in the Tapestrywiki so I can contribute something, but failed to setup my anncount, it's asking:Question: President of ASF = ? forgive my ignorance, what's ASF? and who is the president? I googled the word ASF, it means so many things:) A.C. -- View this message in

Re: wiki profile creation

2007-09-12 Thread lasitha
http://www.apache.org/ On 9/13/07, Angelo Chen [EMAIL PROTECTED] wrote: Hi, I'd like to register in the Tapestrywiki so I can contribute something, but failed to setup my anncount, it's asking:Question: President of ASF = ? forgive my ignorance, what's ASF? and who is the president? I

Re: wiki profile creation

2007-09-12 Thread Lindsay Steele
ASF is the Apache Software Foundation. You can find the name of the president here http://www.apache.org/foundation/ Angelo Chen wrote: Hi, I'd like to register in the Tapestrywiki so I can contribute something, but failed to setup my anncount, it's asking:Question: President of ASF = ?

Re: T5 Error in 5.0.5 palette.js

2007-09-12 Thread Daniel Jue
I have not added a JIRA, but here is the EnhancedPalette I whipped up using other people's code. =) http://wiki.apache.org/tapestry/Tapestry5EnhancedPalette?action=show Daniel Jue On 9/12/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: Please add this as an issue in JIRA if you have not done so

Re: T5 Error in 5.0.5 palette.js

2007-09-12 Thread Nick Westgate
There is a JIRA: https://issues.apache.org/jira/browse/TAPESTRY-1745 Cheers, Nick. Howard Lewis Ship wrote: Please add this as an issue in JIRA if you have not done so already. On 8/28/07, Daniel Jue [EMAIL PROTECTED] wrote: When using the Palette component, I am getting a Javascript error

Re: T3: DateTimePicker

2007-09-12 Thread Nazmul Bhuiyan
Please help me finding what I'm missing here? I'm getting the following error: org.apache.tapestry.ApplicationRuntimeException Unable to convert 'myws:DateTimePicker' to a property type. location: context:/InfringementEdit.page, line 39, column 74

Re: T3: DateTimePicker

2007-09-12 Thread Nick Westgate
Hmm, looks like you are trying to edit a value of type DateTimePicker! property-specification is used to define properties of your Java class. You are presumably trying to edit a date, so something like: .page property-specification name=offnHearDate type=java.lang.Date/ component

submitting a wiki?

2007-09-12 Thread Angelo Chen
Hi I'd like to submit a wiki article, where to go? i have setup my account, can somebody pointing me to a url where i can upload that ? it's about T5. -- View this message in context: http://www.nabble.com/submitting-a-wiki--tf4433692.html#a12649017 Sent from the Tapestry - User mailing list

Re: How to synchronize a service

2007-09-12 Thread Renat Zubairov
Hi If you are refering to a service as a hivemind service, then you can hava look on the service modles which are threaded, pooled, primitive and singleton. Singleton service model will ensure that only one instance of service exists. After you know that you can synchronize part of the code