Re: Textarea with character count?

2011-09-26 Thread Magnus Kvalheim
Hi, > > I wonder in Tapestry world, is there such a component that while user >> types, it will counts how many characters have the user typed. >> Alternatively, I >> would like to know if there is a way to restrict the textarea to a fixed >> size, say 500 characters. If exceeded, no more text wi

Re: how to get orioginal filename for UploadedFile

2011-09-26 Thread Josh Canfield
Contemporary browsers don't send the path, just the filename. http://www.google.com/search?q=html+file+input+path On Mon, Sep 26, 2011 at 9:10 PM, Ken in Nashua wrote: > > Folks, > > I am using this tap5 UploadedFile > > >                trailsBlob.setContentType(file.getContentType()); >      

Re: Page isn't rendered after redirect from onActivate

2011-09-26 Thread Geoff Callender
You're trying something that is outside my area and I can't test what you're doing but here are some thoughts that may help. Have you put a breakpoint in onActivate, or logged it with @Log, to see confirm that Par1Page is being returned? Have you checked in your browser network page that the re

how to get orioginal filename for UploadedFile

2011-09-26 Thread Ken in Nashua
Folks, I am using this tap5 UploadedFile trailsBlob.setContentType(file.getContentType()); trailsBlob.setFileName(file.getFileName()); trailsBlob.setFilePath(file.getFilePath()); trailsBlob.setNumBytes(new Long(file.getSize()));

Re: Textarea with character count?

2011-09-26 Thread Thiago H. de Paula Figueiredo
On Mon, 26 Sep 2011 21:43:38 -0300, TG wrote: Hi, Hi! I wonder in Tapestry world, is there such a component that while user types, it will counts how many characters have the user typed. Alternatively, I would like to know if there is a way to restrict the textarea to a fixed size, say

Textarea with character count?

2011-09-26 Thread TG
Hi, I wonder in Tapestry world, is there such a component that while user types, it will counts how many characters have the user typed. Alternatively, I would like to know if there is a way to restrict the textarea to a fixed size, say 500 characters. If exceeded, no more text will be allowed. A

Re: Error in T5.3 & openJDK = java.lang.reflect.GenericSignatureFormatError

2011-09-26 Thread Howard Lewis Ship
That's a pretty old alpha version; I'd use "5.3-beta-10" which is latest-and-greatest. On Mon, Sep 26, 2011 at 12:57 PM, Ernesto Arroyo wrote: > we use 5.3.0 in the pom.xml for all tapestry artifacts > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Error-in-T5-3-ope

Re: Error in T5.3 & openJDK = java.lang.reflect.GenericSignatureFormatError

2011-09-26 Thread Ernesto Arroyo
we use 5.3.0 in the pom.xml for all tapestry artifacts -- View this message in context: http://tapestry.1045711.n5.nabble.com/Error-in-T5-3-openJDK-java-lang-reflect-GenericSignatureFormatError-tp4829879p4842699.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: two object beaneditform

2011-09-26 Thread Thiago H. de Paula Figueiredo
On Mon, 26 Sep 2011 08:58:48 -0300, csckid wrote: If I have two tables, can't I use beaneditform? In that case what should be the way to take input of two model class? Use a Form, two BeanEditor component instances and a submit button (an ordinary HTML is enough). -- Thiago H. de Paula F

Re: T5.2 and CXF / SOAP

2011-09-26 Thread Daniel Honig
Yes over the long run you will be way better served by CXF than Metro, 2 years ago I would have chosen Metro, but no longer. Shame I can't help you integrate it with Tap. On Sep 23, 2011, at 6:27 PM, Norman Franke wrote: > So, since CXF appears to be way, way better documented, I'll ask. Has any

Re: T5.2 and CXF / SOAP

2011-09-26 Thread Lenny Primak
I would like to see this as well, perhaps this will help with my Metro web services integration. Thanks! On Sep 26, 2011, at 11:33 AM, Norman Franke wrote: > Care to share? > > Norman Franke > Answering Service for Directors, Inc. > www.myasd.com > > > > On Sep 26, 2011, at 9:20 AM, Ulrich S

Re: T5.2 and CXF / SOAP

2011-09-26 Thread Norman Franke
Care to share? Norman Franke Answering Service for Directors, Inc. www.myasd.com On Sep 26, 2011, at 9:20 AM, Ulrich Stärk wrote: I have. On 24.09.2011 00:27, Norman Franke wrote: So, since CXF appears to be way, way better documented, I'll ask. Has anyone integrated Tapestry 5's IoC wit

Re: Missing cookie when calling URL outside browser

2011-09-26 Thread MP3HiFi
Thanks Tahe, that post/trick have solved my problem. I created a dynamic JavaScript void setupRender() { StringBuffer sb = new StringBuffer(); sb.append("window.location =\""+getRedirect()+"\" ;"); javaScriptSupport.addScript(sb.toString());

Re: T5.2 and CXF / SOAP

2011-09-26 Thread Ulrich Stärk
I have. On 24.09.2011 00:27, Norman Franke wrote: > So, since CXF appears to be way, way better documented, I'll ask. Has anyone > integrated Tapestry > 5's IoC with CXF? > > Norman Franke > Answering Service for Directors, Inc. > www.myasd.com > > ---

Re: Page isn't rendered after redirect from onActivate

2011-09-26 Thread albaeck
Thanks for reply! If I'm under http (not https and having @Secure removed) setupRender() of all page components are invoked. No exceptions. Page is not rendered though. I use tomcat-6.0.33, no ballancer, etc. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Page-isn-t-ren

Re: Page isn't rendered after redirect from onActivate

2011-09-26 Thread Geoff Callender
Does it work if you use http, not https, and without @Secure? Are you going through Apache to get to your web server? What web server are you using? On 26/09/2011, at 8:38 PM, albaeck wrote: > Hi again, more details below... > > I suppose that all comuniucation within JS->Handler->redirect is

two object beaneditform

2011-09-26 Thread csckid
If I have two tables, can't I use beaneditform? In that case what should be the way to take input of two model class? -- View this message in context: http://tapestry.1045711.n5.nabble.com/two-object-beaneditform-tp4841107p4841107.html Sent from the Tapestry - User mailing list archive at Nabble.

Re: Page isn't rendered after redirect from onActivate

2011-09-26 Thread albaeck
Hi again, more details below... I suppose that all comuniucation within JS->Handler->redirect is done via https. So, page (Par1Page, I'm going to redirect to) is marked as @Secure. Handler is also marked. Interesting things are: 1. Redirect works as expected when handler is invoked through a brows