Re: Submit with a link

2004-05-05 Thread Michael McGrady
I am a notice in JavaScript. I have wondered in my brief perusal of JavaScript books how you tell which form is the referent of the formindex numbers? At 10:37 AM 5/5/2004, Henrique VIECILI wrote: you can use javascript to do this job... like this: Enviar Formulário where is the index of t

i18n Mavens: i18n Unicode Encoding/Decoding Buttons

2004-05-15 Thread Michael McGrady
project, please contact me on this list or, better yet, privately at [EMAIL PROTECTED] (These emails are checked more carefully than those at [EMAIL PROTECTED]) All results will be shared. Thanks. Michael McGrady - To

RE: Maintaining form data across pages...

2004-05-16 Thread Michael McGrady
bean, name, value); } This is all there is to it. That is fairly easy to track and does not provide any mysteries that cannot be controlled by the judicious coding of the reset() method. Hope this is helpful. Michael McGrady At 04:58 AM 5/16/2004, ayouaa0a wrote: Sounds great, ISA, I w

UTF8 and Chinese

2004-05-16 Thread Michael McGrady
I am trying to use the image tags from Commons sandbox taglibs. I am trying to use them with Chinese. The Western European languages work fine with them, but the same thing does not work with Chinese. I am doing the following, in essence: // Welcome in Chinese String original = new String("\

RE: UTF8 and Chinese

2004-05-17 Thread Michael McGrady
ins 8 bits per character, instead of ASCII's 7 bits, and for that reason I assume it only covers 2* the number of chars. Maybe you can try UTF-16 instead? Jeroen > -Oorspronkelijk bericht- > Van: Michael McGrady [mailto:[EMAIL PROTECTED] > Verzonden: zondag 16 mei 2004 17:47

Re: Multiple Forms per Submits

2004-05-18 Thread Michael McGrady
can do just about anything you want to do with form objects. Most of the things you can do are ill-advised, but the alternatives are vast indeed. Michael McGrady At 07:38 PM 5/18/2004, James Mitchell wrote: Could you please restate (or at least clarify) your question? I don't think I

Re: Controller for web services

2004-05-20 Thread Michael McGrady
ementation, Struts is just what you ordered, I think. I personally think Struts is even much better than its stellar reputation. Michael McGrady At 10:20 PM 5/20/2004, Pedro Salgado wrote: Is there any MVC implementation for web services (I am not seeing any wasy way to do that with Struts)?

RE: Tiles and changing the title based on content

2004-05-21 Thread Michael McGrady
I am not sure why this is a problem. All you have to do if you want part of the response object to be dynamic is put your dynamic value in the tile. Presumably you have some dynamic factor choosing the tiles content page. Just have that same factor decide what the value of the title is. The

RE: Tiles and changing the title based on content

2004-05-21 Thread Michael McGrady
PDF. -David -Original Message----- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 6:34 PM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: RE: Tiles and changing the title based on content I am not sure why this is a problem. All you have to d

Re: URL Rewriting

2004-05-24 Thread Michael McGrady
Why don't you rewrite UrlRedirect to UrlForward? At 10:34 PM 5/23/2004, Morten wrote: Hi! We are using Struts 1.1 and Tomcat 4.1.x at our company. We are considering to separate our urls from our struts configuration. Instead of /news.do?articleid=43 we would like the url to look like this: /news/a

linking to specified FRAMES

2004-05-24 Thread Michael McGrady
At 10:47 PM 5/23/2004, Paresh Patel wrote: Dear Michael: 1. Pardon me for sending this mail to you, but I need a bit of help. 2. Saw that you have done work using frames. 3. I need to learn about using frames in Struts. This is what I would like to do: - have two frames in a page

Re: [ot] testing 1 2 3 4

2004-05-24 Thread Michael McGrady
Your messages are coming through, Peter. At 03:19 AM 5/24/2004, Pilgrim, Peter wrote: testing 1 2 3 4 -- Peter Pilgrim Operations/IT - Credit Suisse First Boston, 10 South Colonnade, London E14 4QJ, United Kingdom Tel: +44 (0)207 883 4447

Re: how to send the 'index' to javascript function

