Tapestry-acegi pom.xml

2006-09-04 Thread Patrick Moore
Hi James -- I think you said when you get a chance you are going to update the tapestry-acegi package. When you do you might wish to use this pom.xml. I discovered this neat feature of maven2 that allows you to specify the minimum version of a dependency. This allows users to upgrade their version

Re: Checking when application closes

2006-09-04 Thread Fred Janon
There is a session timeout parameter in web.xml. I tested my app with a 2 min timeout to redirect the user to the home page after the session times out. I use Tomcat but web.xml and the session timeout param are standard on a servlet container. Here is the web.xml file I use, the timeout param is

Re: Checking when application closes

2006-09-04 Thread Karthik N
look at your web server/app server documentation for http sessions and how they time out. On 9/5/06, Peter Dawn <[EMAIL PROTECTED]> wrote: ok. how can i implement a session time-out. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Tapestry3 + PostgreSQL temp table problem

2006-09-04 Thread Patrick Moore
You are better off almost certainly recalculating what you need every time. If you have pages of data, rerunning the report and then using SQL's rownum to select out the exact rows needed for each request as it comes in. Your choice though --- Peter Dawn <[EMAIL PROTECTED]> wrote: > nay. j

Tap3 file system help

2006-09-04 Thread Peter Dawn
guys, i am trying to implement a upload and download functionality within my web app. so for upload, the user selects a location they want to upload from, click upload and i upload the file and save it in my local server set directory. for download, they select the file they want to download an

Tapestry HTML header customization

2006-09-04 Thread Peter Dawn
guys, when i view the source of my tapestry pages (by right click -> view source) i can view within my source right at the top, there is some content about Application: blah blah, Page: Blah blah, Generated: blah blah. can i customise this content or add some more information to this. has anybod

Re: Tapestry3 + PostgreSQL temp table problem

2006-09-04 Thread Peter Dawn
nay. just a simple web app. where i generate a report based on user data. this data is generated based on some calculations i perform on other tables. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: Tapestry3 + PostgreSQL temp table problem

2006-09-04 Thread Jesse Kuhnert
Is this that chat application? If it is I might seriously ponder using a persistent JMS store to hold conversation state.. http://www.activemq.org/site/ajax.html On 9/4/06, Peter Dawn <[EMAIL PROTECTED]> wrote: am not sure i follow. where am i suppose to store that data. -

Re: Tapestry: unable to reset response buffer

2006-09-04 Thread andyhot
Looking at the stacktrace, i get the feeling that the 'java.lang.IllegalStateException: Response has already been committed' exception is getting thrown while rendering the exception page. I can't really make out the root cause of this, i.e. what exception the original page throws. Vinicius Carv

Re: Checking when application closes

2006-09-04 Thread Peter Dawn
ok. how can i implement a session time-out. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tapestry3 + PostgreSQL temp table problem

2006-09-04 Thread Peter Dawn
am not sure i follow. where am i suppose to store that data. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Switching between HTTP / HTTPS

2006-09-04 Thread Mika Tammilehto
Thanks! I'm gonna have a look at those frameworks. I've just noticed the "scheme" parameter on the form component: http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Form.html May be this may help as well under some circumstances, but I think the filter approach will be a lot mor

Tapestry: unable to reset response buffer

2006-09-04 Thread Vinicius Carvalho
Hello there! Few weeks ago I've post a concern about having opensession in view filter (both spring and hivemind approach) on a very requested web page. When we ran our stress test today, we got thousands of the following exceptions below (we had a few hundred of users accessing the application,

Table component + OpenSessionInView problems

2006-09-04 Thread Vinicius Carvalho
Hello there! I have a page using a contrib:Table. So far it was working great. Until I decided to add a property that is a lazy proxy for an association: The page is a master-detail page. The first time it is loaded it works great. Now comes the odd part, if I add a new master object, next time

Re: Switching between HTTP / HTTPS

2006-09-04 Thread Kalle Korhonen
Depends on the security framework you use, not really a Tapestry function. Acegi makes it configurable and also AppFuse has a configurable filter for it. Kalle On 9/4/06, Mika Tammilehto <[EMAIL PROTECTED]> wrote: Hi! Is there a "best-practice"-approach in Tapestry (4.0) to switch from HTTP

Re: [OT] - Window Events question

2006-09-04 Thread Vinicius Carvalho
Thanks :) That did the trick :) On 9/4/06, andyhot <[EMAIL PROTECTED]> wrote: try onunload Vinicius Carvalho wrote: > Hello there. This is slightly OT, but since we have many gurus from JS > here like Jesse. I was wondering if you guys don't mind if I post this > here :) > > My app will have so

Re: [OT] - Window Events question

2006-09-04 Thread andyhot
try onunload Vinicius Carvalho wrote: > Hello there. This is slightly OT, but since we have many gurus from JS > here like Jesse. I was wondering if you guys don't mind if I post this > here :) > > My app will have some thousand of simultaneous users, using ajax that > polls messages from the chat

Re: Specifying a map of values in Hivemind? (Tapestry-Acegi related)

2006-09-04 Thread Robert Cole
Thanks Shing, looks useful Rob Cole CSA Web +44 (0)20 754 51117

[OT] - Window Events question

2006-09-04 Thread Vinicius Carvalho
Hello there. This is slightly OT, but since we have many gurus from JS here like Jesse. I was wondering if you guys don't mind if I post this here :) My app will have some thousand of simultaneous users, using ajax that polls messages from the chatserver with a 2sec interval. Well, one of the pr

Re: Specifying a map of values in Hivemind? (Tapestry-Acegi related)

2006-09-04 Thread Shing Hing Man
You might like to check out example 7 on http://lombok.demon.co.uk/hiveMind/welcome Shing --- Robert Cole <[EMAIL PROTECTED]> wrote: > > Hi all. > > I'm trying to pass a map of values into a Hivemind > service and I'm hitting problems. I'm coming from > Spring, so the Spring version looks li

Switching between HTTP / HTTPS

2006-09-04 Thread Mika Tammilehto
Hi! Is there a "best-practice"-approach in Tapestry (4.0) to switch from HTTP to HTTPS and back again, depending on the page? We could write a servlet filter to switch to secure connection when necessary but maybe there's a simple way to do it in Tapestry... any idea? Thanks a lot in advance! C

Specifying a map of values in Hivemind? (Tapestry-Acegi related)

2006-09-04 Thread Robert Cole
Hi all. I'm trying to pass a map of values into a Hivemind service and I'm hitting problems. I'm coming from Spring, so the Spring version looks like this: [EMAIL PROTECTED],ROLE_SUPERUSER [EMAIL PROTECTED],ROLE_DATA_ADMINISTRATOR fred,ROLE_SUPPO