RE: T5: NPE in Base64InputStream and locked/waitingCheckForUpdatesFilter

2007-07-10 Thread Ben Sommerville
One work around that I found is to create the read/write lock in ConcurrentBarrier in "fair" mode instead of the default mode. (fair mode changes the algorithm used to decide which thread gets the lock next) That worked for me but subjectively things seemed a little slower (no actual measure

Re: T5: NPE in Base64InputStream and locked/waitingCheckForUpdatesFilter

2007-07-10 Thread Howard Lewis Ship
Great find! People may need to deploy on JDK 1.5 to see if that's the underlying cause. I wonder if we could create a work around by setting a wait time to acquire the read lock? In a loop? On 7/10/07, Ben Sommerville <[EMAIL PROTECTED]> wrote: If you are running under jdk 6u1 and tapestry 5.

Re: T4.1.2: problems with async EventListener

2007-07-10 Thread Patrick Klein
Hello, > Is it a cache problem? Try to delete your cache, cookies, etc. > Proxy cache if applicable, etc. thought that as well, but it wasn't. It turns out that IE does not like it if you try to update nested dom-elements, e.g. [something here] [something more here] if one

RE: T5: NPE in Base64InputStream and locked/waitingCheckForUpdatesFilter

2007-07-10 Thread Ben Sommerville
If you are running under jdk 6u1 and tapestry 5.0.5 (or greater) then there is a jvm bug that can cause a deadlock. The bug report is at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6571733. It is supposed to be fixed in jdk 6u2 (which was release recently) but I haven't had a chance to t

Re: How to create my ValidationDecorator in T5?

2007-07-10 Thread Howard Lewis Ship
You can create your own implementation of the interface, or subclass Tapestry's and extend it. The trick is to get Tapestry to *use* it. If you look at the various form components, they have the following: @Environmental private ValidationDecorator _decorator; That means "pick up the decorator

T5 Palette required validation problem

2007-07-10 Thread Foror
Client side validation don't working. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to create my ValidationDecorator in T5?

2007-07-10 Thread Foror
Hi! How to create my ValidationDecorator in T5, with marked required fields when Form is first loaded on page? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: New to Tapestry

2007-07-10 Thread Nick Westgate
Yeah, you'd have to use Javascript to make a URL for an AJAX update etc. If you append the string to the URL it will be an argument to the event (or page activation) handler, but because of the escaping performed on the server-side you may need to do 2 AJAX calls: one to get the page URL with the

RE: New to Tapestry

2007-07-10 Thread Matt Coatney
Thanks for your response. Let me be more specific and try to describe my question better. New to Tapestry so bear with... I have a textbox and a button. The user types something and clicks Go. I want to, somehow, pass the information in the textbox to a service which looks at the string and sends

Re: T5 howto tapestry-hibernate

2007-07-10 Thread 小司
You can see this http://linuxboy.javaeye.com/blog/68311 I learn from there . it works well. 2007/7/11, Sebastian Heyden <[EMAIL PROTECTED]>: hello folks, since some days i write my first application with tapestry and now i want to get tapestry-hibernate working. i really tried hard to find he

T5 howto tapestry-hibernate

2007-07-10 Thread Sebastian Heyden
hello folks, since some days i write my first application with tapestry and now i want to get tapestry-hibernate working. i really tried hard to find help in the mailing-list archiv and by googling. thats what i got so far: - a package called entities - Annotations on my Entity - hibernate, jta

Re: T5: NPE in Base64InputStream and locked/waiting CheckForUpdatesFilter

2007-07-10 Thread Martin Grotzke
The NPE seems to be caused by a missing t:formdata request parameter. I just "reproduced" this (weird) situation by removing the hidden form field "t:formdata" with firebug, so that I could produce the NPE. Although, following request went through well, and the number of request processing thread

RE: T5: NPE in Base64InputStream and locked/waiting CheckForUpdatesFilter

2007-07-10 Thread Matt Ayres
We're experiencing the same issue on a test site with relatively light activity (10k page views/day), and the stack trace is the same after TapestryModule: "btpool0-810" prio=10 tid=0x08660c00 nid=0x5daf waiting on condition [0x961df000..0x961e0130] java.lang.Thread.State: WAITING (parking)

Re: T5: NPE in Base64InputStream and locked/waiting CheckForUpdatesFilter

2007-07-10 Thread Siddhartha Argollo
I don´t know if it is the same error, but I'm too having problems with this issue. I deployed a simple application in production today (a bean-form that saves the information to a hsql db and sends an email), and it works fine for a while and suddenly hangs up. I’m not finding any error, it jus

T5: NPE in Base64InputStream and locked/waiting CheckForUpdatesFilter

2007-07-10 Thread Martin Grotzke
Hi, we had an issue with our deployed application that did not respond anymore. This happened two or three times in the last 4 days, but I was not able to reproduce it until now. The analysis of the logs showed, that there was a NPE in Base64InputStream, and afterwards the application did not res

Re: T5.0.5 How do I use a radio button in a form

2007-07-10 Thread Marcus
Hi Fidel, Maybe this help: http://wiki.apache.org/tapestry/Tapestry5CheckOutTheSourceCode https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/integration/app1/pages/RadioDemo.java https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk/tap

T5.0.5 How do I use a radio button in a form

2007-07-10 Thread Fidel Chavarria
Hi, I'm trying to use radio buttons but i can't find any example for it. I try adding a radio button component to the form component but it don't work. it need a radio group component, but I don't how to use it. -- View this message in context: http://www.nabble.com/T5.0.5-How-do-I-use-a-radio

Re: Tap 4.1.2 Bug found ???

2007-07-10 Thread Marcus Schulte
I think I've seen an issue connected to EventListener-wiring being fixed. I'll look it up tomorrow if the problem persists. 2007/7/10, Bastian Voigt <[EMAIL PROTECTED]>: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, before I report a bug on this, I would like to hear some opinions since th

Re: T4.1.2 and beanform

2007-07-10 Thread Andreas Andreou
There's a new version coming in that address exactly this problem. I'll make a related announcement in the following hours, so stay tuned ;) On 7/10/07, Peter Schröder <[EMAIL PROTECTED]> wrote: hi, i am trying to use beanform and T4.1.2 for the first time, but i only get the following excepti