2004-05-28 Thread Michael McGrady
This is not true. At 02:36 AM 5/28/2004, Mark Lowe wrote: Scirptlets will not work within a html struts tag. If you want to use scriplets use a normal html tag instead. Thats the first I ever heard that.. Thanks for the tip Brati. So you're saying that " /> wouldn't render (assuming the form and wi

Problems with Opera and Struts?

2004-05-28 Thread Michael McGrady
I have no difficulty running my site with Netscape or IE but Opera fails. Here is the readout I get: javax.servlet.ServletException org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcesso

Re: Problems with Opera, Struts and Session Management?

2004-05-28 Thread Michael McGrady
+ "_" + path); With Opera, the Layout object referenced as layout1 here is not set in the session on my index page. This difficulty is overcome by putting code in to log that the Layout object has been put into the session. That mystifies me. Any demystification chiefs on this one? Michael M

Re: Problems with Opera and Struts?

2004-05-28 Thread Michael McGrady
Hi, Rick, I am an Opera fan myself, but this problem ONLY occurs with Opera and not the other browsers. I have posted some more details on this. Take a look at my next posting and get the more mysterious details. What do you think is up? Michael McGrady At 07:03 AM 5/28/2004, Rick Reumann

Re: Problems with Opera and Struts?

2004-05-28 Thread Michael McGrady
suspicious. The intermittant problem does not occur with IE and Netscape. Michael McGrady At 07:03 AM 5/28/2004, Rick Reumann wrote: Michael McGrady wrote: I have no difficulty running my site with Netscape or IE but Opera fails. Can you provide any more information? I highly doubt this is an Opera

[OT] Re: RE : how to send the 'index' to javascript function

2004-05-28 Thread Michael McGrady
No, mine was the only sensible answer. LOL ///;-) Heh, the guy just made a mistake. Leave the poor bugger some dignity. Someday he is going to know a lot more and be of help to us all, in the Xtreme view of things. LOL I love giving Mark advice because he is such a sweetheart as a rule a

RE: Problems with Opera and Struts?

2004-05-28 Thread Michael McGrady
I am not sure why this would be affected. I put a value in the session myself. Opera should not have to know anything about this, right? I am mystified by this, since it seems that Opera should be unaffected by the situation and the problem is intermittant. Michael At 07:54 AM 5/28/2004, Sla

Re: Problems with Opera, Struts and Session Management?

2004-05-28 Thread Michael McGrady
the session does not happen with Opera unless you check that it has happened. BUT THAT IS ABSURD. Opera has no knowledge of any of this. RIght? Michael At 07:50 AM 5/28/2004, Rick Reumann wrote: Michael McGrady wrote: I probably should have added that in my ForwardAction I convert a path from

Re: Problems with Opera, Struts and Session Management?

2004-05-28 Thread Michael McGrady
Url", with Opera sometimes the session does not have the default layout object in the session. I can cure this in Opera by having the index.jsp FORWARD page contain the following code: At 11:54 AM 5/28/2004, Rick Reumann wrote: Michael McGrady wrote: No, this is not correct, Rick. The n

RE: Problems with Opera and Struts?

2004-05-28 Thread Michael McGrady
Everyone is saying sensible things and these are my thoughts exactly. But, that is not what I am getting. I am tending to think that the only option is that the problem has happened to appear when Opera is running and that really there is something wrong with the session management. That is t

Re: Problems with Opera, Struts and Session Management?

2004-05-28 Thread Michael McGrady
their "host" can have prefigured the Layout for them. The same site has multiple hosts with their own "guests". Michael At 07:50 AM 5/28/2004, Rick Reumann wrote: Michael McGrady wrote: I probably should have added that in my ForwardAction I convert a path from the ActionM

Re: What was the name of this application? [was] Re: Are there any IDE's that understand Struts tags?

2004-05-28 Thread Michael McGrady
Isn't that "HOOyah!"? LOL At 03:04 AM 5/28/2004, bOOyah wrote: Rick Reumann wrote: Actually there was a struts application/IDE that was for demo that was quite impressive but now I forgot the name. Was it NitroX from M7? http://www.m7.com/ The pricetag isn't *that* hefty. -- bOOyah

