Re: Here's a question for yous...

2005-03-03 Thread Duncan Mills
matically, it's still over my head for some reason (I could just be in the wrong place whenever I go look at it). Regards, David -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 1:31 AM To: [EMAIL PROTECTED] Cc: Struts Users Mailing List Subj

Re: Here's a question for yous...

2005-03-01 Thread Frank W. Zammetti
I wasn't working with Struts upload. I'm not sure what the point of all the code you posted was, right now I don't have time to go through it to figure out what's going on. In the end I simply passed an ArrayList back to the view as a request attribute, problem solved. I would have preferred

Re: Here's a question for yous...

2005-03-01 Thread Craig McClanahan
On Tue, 1 Mar 2005 08:51:43 -0500, David G. Friedman <[EMAIL PROTECTED]> wrote: > Craig, > > Is there a tutorial or walk-through explaining Shale? I didn't see that in > the nightly download. I have no clue about JSF and skimming through the > Shale code made little sense to me (at this time).

RE: Here's a question for yous...

2005-03-01 Thread David G. Friedman
y head for some reason (I could just be in the wrong place whenever I go look at it). Regards, David -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 1:31 AM To: [EMAIL PROTECTED] Cc: Struts Users Mailing List Subject: Re: Here's a quest

Re: Here's a question for yous...

2005-02-28 Thread Dakota Jack
Actually the RequestProcessor logic is irrelevant, although seemingly not so. You just need to alter RequestUtils. My experience is that there are lots, and lots, of people doing uploads in Struts outside the "norm". I for one find tht the "ad nauseum" comments you refer to are as good as gold a

Re: Here's a question for yous...

2005-02-28 Thread Dakota Jack
I do this all the time without using the ActionForm at all, unfortunately. I don't know if the solutions I use would be helpful, but here is one: I call an action setting up a page for uploads. Then I upload, setting up a listener/monitor in the the Upload object which is buried in the commons mu

Re: Here's a question for yous...

2005-02-28 Thread Craig McClanahan
On Tue, 01 Mar 2005 00:52:07 -0500, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I sometimes wonder if we (the generic we I mean) don't sometimes think > at too high a level... We try to build so much flexibility into our > designs, but every time I hear "a new API" or "a new interface" or > "an

Re: Here's a question for yous...

2005-02-28 Thread Frank W. Zammetti
Craig McClanahan wrote: In Struts 1.0 - 1.2, there's no way to do this other than by overriding RequestProcessor and dinking with the processPopulate() method. With the way 1.3 is evolving, it would be feasible to make the Command that normally does population do something different instead. That

Re: Here's a question for yous...

2005-02-28 Thread Andrew Hill
Dunno about struts 1.2, but in 1.1 there wasn't an option for it. That said, it would probably take you only a few minutes to override the request processor to do it. indeed I recall having done that before myself a year or two back ahh... here we go - protected void processPopulate(HttpServletR

Re: Here's a question for yous...

2005-02-28 Thread Craig McClanahan
On Mon, 28 Feb 2005 23:40:39 -0500, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > It is of course possible to turn of form validation on a per-mapping > basis... Is it possible to turn off auto-population? In Struts 1.0 - 1.2, there's no way to do this other than by overriding RequestProcessor an

Here's a question for yous...

2005-02-28 Thread Frank W. Zammetti
It is of course possible to turn of form validation on a per-mapping basis... Is it possible to turn off auto-population? It's never come up for me before a few minutes ago... I'm doing a file upload project, and when I upload the files I'd like an ActionForm to be created but NOT populated wit