Re: render time element removal question

2005-09-02 Thread LOCHART,DOUGLAS E
Robert, I am interested in reading this HLS thread. I did a search but did not find it. Could you possibly point me to the thread (dates, keywords to search etc) I would appreciate it. The approach I took was to create a component (based on the Conditional component) called RequiresRole.

Re: Creating checkboxes with the same name

2005-09-02 Thread LOCHART,DOUGLAS E
Ben, If you need a client side solution it is doable in javascript. If you don't want to use the names that tapestry gives you you can always give the checkboxes and id tag that suits your purposes. Believe me I have to deal with complex rules with 2 and 3 dimensional arrays of checkboxes

Re: Form Submission on a Stale Session

2005-09-01 Thread LOCHART,DOUGLAS E
. Cheers, Nick. LOCHART,DOUGLAS E wrote: Geoff, I changed our logout procedure to match yours and then tried the same excerice and got the same Exception. Doug --- here's how we implement logout in a listener - works for us.. public void logoutUser(IReq

Back Button + Form Submission + new Session

2005-08-31 Thread LOCHART,DOUGLAS E
Can someone please explain to me what is going on or what I have to do to prevent the following from happening. A user is using the system and performs a log out. They are redirected to the Home Page. A new Session is created. The user then hits the back button to a previously accessed for

Re: Form Submission on a Stale Session

2005-08-31 Thread LOCHART,DOUGLAS E
/31/05, LOCHART,DOUGLAS E <[EMAIL PROTECTED]> wrote: Geoff, When I looked over the Stack Trace it appears as though the session this page rendering belonged too is alive. In the tapestry Exception page it says that Session.isNew() is NO. Then it contniues the process until it gets into t

Re: Form Submission on a Stale Session

2005-08-31 Thread LOCHART,DOUGLAS E
Geoff, When I looked over the Stack Trace it appears as though the session this page rendering belonged too is alive. In the tapestry Exception page it says that Session.isNew() is NO. Then it contniues the process until it gets into the Visit Object which I clear during Logout. Could it

Re: Form Submission on a Stale Session

2005-08-31 Thread LOCHART,DOUGLAS E
Ooops... here it is Stack Trace: * com.capecomputing.mensana.webportal.application.PageFlowTransitionManager.getNextPage(PageFlowTransitionManager.java:295) * com.capecomputing.mensana.webportal.application.PageFlowTransitionManager.prepareForNextPage(PageFlowTransitionManager.java:212

Re: Form Submission on a Stale Session

2005-08-31 Thread LOCHART,DOUGLAS E
Here is the exception: I also included the seesion infor from exception page. javascript:doImageSubmit('Send') The funny thing is is that it does not happen for all Forms, just most of them. Doug * ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1611) * ognl.ASTProperty.getValueBody(ASTP

Form Submission on a Stale Session

2005-08-31 Thread LOCHART,DOUGLAS E
If we leave our application open to a page that contains a form and then come back the next morning and click the submit button on the form the application tries to do a rewind on the page to record the input parameters. Of course this fails as the page does not have the proper data so a Null

RE: External URL help

2005-08-30 Thread LOCHART,DOUGLAS E
ameters); return link.getAbsoluteURL(); } Check out the other methods in ILink to what it can do for you. Cheers, Nick. LOCHART,DOUGLAS E wrote: External URL Help I am tasked to allow the following in our secure tapestry app: 1) Generate a URL That a person could mail to a per

HELP PLEASE (Form submission on a dead session)

2005-08-30 Thread LOCHART,DOUGLAS E
> I thought I was doing logout right. However I found an email in the mailing list that had me change my logout mechanism. I used to logout in a listener method like this: Visit visit = (Visit)getVisit(); visit.clear(); try { ((IEngineServiceView)getEngine()).res

External URL Help

2005-08-30 Thread LOCHART,DOUGLAS E
External URL Help I am tasked to allow the following in our secure tapestry app: 1) Generate a URL That a person could mail to a perspective client. 2) That client client would click on the URL to sign up. 3) The URL would activate a Page within our system that would them look at a paramete

Logout / Session Issue with a form submit

2005-08-30 Thread LOCHART,DOUGLAS E
I thought I was doing logout right. However I found an email in the mailing list that had me change my logout mechanism. I used to logout in a listener method like this: Visit visit = (Visit)getVisit(); visit.clear(); try { ((IEngineServiceView)getEngine(

need help with External URL problem

2005-08-30 Thread LOCHART,DOUGLAS E
Email: External URL Help I am tasked to allow the following in our secure tapestry app: 1) Generate a URL That a person could mail to a perspective client. 2) That client client would click on the URL to sign up. 3) The URL would activate a Page within our system that would then look at a

Re: Tapestry in a Tomcat Cluster

2005-05-03 Thread LOCHART,DOUGLAS E
ProxyHolderlder will get a proxy from the pool and use it. I know this is off my original topic but any comments/experienced advice would be much appreciated. Thanks again Doug On Tue, 03 May 2005 08:14:41 -0500 "LOCHART,DOUGLAS E" <[EMAIL PROTECTED]> wrote: We will be movin

Tapestry in a Tomcat Cluster

2005-05-03 Thread LOCHART,DOUGLAS E
We will be moving to a clustered environment for our application. We are/will be using Apache (SSL) (with distcache to handle load balancing with SSL), Tomcat with load-balancing/clustering and an encrypted postgres database. We are using a simple home grown Data Access layer which I will be

Re: Logout question - Session Already Invalidated

2005-04-13 Thread LOCHART,DOUGLAS E
().restart(cycle); } catch (Exception ex) { // Ignore it if the session was already invalidated. log.debug(ex.getMessage()); } } - Original Message - From: "LOCHART,DOUGLAS E" <[EMAIL PROTECTED]> To: "Tapestry users" ; "Tapestry users" Sent

Re: Logout question - Session Already Invalidated

2005-04-13 Thread LOCHART,DOUGLAS E
not getting the exception any more. I must've cleaned up something else since then. Maybe that will get you started anyway... you can see when the exception is occurring. I call that method from a simple form-listener method in my login/logout component. - Original Message

Logout question - Session Already Invalidated

2005-04-13 Thread LOCHART,DOUGLAS E
I implemented the listener approach to logging out as reccomended by the FAQ on the Tapestry Wiki. I used this approach to give the user an option to continue or to cancel out and to do some logging. Occasionally I have received a ServletException "Session Already Invalidated". I found a blu

Submit component help

2005-04-12 Thread LOCHART,DOUGLAS E
Hi all, I have a requirement that when the user clicks on the submit button for a form that the button be disabled so they won't/can't click it again before the next page appears. Sounds simple enough. I put some javascript like this: function disable( input ) { input.disable=true; } To te