Re: [T5.0.5] Contributions to MasterDispatcher not working

2007-07-10 Thread Siddhartha Argollo
1) Here's the code of the first service public final class BasicModule { ... /* // It works! public static void contributeHttpServletRequestHandler(OrderedConfiguration configuration, @Symbol(BasicModule.APPLICATION_ENCODING) String requestEncoding) { configuration.add("Req

Re: T4.1.2: problems with async EventListener

2007-07-10 Thread Bastian Voigt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it a cache problem? Try to delete your cache, cookies, etc. Proxy cache if applicable, etc. At least the first problem you had sounds like cache inconsistency Patrick Klein wrote: > Hallo, > > strange... after letting it be for a few days and ret

Re: T5: How to retrieve message from default Errors.properties

2007-07-10 Thread Adam Zimowski
Okay, I still don't know a "Tap5" way of doing this, so this works, although that's an ugly hack: Template: Page Class: public String getBanner() { if(_unknownError) { return "Unknown Error"; } else { return getDefaultBanner(); }

T4.1.2 and beanform

2007-07-10 Thread Peter Schröder
hi, i am trying to use beanform and T4.1.2 for the first time, but i only get the following exception. did i miss a dependy or something? There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=de_DE ] from the page pool. org.apache.hivemind.ApplicationRuntimeExceptio

T5: Ajax example for Tapestry 5

2007-07-10 Thread easy-to-remember
Has anyone got an example of a T5 example application that uses Ajax components? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Downloading an asset

2007-07-10 Thread Webmaster Bébé Nounou
Hi, Could you tell me what is the simple way to put a link to download an asset (picture, pdf, ...) on a Tap page ? Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Tap 4.1.2 Bug found ???

2007-07-10 Thread Bastian Voigt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, before I report a bug on this, I would like to hear some opinions since the bug is maybe difficult to describe and/or reproduce. I have written an AJAX component which makes use of the new EventListener api. This component is called VesselSuggest

Re: T4.1: How do you combine Tapestry + Spring?

2007-07-10 Thread petros
Assuming you have a spring bean with name userManager you can use the following code in a tapestry page @Inject @Service("userManager") private UserManager userManager; Petros malin wrote: > > Hi all! > > I'm doing a Tapestry project for learning/education purposes a

T4.1: How do you combine Tapestry + Spring?

2007-07-10 Thread Malin Ljungh
Hi all! I'm doing a Tapestry project for learning/education purposes and would like to learn some Spring as well. What is the most common way to use Spring in combinations with Tapestry? How do you combine Tapestry and Spring? Which parts of Spring? Please share some of your experience with me :

Re: T4.1.2: problems with async EventListener

2007-07-10 Thread Patrick Klein
Hallo, strange... after letting it be for a few days and retrying today it works :| Now another problem has arisen: The whole thing works fine using firefox but nothing works with internet explorer. i've got eventlisteners for property selections. i can see that the listeners in the java class ar