Re: [OT] Why do you keep torturing me shaikh.sohrab!

2004-05-30 Thread Michael McGrady
I didn't even know you had a "shaikh.sohrab", Rick! LOL At 07:58 AM 5/30/2004, Rick Reumann wrote: "Why do you keep torturing me shaikh.sohrab of rave-tech dot com!" -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: Page pre-processing - reply

2004-05-30 Thread Michael McGrady
I am interested in finding a solution for this recurrent problem, as I know many are. My first question, however, is what do Struts and Tomcat use to keep track of sesssions? Anyone have a reference to that information? I think the solution might be to keep something other than a session whic

Re: Struts/tiles: Run-time definition of which tile to include

2004-05-30 Thread Michael McGrady
There are hundreds of ways to do this. Why don't you just use an ActionForward to go to the tiles definition in tiles-defs.xml you want? you are using Struts, right? Actually I am surprised that what you are doing works. I don't know from the code you showed how the application knows to ins

Re: Struts/tiles: Run-time definition of which tile to include

2004-05-30 Thread Michael McGrady
I also would recommend you read Chapter 11 of Cedric Dumoulin's treat of tiles in Ted Husted's book Struts in Action. That Ted has a sense of humour, no? Struts in ACTION? LOL Mike At 05:14 PM 5/30/2004, David Stevenson wrote: Bear with a beginner's question, please. Loads of docs imply this

Re: Error messages in tiles using tiles-defs.xml

2004-06-01 Thread Michael McGrady
I would recommend any of the standard textbooks, Ganesh. Do you have access? You can also look at the manuals on the struts sight. There is a lot of documentation on this. The fact that you use tiles is irrelevant to this question. I think I own all the books, etc., so if you get stuck, pl

[OT] JSF Tutorial

2004-06-01 Thread Michael McGrady
Anyone have a good manual, tutorial, etc. on JavaServer Faces they would recommend? I saw the O'Reilly book, but it was a bit pricey, I thought. I paged through the book a bit, though, and became convinced that this is a direction to take. Thanks. Michael --

RE: [OT] JSF Tutorial

2004-06-01 Thread Michael McGrady
f the more recent articles as JSF has recently finalized and then just last week 1.1 was released. Older articles are on the beta versions and are out of date. Hope that helps, James Holmes -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 7:48

Re: [OT] JSF Tutorial

2004-06-01 Thread Michael McGrady
Excellent! Thank you! At 02:07 PM 6/1/2004, snpe wrote: You try http://horstmann.com/corejsf/ regards On Tuesday 01 June 2004 12:47 pm, Michael McGrady wrote: > Anyone have a good manual, tutorial, etc. on JavaServer Faces they would > recommend? I saw the O'Reilly book, but it was a

Re: R: Struts Tag Library

2004-06-02 Thread Michael McGrady
One reason for using struts tags is that people are trained to use them. Business is not always bending to the best coding solution. Business has to bend to the best business decision. Michael At 02:55 AM 6/2/2004, Andrea M wrote: I agree with Rick Of corse you could use struts tags without St

[OT] Struts and Procedural Weight

