Re: [OT] Request for comments on DAO pattern implementation

2004-10-09 Thread Michael McGrady
s in the commons upload facility, I think. Sean Sullivan really outdid himself on that one. Michael McGrady Rick Reumann wrote: Adam Hardy wrote the following on 10/9/2004 7:34 AM: However I have never come across a situation where anybody has changed the implementation when doing an upgrade to

Re: About Action Form

2004-10-17 Thread Michael McGrady
also multithreaded and are triggered my timed monitoring processes. The variety and details is up to you. That is what I like to do, in any event, rather than just rely on session management as coded by the server component, etc. Michael McGrady. Koon Yue Lam wrote: thanks to Frank ! and Michael: w

Re: How can I get the action forward path to be dynamic

2004-10-17 Thread Michael McGrady
You can do better than this, if, for example, you use Tiles. You can create whatever forward you want, irrespective of the mapping.e.g., return new ActionForward(path). Chacko, Raj wrote: Hi I'm new to Struts. In one of our new project development, we are planning to use Struts. One of our requ

Re: How can I get the real path of application in struts

2004-10-17 Thread Michael McGrady
Action is part of a "common Java application", so, you can do the same, if you want. yu wang wrote: In JSP I can use the application.getRealPath("") to get the real path. and In common Java Application I use System.getProperty("user.dir"). But How can I get Real path in ACTION. thanks in advance

Re: Collections in ActionForm

2004-10-18 Thread Michael McGrady
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yes. I recommend you check out Ted Husted's book on struts if you need to know more. Michael McGrady - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: Using StrutsTestCase with 1.2, wildcards and MappingDispatchAction

2004-10-18 Thread Michael McGrady
patch action with StrutsTestCase, but I have tested wildcard mappings without any problems. -Bill Siggelkow I don't use StrutsTestCase, but, since you can set the struts-config.xml, there is no reason to think it would not work that I know of. Micha

Re: FileUpload Errors

