include an external script in a .script file

2006-07-27 Thread Henri Dupre
I want to have a component that will add an include for a javascript to an external website and also that will do some initialization for this script. I tried with a .script component and I put the following stuff:

RE: Overriding the maximum file upload size

2006-07-27 Thread Murray Collingwood
Hi Ben The change made to the documentation: From: To: solves the problem. Specifying MultipartDecoder was generating some initialisation error - Tapestry simply wouldn't load. I'm glad the limit is 10mb - that seems very reasonable as a default. Cheers mc On 27 Jul 2006 at 8:59, Ben

RE: Any news on Tap 4.1?

2006-07-27 Thread Payne, Matthew
Do you see any future initiative to have this? --Matt -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 3:58 PM To: 'Tapestry users' Subject:RE: Any news on Tap 4.1? No, Spring beans are not real HiveMind services by default.

Re: Any news on Tap 4.1?

2006-07-27 Thread Martin Strand
Jars are here: http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/ (check the dirs with the "tapestry-" prefix) On Thu, 27 Jul 2006 22:05:11 +0200, Rui Pacheco <[EMAIL PROTECTED]> wrote: I could use some jar's on the site, it makes management happy. If its there, its

3.0 -> 4.0 upgrade and parameter differences

2006-07-27 Thread Danny Mandel
Hi all, I'm finally getting around to upgrading my 3.0 codebase and things are going spectacularly! However, I have a case where it seems the new component parameter handling isn't doing what I would like it to (it's a rare case-- almost all others make much more sense now!), and I was wonde

Re: Any news on Tap 4.1?

2006-07-27 Thread Rui Pacheco
I could use some jar's on the site, it makes management happy. If its there, its official. If I download from SVN, its beta and buggy. On 7/27/06, James Carman <[EMAIL PROTECTED]> wrote: No, Spring beans are not real HiveMind services by default. -Original Message- From: Payne, Matthew

RE: Any news on Tap 4.1?

2006-07-27 Thread James Carman
No, Spring beans are not real HiveMind services by default. -Original Message- From: Payne, Matthew [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 3:57 PM To: Tapestry users Subject: RE: Any news on Tap 4.1? Just curious, when this is combined with the spring plugin(tapestry-sp

RE: Any news on Tap 4.1?

2006-07-27 Thread Payne, Matthew
Just curious, when this is combined with the spring plugin(tapestry-spring.jar), do components from spring get autowired as well? Thanks, Matt -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 3:27 PM To: 'Tapestry users' Subject:

RE: Any news on Tap 4.1?

2006-07-27 Thread James Carman
Components can be autowired too! :-) -Original Message- From: Martin Strand [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 3:21 PM To: Tapestry users Subject: Re: Any news on Tap 4.1? I just changed to 4.1 in pom.xml and everything still works. :) Nice to see autowiring for pag

Re: Any news on Tap 4.1?

2006-07-27 Thread Martin Strand
I just changed to 4.1 in pom.xml and everything still works. :) Nice to see autowiring for page classes. Martin On Thu, 27 Jul 2006 19:45:20 +0200, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Yeah, I had intended to release it Wednesday but I found too many places that needed a lot more docume

Re: Any news on Tap 4.1?

2006-07-27 Thread Jesse Kuhnert
Yeah, I had intended to release it Wednesday but I found too many places that needed a lot more documentation so it didn't come to pass. Most of the code is about as stable as it can be until we get more feedback/people using it. I'll probably end up making the "official" release Friday, but it w

Re: Any news on Tap 4.1?

2006-07-27 Thread Rui Pacheco
Didn't someone announce a couple of weeks ago that it would be done "in a couple of weeks?" Thats why I'm asking today, I thought the date would be near. On 7/27/06, Spencer Crissman <[EMAIL PROTECTED]> wrote: No one who is involved in the voting process can estimate how stable the current buil

Re: Any news on Tap 4.1?

2006-07-27 Thread Spencer Crissman
No one who is involved in the voting process can estimate how stable the current build is, just approximately, any closer than that? We are in a similar boat, and would love to have just some kind of ballpark guess, like, "all features are in and it is mostly stable - maybe a few weeks" vs. "feat

Portlet Examples

2006-07-27 Thread Joel Trunick
I have not seen any samples of Tapestry portlets on the web, there is a hello world one described on this forum, but it would be nice to have code samples. Anyone know of any? Joel - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

RE: Any news on Tap 4.1?

2006-07-27 Thread Kevin Menard
I believe a new model is being used now. 4.1 releases will be made and eventually one will be voted stable. So, I don't think there's any definite timeline other than ASAP. -- Kevin > -Original Message- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 27, 2006 11:53

Any news on Tap 4.1?

2006-07-27 Thread Rui Pacheco
We've been thinking about redoing some of our internal web apps with Ajax, but we decided to wait until Tap4.1 was out. Any dates for when that's to happen? -- Cumprimentos, Rui Pacheco

Re: @EventListener, FieldLabel & IRequestCycle.getResponseBuilder.updateComponent

2006-07-27 Thread Jesse Kuhnert
That sounds like a great issue to fix, thanks Ben! Is there any possibility you could file this in JIRA? I'm not working on this today and may forget about it otherwise. On 7/27/06, Ben Sommerville <[EMAIL PROTECTED]> wrote: Hi, I had a problem with @EventListener tonight but I'm not sure if t

RE: Controlling length of session

2006-07-27 Thread Kevin Menard
> -Original Message- > From: Detlef Schulze [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 27, 2006 11:23 AM > To: Tapestry users > Subject: RE: Controlling length of session > > Don't use it. Use > > http://jakarta.apache.org/commons/httpclient/ > > instead. If only life were that si

RE: Securing Tapestry Applications

2006-07-27 Thread Payne, Matthew
I am not really fond of the super class route. Is there a way to wire this externally without modifying the pages? e.g. pages don't know if they are secure or not Can you wire in an additional listener/interceptor from hivemind for this purpose? Matt -Original Message- From: Robert Z

RE: Controlling length of session

2006-07-27 Thread Detlef Schulze
Don't use it. Use http://jakarta.apache.org/commons/httpclient/ instead. -Original Message- From: Kevin Menard [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 27. Juli 2006 17:20 To: 'Tapestry users' Subject: RE: Controlling length of session > -Original Message- > From: Detlef Sch

RE: Controlling length of session

2006-07-27 Thread Kevin Menard
> -Original Message- > From: Detlef Schulze [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 27, 2006 11:17 AM > To: Tapestry users > Subject: RE: Controlling length of session > > Do you send the session cookie? Or include the jsessionid= in the > URL? Otherwise this would be the norm

RE: Controlling length of session

2006-07-27 Thread Detlef Schulze
Do you send the session cookie? Or include the jsessionid= in the URL? Otherwise this would be the normal behaviour because there is no way for the server to identify the right session. Cheers, detlef -Original Message- From: Kevin Menard [mailto:[EMAIL PROTECTED] Sent: Donnerstag

Re: Different JSESSIONID in Cookie and URL?

2006-07-27 Thread Ron Piterman
hello Christian - As far as I know the session is managed by tomcat ( or any other container ) - so maybe the tomcat list is a better place to ask... but since it is managed by the container, I would suggest that relying on a session id taken either from the url or from the cookie might cause

RE: Controlling length of session

2006-07-27 Thread Kevin Menard
> -Original Message- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 27, 2006 10:53 AM > To: Tapestry users > Subject: Re: Controlling length of session > > I believe sessions also timeout after 20 minutes of inactivity, but I am > not > sure of the exact length of tim

RE: Controlling length of session

2006-07-27 Thread Kevin Menard
> -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 27, 2006 10:52 AM > To: Tapestry users > Subject: Re: Controlling length of session > > I think that is controlled by your servlet container via web.xml. Hmm . . . that may complicate matters a bit

Re: Controlling length of session

2006-07-27 Thread Rui Pacheco
I believe sessions also timeout after 20 minutes of inactivity, but I am not sure of the exact length of time. On 7/27/06, Kevin Menard <[EMAIL PROTECTED]> wrote: Hi, It seems all sessions created by Tapestry only last as long as the Web browser window is open. Is there a straightforward way

Re: Controlling length of session

2006-07-27 Thread Jesse Kuhnert
I think that is controlled by your servlet container via web.xml. On 7/27/06, Kevin Menard <[EMAIL PROTECTED]> wrote: Hi, It seems all sessions created by Tapestry only last as long as the Web browser window is open. Is there a straightforward way to make sessions last in between browser invo

Controlling length of session

2006-07-27 Thread Kevin Menard
Hi, It seems all sessions created by Tapestry only last as long as the Web browser window is open. Is there a straightforward way to make sessions last in between browser invocations? In this case, I'd prefer if the catalyst for throwing a session out is time-based. Thanks, Kevin

@EventListener, FieldLabel & IRequestCycle.getResponseBuilder.updateComponent

2006-07-27 Thread Ben Sommerville
Hi, I had a problem with @EventListener tonight but I'm not sure if this is a bug or ignorance on my part. (I am working with the latest 4.1 version from svn) First let me explain what I am trying to do I have a form with several PropertySelection input fields on it. What I want to do is c

RE: Overriding the maximum file upload size

2006-07-27 Thread Ben Dotte
Unless something has changed recently, the limit is 10MB, not 10KB. Try it for yourself. I'm a little surprised the override in hivemodule.xml isn't working for you. We have had that line in for some time and haven't had any trouble with it. I just uploaded a 25MB image to make sure. We are also o

Output PageLinks from coded Component?

2006-07-27 Thread Mika Tammilehto
Hi! I'd like to build a component to "automatically" render some sort of breadcrumb-path; my approach is to interpret the page name (e.g. every folder and actual page) to build links for every level. Now, what's the state-of-the-art way to make use of the PageLink-component from java code? I actu

RE: Streaming files from Tapestry

2006-07-27 Thread Murray Collingwood
Hi all :THIS SOUNDS SIMPLE Thanks for the response detlef but I'm still short of a simple example. How complicated can it be to deliver binary files (such as images) from a webserver to a webclient? Why is it that I need to write my own engine service That sounds complicated and the mer

Client validation bug in the latest 4.1 version.

2006-07-27 Thread Jun Tsai
If I delete the reuired validator,it will submit to server.When only all validators includes required,it can show the dojo dialog. Jun Tsai -- Welcome to China Java Users Group(CNJUG). http://cnjug.dev.java.net

RE: Streaming files from Tapestry

2006-07-27 Thread Detlef Schulze
If you only want to stream a file to the browser the example in the faq is perfectly ok. If you want to do something else, for example create an image from a database blob or whatever for displaying it in a page, you should create your own engine service for that. IIRC there is an example for tha

RE: Scheduling tasks

2006-07-27 Thread Schulte Marcus
> > Could anyone post some code showing how to implement this? yes, of course: first, the usage example: package ch.bmw.jobscheduler.test; __ import java.util.Date; import junit.framework.TestCase; import org.apache.hivemi

Streaming files from Tapestry

2006-07-27 Thread Murray Collingwood
Hi all This faq page http://tapestry.apache.org/tapestry4/faq.html answers a common question people have about how to serve images or other binary files from a Tapestry application. The details are provided under: 2.6. How do I stream a file to the user from Tapestry? The example that f

Different JSESSIONID in Cookie and URL?

2006-07-27 Thread Christian Mittendorf
Hello! My Tapestry 4 based application uses the Home.page to read all url and cookie parameters. The page then decides what to do next and it throws a PageRedirectException in its pageBeginRender Method. If I open this app in the browser, I'll first get a cookie with JSESSIONID X. Then, o