T5 Checkbox Problem

2008-04-03 Thread Tim Sawyer
Hi Folks, I have a list of checkboxes on a page:                             ${actor.name}         The method to return the displayActorList is   public List getDisplayActorList()   {     if (this.getActorList() == null)     {       this.setActorList(this.getStoredActorList());     }     r

Re: Problem after upgrade to 5.0.10

2008-02-26 Thread Tim Sawyer
Much better...thanks! Tim. On Tuesday 26 Feb 2008, Tobias Wehrum wrote: > Hi, > > I do not know how to fix this error, but maybe this helps searching: > Add "-Dtapestry.production-mode=false" to your JVM arguments to get the > detailed exception again. > > R

Problem after upgrade to 5.0.10

2008-02-26 Thread Tim Sawyer
Hi, I've just upgraded my app from 5.0.6 to 5.0.10 and I have the following error. What does it mean? Where do I start looking? Thanks, Tim. An unexpected application exception has occurred. Render queue error in BeginRender[txn/SingleXmlClass:typerenderer.if]:Failure reading parameter tes

T5: Two links to same event method

2007-11-19 Thread Tim Sawyer
Hi Folks, I think I'm missing something obvious here, but would appreciate a shove in the right direction. I have a page with two links on it, and I want both to run the same listener method on the page class. So I want to have ${useCaseBaseline.name} at two points in my page (actually both

Re: T5: Same event from multiple components

2007-05-06 Thread Tim Sawyer
your page; component ids have to be > unique, so this other component needs its own id: > > login another > > and > > void onActionFromLogin2() { return onActionFromLogin(); } > > On 5/5/07, Tim Sawyer <[EMAIL PROTECTED]> wrote: > > Hi folks, > > >

T5: Same event from multiple components

2007-05-05 Thread Tim Sawyer
Hi folks, I had a complex if/then structure in my component's html template, such that I want to render different things under different conditions. Two of the conditions will result in logins, but with different link text. I therefore found myself wanting to do: @OnEvent(component="login")

T5 LinkSubmit?

2007-04-25 Thread Tim Sawyer
Is there any equivalent in T5 of LinkSubmit? Ta, Tim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: No root element has been defined

2007-04-25 Thread Tim Sawyer
Sorted - works now. With Start.html inside WEB-INF it works, with it outside it didn't. Thanks, Tim. On Wednesday 25 April 2007 21:47, Tim Sawyer wrote: > Sorry, my bad - the Start.java and CopyOfStart1.java exist, not the HTML > files. > > Apologies, > > Tim. > &g

Re: T5: No root element has been defined

2007-04-25 Thread Tim Sawyer
Sorry, my bad - the Start.java and CopyOfStart1.java exist, not the HTML files. Apologies, Tim. On Wednesday 25 April 2007 21:43, Tim Sawyer wrote: > Not progress, but a clarification. > > I get the "no root element has been defined" error whenever I navigate to a > UR

Re: T5: No root element has been defined

2007-04-25 Thread Tim Sawyer
tapestry app root package. > > > > On 4/21/07, Tim Sawyer <[EMAIL PROTECTED] > wrote: > > Hi All, > > > > Can someone give me a clue what this means? I might still be having > > supplier > > jar trouble, if that's a pointer. > > > > I get this

T5: No root element has been defined

2007-04-20 Thread Tim Sawyer
Hi All, Can someone give me a clue what this means? I might still be having supplier jar trouble, if that's a pointer. I get this exception when trying to display my first page in my first T5 application: An unexpected application exception has occurred. * java.lang.IllegalStateException

Re: T5 Class Not Found Error

2007-04-20 Thread Tim Sawyer
in 3.2 > > cheers > Ben > > > -----Original Message- > > From: Tim Sawyer [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, 18 April 2007 7:40 AM > > To: Tapestry users > > Subject: T5 Class Not Found Error > > > > Hi, > > > > I'

T5 Class Not Found Error

2007-04-17 Thread Tim Sawyer
Hi, I'm trying to set up a project including tapestry 5.0.3 and spring 2.0 and I think I've got my libraries in a twist somewhere. I'm getting this error in my tomcat 6.0 logs and a 404 in the browser trying to access my app: Caused by: java.lang.NoSuchMethodError: org.apache.tapestry.ioc.int

Re: Session

2007-03-22 Thread Tim Sawyer
I believe the timeout for this is configured through web.xml 30 Hello, > > We have an admin side with a user login etc. > > The problem is, the session times out after soo many minutes(we run under > tomcat) of being idle and they user has to log back in. > > Is there any way to make this ind

Re: T5 Annotations Question

2007-03-04 Thread Tim Sawyer
, or you can provide the BeanModel in code (say, > from a reusable service), or mix and match the two. > > I'm not saying its perfect (yet :-), I'm just saying look a little deeper. > > On 3/3/07, Tim Sawyer <[EMAIL PROTECTED]> wrote: > > Hi Folks, > > &g

T5 Annotations Question

2007-03-03 Thread Tim Sawyer
Hi Folks, The new Tapestry 5 stuff relies heavily on annotations of the model, rather than XML files, and it looks good. However, our model is fixed and used for many applications for multiple customers - we therefore can't make application specific annotations in the model. Is there some way

Re: Form submitting problem

2006-08-24 Thread Tim Sawyer
u don't > use it - you miss a great feature. > > Cheers, > Ron > > Tim Sawyer wrote: > > Thanks Ron. In this case, that's fine I can add that in. > > > > In other cases it's just not possible. I have a 700,000 line Java > > business layer b

Re: Form submitting problem

2006-08-24 Thread Tim Sawyer
e, this will solve your > problem and be more useable, since the user can correct the problem on > the same page where the error message apeared. > > Cheers, > Ron > > Tim Sawyer wrote: > > hi, > > > > I have a tapestry page which displays a text entry field for

Form submitting problem

2006-08-24 Thread Tim Sawyer
hi, I have a tapestry page which displays a text entry field for each item in an array. These fields are for entering cheque numbers, and there is also an Activate button. If activate is pushed whilst one of the cheque number fields is blank, then I (correctly) get an exception raised - "all che

Re: Mixed up sessions

2006-08-21 Thread Tim Sawyer
> -Original Message- > From: Tim Sawyer [mailto:[EMAIL PROTECTED] > Sent: Monday, August 21, 2006 6:01 AM > To: users@tapestry.apache.org > Subject: Re: Mixed up sessions > > We believe we know what's causing this now. > > The customer had multiple thin-clients r

Re: Mixed up sessions

2006-08-21 Thread Tim Sawyer
06 10:39, Tim Sawyer wrote: > Hi, > > We've just written our first tapestry app, which is running on tomcat 5.0. > We're getting strange problems with it deployed at our customer, where it > looks like users are getting each others sessions. We don't seem to get >

Re: Mixed up sessions

2006-08-21 Thread Tim Sawyer
On Monday 21 August 2006 10:49, Norbert Sándor wrote: > Maybe you use a Hivemind service with an inappropriate model (singleton > instead of threaded)? > > Regards, > Norbi > > Tim Sawyer wrote: > > Hi, > > > > We'

Mixed up sessions

2006-08-21 Thread Tim Sawyer
Hi, We've just written our first tapestry app, which is running on tomcat 5.0. We're getting strange problems with it deployed at our customer, where it looks like users are getting each others sessions. We don't seem to get this in-house, but I'm getting someone to test multi-user now. My

Re: Question about validation

2006-08-10 Thread Tim Sawyer
On Thursday 10 August 2006 20:02, Vinicius Carvalho wrote: > But delegate.isInError() is returning false. I think that's the wrong method - try delegate.hasErrors() or something similar. Tim. - To unsubscribe, e-mail: [EMAIL P

Validation

2006-08-10 Thread Tim Sawyer
I have a page which has mandatory validation on some of the fields. If I leave mandatory values blank, and change the value in other fields, when the form is submitted the changed values seem to be updated in the model even when errors are shown for the mandatory values. If I then leave my screen

Validation

2006-08-10 Thread Tim Sawyer
I have a page which has mandatory validation on some of the fields. If I leave mandatory values blank, and change the value in other fields, when the form is submitted the changed values seem to be updated in the model even when errors are shown for the mandatory values. If I then leave my screen

Re: Adding onClick to PageLink

2006-07-22 Thread Tim Sawyer
ting for next page > -) Not make me write a bunch of pain in the ass code > > It only cost me about 8 lines of javascript to have the global loader > thinger defined and 40 minutes of my time :) > > On 7/19/06, Tim Sawyer <[EMAIL PROTECTED]> wrote: > > Hi, > > > &

Adding onClick to PageLink

2006-07-19 Thread Tim Sawyer
Hi, I'd like to modify PageLink so that it calls a javascript function in onClick. This function would disable all of the links on the page before following the ultimate link to the page defined. I can write the function, and I've used it successfully with LinkSubmit, but I'm having trouble w

Adding Script Only Once

2006-07-08 Thread Tim Sawyer
Hi all, I have a component, based on LinkSubmit, which generates a javascript function. As this function is the same each time, I don't really want to generate multiple copies of it in my page. Is this possible? My script file looks like this, and generates the javascript function each time t