[Webwork-user] redirect view at runtime

2002-03-03 Thread Toby Hede
Hi all, I was wondering how I could redirect the view at runtime. I am trying to implement a fairly familiar pattern, when the user goes to access a resource, but has not logged in, they are redirected to the login page, the user logs in, and then is sent back to the resource they originally

Re: [Webwork-user] BUG with set methods for object properties

2002-03-03 Thread Patrick Lightbody
I don't believe that webwork's bean code supports this. Likewise, Webwork only supports setFoo(String[]), but not setFoo(int[]) or setFoo(Integer[]). I think that the JBeans project mentioned yesterday might be able to assist with some of this. -Pat >From: "Matt Baldree" <[EMAIL PROTECTED]>

Re: [Webwork-user] Multipart forms

2002-03-03 Thread Patrick Lightbody
I had to make some changes to Peter's code to get this working. I'll send out my copy in a bit. However, any reason we couldn't include this Action in webwork.util or something like that? It's a useful enough utility to warrant being in the 1.0 release. -Pat >From: Peter Abelsson <[EMAIL PRO

Re: [Webwork-user] BUG with set methods for object properties

2002-03-03 Thread Matt Baldree
Filed it as a potential bug to be looked at later. thx. - Original Message - From: "Christoph Kiehl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 03, 2002 4:19 PM Subject: [Webwork-user] BUG with set methods for object properties > Hi, > > I think I discovered a bug

[Webwork-user] BUG with set methods for object properties

2002-03-03 Thread Christoph Kiehl
Hi, I think I discovered a bug or at least undesired behaviour. If my Action has a set method which expects an Object of type Integer instead of int, the doExecute() method of this Action is not called and the result of the Action is "input". There is no exception throwed or anything else. I'm

Re: [Webwork-user] Multipart forms

2002-03-03 Thread Peter Abelsson
Hi, I did this a while ago. Haven't tested it with later webwork sources so it might not work. Look at. http://www.d.kth.se/~d96-pab/wwupload001.zip /Peter Christoph Kiehl ([EMAIL PROTECTED]) wrote: CK> Hi all, CK> I was wondering if it is possible somehow to use multipart forms with CK> web

[Webwork-user] Multipart forms

2002-03-03 Thread Christoph Kiehl
Hi all, I was wondering if it is possible somehow to use multipart forms with webwork (to upload files for example)? I searched the source but didn't find anything. Perhaps I'm missing something or someone has a solution ... Greetings & Thanks Christoph