RE: PHP version of Struts

2003-06-11 Thread Andrew Hill
It may sound a little cynical, but 5 years is a long time in IT, and many companies can charge their customers by the hour to do that maintenance... (by which time, having had a cheap and dirty app in place to play with for that time the users might even be approaching the point where they have som

RE: Basic session id question I'm embaraased to ask

2003-06-11 Thread Andrew Hill
Sure does. Struts html:form tag will do this for you. :-) (Likewise with other struts tags that write request inducing stuff...) If your not using the struts form tag then you will need to ensure it is rewritten yourself. -Original Message- From: Aaron Robinson [mailto:[EMAIL PROTECTED] S

RE: Is it possible to use struts 1.1 with WebSphere 4?

2003-06-11 Thread Andrew Hill
ions Development and Support American National Insurance Company > -Original Message----- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2003 7:22 AM > To: Struts Users Mailing List > Subject: RE: Is it possible to use struts 1.1 with WebSphere 4? > > &

RE: Is it possible to use struts 1.1 with WebSphere 4?

2003-06-11 Thread Andrew Hill
Ive got commons-logging in there. But dont think its setup properly though ill go take another look. That stacktrace comes from websphere, but there doesnt seem to be any other info about the error logged anywhere. Ill check my logging properties again in the morning and see if I can get it to give

RE: Is it possible to use struts 1.1 with WebSphere 4?

2003-06-11 Thread Andrew Hill
with WebSphere 4 for a long time. Are you are using the latest jar files ... RC2? Even with the trouble I ran into yesterday with the RC2 struts.jar, I can get my app to load and do most things. Susan On 06/11/2003 07:25:57 AM "Andrew Hill" wrote: > We need to see if its possible to

Is it possible to use struts 1.1 with WebSphere 4?

2003-06-11 Thread Andrew Hill
We need to see if its possible to make our big complex application work on WebSphere 4. We had it working on 5. The ui is done in struts and it was suggested that struts1.1 couldnt be used with WepSphere 4 as WS4 uses the 2.2 servlet API. I figured this shouldnt be a problem as struts supports 2.2

RE: Varying number of field

2003-06-10 Thread Andrew Hill
Check out the nested form stuff. See: http://www.keyboardmonkey.com/pilotlight/index.jsp -Original Message- From: Nadja Senoucci [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 June 2003 15:06 To: [EMAIL PROTECTED] Subject: Varying number of field Hello everyone, and again I have a question

RE: Call action from link

2003-06-09 Thread Andrew Hill
Hmm. I can never remember how all this relative path stuff works. What happens if you make it mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 June 2003 14:13 To: Struts Subject: Call action from link I have read alot of the previous posts in the archives, but still can't get the link to call an ac

RE: [OT] dom - createElement("textarea") cannot invoke javascript

2003-06-09 Thread Andrew Hill
And for the answer to the question your about to ask next: var foo = new Function("","alert('hello');"); td5.setAttribute('ondblclick',foo); or even td5.setAttribute('ondblclick', function(){alert('hello');} ); -Original M

RE: [OT] dom - createElement("textarea") cannot invoke javascript

2003-06-09 Thread Andrew Hill
Been playing with your problem a few minutes and think Ive found the problem. Firstly your syntax was wrong. What you meant to say was: td5.setAttribute("ondblclick","alert('hello');"); instead of td5.setAttribute("ondblClick=alert('hello')"); BUT unfortunately this correction still doesnt make

RE: classloading error in struts

2003-06-09 Thread Andrew Hill
: classloading error in struts Yep, checked both of these, the struts lib is in the webapp lib and is not no the classpath We're using 1.1 rc1 on WLS 6.1 >From: "Andrew Hill" <[EMAIL PROTECTED]> >Reply-To: <[EMAIL PROTECTED]> >To: "Struts Users Maili

RE: classloading error in struts

2003-06-09 Thread Andrew Hill
Is your struts.jar in your webapps WEB-INF/lib? Do you have a struts.jar in a shared lib folder (problematic)? -Original Message- From: Aaron Robinson [mailto:[EMAIL PROTECTED] Sent: Monday, 9 June 2003 18:38 To: [EMAIL PROTECTED] Subject: classloading error in struts I get the following

RE: question about struts

2003-06-06 Thread Andrew Hill
ite 1 plugin tag in every module specific config file? where as initialization servlet is once done. PERIOD. -navjot singh |-Original Message- |From: Andrew Hill [mailto:[EMAIL PROTECTED] |Sent: Friday, June 06, 2003 12:31 PM |To: Struts Users Mailing List |Subject: RE: question about s

RE: Action Form Bean required ???

2003-06-06 Thread Andrew Hill
ards, TRANBAONGUYEN -----Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 6:42 PM To: Struts Users Mailing List Subject: RE: Action Form Bean required ??? I am doing this for some of my screens - these being the listview screens - where Im not takin

RE: collaborate struts and existing servlet?

2003-06-06 Thread Andrew Hill
If they are in the same webapp they should share the same session. If you have cookies switched off on the browser then you should check how you are rewriting your links. -Original Message- From: harris [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 15:34 To: Struts Users Mailing List

RE: concept for active tab

2003-06-06 Thread Andrew Hill
Im not using tiles and tiles tabs but my app does have navigation links that need to be highlighted. These links come from a config file (navigation-config.xml) , which specifies such things as the links label key and the url to which it points (usually an action - but often with appended url param

RE: question about struts

2003-06-06 Thread Andrew Hill
. --- Andrew Hill <[EMAIL PROTECTED]> wrote: > The ActionServlet has a reference to the servlet > context which may be > retrieved using: > servlet.getServletContext() > Using the servlet reference passed to your plugins > init() method. > > Your plugin would initialise t

RE: question about struts

2003-06-05 Thread Andrew Hill
The ActionServlet has a reference to the servlet context which may be retrieved using: servlet.getServletContext() Using the servlet reference passed to your plugins init() method. Your plugin would initialise those objects you want stored in the servlet context, and then store them there. The plu

RE: passing parameters or object from one action to other

2003-06-05 Thread Andrew Hill
in? Or point me to an article that explains? Thanks. Andrew Hill wrote: >(Oops. Hit send too soon. Try again!) > >You can put them in the request as attributes and use a non-redirecting >forward *but* then you are 'action chaining'. > >(Action chains are bad. n'kay

RE: passing parameters or object from one action to other

2003-06-05 Thread Andrew Hill
(Oops. Hit send too soon. Try again!) You can put them in the request as attributes and use a non-redirecting forward *but* then you are 'action chaining'. (Action chains are bad. n'kay) The other alternative - suitable for string parameters - is to make them request parameters by appending to t

RE: passing parameters or object from one action to other

2003-06-05 Thread Andrew Hill
You can put them in the request as attributes and use a non-redirecting forward *but* then you are 'action chaining'. (Action chains are bad. n'kay) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 19:25 To: [EMAIL PROTECTED] Subject: passin

RE: OT FRIDAY: Is it Friday yet? Monkeys are cool.

2003-06-05 Thread Andrew Hill
I thought friday had been cancelled? We really need a friday newsgroup/mailing list. Realtime chat groups, IRC arent much good for those of us in other timezones who want to join the fun... -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 10:19 T

RE: Appending params to the URL of ActionForward

2003-06-05 Thread Andrew Hill
You can create a new action forward and return that. The code below creates a new actionforward based on the path in an existing one and appending some parameter: ActionForward forward = mapping.findForward("myforward"); forward = new ActionForward( addParameterToUrl(forward.getPath(),"foo","bar"

RE: Antwort: RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Andrew Hill
You could use a GET request with the value for that field appended as a query parameter. These are treated the same as POSTed parameters when the form is populated. (Dont forget to rewrite the url to preserve session for cookie haters). -Of course you will lose the values for all the other fields

RE: Action Form Bean required ???

2003-06-05 Thread Andrew Hill
RE: Action Form Bean required ??? Dear Andrew, Could u please send me your struts-config.xml file that you configure for some of your screens not to use form bean ??? I tried many times but not successful :( Thanks and Best Regards, TRANBAONGUYEN -Original Message----- From: Andrew Hill [mai

FW: StackOverflow error?

2003-06-05 Thread Andrew Hill
* your not somehow forwarding in an infinite loop? (ie: your mapping 'input' points to the action - which tries to validate, fails, so forwards to the 'input' which is the action which tries to validate, fails, so forwards to the 'input' which is the act) -----Orig

RE: StackOverflow error?

2003-06-05 Thread Andrew Hill
You doing anything recursive? Almost every time I get a stack overflow its cos im doing something recursive and have somehow managed to get into an infinite loop... -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 12:38 To: [EMAIL PROTECTED] Subj

RE: Newbie Question:XML parsing

2003-06-05 Thread Andrew Hill
Nah, thats really a job for your parser. Struts does come with a marvellous thing called "Digester" (which is part of the commons project) but thats used for creating objects (usually for configuration (its used in struts to process struts-config)) so is probably not applicable to what your trying

RE: [OT] Reach out and touch someone?

2003-06-05 Thread Andrew Hill
I dont drink fost.. oh! you mean Mark! ;-> -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 01:43 To: Struts Users Mailing List Subject: RE: [OT] Reach out and touch someone? Well, don't be telling everyone ... or he'll turn into a bitter

RE: problem with reset button in DynaActionForm

2003-06-05 Thread Andrew Hill
I never use the Reset button myself, but afaik its just an html reset button (the clicking of which resets form properties to the values they started with when the browser loaded the page (doesnt cause a hit on the server)) and thus has no relation with the actionforms reset() method. -Origina

RE: Struts redirection problem

2003-06-05 Thread Andrew Hill
Make the input attribute in the mapping point at the action (the one it goes through before forwarding to that view if its different). -Original Message- From: J, Sadhasivam (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 June 2003 23:38 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED

RE: Struts View (JSP's -vs-Servlets)

2003-06-04 Thread Andrew Hill
Question 1. if my writeHTML() method returns HTML with struts tags will, the struts tags be evaluated properly. No of course not. My problem is this. I can create a java class for each attribute that i need to use and my class can have a method such as "writeHTML()" which returns HTML text t

RE: Disable Automatic Form Loading

2003-06-04 Thread Andrew Hill
So your use case is that the user enters stuff which is submitted to your action. In the action you use that data, and now want to show the page for the user to enter the next record so you dont want the last records values? Ok. In this case Im guessing your simply forwarding back to the view (or

RE: Disable Automatic Form Loading

2003-06-04 Thread Andrew Hill
earlier values? -Original Message- From: Syed Kazim Hussain [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 June 2003 19:46 To: [EMAIL PROTECTED] Subject: Disable Automatic Form Loading I do not want to populate my form with earlier values. How do we disable Automatic Form Loading in Strut

RE: [OT] Components and package

2003-06-04 Thread Andrew Hill
u... guess I slept through that lecture back in comsci 101 can you define what you mean by 'component' and 'package', as I fear my understanding of those terms is subtly different. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 June 2003 19:27 To: [EMAIL PR

RE: Action Form Bean required ???

2003-06-04 Thread Andrew Hill
I am doing this for some of my screens - these being the listview screens - where Im not taking in much in the way of info from the user, and hadnt bothered to create an actionForm but just grabbed what I needed straight from the request. Your probably better off having an action form however - in

RE: Intelligent Refresh/Reloading

2003-06-04 Thread Andrew Hill
No. The webserver has no way of notifying the client that it needs to load the page again. Struts doesnt provide anything to help with this. Some attempted solutions Ive seen include the good old polling method (js causes the page to reaload every minute or so) which is inefficient and inelegant

RE: Posted Again: Build Navigation based on action mapping

2003-06-04 Thread Andrew Hill
In my app I ended up creating a plugin that would use digester to read an xml file (navigation-config.xml) and create objects describing my navigation links (most of which are displayed in a js tree widget over in the left frame). I didnt relate them directly to actions, but in hindsight I could h

RE: [OT] slackers

2003-06-03 Thread Andrew Hill
is in a back room in the corner with no windows (apart from the sorry excuse for an OS on my computer), and Im usually chained to it till well past midnight most days... Well if I recalled correctly, you did ask for the corner seat... :P Regards, Daniel -Original Message- From: Andrew

RE: Struts 1.1

2003-06-03 Thread Andrew Hill
Using 1.1b1 in production no worries mate. She'll be right eh? Only thing I had to patch was to copy in some code from the rc3 requestprocessor to deal with some problems forwarding multipart requests, and drop in a newer common-logging.jar ... Piece of cake! Since everything (that we use) is wor

RE: Newbie.... Best Practices for ActionForms

2003-06-03 Thread Andrew Hill
sample code I'll just strip out the Locale business (my app is in an Intranet... only 4 users). Andrew Hill wrote: >Here ya go mate. > >Dont think theres anything struts specific, just a case of applying the >appropriate java date classes, but its a pita to try and grok the

RE: [OT] slackers

2003-06-03 Thread Andrew Hill
> fjords is not a horse breed. Fjords are glacier-thingies in Norway. Actually they're more like rivers with cliffs on either side. More like like an ex-glacier, a glacier that has shuffled off its mortal coil, run down the curtain and joined the choir invisible... I thought he was referring t

RE: [OT] slackers

2003-06-03 Thread Andrew Hill
-Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 11:48 AM To: Struts Users Mailing List Subject: RE: [OT] slackers Or for those in a hurry: http://whatis.techtarget.com/definition/0,,sid9_gci212216,00.html Not sure If actually read SIASL you k

RE: Newbie.... Best Practices for ActionForms

2003-06-03 Thread Andrew Hill
to convert back to date when going from Form to VO Is there a struts technology that will help in this conversion... (from string to java.util.Date). I always could just use the java.util classes, but I'm guessing this is a common problem with a common solution. Thanks again, Aaron

RE: [OT] slackers

2003-06-03 Thread Andrew Hill
2003, at 10:34 AM, Andrew Hill wrote: > Yeh, I really should get around to submitting a patch in bugzilla for > the > docs to point out to people that a vital prerequisite for > participation in > the struts list is to grok monty python... ;-> > > -Original Messag

RE: Newbie.... Best Practices for ActionForms

2003-06-03 Thread Andrew Hill
1.) Yes (I even do this for true/false checkboxes!) 2.) See #1. For my dates Im using several fields (d,m,y etc...) and some javascript to extract/concatenate into a hidden field in the format -MM-dd HH:mm:ss , but its pretty ugly and I dont like it much (luckily only have one place I need to

RE: [OT] slackers

2003-06-03 Thread Andrew Hill
:26 To: 'Struts Users Mailing List' Subject: RE: [OT] slackers Okay I understood about 2 words from the last 3 posts. Although 'bangin coconuts' sounds like it should have been filtered by my company's proxy. -Tim -Original Message- From: Andrew Hill [mailto:[E

RE: Struts 1.1

2003-06-03 Thread Andrew Hill
I know I'm not going to convince you of their decision, but at least our company lets us use open source software in development. Lots of companies don't even have that freedom. Pity more companies arent like that. I rather like the idea of potential competitors falling by the wayside becuase t

RE: Web Page acess to struts-user archive?

2003-06-03 Thread Andrew Hill
Yep. http://nagoya.apache.org/eyebrowse/SummarizeList?listId=42 And theres also the aims one that someone posted already, though I seem to be having trouble getting to it right now. -Original Message- From: José Fortunato H. Tomás [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 22:47

RE: [OT] RE: Struts IRC online

2003-06-03 Thread Andrew Hill
RE: Struts IRC online No! No! Don't stir the ugly pot. You don't want to see what's on the bottom!! =8-O Brandon Goodin -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 8:00 AM To: Struts Users Mailing List Subject: RE: [OT] RE: Stru

RE: DateUtilities for ActionForms?

2003-06-03 Thread Andrew Hill
is the only reason for the latter's existence Which is the latter? java.util.Date or java.sql.TimeStamp? Ive never figured out the reason for having a seperate sql version. Dont see why they couldnt just use java.util.Date... TimeStamp on the otherhand provides support (in a rather nasty way!)

RE: [OT] RE: Struts IRC online

2003-06-03 Thread Andrew Hill
I say! steady on old boy - no need to be a pratt about it what!? -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 21:51 To: 'Struts Users Mailing List' Subject: [OT] RE: Struts IRC online Where the f*ck did this asshole come from? I hope you

[Nested] Order of Population of nested properties

2003-06-03 Thread Andrew Hill
nt'. Unless your in a big hurry Id say go with doing the > stuff in the action itself. > > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Monday, 2 June 2003 19:42 > To: Struts Users Mailing List > Subject: RE: [Nested] Order of Populatio

RE: RequestProcessor.processPopulate happens more than once when one Struts action forwards to another

2003-06-02 Thread Andrew Hill
Thats actually the expected behaviour and its because you are doing what is known as 'action chaining'. Its generally discouraged for reasons such as that you mention. This topic has been discussed recently actually, so if you do a search of the archive on "action chaining" you should be able to f

RE: [Nested] Order of Population of nested properties

2003-06-02 Thread Andrew Hill
distinctly 'inelegant'. Unless your in a big hurry Id say go with doing the stuff in the action itself. -Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 19:42 To: Struts Users Mailing List Subject: RE: [Nested] Order of Population of nested

RE: [Nested] Order of Population of nested properties

2003-06-02 Thread Andrew Hill
Yeh. There is no gaurantee on the order of population. :-( If you must do your thing in the setter then you can use request.getPara... hmm oops! no you cant. You dont have access to the request object there! If its not a multipart form you could do it in the reset() method and use request.getPara

RE: [OT] slackers

2003-06-02 Thread Andrew Hill
g? not sure... my bad day is continuing... but this list is worth a smile or two. See also: http://www.google.com/ search?q=Monty+Python+parrot+sketch&btnG=Google+Search > > Brandon Goodin > > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Su

RE: [OT] slackers

2003-06-02 Thread Andrew Hill
not be a valid english word. -Tim -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 11:32 PM To: Struts Users Mailing List Subject: RE: [OT] slackers Id recommend coming over to Singapore except that the job market here is also nailed to its perch an

RE: to forward or NOT?

2003-06-02 Thread Andrew Hill
I am assuming that the only reason that the Response is in the Action.execute signature is for setting/retrieving cookies. The best solution would be for the Action to forward to a Servlet that would send the resource to the client. Not necessarily. It rather depends what the action is doing. H

RE: [OT] slackers

2003-06-02 Thread Andrew Hill
Id recommend coming over to Singapore except that the job market here is also nailed to its perch and pining for the fjords. Beautiful plumage though. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, 2 June 2003 10:55 To: Struts Users Mailing List Subject: RE

RE: null request attribute - easy one?

2003-05-30 Thread Andrew Hill
A struts forward can be redirecting or non-redirecting. Check if you are using a redirecting one (look at whats in your struts config for that forward) - redirecting ones cause a client side redirection so you start a new request. -Original Message- From: Mike Whittaker [mailto:[EMAIL PROT

RE: Why do ActionForms allow non-string properties?

2003-05-30 Thread Andrew Hill
In what way would it be restrictive? Is there any reason you would need a non-string property (for html input) ? Steve > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: May 29, 2003 11:26 PM > To: Struts Users Mailing List > Subject: RE: Why

RE: Why do ActionForms allow non-string properties?

2003-05-30 Thread Andrew Hill
Well, I think it a bit restrictive to forbid non-string properties, but I would say that the docs really ought to make it clear that the recommended type for all those properties that directly relate to html controls should be strings. -Original Message- From: Steve Raeburn [mailto:[EMAIL

RE: Dispatch action and base action

2003-05-30 Thread Andrew Hill
What I did (nasty workaround) was to create my own base dispatch action which was basically a cut and paste of the struts dispatch action, but that extended my own base action class. Quick and easy (& dirty) and works nicely but the big downside to this is that if you update your struts version yo

RE: Justifying Struts

2003-05-29 Thread Andrew Hill
Wake up mate, your having another nightmare... those overtime induced ASP flashbacks can be heavy d00d -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, 29 May 2003 20:17 To: 'Struts Users Mailing List' Subject: RE: Justifying Struts I'm with you, Mi

RE: Form over multiple pages

2003-05-29 Thread Andrew Hill
On additional note, since not all properties are visible on all pages , you will want to implement conditional logic in your forms reset() method (and validate as mentioned by Paul) to only reset those properties that were on the page just submitted otherwise you will lose values for the earlier pa

RE: Checkbox ????

2003-05-29 Thread Andrew Hill
The value is what is submitted for the checkbox if the checkbox is a checked checkbox. For example: if your form has a string property named foo, and your checkbox's value is "bob", then if you check the checkbox and submit, form.getFoo() will return "bob". If you dont check the checkbox and subm

RE: Justifying Struts

2003-05-29 Thread Andrew Hill
Maybe he should also drop java and the servlet api while he is at it - after all you can do all of that stuff in assembly code. How hard is it to implement a web server? - just listen on the port, send some text back and forth. Piece of cake. Run a lot faster too without all that unneccesary overhe

RE: indexed properties.

2003-05-29 Thread Andrew Hill
The fields name is "name[0]" right? So in javascript you cant use something like document.forms[0].name[0] so you will need to use the alternative javascript notation to get at your field: document.forms[0].elements['name[0]'] If you need to change the way indexed fields are done in struts howev

RE: Struts and the infamous IE multiple browser/same session problem

2003-05-29 Thread Andrew Hill
Another fun thing to consider with multiple browser windows is the problems you get if multiple windows are showing the same edit page (ie: same action) , but editing different records, and you are using a session scoped actionForm... -Original Message- From: Steve Raeburn [mailto:[EMAIL P

RE: [ANNOUNCE] Carrier on Wheels and Struts Unveiled

2003-05-29 Thread Andrew Hill
I think they do in their demos, but you have to download and install the thing first. Ive not had time to do so, which is a pity cos despite all the marketingspeak it does look interesting. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Thursday, 29 May 2003 12:56

RE: Populating Value Objects for the Business Tier

2003-05-29 Thread Andrew Hill
2 & 3 generally end in tears. They sound nice, but when you get down to the fiddly bits you will find it more problematic than you expect. As you mention, the action form is very much a view object. For a start everything in the actionForm will be strings, while your business object probably will

RE: Basic CRUD

2003-05-29 Thread Andrew Hill
[mailto:[EMAIL PROTECTED] Sent: Thursday, 29 May 2003 13:36 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Basic CRUD - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent:

RE: Basic CRUD

2003-05-29 Thread Andrew Hill
Mate, that answer is about as useful as a chook that doesnt lay eggs. If you go answering peoples _struts_ questions on the _struts list_ by carping on about how great some product of yours is then you will make yourself unpopular very quickly. -Original Message- From: Jing Zhou [mailto:[E

RE: [OT] RE: [ANN] Barracuda 1.2.0 Released!

2003-05-27 Thread Andrew Hill
Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 May, 2003 1:05 PM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: [ANN] Barracuda 1.2.0 Released! What the hell are you doing at keyboard at what must be 0600 London time? :-) -----Origi

RE: [ANN] Barracuda 1.2.0 Released!

2003-05-27 Thread Andrew Hill
To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: [ANN] Barracuda 1.2.0 Released! What the hell are you doing at keyboard at what must be 0600 London time? :-) -Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:02 AM

RE: [ANN] Barracuda 1.2.0 Released!

2003-05-27 Thread Andrew Hill
+1 -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 May 2003 12:05 To: 'Struts Users Mailing List' Subject: RE: [ANN] Barracuda 1.2.0 Released! I think you are being too strict... give him a break. His title is clear, just delete it if you are not int

RE: checkbox

2003-04-03 Thread Andrew Hill
Not if you POST it -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 4 April 2003 15:23 To: [EMAIL PROTECTED] Subject: RE: checkbox Well, I have a health form I am implementing. I plan to have around 75 to 100 checkboxes. Is that too many? -Original

RE: RE: Framework comparison : Struts or Expresso

2003-04-03 Thread Andrew Hill
Well I had to make the decision about this time last year between struts and barracuda. I ended up choosing struts simply because I could understand the basics of it in the time I had to do my evaluation, wheras I found Barracuda a lot more challenging to understand - especially since I was also n

RE: Framework comparison : Struts or Expresso

2003-04-03 Thread Andrew Hill
Oh I dont know. We could make the decision for him - but it might not be a good decision depending on his needs... -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, 4 April 2003 14:47 To: [EMAIL PROTECTED] Subject: Re: Framework comparison : Struts or Expresso

RE: Re: Which is the best Struts or Expresso ?

2003-04-03 Thread Andrew Hill
Narrow it down to two and flip a coin... -Original Message- From: resdev [mailto:[EMAIL PROTECTED] Sent: Friday, 4 April 2003 14:04 To: Struts Users Mailing List Subject: Re: Re: Which is the best Struts or Expresso ? Hi, wht happend ? im not getting any valuable reply that says Struts

File upload (multipart forms) on WebSphere. Can or not?

2003-04-03 Thread Andrew Hill
My colleague is trying to make our application run on WebSphere (WAS 5.0), however we are encountering an error submitting multipart forms. (Stacktrace pasted below) (Needless to say it all works sweet on TomCat...) Ive not had time to experiment with it myself, but it looks like WAS is barfing o

RE: 12 month contract - Toronto - immediate start

2003-04-03 Thread Andrew Hill
I see no struts here. And their minimum required experience adds up to 21 years... -Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED] Sent: Friday, 4 April 2003 10:19 To: [EMAIL PROTECTED] Subject: Re: 12 month contract - Toronto - immediate start Does this have anything t

RE: Is Sun promoting Struts??

2003-04-03 Thread Andrew Hill
Isnt that what JSF is about to a large extent? -Original Message- From: Mete Kural [mailto:[EMAIL PROTECTED] Sent: Thursday, 3 April 2003 23:29 To: Struts Users Mailing List Subject: Re: Is Sun promoting Struts?? > SunONE Application Framework is a fine tool -- indeed, it aspires to > pr

RE: checkbox

2003-04-03 Thread Andrew Hill
Thanks for clarrifying that. URL limitations are a micro$oft 'feature' eh? Why am I not surprised? ;-> -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED] Sent: Thursday, 3 April 2003 19:16 To: Struts Users Mailing List Subject: Re: checkbox Andrew Hill írta:

RE: Where to catch/throw Exceptions in Struts Tiered Architecture

2003-04-03 Thread Andrew Hill
ption, catch and return NULL b. Calling Class __ifs__ for NULL instead of __catching__ and transfer the control accordingly. Is there something i am ignoring? regards Navjot Singh - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List

RE: checkbox

2003-04-03 Thread Andrew Hill
I was under the impression the max length of a get url was much lower (as far as the spec goes - although I believe IE and Mozilla both support longer ones than the minumum the spec mandates). Dont have the figures though :-( -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED] S

RE: Where to catch/throw Exceptions in Struts Tiered Architecture

2003-04-03 Thread Andrew Hill
I use nested exceptions, and virtually all my methods (and thus layers) catch and wrap and throw... Makes for some impressively long stacktraces - and is marvellous for debugging! :-) -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Thursday, 3 April 2003 18:05 To: St

RE: Resetting checkboxes in a multipage form

2003-04-03 Thread Andrew Hill
If your limiting users to browsers that support DOM properly, perhaps you could just recurse through the DOM looking for checkbox objects and changing their values? -Original Message- From: Heligon Sandra [mailto:[EMAIL PROTECTED] Sent: Thursday, 3 April 2003 17:52 To: 'Struts Users Mailin

RE: Resetting checkboxes in a multipage form

2003-04-03 Thread Andrew Hill
You will need to put conditional logic in your reset() method so that it only resets checkbox values on the page that is being submitted and leaves checkbox values for other pages well alone. -Original Message- From: Nicolas Pottrain [mailto:[EMAIL PROTECTED] Sent: Thursday, 3 April 2003 1

RE: url rewriting

2003-04-02 Thread Andrew Hill
That only applies if your using cookies to pass the sessionId to the server. If you are also supporting users without cookies enabled you will still need to rewrite the url. -Original Message- From: Claude Betancourt [mailto:[EMAIL PROTECTED] Sent: Thursday, 3 April 2003 13:52 To: Struts U

RE: [RePosted] localize messages in JSP without session

2003-04-01 Thread Andrew Hill
You could probably override the processLocale() method in RequestProcessor to store it in the request scope, but Im not sure what would be involved over on the rendering side to get the tags to look for current locale there. If using locales does indeed require use of the session, than an enhancem

RE: [Struts FAQ] Update #3

2003-04-01 Thread Andrew Hill
Glad to see your still updating the Q & A. Keep up the good work. :-) How to dynamically populate values in a form (e.g. options in a select box) without submitting or refreshing the entire page? As well as applets (which require the user's browser to have a Java VM or plugin), a similar effect

RE: [OT] April Fools?

2003-04-01 Thread Andrew Hill
I thought April Fools day was 1st of April - not the second. -or is that the prank? ;-> -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, 2 April 2003 01:30 To: struts Subject: [OT] April Fools?

[OT] Zip Codes [WAS: RE: Bug in JSF Car Demo]

2003-04-01 Thread Andrew Hill
What is a ZIP code? Yes I know its a postcode - but what does zip stand for? (Does the US Postal service compress your mail to save space?) -Original Message- From: James Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, 2 April 2003 11:20 To: 'Struts Users Mailing List' Subject: FYI: Bug

RE: Struts link to map viewer

2003-04-01 Thread Andrew Hill
To: [EMAIL PROTECTED] Subject: RE: Struts link to map viewer 'sorry didn't noticed that. Obviously you cannot use any reserved word as variable name ;-] > -Original Message- > From: Andrew Hill [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, April 01, 2003 5:54 PM > To:

RE: Struts link to map viewer

2003-04-01 Thread Andrew Hill
btw: I dont see where the 'map viewer' mentioned in the subject comes into any of this? -Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Tuesday, 1 April 2003 23:54 To: Struts Users Mailing List Subject: RE: Struts link to map viewer Not in this case

RE: Struts link to map viewer

2003-04-01 Thread Andrew Hill
Not in this case as he has shadowed that property by calling his field "action" - which is why instead of getting the forms action attribute he gets the action field in that form. "action" is not a suitable name for any form fields if one intends to make use of the form.action attribute to read or

RE: [OT] JavaScript Debugger For Client-Side Validation

2003-03-31 Thread Andrew Hill
be forced to use degenerate browsers. Who uses Netscape 6 anyways? I agree with all your complaints about it. I don't understand why Netscape even exists anymore when there's the far superior Mozilla. David >From: "Andrew Hill" <[EMAIL PROTECTED]> >Reply-

RE: [OT] JavaScript Debugger For Client-Side Validation

2003-03-31 Thread Andrew Hill
script for ie and netscape as well as mozilla worked. The javascript was a simple script to transfer the contents of one multiple select box to another. Andrew Hill wrote: >I find I have to spend *ages* doing wierd workarounds and hacks for simple >things that work fine in IE and Mozilla bu

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