RE: Plug-in API

2003-09-08 Thread Andrew Hill
+1 Ive always found plugins by far the more convienient of the various methods of initialising stuff at startup. -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Monday, 8 September 2003 22:51 To: Struts Users Mailing List Subject: Re: Plug-in API At 7:40 -0700

RE: releasing session variables using a generic way without giving control to the developer

2003-09-05 Thread Andrew Hill
And theres a 3rd option: in a filter, though overriding the RequestProcessor should serve just as well in this case. (Forget the ActionServlet option unless your using struts 1.0.2) -Original Message- From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi) [mailto:[EMAIL PROTECTED] Sent:

RE: Probelm with global-exceptions routing.

2003-09-05 Thread Andrew Hill
Afaik, the global-exceptions only traps exceptions thrown up from your actions (not from the RP or the JSPs) (I could be wrong about this though!) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 5 September 2003 16:50 To: [EMAIL PROTECTED] Subject:

RE: Thanks

2003-09-05 Thread Andrew Hill
+1 -Original Message- From: Rohit Aeron [mailto:[EMAIL PROTECTED] Sent: Friday, 5 September 2003 18:16 To: Struts Users Mailing List Subject: RE: Thanks All the best for your future endeavour Regards Rohit -Original Message- From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED]

RE: [OT] Scheduling

2003-09-05 Thread Andrew Hill
Or: Implement the PlugIn interface add the appropriate reference to your class in yoir struts-config.xml -Original Message- From: Hue Holleran [mailto:[EMAIL PROTECTED] Sent: Monday, 1 September 2003 19:41 To: Struts Users Mailing List Subject: RE: [OT] Scheduling Using this method

[FRIDAY] Some flash fun

2003-09-05 Thread Andrew Hill
I just know Mark loves flash stuff ;-) This should take your mind off dealing with validator quirks for a while. (Sorry mate - couldnt find any lisp to go with it!) http://www.freshsensation.com/samorost.swf - To

RE: Exceptions in RequestProcessor.processPreprocess()

2003-09-04 Thread Andrew Hill
Yeh, that kinda sux. Your best bet is to use a RuntimeException subclass which doesn't have to be declared. The NestableRuntimeException class (in commons-lang) is very useful for this sort of thing as its nestable so you can wrap the checked exception you need to throw. -Original

RE: Multiple web application support

2003-09-04 Thread Andrew Hill
Sounds more like a job for portlets. Im not familiar with them myself , but Id suggest you might want to take a look at JetSpeed (there are other portlet impls but I cant remember what they are right now...) http://jakarta.apache.org/jetspeed/site/index.html -Original Message- From:

RE: issue with the multi select

2003-09-04 Thread Andrew Hill
You need to submit the changes in the field contents to the server. I presume when you talk about the form being 'refreshed' you actually mean that it POSTs to some action which does some stuff and then you get forwarded back to the same jsp again? The web browser will only submit the values for

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
OI! STOP ALL THAT SHOUTING! ITS GIVING ME A HEADACHE. (I know your terminal can do lower case - I can see it in your sample code!) And while Ive got your attention, it is *not* AN ERROR IN STRUTS that the checkbox is not submitted, it is a result of the html specifications (whose writers probably

RE: Can we create a Action class object

2003-09-04 Thread Andrew Hill
Sure, just instantiate it and call its perform (execute in struts 1.1) method, passing your mapping, for, request and response refs. Dont forget to set the ActionServlet reference first! (Of course it gets much more complicated if you dont want to give it the same mapping and form as your calling

RE: Can we create a Action class object

2003-09-04 Thread Andrew Hill
Danny is right you know. I probably didnt stress the point well enough in my own response to the question just now. You would be much better off doing a spot of refactoring. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 4 September 2003 22:37 To:

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
Have you implemented code in reset() to reset the checkbox to its unticked value in the form yet? Not sure why radio buttons would give you problems though. They usually have one option selected which would get submitted. -Original Message- From: Greg Amaroso [mailto:[EMAIL PROTECTED]

RE: Can we create a Action class object

2003-09-04 Thread Andrew Hill
PROTECTED] Sent: Thursday, 4 September 2003 22:45 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Can we create a Action class object Hi Andrew Hill, Thanks for your reply. Can I know about setting the ActionServlet reference first!. Thanks Regards, Ashok.D - Original Message

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
in this discussion because they fundamentally work in the same way as checkboxes (i.e. they don't send variables if not checked). Thanks. Greg From: Andrew Hill [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] Date: Thu, 4 Sep 2003 22:38:19 +0800 To: Struts Users Mailing List

RE: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-04 Thread Andrew Hill
snip A similar question about your web application: Assuming all pages are set to no-cached, does it allow end users to continue the application flow after the Page has Expired ... feedback? I am interested in the answer to the second question and encourage anyone to do a REAL experiment with

RE: Redisplaying of entered form fields

2003-09-04 Thread Andrew Hill
Firstly check that redirect is false in the forward to the view. (If it is already false then thats not the problem and you should post some more of your code and configs so we can try and see whats going wrong.) -Original Message- From: Rodney Paul [mailto:[EMAIL PROTECTED] Sent:

RE: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions bundled with Struts 1.1]

2003-09-03 Thread Andrew Hill
To: Andrew Hill Cc: Struts Users Mailing List Subject: RE: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions bundled with Struts 1.1] On Wed, 3 Sep 2003, Andrew Hill wrote: Date: Wed, 3 Sep 2003 11:58:13 +0800 From: Andrew Hill [EMAIL PROTECTED] To: Craig R. McClanahan [EMAIL PROTECTED] Cc

RE: Using a custom ActionForward subclass

2003-09-03 Thread Andrew Hill
=com.unist.plot.EvilActionForwards? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2003 13:00 To: Struts Subject: Using a custom ActionForward subclass Im trying to make use of my own subclass of ActionForward (or subclass

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Andrew Hill
Im using the location.replace() trick. Works ok though Id rather not have a back button at all! Id hate to think about doing it using jsp though.(or indeed any other serial rendering mechanism). One would need to replace every link with some custom tag - and where the links themselves are

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Andrew Hill
Nah. Some browsers may still send the request for the previous url instead of loading it from the cache. :-( -Original Message- From: Madhu Nair [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2003 16:51 To: Struts Users Mailing List Subject: RE: Is there a way to disable the

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Andrew Hill
Not if your browser sends a new request for the previous page instead of using its cache, and that page crashes since the objects its expecting in various contexts arent there anymore... -Original Message- From: Brian Lee [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2003 21:37

RE: struts user list

2003-09-02 Thread Andrew Hill
Theres been some virus going round the net clogging up mail servers and routers all over the place. As a result email (including struts list) has been a bit slow lately with some messages taking literally days to reach the list, and one assumes slow from the list to certain places. It seems quite

Commons Versions bundled with Struts 1.1

2003-09-02 Thread Andrew Hill
Ive been trying to find out the versions of the commons libraries bundled with Struts 1.1 Final, but haven't found where its definitively documented (links welcome please!) I went through the various manifest files and got this, but Im not sure how up to date the manifests are: struts 1.1 (Yeh.

RE: ActionForward usage

2003-09-02 Thread Andrew Hill
When you lookup the ejb in your LogonAction you can create a bean wrapping that info (or even just reuse the EJB bean) and you store this bean under a request attribute (not parameter). Make sure your success forward is a non-redirecting forward and this means the forward will be a server side. In

RE: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Andrew Hill
http://jakarta.apache.org/struts/userGuide/release-notes-1.1.html: Commons BeanUtils 1.6.1 Commons Collections 2.1 Commons Digester 1.5 Commons FileUpload 1.0 Commons Lang 1.0.1 Commons Logging 1.0.3 Commons Validator 1.0.2 Quoting Andrew Hill [EMAIL PROTECTED]: Ive been trying to find out

RE: Commons Versions bundled with Struts 1.1

2003-09-02 Thread Andrew Hill
btw: Anyone have a clue as to the version for the jakarta-oro jar? (Its manifest doesnt say) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 21:31 To: Struts Subject: Commons Versions bundled with Struts 1.1 Ive been trying to find out

RE: help: request.getParameter(action)

2003-09-02 Thread Andrew Hill
Firstly I should point out that naming a field (and a submit button qualifies in this category) on your form action is a very bad idea (as it shadows the action property of the form object in the client side object model - so if you ever need to play with a forms action path in javascript on the

[OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions bundled with Struts 1.1]

2003-09-02 Thread Andrew Hill
So whats the deal with XML parsers? For example lets say I need my web app to use xerces-1.4.3 as later versions have various bugs with some of the things Im trying to do (for example xerces-1.4.4's Document.cloneNode() is screwed, and 2.something's EntityResolver gets fed incorrect info, etc...

RE: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions bundled with Struts 1.1]

2003-09-02 Thread Andrew Hill
In other words, if Im running on a 1.4 JVM, _all_ the applications running in that container _must_ share the same parser? :-( -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2003 11:54 To: Andrew Hill Cc: Struts Users Mailing List

Using a custom ActionForward subclass

2003-09-02 Thread Andrew Hill
Im trying to make use of my own subclass of ActionForward (or subclass of ForwardingActionForward to be precise). Ive set the type in the global-forwards appropriately: global-forwards type=com.unist.plot.EvilActionForward That seems to work ok. (Ive not actually tested that its really

RE: Help needed in using the file upload to databse tag

2003-09-02 Thread Andrew Hill
Thats strange. It doesnt seem very urgent to me mate. http://www.catb.org/~esr/faqs/smart-questions.html I was thinking of letting my reply sit in the 'drafts' folder for a while before sending it, but what with the wierd list behaviour at the moment I figure it will be ages till the reply arrives

RE: SubClass RequestProcessor or Action class

2003-09-01 Thread Andrew Hill
This is a joke right? ...Friday is well and truly over mate. Its Monday now. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, 1 September 2003 12:03 To: [EMAIL PROTECTED] Subject: SubClass RequestProcessor or Action class HI All, As a general practice

RE: SubClass RequestProcessor or Action class

2003-09-01 Thread Andrew Hill
Andrew Hill [EMAIL PROTECTED]To: Struts Users Mailing List [EMAIL PROTECTED] idnode.com cc: Subject: RE: SubClass RequestProcessor or Action class

RE: [FRIDAY] Vacancy

2003-08-29 Thread Andrew Hill
Hmm practically next door to me :-) (I even studied bahasa at uni, not that I can remember a word now) -Original Message- From: Kristanto Oetomo [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 18:52 To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] Vacancy It's one of the

RE: What is Java Server faces ?

2003-08-29 Thread Andrew Hill
Eh? You sure thats the link Mark? I read through it but it all seems to be some nonsense about questionable hackers , or hackers with questions or asking questions or something like that? - I didnt see anything about JSF or even struts. -Original Message- From: Mark Galbreath

RE: [FRIDAY] Vacancy

2003-08-29 Thread Andrew Hill
Uh, no. Havent even been there (unless you count flying over). -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 18:55 To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] Vacancy Isn't Andrew living/working in Indonesia? I thought he said

RE: What is Java Server faces ?

2003-08-29 Thread Andrew Hill
about doing a web search before posting inane questions on mailing lists? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 7:04 AM To: Struts Users Mailing List Subject: RE: What is Java Server faces ? Eh? You sure thats the link Mark? I read

RE: Vacancy

2003-08-29 Thread Andrew Hill
Never figured it out, but its pretty much standard practice in this corner of the world! -Original Message- From: David Stemm [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 20:42 To: Struts Users Mailing List Subject: Re: Vacancy Why would you need a recent photo for an

RE: [FRIDAY] Vacancy

2003-08-29 Thread Andrew Hill
[mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 22:11 To: Struts Users Mailing List Subject: Re: [FRIDAY] Vacancy I wonder if they consider a tele-commuter. Andrew Hill wrote: Uh, no. Havent even been there (unless you count flying over). -Original Message- From: Mark Galbreath

RE: [FRIDAY] RE: Vacancy

2003-08-29 Thread Andrew Hill
Any chance I'd get to ride in the corporate Battlesub? -Original Message- From: Bill Chmura [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 21:27 To: 'Struts Users Mailing List' Subject: [FRIDAY] RE: Vacancy I am pretty sure this is one of those hiring for an evil army jobs...

RE: [OT] Re: Vacancy

2003-08-29 Thread Andrew Hill
In this area of the world its still quite normal to have to enter ones race ( religion medical history) on applications for all sorts of things including of course jobs. (I usually put human much to their annoyance). In this country (though not in many of our less developed neighbours) it is

RE: [OT[ voice enable Java IDE

2003-08-28 Thread Andrew Hill
Rofl! oh yeah. This links getting forwarded :-) -Original Message- From: Raj Naboti [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 August 2003 06:47 To: [EMAIL PROTECTED] Subject: [OT[ voice enable Java IDE I find this IDE most rewarding. Compared to crowd it shines with highest regard!

RE: J2EE IDE

2003-08-28 Thread Andrew Hill
Hehe. I ran eclipse on a P-I 200Mhz with 64Mb without problems (though i was just stuffing around and not doing anything 'heavy') -Original Message- From: Mike Duffy [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 August 2003 12:45 To: Struts Users Mailing List Subject: RE: J2EE IDE I

RE: Looking for Multiple file upload at once example

2003-08-28 Thread Andrew Hill
I posted something about this a week or two back outlining a technique whereby, although the user can still only upload one file (per field) at a time, the form is session scoped and keeps track of already uploaded files internally, so over a series of requests the user can upload multiple files

RE: Looking for Multiple file upload at once example

2003-08-28 Thread Andrew Hill
isn't applicable in this case, (Being about how to associate any number of files with a single field), so I'll leave off on the details of that unless anyone else is interested in having them posted again? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 August

RE: Re [OT] As the Struts world turns [was: Re: DO NOT REPLY [Bug 22519] - Allow multiple MessageResources files to be loaded under one key]

2003-08-28 Thread Andrew Hill
Nah. Just ctrl-alt-delete and kill explorer in the task manager :-) -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 August 2003 16:49 To: Struts Users Mailing List Subject: Re [OT] As the Struts world turns [was: Re: DO NOT REPLY [Bug 22519] - Allow

RE: How to access a session object from a form class

2003-08-27 Thread Andrew Hill
I presume you need this in your getters/setters? One hack might be to grab a transient instance member reference to the request (and thus session) in the reset() method (transient to maintain serializability). This would only be suitable for request-scoped beans however and wouldnt be advisable

RE: Changed fields in ActionForm

2003-08-27 Thread Andrew Hill
Struts doesnt supply a feature for this unfortunately - you would need to implement the logic yourself. -Original Message- From: Aswathy Priyarenj [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 August 2003 17:05 To: [EMAIL PROTECTED] Subject: Changed fields in ActionForm Hello, I would

RE: Small request...

2003-08-26 Thread Andrew Hill
I'd love to oblige, but I think its best I keep my computer back in 1993. Id hate to get that nasty Y2K thing that was going around a year or two back! Sorry. -Original Message- From: Keith Pemberton [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2003 03:03 To: [EMAIL PROTECTED]

RE: [OT] Re: Small request...

2003-08-26 Thread Andrew Hill
Well, both Venus and Mercury orbit closer to the sun than we do, and thus have shorter years - ergo: 2004 has been and gone long since over there. :-P -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2003 16:38 To: Struts Users Mailing List Subject:

RE: [OT] Re: Small request...

2003-08-26 Thread Andrew Hill
Hmmm. Is your mail client travelling at or near the speed of light? -Original Message- From: Thomas Cornet [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2003 20:06 To: Struts Users Mailing List Subject: RE: [OT] Re: Small request... I'm using Eudora, and the date of your post is

RE: Nested Tags

2003-08-26 Thread Andrew Hill
The power of nested tags cannot be understated. Id advise you to use them (where applicable) for they are really useful, they make simple a lot of things that would otherwise be a nightmare to implement. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26

RE: problems with ActionConfig

2003-08-22 Thread Andrew Hill
Im not really clear on what your doing. Can you give some detail, and perhaps some snippets of code? What do you mean by added a map? -Original Message- From: Geronimo Ma. Hernandez [mailto:[EMAIL PROTECTED] Sent: Friday, 22 August 2003 17:38 To: Struts Users Mailing List Subject:

RE: problems with ActionConfig

2003-08-22 Thread Andrew Hill
with ActionConfig Andrew Hill wrote: Im not really clear on what your doing. Can you give some detail, and perhaps some snippets of code? What do you mean by added a map? Sorry for being unprecise. I added a map to the ActionConfig-subclass. The map is created in the default constructor

RE: problems with ActionConfig

2003-08-22 Thread Andrew Hill
with ActionConfig Andrew Hill wrote: And then you split it in the setter (using a StringTokenizer or some such similar method) and call map.put() for each token? What are you using as a key for each token? my value looks like user:session, userList:request, where the list is split by the , and the entries

RE: Disallow user to modify URL in browser address bar

2003-08-22 Thread Andrew Hill
wait wait I know! idea type=silly today=friday drink=beer Have only ONE url for the whole application. Give every page a hidden field named theRealUrl and all links etc actually fire javascript that sets this hidden field and POST to that one acceptable url, then you have a filter (or

RE: [OT] Session Context attributes in distributed env [WAS: RE: [OT]Servlet Context/Static Fields]

2003-08-20 Thread Andrew Hill
WTF! Why are you spoofing my email Brian? (If that is your real name...) We are not amused. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, 20 August 2003 13:38 To: Struts Subject: RE: [OT] Session Context attributes in distributed env [WAS: RE: [OT

RE: [OT] Web Services, what have I done?

2003-08-20 Thread Andrew Hill
Im just getting started looking at web services myself , so dont have a detailed technical grasp, but a seminar I attended a couple of days ago is still fresh in my mind so Ill have a go at fielding this one... What you have done would fit into the 'academic' definition of a 'web service quite

RE: Should extend any struts components ?

2003-08-19 Thread Andrew Hill
The PlugIn support (in struts 1.1 but not 1.0.2) is also very useful for this type of thing. Ive extended the RequestProcessor to do a few application specific things, and the ActionMappings to take some app specific properties, but in general there isnt a need to extend most things unless you

[OT] Session Context attributes in distributed env [WAS: RE: [OT]Servlet Context/Static Fields]

2003-08-19 Thread Andrew Hill
[mailto:[EMAIL PROTECTED] Sent: Monday, 18 August 2003 23:50 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT]Servlet Context/Static Fields On Mon, 18 Aug 2003, Andrew Hill wrote: Date: Mon, 18 Aug 2003 17:12:34 +0800 From: Andrew Hill [EMAIL PROTECTED] Reply-To: Struts Users

RE: [OT] Session Context attributes in distributed env [WAS: RE: [OT]Servlet Context/Static Fields]

2003-08-19 Thread Andrew Hill
: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, 20 August 2003 13:19 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: [OT] Session Context attributes in distributed env [WAS: RE: [OT]Servlet Context/Static Fields] On Wed, 20 Aug 2003, Andrew Hill wrote: Date: Wed

RE: Form data is not null and the length is 0 -- why this ?

2003-08-18 Thread Andrew Hill
!= null -Original Message- From: Stefan Berger [mailto:[EMAIL PROTECTED] Sent: Monday, 18 August 2003 16:58 To: [EMAIL PROTECTED] Subject: Form data is not null and the length is 0 -- why this ? Hi, I am confused. I have a form with fields and after pressing the button i got a

RE: [OT]Servlet Context/Static Fields

2003-08-18 Thread Andrew Hill
If your in a distributed environment changes you make to properties of those static classes will not be propogated to other JVMS (or indeed other classloaders), whereas the stuff in ServletContext should be (though Id love to hear an explanation of how it knows when to do it!). -Original

RE: Form Post to HTTPS

2003-08-15 Thread Andrew Hill
Take a look at the HttpClient project. That might have what you need. http://jakarta.apache.org/commons/httpclient/features.html You would do the posting from the servlet or action. (Its no good setting up a jsp to render a pafe that is used to post the data as it would be the users browser that

RE: Form Post to HTTPS

2003-08-15 Thread Andrew Hill
to use any 3rd party libraries. Considering, I do the POST from the servlet in the doPost() method, so it's my assumption that I will get the response in the doGet method.. is that correct ? thanks -raj Andrew Hill [EMAIL PROTECTED

RE: transaction tokens

2003-08-14 Thread Andrew Hill
I dont believe so. :-( btw Likewise for multiple actionforms (for the same mapping) when you have 1 windows open (such as you might want for editing several records selected from a list in the main window...) /btw -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent:

RE: How Action Path is extracted from the URL

2003-08-14 Thread Andrew Hill
The path is extracted from the url by the processPath() method of the org.apache.struts.action.RequestProcessor class. The mapping for that path is obtained in the processMapping() method. The instance of Action is returned from the processActionCreate() method which will look it up or create it

RE: [FRIDAY] Impossible requirements customer expectation management [WAS: method to get new Id to next action when old Id is in request?]

2003-08-14 Thread Andrew Hill
management [WAS: method to get new Id to next action when old Id is in request?] Move on. There are plenty of jobs for the competent and there is no point in wasting your time developing for morons. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 7

RE: UPON APPLICATION STARTUP!!!!!!!!!!!!!!!!

2003-08-14 Thread Andrew Hill
Yeh alright mate. Keep ya hair on and enough with the shouting already! Since the forms are only instantiated when a request for that mapping comes in its gonna be kinda hard to prepopulate values on them cos they dont exist yet. Indeed unless you are using session mapped forms (such as for a

List problems? [WAS: RE: Struts is incomplete]

2003-08-14 Thread Andrew Hill
Is there something wrong with the list mailer this week? Ive noticed lots of runs of empty replies from various different folk... -Original Message- From: Kommineni, Sateesh (IndSys) [mailto:[EMAIL PROTECTED] Sent: Monday, 11 August 2003 19:55 To: Struts Users Mailing List Subject: RE:

RE: A Relevant Observation

2003-08-14 Thread Andrew Hill
snip unbridled innovation is hurting our industry more than it's helping by breeding underpowered technology and clouding the market's vision /snip Gasp! Heresy! Burn him! Burn Him! -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, 6 August 2003 21:43 To:

RE: transaction tokens

2003-08-14 Thread Andrew Hill
and then sorting it out in a base class during form.reset() (exceptionally seat-of-pants thinking)) Andrew Hill wrote: oops, yep. Should have specified that. Only for a session mapped actionform will there be a problem. The request ones are of course not affected by the problem. -Original

RE: Forward to the same page

2003-08-14 Thread Andrew Hill
Well if several page can submit to the same action , only way you are going to know which one the submission came from in the action (and thus know where to forward back to) is if that information is itself also submitted (or some other parameter that can identify the page you came from and so

RE: UPON APPLICATION STARTUP!!!!!!!!!!!!!!!!

2003-08-14 Thread Andrew Hill
that you mentioned? Thanks. _CJ On Sunday 10 August 2003 11:08 pm, Andrew Hill wrote: Yeh alright mate. Keep ya hair on and enough with the shouting already! Since the forms are only instantiated when a request for that mapping comes in its gonna be kinda hard to prepopulate values on them cos

RE: test

2003-08-14 Thread Andrew Hill
Oh man. I hate tests. Always flunk them big time. Whoa! Wheres the questions dude? Or is this like one of those , you know, trick tests, where like the answer is guessing what the question is. Heavy. Ahhh. I know! What do you get if you multiply six by nine? -Original Message- From:

RE: [FRIDAY] Impossible requirements customer expectation management [WAS: method to get new Id to next action when old Id is in request?]

2003-08-14 Thread Andrew Hill
So what does one do when one has requirements that are (for all practical purposes) impossible? How does one actually go about convincing a Customer/PHB/VIP that its impossible without them thinking one is incompetent and making excuses? -Original Message- From: ansuman_behera

RE: Struts optimization

2003-08-14 Thread Andrew Hill
Given the limitations of html thats not really practical without using frames or IFrames. :-( Certainly tiles doesnt provide anything of that sort. Theoretically you might be able to do something sort of like that using a hidden iframe to send the request and receive the response, a bunch of

RE: [OT] - [TOPIC] - [VOTE]

2003-08-14 Thread Andrew Hill
and beer? -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Tuesday, 5 August 2003 19:59 To: 'Struts Users Mailing List' Subject: RE: [OT] - [TOPIC] - [VOTE] Will there be girls? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent:

RE: [OT] - [TOPIC] - [VOTE]

2003-08-10 Thread Andrew Hill
Yep. Its interesting to note that one of the major struts development tools (Camino) was developed here in Singapore (by Scioworks Technologies). Id imagine that once the recession is over and companies start to spend on IT projects again we will see even more adoption adoption of struts in the

RE: Model and Business in Struts

2003-08-10 Thread Andrew Hill
Heres one to look at: http://www.jcorporate.com/econtent/Content.do?state=templatetemplate=2reso urce=636db=default (Expresso from jcorporate. (Its opensource)) Havent tried it myself. If you use it, be sure to share your experiences with the list :-) -Original Message- From: Mehdi

RE: method to get new Id to next action when old Id is in request?

2003-08-10 Thread Andrew Hill
hah. Thats nothing! Wait till you try coding it without hidden variables AND standing upside down in a hammock while playing bagpipes at the same time. Using .net On a 486 with no monitor ...ah Friday is that BEER I can smell? hmmm I know how about tacking it on as a query parameter to the

RE: [OT] XForms

2003-08-09 Thread Andrew Hill
drop me a line. Cheers Simon - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Friday, August 01, 2003 8:02 AM Subject: [OT] XForms Currently the app Im working on is using an xhtml front end (with struts of course) but Ive been asked

RE: [OT] - [TOPIC] - [VOTE]

2003-08-09 Thread Andrew Hill
-1 What James said, with the extra note that you wont get any support from me for a scheme that doesnt include a [FRIDAY] tag, or a [BEER] tag, or a [FRIDAY].[BEER] tag, or a [FRIDAY].[BEER].[42], then again I suppose all those discussions might best be summed up with [FRIDAY].[BEER] == [42] ;- Is

RE: Struts Problem!!!!Urgent

2003-08-08 Thread Andrew Hill
http://www.catb.org/~esr/faqs/smart-questions.html -Original Message- From: Sridhar Kotagiri [mailto:[EMAIL PROTECTED] Sent: Friday, 8 August 2003 00:16 To: Struts Users Mailing List Subject: Struts ProblemUrgent Hi, I have a HashMap in my ActionForm bean.I am able to

RE: struts help required urgent

2003-08-08 Thread Andrew Hill
You could start by posting your question with a meaningful subject line. http://www.catb.org/~esr/faqs/smart-questions.html I might add that many of the folks on this list simply will not reply to any post that has urgent in the subject line. -Original Message- From: [EMAIL PROTECTED]

RE: ActionForm Initialization

2003-08-08 Thread Andrew Hill
RequestProcessor has a processPopulate method to init form fields in the action form based on request parameters (though it actually delegates to RequestUtils class to do the real work). the processActionForm() method in RP is resposible for finding or instantiating the action form instance based

RE: transaction tokens

2003-08-06 Thread Andrew Hill
Subject: Re: transaction tokens Andrew Hill wrote: I dont believe so. :-( btw Likewise for multiple actionforms (for the same mapping) when you have 1 windows open (such as you might want for editing several records selected from a list in the main window...) /btw what's the problem

RE: Can

2003-08-04 Thread Andrew Hill
http will always pass a string parameter so its generally better to make your action form properties strings as well. The user could have typed garbage into the form control so the string that is passed might not be parseable. Best bet is to add an extra method to your action form that does the

[OT] XForms

2003-08-01 Thread Andrew Hill
Currently the app Im working on is using an xhtml front end (with struts of course) but Ive been asked to look at XForms with an eye to migrating to it in the future (and probably throwing in a migration to JSF while Im there). Currently the XForms spec is only a candidate release with afaik very

RE: How to rename file in FormFile in struts 1.1 final release

2003-08-01 Thread Andrew Hill
for people used this function in 1.0.2 and want to switch to 1.1:). -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: July 31, 2003 6:08 AM To: Struts Subject: How to rename file in FormFile in struts 1.1 final release Whats the deal

How to rename file in FormFile in struts 1.1 final release

2003-07-31 Thread Andrew Hill
Whats the deal with org.apache.struts.upload.CommonsMultipartRequestHandler.CommonsFormFile being immutable? Its broken my (production) code that was working with struts 1.1 b1 and relied on using setFileName() :-( What is the rationale for the FormFile interface still having these methods when

RE: [OT] Best super-class for context handling.

2003-07-31 Thread Andrew Hill
Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 Andrew Hill [EMAIL PROTECTED] on 07/30/2003 10:49:19 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: RE: [OT] Best

RE: first release date struts 1.1

2003-07-31 Thread Andrew Hill
Yes. The book is based on a beta version. -Original Message- From: object worlds [mailto:[EMAIL PROTECTED] Sent: Friday, 1 August 2003 10:00 To: [EMAIL PROTECTED] Subject: Re: first release date struts 1.1 Are you sure that was the very first occasion that Struts v 1.1 was released

RE: Direct ValueObject creation rather than ActionForm.

2003-07-31 Thread Andrew Hill
This is quite a common idea that many people new to struts have. There are quite a few reasons why your ActionForm and your value object are different objects. (Indeed the very reason ActionForm is implemented as a class rather than an interface is specifically to discourage people from using

RE: Direct ValueObject creation rather than ActionForm.

2003-07-31 Thread Andrew Hill
/ashwani_kalra/ -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 10:47 AM To: Struts Users Mailing List Subject: RE: Direct ValueObject creation rather than ActionForm. This is quite a common idea that many people new to struts have. There are quite

RE: [OT] Best super-class for context handling.

2003-07-30 Thread Andrew Hill
snip InputStream is = servlet.getServletContext().getResourceAsStream(/WEB-INF/dir/file.x); /snip Thats fine if your in an action, but down in your business classes you dont want to be dependant on the servlet api classes. Obviously the trick is to have some kind of interface (which in my apps

RE: how can I switch between different languages

2003-07-28 Thread Andrew Hill
Switch off struts default locale handling (if I recall correctly this is the 'locale' attribute in the 'controller' element in struts-config.xml - set it to false) and provide the locale yourself stored in the same attribute in the session that struts stores it (the Action class provides a

RE: JSR-198 : (A little history between IBM and Sun's fight)

2003-07-24 Thread Andrew Hill
A colleague of mine upon reading the archived message you linked to did a bit of a search and come up with this thread in which some of those named set the record straight: http://www.javalobby.com/threadMode_printfriendly.jsp?forum=61thread=7034 -Original Message- From: Yansheng Lin

RE: [newbie] Multi-Form Page ... PLEASE

2003-07-24 Thread Andrew Hill
Take a look at: http://www.keyboardmonkey.com/pilotlight/index.jsp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 24 July 2003 16:22 To: [EMAIL PROTECTED] Subject: [newbie] Multi-Form Page ... PLEASE Hi ... I am quite new to Struts and like to know

<    1   2   3   4   5   6   7   8   9   10   >