2004-06-18 Thread Michael McGrady
The following improvement of a DTO could be considered "procedural weight": But, is it? clientMethod { PersonVO person = PersonDAO.getPersonById(666); OrderVO order = person.getOrder(); CostVO cost = order.getCost(); } clientMethod { Person person = PersonDAO.getPersonByIdIncludingOrde

Re: tiles sidebar,header,footer

2004-06-23 Thread Michael McGrady
Are you talking about frames? At 02:15 AM 6/23/2004, [EMAIL PROTECTED] wrote: Jignesh What do you mean by static and called back? If by this you mean the tiles for these areas do not change, then yes, this is possible. The "called back" has me puzzling though. Cheers Christopher Marsh-Bourdon Pypl

RE: delete a record

2004-06-23 Thread Michael McGrady
This is not a struts issue. You have a few choices. JavaScript is a poor one, in my opinion. Use two response objects: one to give them the option and the second to give them the option the second time. Another way to do this is to archive the record instead of deleting it and only delete it

Re: LabelValueBeans

2004-06-23 Thread Michael McGrady
You can rewrite or extend the class to suit yourself, of course. At 10:52 AM 6/23/2004, James Mitchell wrote: No, look at the source for the class and you'll see why. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message -

RE: How can i put a dynamic value to an ?

2004-06-25 Thread Michael McGrady
This is not accurate. You can use <%= blah_blah %> in other tags. At 03:37 AM 6/25/2004, Paul McCulloch wrote: As other posters have said, you can't use a jsp tag to provide the value of an attribute in another tag. Ever. However, what you are doing is (probably) redundant. The purpose of the html

Re: Converting Java Code in JSP to JSTL

2004-06-25 Thread Michael McGrady
Looks like a test, Caroline! At 05:20 PM 6/25/2004, Caroline Jen wrote: I was told that JSTL can convert most of the Java code in JSP. I still have some problem with initializing variables and if statments; for example, I do not know how to write in JSTL of the following: 1. int i = 0; 2. i++; 3.

[OT -- for Martin: bounce backs from Brian Husted] Fwd: Undeliverable: Re: Converting Java Code in JSP to JSTL

2004-06-25 Thread Michael McGrady
These are the bounce backs we are getting, Martin, if you did not get the emails. Envelope-to: [EMAIL PROTECTED] Subject: Undeliverable: Re: Converting Java Code in JSP to JSTL Date: Fri, 25 Jun 2004 20:33:48 -0400 X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: Converting Java Code in

Re: A Strange Title Tile Problem

2004-06-26 Thread Michael McGrady
I am surprised, if you have been working with messages much, that you have not seen this. It means that the "message" was put into the properties files after you last started your server instance in most cases. Restart the application, and if you have the message in the properties file, it sh

Re: A Strange Title Tile Problem

2004-06-26 Thread Michael McGrady
Oh! I see, Caroline. You don't know how to use Struts messages. Or I don't. One of us doesn't. If you can reference a property message with plain text and no tag, that is a surprise to me. At 11:57 PM 6/25/2004, you wrote: I have been using tiles for a while. All of a sudden, a piece of "t

Re: [OT] Storing Birth Date

2004-06-26 Thread Michael McGrady
There are lots of ways to do this, of course, but I have found over the years that working from a long value works best for me. From there you can go any direction. Michael At 09:46 AM 6/26/2004, Rick Reumann wrote: Eddie Yan wrote: Anyone know what is the best practices to store a person date

Re: Tag

2004-06-26 Thread Michael McGrady
Looks as if the value of the page attribute begins with " and ends with '. That won't work if that is accurate. At 07:59 PM 6/26/2004, Caroline Jen wrote: <%@ taglib uri="/tags/struts-html" prefix="html" %> in the beginning of my JSP. This statement that makes an image clickable: <%if ( previous

Re: Nested dispatch action

2004-06-27 Thread Michael McGrady
Danged if I can make out what it is you are trying to do, Mark. You say: "The situation is that i need to add an item to the the levelOne object. But when submitting there's no way of grabbing the index and thus knowing which of the levelOne objects to add a new rows of nested object to." This

Returned From List

2004-06-27 Thread Michael McGrady
Anyone know why we keep getting these irritating messages every time we send something to the list? Subject: Undeliverable: Re: Nested dispatch action To: <[EMAIL PROTECTED]> Your message To: Struts Users Mailing List <[EMAIL PROTECTED]>@[EMAIL PROTECTED]; Struts Users Mailing List <[EMAIL

Re: EJB + Struts + Hibernate

2004-06-27 Thread Michael McGrady
What's so special about SPRING? I am always interested in application frameworks. Can anyone give a quick synopsis of the pluses and minuses? Micahel At 07:42 AM 6/27/2004, Mark Lowe wrote: +1 You'll want to look at spring whether you want to use EJB or Hibernate. On 27 Jun 2004, at 16:02, Brya

Re: LookupDispatchAction Default Action

2004-06-27 Thread Michael McGrady
The easy answer is that you can have your framework do whatever you want it to do when it receives a URL. If the URL is directed to the Struts ActionServlet by your server, you can also code further choices, etc. there. At 08:33 PM 6/27/2004, Rodney Paul wrote: Hi All, I have a problem in regar

Re: multiple submit buttons/one form

2004-06-28 Thread Michael McGrady
Try: http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript At 03:19 AM 6/28/2004, Axel Groß wrote: just don't forget to keep the messages unique per form had once delete property and delete main entries in one form, so the message shouldn't be 'delete' for both of them...

2 Actions + 1 Form + 1 Submit

2004-06-29 Thread Michael McGrady
I have some code where an action is called in an and in an as a value for the src attribute of the tag. Also, I have extended the ImageTag class or to mine some other values regarding the image, color, font, etc., because I intend to use the action which is the value of the src attribute t

2 Actions Again?

2004-06-29 Thread Michael McGrady
have some code where an action is called in an and in an as a value for the src attribute of the tag. Also, I have extended the ImageTag class or to mine some other values regarding the image, color, font, etc., because I intend to use the action which is the value of the src attribute to

Re: returning to the calling page

2004-06-30 Thread Michael McGrady
I really hate to have to address this, Brian, but this language is clearly inappropriate for a public forum. Michael At 05:35 AM 6/23/2004, you wrote: Hi , I have the following action http://localhost:8080/jestate-jsp/client-property-view-for-rent-action.do?id=1 On this page I have a form for add

Re: returning to the calling page

2004-06-30 Thread Michael McGrady
LOL -- Did you notice my name, Brian? No worries! At 07:06 AM 6/23/2004, you wrote: sorry i'm irish, we curse a lot. slaps self on wrist --b Michael McGrady wrote: I really hate to have to address this, Brian, but this language is clearly inappropriate for a public forum. Michael At

[OT] RE: how to handle special characters like "®"

2004-06-30 Thread Michael McGrady
Great article! Thanks Steve At 09:05 AM 6/30/2004, you wrote: This article http://www.joelonsoftware.com/articles/Unicode.html provides a good introduction to character encodings. It may help. Steve > -Original Message- > From: Christina Siena [mailto:[EMAIL PROTECTED] > Sent: June 29, 200

[OT] Netscape 7.1 WOW!

2004-06-30 Thread Michael McGrady
I have not used Netscape regularly for a while. But, I just tried the newest Netscape 7.1 and I am really impressed. Wow! Speed, no crappy ads, etc. This is what I had hoped a browser would do! Michael - To unsubscribe, e-m

Re: [OT] Netscape 7.1 WOW!

2004-06-30 Thread Michael McGrady
WOW! (all capitals!) http://www.mozilla.org/products/firefox/ ATTA - Original Message - From: "Michael McGrady" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 30, 2004 9:51 AM Subject: [OT] Netscape 7.1 WOW! >

RE: [OT] Netscape 7.1 WOW!

2004-06-30 Thread Michael McGrady
Isn't this parade of praise for foxfire and odd way for Netscape to advertise? LOL At 03:58 PM 6/30/2004, you wrote: I love the extensions available for firefox. That, and the security/reliability compared to IE - the two reasons I was able to get my parents to switch. Checkout what's availabl

Re: 2 Actions + 1 Form + 1 Submit

2004-07-02 Thread Michael McGrady
you are using to render the image will have access to are the parameters included in the url. So for example the resource.do action will have access to the file_type and file_name parameters only - not the rest of the stuff on your form. Niall - Original Message - From: "Michael Mc

Re: Form bean scope question

2004-07-06 Thread Michael McGrady
Yes, this is the problem. At 04:05 AM 7/6/2004, you wrote: I have had a problem like this before and what I did is add the <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> in the included/inserted jsp pages. HTH, Glenn John Moore <[EMAIL PROTECTED]> 06/07/2004 06:24 AM Please respond to

Re: Form bean scope question

2004-07-06 Thread Michael McGrady
sewhere or not set at all, etc. But, the problem is identified clearly, in my opinion, and this is it. At 01:20 PM 7/6/2004, you wrote: Michael McGrady wrote: Yes, this is the problem. At 04:05 AM 7/6/2004, you wrote: I have had a problem like this before and what I did is add the <%@ taglib

Re: Form bean scope question

2004-07-06 Thread Michael McGrady
To what does this refer? You must be trying to find this but why? At 02:18 AM 7/6/2004, you wrote: org.apache.struts.taglib.html.BEAN - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: some best practices questions

2004-07-06 Thread Michael McGrady
I think the obvious is important with this recurrent problem. The obvious is that you want to persist data for a period that is not coincident with the normal devices for doing that. i.e. request, session and context scopes. The difficulty is matching up with storage method on the server with

Re: some best practices questions

2004-07-06 Thread Michael McGrady
Ever thought about creating a new scope managed by your own manager from application scope? That is an approach I have been thinking of more and more as of late. At 08:35 PM 7/6/2004, you wrote: I used hidden select lists to restore user selections since I wasn't "allowed" to place the whole f

Re: some best practices questions

2004-07-06 Thread Michael McGrady
Thanks for the heads up, Rick. I think this whole area just needs a concerted and orchestrated look. The standard approaches just are not working for people. This is really so recurrent is more than recurrent. At 09:59 PM 7/6/2004, you wrote: On Tue, 06 Jul 2004 20:58:16 -0700, Michael

Re: some best practices questions

2004-07-07 Thread Michael McGrady
I, for one and one only, think that this sort of thing is directly addressing the most common recurrent question on this list. So, if anything, this de-spams the list. Thanks for the suggestion. At 04:57 AM 7/7/2004, you wrote: Sorry if this is considered spamming the list Speaking of sto

RE: some best practices questions

2004-07-08 Thread Michael McGrady
At 12:36 AM 7/8/2004, you wrote: For this particular use case I would either just use the session, or alternatively I would just look up the dropdowns from db each time and accept the performance hit, but its (probably) not worth the development time - including ongoing maintenance - to do anything

image tag and onmouseover attribute

2004-07-08 Thread Michael McGrady
Anyone have an example on a real, live, actual, JSP page using the onmouseover attribute with the struts tag? If so, I would be very appreciative of a "look see" of what the JSP code looks like. Thanks in advance. QUESTION: Did you hear what Roy Rogers said to Trigger? ANSWER: "Why the long

log4j book out of stock

2004-07-08 Thread Michael McGrady
Is there a place to get the log4j book, and is it worth the rather hefty price? Seems like everywhere I look it is not available. Is the author just trying to sell it on his own? Wazzup? - To unsubscribe, e-mail: [EMAIL PROT

Re: html:image vs html:submit

2004-07-08 Thread Michael McGrady
This tells you where the problem is. If you look at the code there you should be able to tell what is going wrong. At 01:33 PM 7/8/2004, you wrote: org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:837)

Re: struts automation

2004-07-08 Thread Michael McGrady
Not sure what you mean here. Presumably those class files already exist? At 01:52 PM 7/8/2004, you wrote: Is there a struts tool out there that will create the class files you name in a struts-config file automatically? It seems to me that would be really useful? --

HELP FROM THE ADMINISTRATOR re: Brian Husted not available

2004-07-08 Thread Michael McGrady
It seems that we have been getting the messages that Brian Husted is not available forever. Can the administrator please solve this? Everytime I send an email to the list I get this back, and others have made the same complaint: Subject: Undeliverable: Re: html:image vs html:submit To: <[EMAI

RE: struts automation

2004-07-08 Thread Michael McGrady
At 02:00 PM 7/8/2004, you wrote: > Is there a struts tool out there that will create the class > files you name in a struts-config file automatically? It > seems to me that would be really useful? > Yes there is, several of them.. I have the following class file named in my struts-config.xml file

RE: struts automation

2004-07-08 Thread Michael McGrady
Oops, forgot the reference: At 02:04 PM 7/8/2004, you wrote: At 02:00 PM 7/8/2004, you wrote: > Is there a struts tool out there that will create the class > files you name in a struts-config file automatically? It > seems to me that would be really useful? > Yes there is, several of them.. I h

RE: struts automation

2004-07-08 Thread Michael McGrady
wrote: > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 2:05 PM > To: Struts Users Mailing List > Subject: RE: struts automation > > > At 02:00 PM 7/8/2004, you wrote: > > > Is there a struts tool out

Simplifying struts-config.xml

2004-07-08 Thread Michael McGrady
Is there a way to do the following using less real-estate in struts-config.xml? If not, there should be: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

RE: struts automation

2004-07-08 Thread Michael McGrady
: > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 2:42 PM > To: Struts Users Mailing List > Subject: RE: struts automation > > > My question is how can an editor of any kind create a class > when it has no > idea what

RE: struts automation

2004-07-08 Thread Michael McGrady
kel and dime BS quite a bit. Any more and I think we're off topic. > > Michael > > At 02:45 PM 7/8/2004, you wrote: > > > > > -Original Message- > > > From: Michael McGrady [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, July 08, 2004 2:42 PM >

Re: Simplifying struts-config.xml

2004-07-09 Thread Michael McGrady
At 03:16 PM 7/8/2004, you wrote: Sounds like you should get a new xml editor if you care about file real estate. BAL Hi, BAL, Highball? A fundamental aspect of good programming is to avoid mindless repetition. That is what this post was about. You have focused on another unrelated aspect. I pr

Re: Theoretical debate

2004-07-09 Thread Michael McGrady
At 11:24 PM 7/8/2004, you wrote: If you've "cheated" on the separation of concerns issues in your existing app, this is going to seem harder. Boy, HOWDIE! This is so often the case. The whole reason for separation of concerns just jumps out at us during these situations. --

Re: Simplifying struts-config.xml

2004-07-09 Thread Michael McGrady
At 07:57 AM 7/9/2004, you wrote: > The new wildcard support would also work, but only if all the root paths worked this way. > > > > > path='/*' > > type='com.crackwillow.struts.action.ForwardAction' > > parameter='{1}'/> Does anyone have a quick reference to some documentation on this "new wil

Re: Simplifying struts-config.xml

2004-07-09 Thread Michael McGrady
Thanks, Bill Siggelkow At 10:14 AM 7/9/2004, you wrote: http://struts.apache.org/userGuide/building_controller.html#action_mapping_wildcards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

RE: Dynamic extension of web apps

2004-07-10 Thread Michael McGrady
Struts has the mechanism to do this too, by the way. What I do is to define tiles, e.g. "html_page", "wap_page", and then reference just "page" in the struts-config.xml. You have the controller detect the device coming in and switch the tiles reference as required. This can also be used, by

Re: [OT] Re: HSQLDV / STRUTS - (this has nothing to do with Struts)

2004-07-12 Thread Michael McGrady
I did not see your initial post, but to help clear this, let me say that, if you don't want to have to keep a connection to the database, then don't run "all-in-memory". At 05:37 AM 7/12/2004, you wrote: Is this the same post that was sent last week? or week before? I believe I asked you a que

Re: HSQLDV / STRUTS

2004-07-12 Thread Michael McGrady
The correct syntax is "SELECT * FROM At 05:23 AM 7/12/2004, you wrote: Andre What type of commit are you using under JDBC, automatic or manual? Perhaps you should reply with the offending code so we can see what is happeneing. Also, what exception handling are you using around the INSERT code, as

Re: HSQLDV / STRUTS

2004-07-12 Thread Michael McGrady
Yes! "The computer is always right" is a useful thought. At 08:03 AM 7/12/2004, you wrote: Its always the obvious! Michael McGrady <[EMAIL PROTECTED]> 12/07/2004 15:59 Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List&

Re: webapp deployment

2004-07-12 Thread Michael McGrady
Can you provide a bit more information and code? What do you have for global forwards in your struts-config.xml? Where is the "welcome" forward called? Etc. At 04:08 PM 7/12/2004, you wrote: Hi, I've been developing a struts webapp using tomcat and am now trying to deploy it to my webserve

RE: webapp deployment

2004-07-12 Thread Michael McGrady
If it will run a servlet, it will run struts. No? At 04:15 PM 7/12/2004, you wrote: > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 4:12 PM > To: Struts Users Mailing List > Subject: Re: webapp deployment > > &g

RE: webapp deployment

2004-07-12 Thread Michael McGrady
I am trying to figure out what serialization would have to do with the server? At 04:30 PM 7/12/2004, you wrote: > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 4:25 PM > To: Struts Users Mailing List > Subject: RE: we

Re: Check for forward

2004-07-13 Thread Michael McGrady
You can add information to your forwards, but, since they are your forwards, why would you? I don't understand the practical reach of this question. At 03:56 AM 7/13/2004, you wrote: Is there a way to "know" whether the HttpServletRequest I am processing (in my action or whatever) was forward

Re: Check for forward

2004-07-13 Thread Michael McGrady
There are all sorts of ways to do this. One good one is to put all your jsp pages inside WEB-INF. At 04:44 AM 7/13/2004, you wrote: Michael McGrady wrote: You can add information to your forwards, but, since they are your forwards, why would you? I would like to protect resources from direct

Re: logic:iterate fails on (large) collection

2004-07-13 Thread Michael McGrady
At 05:24 AM 7/13/2004, you wrote: This is the page code: <%@ include file="/common/taglibs.jsp"%> As you can see, this is not enough info. You might want to substitute escape characters for the html? - To unsubscribe, e-mail:

How Flexible are Struts and El Tags?

2004-07-13 Thread Michael McGrady
Using the standard JSP tags, we can pretty do much do anything on a page, e.g.: <% List list = new TreeList(); list.add("first"); list.add("second"); Iterator iter1 = list.iterator(); while(iter2.hasNext()) { List list = someMapA.get(iter.next()); lIterator iter2 = list.iterator();

::: ::: guaranteed behavior?

2004-07-14 Thread Michael McGrady
nMap, I do get a different collection (List) from the BeanMap on the page. Will this be guaranteed in the future? Or, is this an anomaly that I cannot count on in the future? Michael McGrady - To unsubscribe, e-mail: [EMAIL

Re: how to use dynamic values in html:radio

2004-07-14 Thread Michael McGrady
Have you checked out LabelValueBeans, another Ted Husted slam dunk. Cf., http://www.jguru.com/faq/view.jsp?EID=1028442 Michael P.S. You might also see my inquiry just posted as "::: ::: guaranteed behavior? " in the email subject. At 09:14 AM 7/14/2004, you wrote: I'm not using EL, should I

Re: How to use dynamic values in html:radio

2004-07-14 Thread Michael McGrady
Look at my last answer to you. At 05:51 AM 7/14/2004, you wrote: could SO perhaps tell me why (or rather, what is the reight expression to use, instead of ${...} ... ) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

LabelValueBean and BeanMap with and for indexed properties

2004-07-14 Thread Michael McGrady
I am using my version of a BeanMap built for instrumentation, cf. http://wiki.apache.org/struts/StrutsCatalogMappedBeans, and am putting a series of java.util.LinkedLists holding org.apache.struts.util.LabelValueBeans into the BeanMap via setProperty(Object key,Object value). I am then accessi

Re: LabelValueBean and BeanMap with and for indexed properties

2004-07-14 Thread Michael McGrady
tils implements java.util.Map, then the String passed in is used as a key to the map to get the value to return. As much as you trust the developers of beanutils to maintain backwards compatibility, you can count on this. I'd say you're pretty safe. Joe At 3:28 PM -0700 7/14/04, Michael McG

Re: [OT] Editor for Struts/J2ee apps

2004-07-14 Thread Michael McGrady
Emacs? VIM? The IDE people are nuts about Eclipse. At 10:10 PM 7/14/2004, you wrote: hi, I am starting a j2ee app(servlets,jsp.taglibs,ejb,jms,jaxp) with struts as web framework and i need to decide on the IDE that i should use. May i have your inputs on pros/cons on IDEs that you are using. An

Re: LabelValueBean and BeanMap with and for indexed properties

2004-07-15 Thread Michael McGrady
At 03:52 AM 7/15/2004, you wrote: There are currently some discrepencies in beanutils where the above statement isn't followed - but, from the discussion over on commons, its likely that in a future version of beanutils it will be changed so that it is always consistent with the above statement. N

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

  1   2   3   4   5   6   >