2004-10-21 Thread Michael McGrady
The method setMaxFile(long) exists even in older versions. So, are you doing something other than tossing a long value into that method? Michael McGrady Travis Reeder wrote: Looks like you need the latest commons-fileupload.jar. Travis -Original Message- From: Marwan Salam [mailto

Re: FileUpload Errors

2004-10-21 Thread Michael McGrady
trace. Michael McGrady Marwan Salam wrote: My action is pasted below. As you will see I never call setMaxFile (long) in my acdtion. From the stack trace it looks like Struts internal classes are doing the call: org.apache.struts.upload.CommonsMultipartRequestHandler.handleRe

Re: FileUpload Errors

2004-10-21 Thread Michael McGrady
ons around. Obviously, others smarter than I am like the Struts approach. You may have a third approach. I don't like to become involved with dependencies where unnecessary and see no need to bind a file upload application to Struts. If someone else likes something different, good for

Re: FileUpload Errors

2004-10-21 Thread Michael McGrady
I'll be darned! If you go back to Struts 1_1 you find that "CommonsMultipartRequsetHandler does have the long cast to an int. So, that is probably the source of the error. Michael McGrady Michael McGrady wrote: The method setMaxFile(long) exists even in older versions. So, are

Re: Need Ideas for This Puzzle

2004-10-22 Thread Michael McGrady
can read the role of the user going into the Action that forwards to the response object displaying the options and only deliver the options appropriate to the role of the user. Michael McGrady Caroline Jen wrote: The puzzle relates to displaying check boxes (checkbox or multibox). What I have

Re: Need Ideas for This Puzzle

2004-10-22 Thread Michael McGrady
. Michael McGrady Wendy Smoak wrote: From: "Caroline Jen" <[EMAIL PROTECTED]> The challege comes as the "roles" of the web site users are introduced. According to the role of the web site user, I have to display certain groups (not all the groups) and certain sub-groups (n

Re: [OT] Hosting Companies

2004-10-23 Thread Michael McGrady
lunarpages.com has Resin for $9.95/month. Thompson Marzagao wrote: I haven't deployed my Struts application there yet, but I suggest you give Kattare a call or send them an e-mail. They have a really knowledgeable staff (about Java hosting) and quick response times on the phone. http://www.katt

Make DefaultFileItem in commons upload a real default instead of a mandatory "default"?

2004-10-23 Thread Michael McGrady
public abstract void setFormField(boolean state); public abstract void delete(); public abstract boolean isFormField(); public abstract boolean isInMemory(); public abstract void write(File file) throws Exception; } Thanks, Micha

Re: file validation best practice

2004-10-24 Thread Michael McGrady
Also, there is JHOVE http://hul.harvard.edu/jhove/ Michael McGrady Joe Germuska wrote: If your server is a Unix platform, one thing you could do is run the shell command "file" against the uploaded file, and take a look at the result. This tool ignores any extension on the filename, an

[OT] Shale

2004-10-24 Thread Michael McGrady
For those of you who do not get the wiki changes, I would recommend that you look at the following addition by Craig. http://wiki.apache.org/struts/StrutsShale Very exciting stuff. Michael McGrady - To unsubscribe, e-mail

Re: [OT] Hosting Companies

2004-10-26 Thread Michael McGrady
I'm mentioning them - they are very good, at least from my experience over the years.) I think, Rick, that www.lunarpages.com offers more for less. Check them out too. Michael McGrady - To unsubscribe, e-mail: [EMAIL

Re: html:image question

2004-07-15 Thread Michael McGrady
At 11:53 AM 7/15/2004, you wrote: How can I pass parameters in a http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript If you do the coding on this one time, you merely have to add a new button when you want one in command class ButtonOperation. After a while, you wi

Re: html:image question

2004-07-15 Thread Michael McGrady
At 02:26 PM 7/15/2004, you wrote:

Re: html:image question

2004-07-15 Thread Michael McGrady
At 11:53 AM 7/15/2004, you wrote: It make little sense to do it the Husted way and have multiple image bean buttons to represent which html:image was selected. IMHO, that approach is too much like hard coding. I for one cannot imagine why you would want a button value to be dynamic other than to

Re: Best practice request - dynamic link to redraw page

2004-07-16 Thread Michael McGrady
At 03:52 AM 7/16/2004, you wrote: On every page of the basket the contents of the basket are shown in a panel at the bottom of the page, and against each product is a 'delete' hyperlink. When the user clicks on this link the product should be removed and the page refreshed to show the modified inf

VAGRANCY of org.apache.scaffold.text.MessageUtils

2004-07-18 Thread Michael McGrady
Where the heck is this class? Ted Husted refers to it and its method getLabelValueBean to localize LabelValueBeans, but this is a danged elusive class. Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

MessageUtils and LabelValueBean

2004-07-18 Thread Michael McGrady
Where the heck is this class? Ted Husted refers to it and its method getLabelValueBean to localize LabelValueBeans, but this is a danged elusive class. Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: MessageUtils and LabelValueBean

2004-07-18 Thread Michael McGrady
At 04:37 PM 7/18/2004, you wrote: http://struts.apache.org/api/org/apache/struts/util/LabelValueBean.html Regards, John Thanks, John. I have that one. That one is easy. Where the heck is MessageUtils? - To unsubscribe, e-ma

Re: JSF vs Struts

2004-07-19 Thread Michael McGrady
At 01:01 AM 7/19/2004, you wrote: The custom tags that Struts provides (in the html and logic and bean tag libraries) were a necessary precursor to "out of the box" usage of Struts, in order to make it possible to adopt the basic MVC architectural pattenrs. However, that was *always* a secondary f

[OT] javax.COMM

2004-07-19 Thread Michael McGrady
Anyone have any info on open source projects with javax.comm? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: JSF vs Struts - Development Process Questions

2004-07-19 Thread Michael McGrady
At 10:51 AM 7/19/2004, you wrote: > If you'd like to see some leading edge Flash, turn up your sound and go to > http://www.2advanced.com/ HELLO! Wow! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Multiple Image Buttons

2004-07-26 Thread Michael McGrady
I have substantially updated the wiki code for these buttons. See: http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript Any comments, etc. would be greatly appreciated. - To unsubscribe, e-mail: [EMAIL

[OT] test

2004-07-26 Thread Michael McGrady
test - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Submitting form does nothing

2004-07-27 Thread Michael McGrady
Claire, If you like, send the code to my personal email, [EMAIL PROTECTED], and let me have a looksee. Please send your struts-config.xml and web.xml as well as the pages and associated code. Michael At 09:12 AM 7/27/2004, you wrote: Hi Craig, > > The only thng I can think of that would cause t

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
Hi, Andrew: If you are going to show HTML try the tag and change the HTML tags with "<" and ">" instead of < and >. What you are doing, Andrew, is not clear to me. You have talked about using instead of to submit a form. I have no idea why you would ever think these two would work the sam

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
Andrew, could you restate what you are trying to do? Why are you using JavaScript? My guess is there is a safer and sounder way to solve whatever your problem is, if you merely are trying to submit a form with some issues which are unknown to me around that. Michael -

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 09:39 AM 7/28/2004, you wrote: Andy - Based on your email it is hard to tell, but I think you are attempting to do a form.submit(); call in the link action to submit the form. Andy, I would be willing to bet against pretty heavy odds that your attempted solution here, Andy, is not necessary or

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 09:41 AM 7/28/2004, you wrote: Robert, :i'm seeing the data, but when i set breakpoints in my actionform set methods, two of them aren't being called... andy The question, Andy, whatever your problem is, that Robert is posing is whether "form.field.value" shows the data. Whether you are just s

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 09:46 AM 7/28/2004, you wrote: yes my submit button is named submit. but when i tested using it i wasn't using javascript. ;) only the links are using javascript to set one hidden field on the form. i hard coded that value with the submit button. in all cases the hardcoded value or the value

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 09:52 AM 7/28/2004, you wrote: heh, i would prefer not to use javascript, but i couldn't think of another way to submit the form with links. Why in Heaven's name would you want to submit a form with a link? Please step back one step further and tell us why you want to use a link to do what i

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 09:58 AM 7/28/2004, you wrote: i agree, what i'm attempting is kindof goofy. Hi, Andy, You are stuck in a bad solution and all the discussion is about the goofy solution. However, if you would, once again, just tell us what the problem is, we can give you solutions, I would bet, that are not

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 09:58 AM 7/28/2004, you wrote: if i was 'allowed' to use separate submit buttons i would do that. YOU ARE ALLOWED TO USE SEPARATE SUBMIT BUTTONS. PLEASE TELL US WHAT THE DARN PROBLEM IS. - To unsubscribe, e-mail: [EMAIL PR

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 09:58 AM 7/28/2004, you wrote: if i was 'allowed' to use separate submit buttons i would do that. or even radio buttons and a single submit button. but i was asked to use hyperlinks... Is this just a school problem where the instructor wants to see if you can do something goofy? If so, pleas

RE: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:13 AM 7/28/2004, you wrote: I'm guessing the problem is client/boss/marketroids. Given what he said to me about not liking js either and he mentioned he was asked to use links for the form submission Something this hoaky is probably client/marketroids. My money is on marketroids. If

Re: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:16 AM 7/28/2004, you wrote: Sorry Michael, i wasn't ignoring you. you must've responded to each of my responses to the others. :) the original problem was that i have to add a product to the database. when the user clicks the initial add button they are taken to a page that has three links o

RE: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:25 AM 7/28/2004, you wrote: Nope. It's not a struts issue at all... it's an HTML issue. Struts tags just generate html (well, except the validation tag.). What you want would be difficult to genreate in any kind of sensical way. This is not true. The tags may just generate HTML, but t

RE: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:25 AM 7/28/2004, you wrote: Nope. It's not a struts issue at all... it's an HTML issue. My response was not really too tactful, Jim. Sorry! I am not a very tactful person. - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:12 AM 7/28/2004, you wrote: The text on each tab is a hyperlink, and I *have* to make the form submit when the user clicks to switch to another tab, or I lose whatever they've typed on the form. I do it with JavaScript: This is the problem, Wendy. Don't make the text on the tag a hyperlink

Re: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:16 AM 7/28/2004, you wrote: i'm a Struts newbie. and while playing around with this situation i wasn't seeing my values getting populated in my actionform. i figured it had to do with the way i set up my Struts tags, , and their parameters. so in the Struts world, is there a way to submit a

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:37 AM 7/28/2004, you wrote: In your case, YES, I think this can be done without JavaScript (although that's still my preferred solution). The reason is that it does not sound like the user gets to make any changes to the data on this page with the three links. In this case, you already know

Re: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:42 AM 7/28/2004, you wrote: if([ActionForm].getButton().getFirstChoice().pressed()) { // do whatever } else if ([ActionForm].getButton().getSecondChoice().pressed()) { // do whatever } else if([ActionForm].getButton().getSecondChoice().pressed()) { // do whatever } else { // throw exc

RE: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:36 AM 7/28/2004, you wrote: We're geeks who expects tact? :) I understood what you said. And you're probalby right.. Good point! ///8-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

RE: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:40 AM 7/28/2004, you wrote: Michael, I use this approach fairly often. A typical scenario would be an order confirmation screen where the user can enter delivery details and remove items from their shopping basket (by clicking on a hyperlink). It is important that any details the user enters

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:37 AM 7/28/2004, you wrote: Personally I'd still do it with a form, three hidden fields, and JavaScript to set one of the form elements & submit the form. Mostly so I could POST the form and keep the user from bookmarking something they shouldn't. Actually, if you use the multiple button ap

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:55 AM 7/28/2004, you wrote: I'm going to bow out of this now-- you have your solution, I have mine, both of them work, and the OP can choose one of the many ideas that have been thrown out there and be on his way. Okay dokay, and agreed. I always like discussing these things with you Wendy

RE: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:56 AM 7/28/2004, you wrote: Is it possible to use CSS to make a button look like a hyperlink (I have very limited CSS myself)? Heck, Paul, you can use the struts tag to make the button "look like a hyperlink". There is nothing special about this. Check out the Struts HTML image tag which

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 10:55 AM 7/28/2004, you wrote: the first issue that comes to mind is that the tabbed menus are in a separate Tile from the one that contains the tags. For submit buttons to work, they'd have to be *within* the form tags, and AFAIK you can't split the form across multiple Tiles. You can split t

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 11:40 AM 7/28/2004, you wrote: wow, i didn't mean to start such a heated debate. :) but thanks to everyone for their suggestions. Hopefully more light than heat, Andy. I know I learned a lot. Michael - To unsubscribe, e-mail:

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 11:40 AM 7/28/2004, you wrote: (i may email you off list with questions if you don't mind). That's fine. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 02:36 PM 7/28/2004, you wrote: not to fuel the fire from the previous discussion, but this situation works fine if is used instead of example: now use an anchor tag instead of the Struts anchor tag: Submit the form with a link Submit with a different value . . . hopefully that will help any

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
At 02:44 PM 7/28/2004, you wrote: At 02:36 PM 7/28/2004, you wrote: not to fuel the fire from the previous discussion, but this situation works fine if is used instead of example: now use an anchor tag instead of the Struts anchor tag: Submit the form with a link Submit with a different value .

[OT] New Multiple Image Buttons Code

2004-07-30 Thread Michael McGrady
which is about 4 days old. ///;-) Michael McGrady - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Internationalization & Localization

2004-08-05 Thread Michael McGrady
I just store the date as a long and do what is necessary to display the date. At 04:41 AM 8/5/2004, you wrote: I have a requirement as below. I need to store Date (CreatedDate) in database and show this date as per user location on screen while updating that record. Do struts have any support for s

Re: very dynamic forms

2004-08-05 Thread Michael McGrady
I cannot quite tell what your "problem" or "question" is, Dean Hoover. I don't see, further, what "struts/tiles" has to do with building a dynamic form. You have a form in a file and that form may be constructed dynamically. This is irrelevant to the tiles aspect of struts. What are you rea

Re: very dynamic forms

2004-08-05 Thread Michael McGrady
config. I want to build one on-the-fly according to "configuration" stuff stored in a database, that can change. Is that more understandable? Dean Michael McGrady wrote: I cannot quite tell what your "problem" or "question" is, Dean Hoover. I don't see, further,

RE: very dynamic forms

2004-08-06 Thread Michael McGrady
figuration file? > -Original Message----- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 1:29 PM > To: Struts Users Mailing List > Subject: Re: very dynamic forms > > > What is your question? > > At 05:17 PM 8/5/2004, you wrote: > >Sorry

RE: very dynamic forms

2004-08-06 Thread Michael McGrady
That makes sense, but his other comments seem to negate that. He says, e.g., that "[w]hat would come out of the query would be label, form position, variable name,etc, etc.". These are things that are on the page form, not on some dynamic class handling the form. He specifically rejects dyna

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
) { StdOut.log("log.error",new ChainedException(e,"Exception creating blank form: " + e.getMessage())); } return form; } } Michael McGrady - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
>>To: Struts Users Mailing List > >>Subject: Re: very dynamic forms > >> > >>What I need to do is construct a form that has a variety of > >>text input forms on it that are determined at run-time. I > >>know how to do this in jsp but I need to pr

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
At 11:54 AM 8/6/2004, you wrote: How do map based forms farm the values from the request? I know, by the bye, about etc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
investigating them. Dean Another option you might look at, Dean, is http://wiki.apache.org/struts/StrutsCatalogInstrumentableForms in conjunction with the sort of information Ted Husted and friends cover in Struts in Action on pp. 16 et seq. Michael McGrady

GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
; or something similar and do something like this by grabbing the ActionMapping class and massaging it as needed as well? Anyone have any things like this lying around in the sun? Michael McGrady - To unsubscribe, e-mail: [EMAIL

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
try { form = (ActionForm) DynaActionFormClass.createDynaActionFormClass(config).newInstance(); } catch (Exception e) { StdOut.log("log.error",new ChainedException(e,"Exception creating blank form: " + e.getMessage())); } return form; } } What about the ActionMapping? Michael McGrady

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
e it to a different ActionForm, ActionMapping, or whatever? Michael McGrady - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
nt object. E.g. ActionForm method(ActionForm actionForm) { // set the same reference. ActionForm af = actionForm; // now reset the form with that reference af = DynamicActionFormFactory.getBlankForm(name,type,fields); return af; } This make sense to you? Michael McGrady At 02:15 P

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
At 02:15 PM 8/6/2004, you wrote: Because java is NOT pass-by-reference, it's pass by value.. the value it passes is a reference rather then pushing the entire object on the stack. I am thinking the same as you. Our semantics are different. Why, given this, should there be a problem? ---

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
t in a single http request. > > This would greatly reduce the use case for creating a house. > > Has anyone ever developed anything like this ? > > --b > > > > > On Fri, 06 Aug 2004 11:54:01 -0700, Michael McGrady > wrote: > > How do map based forms farm

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
of the variable in wherever the form is located and change that. Any ideas on this? Michael McGrady - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: GOING GOING GONE DYNAMIC

2004-08-06 Thread Michael McGrady
At 04:20 PM 8/6/2004, you wrote: Do you want to go now You are a card, Kakoli! Michael McGrady - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
This would greatly reduce the use case for creating a house. Has anyone ever developed anything like this ? --b On Fri, 06 Aug 2004 11:54:01 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > How do map based forms farm the values from the request? > > At 09:13 AM 8/6/2004, you wro

Re: GOING GOING GONE DYNAMIC

2004-08-07 Thread Michael McGrady
At 05:54 AM 8/7/2004, you wrote: especially all the chatter about passing form references We're probably just lame, Niall, but the idea is to try something innovative on the fly. What is being discussed is a way to dispense, essentially, with the action-mapping and form-beans XML. Maybe this m

Re: GOING GOING GONE DYNAMIC

2004-08-07 Thread Michael McGrady
At 06:00 AM 8/7/2004, you wrote: This is a red herring - yes you're right about it being passed into the execute method - but since the reference isn't passed anywhere else after that in the RequestProcessor then it doesn't matter what you do Perhaps, though, Niall, you might want to do something

Lazy Dyna: Re: GOING GOING GONE DYNAMIC

2004-08-07 Thread Michael McGrady
At 05:54 AM 8/7/2004, you wrote: If you really want to do a dynamic form created on the fly - then do it the easy way (shameless plug), use lazy ActionForms :-) http://www.niallp.pwp.blueyonder.co.uk Niall When I download and build Struts 1.2.1 I get commons-beanutils-1.6.1.jar. However, this d

Re: help with multiple submit buttons

2004-08-10 Thread Michael McGrady
At 04:49 AM 8/10/2004, you wrote: Quite often I need to implement a form that has several submit buttons - for example a page where several products are listed, and next to each product is a "delete" -button. Does struts provide some sort of help to this problem? I have to say I am quite surpris

html:file using an image button

2004-08-10 Thread Michael McGrady
Is there a way to hide the standard browse button and use an image for the button instead? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: help with multiple submit buttons

2004-08-10 Thread Michael McGrady
At 05:22 AM 8/10/2004, you wrote: Thanks, that goes some way...but not all the way though. A common situation where a dynamic page displays 0n items with different identifiers. For example, an item list is fetched from database, and page contains delete buttons for items 23, 67, 101 and 128.

Re: help with multiple submit buttons

2004-08-10 Thread Michael McGrady
At 05:22 AM 8/10/2004, you wrote: Thanks, that goes some way...but not all the way though. A common situation where a dynamic page displays 0n items with different identifiers. For example, an item list is fetched from database, and page contains delete buttons for items 23, 67, 101 and 128.

Re: html:file using an image button

2004-08-10 Thread Michael McGrady
At 07:41 AM 8/10/2004, you wrote: Michael McGrady wrote: Is there a way to hide the standard browse button and use an image for the button instead? Michael, I don't believe this is part of the HTML spec, so in short, no. Every browser uses a different button for browsing. I don't be

Re: help with multiple submit buttons

2004-08-10 Thread Michael McGrady
javascript takes ID as an argument. 3. The ID is saved in the hidden text field and the page is submitted. 4. Now call getDeleteItem() and get the ID to be deleted. I hope this helps, Nitin Dubey --- Michael McGrady <[EMAIL PROTECTED]> wrote: > At 05:22 AM 8/10/2004, you wrote: > >Thanks,

Re: help with multiple submit buttons

2004-08-10 Thread Michael McGrady
At 05:22 AM 8/10/2004, you wrote: Thanks, that goes some way...but not all the way though. A common situation where a dynamic page displays 0n items with different identifiers. For example, an item list is fetched from database, and page contains delete buttons for items 23, 67, 101 and 128.

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
Struts is in a sense "pure servlet technology". Very pure: only one servlet extends HttpServlet and only one servlet implements HttpServlet, viz. ActionServlet and MultipartRequestWrapper. I would suggest you get a copy of a good book on Servlets like Jason Hunter's, cf. www.servlets.com. Mic

Re: using tiles with dynamic links

2004-08-10 Thread Michael McGrady
Yes. At 10:17 AM 8/10/2004, you wrote: I wish to make some of my tiles return content from web pages outside my site i.e. kind of like using frames. can this be done with tiles? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: html:file using an image button

2004-08-10 Thread Michael McGrady
At 10:14 AM 8/10/2004, you wrote: Use something like this function getNomFichier(){ document.forms[0].btnFichier.click(); document.forms[0].nomFichier.value=document.form["frmFichier"].btnFichier.value; } Will this work with ?

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:17 PM 8/10/2004, you wrote: WEB-INF/web.xml You can take a glance there and see what servlets are mapped to where. Servlet programming is not that much different. You just end up doing a lot of manual labor to get your parameters and such. Instead of doing thing like, myForm.getPersonName()

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:29 PM 8/10/2004, you wrote: Nope.. you misunderstood his question. First he started on struts. Every project he's worked on. Now, PHB wants him to work on another project, which is just servlets. He's never done any servlet programming, so he wants to know what differences there are et

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:40 PM 8/10/2004, you wrote: Jim is correct. :) About what the gentleman meant? I doubt that. If so, they are both confused. LOL I doubt that Jim is. ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:51 PM 8/10/2004, you wrote: I am sure that in a week or two that might be apparent to me. However right now I am exposed to everything that ActionServlet and MultipartRequestWrapper hid from view. Using Struts in my programming, the controller part of the MVC was hidden. For example, one of

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:57 PM 8/10/2004, you wrote: From: "Michael McGrady" <[EMAIL PROTECTED]> > There is no project that is "just servlets" unless it is nuts. It is *entirely* possible that there are webapps still running out there that are done completely with Servlets. No JSP,

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:06 PM 8/10/2004, you wrote: But comparing Struts to Servlets makes no sense. SUre it does... as he says later.. how do I forward to a completed action... Since in servlets there is no action. The only forward there is, is a real forward, not a struts style forward. Not to mention that

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:12 PM 8/10/2004, you wrote: I havent't seen any comprehensive documentation on development with servlet/JSP vs Struts development. Geesch! Struts IS basic Servlet development at the highest level. Michael - To unsubscribe,

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:57 PM 8/10/2004, you wrote: Yes, Struts is based on Servlets, but you don't have to know anything about Servlets to make a useful Struts webapp. I wonder if this is true. I cannot imagine that it could be. Maybe it is. I am beginning to think so. ///;-) Michael

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:22 PM 8/10/2004, you wrote: Guess what don't doubt it. I did it. I wrote them. I hated it. It was painful. It was complex. It was ugly. In fact if you see a url that includes something like /servlet/blah you are probably looking at a website done entirely in servlets. Granite, a

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:26 PM 8/10/2004, you wrote: No it's not. Trust me It's not even remotely close to servlet development... it uses only one servlet. Servlet development uses lots of servlets. Each one lovingly crafted by hand. Decoupling concerns for architectural and design purposes does not change

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:27 PM 8/10/2004, you wrote: The name calling is getting tiresome. Name calling? If I called anyone a name, I apologize. Do you mean referring to people by their names? Whatever, if you are talking to me, I certainly did not intend to offend anyone and am merely enjoying a conversation

  1   2   3   4   5   6   >