RE: The Back button on on multi-page forms

2003-03-10 Thread David Graham
ge forms Date: Mon, 10 Mar 2003 11:54:32 -0600 Thanks for the tip on tokens I'm not familiar (yet) with tokens. Are these new in 1.1 or have they always been there. I have to use Struts 1.0. Ron -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Monday, Marc

Re: line feeds to

2003-03-10 Thread David Graham
No, you need to perform that function yourself. David From: awc <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: line feeds to Date: Mon, 10 Mar 2003 11:55:40 -0600 Hi All, Is there is switch in tag wher

Re: The Back button on on multi-page forms

2003-03-10 Thread David Graham
See the Action class' javadoc for the token methods and the struts-example app for how to use them. David From: "Ron Day" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: The Back button on on multi-page

Re: Using Redirect to another site.

2003-03-09 Thread David Graham
In struts-config: http://www.google.com/"; redirect="true"/> David From: RODRIGO CARVALHO DOS SANTOS <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: Using Redirect to another site. Date: Sun, 9 Mar 2003 17

Re: [Design Pattern]FormBean in Model Layer

2003-03-08 Thread David Graham
That is a terrible idea. Form beans should never make it out of the Struts/view layer. You will tie your application to Struts and make it impossible to reuse the logic in another application or even to stop using Struts in the future. David From: "Puneet Agarwal" <[EMAIL PROTECTED]> Reply

Re: multiple select handling in Action

2003-03-08 Thread David Graham
Multiple selects return an array of strings so your form bean should have a String[] multiSelect member with accessors: String[] getMultiSelect() void setMultiSelect(String[]) David From: Dan Allen <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECT

Re: Validator- List/Map-backed property validation

2003-03-08 Thread David Graham
Please do not cross post. This is a struts-user question. David From: harish krishnaswamy <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Validator- List/Map-backed property validation Date: Sat, 8 Mar 2003 09:54:2

Re: How do you keep your session junk free?

2003-03-07 Thread David Graham
Explain how some other approach handles it in any better way? Use of token to prevent duplicate submissions works for me. And what do you mean by a continuation-style programming? The token approach is an easy solution. One of the sites listed was a Smalltalk web framework. It's good to look at

Re: broken in Strtus 1.1 rc1, html-el?

2003-03-07 Thread David Graham
More accurately, the Struts-EL version may be broken. The uri you supplied is the same as the normal html taglib. David From: Jose Gonzalez Gomez <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: broken in

Re: Javascript use of ID

2003-03-06 Thread David Graham
The name attribute works the same as id for javascript. David From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Javascript use of ID Date: Thu, 6 Mar 2003 12:48:31 -0500 Hi, My client browser in IE. So javascript needs ID in the

Re: problem with struts 1.1 rc1

2003-03-06 Thread David Graham
You went back to 1.0 just because of the debug output?! Struts relies on commons-logging which relies on whatever log package you have available. Look at the docs for commons-logging and your logging package for more info. David From: "Scott Power" <[EMAIL PROTECTED]> Reply-To: "Struts User

Re: [OT] How to make a method deprecated

2003-03-06 Thread David Graham
Use the @deprecated javadoc tag. David From: Chiming Huang <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [OT] How to make a method deprecated Date: Thu, 6 Mar 2003 08:27:14 -0800 (PST) Hi, In java, I would like to make a method dep

Re: Which J2EE version is compliant with Struts apps?

2003-03-06 Thread David Graham
liant with Struts apps? Date: Thu, 06 Mar 2003 15:33:06 + So, then we can choose among J2EE 1.2 (servlets 2.2) and J2EE 1.3 (servlets 2.3). Is not it? From: "David Graham" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PRO

Re: Which J2EE version is compliant with Struts apps?

2003-03-06 Thread David Graham
You can use Struts in servlet 2.2 or 2.3 environments. David From: "Adolfo Miguelez" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Which J2EE version is compliant with Struts apps? Date: Thu, 06 Mar 2003 10:07:32 + Hi All, an e

RE: word wrap

2003-03-06 Thread David Graham
word wrap Date: Thu, 06 Mar 2003 00:03:28 -0600 Well, without Struts, I've used "wrap=hard" in textareas and that seems to do the wordwrapping trick. It might be nice to be able to include such an attribute in --John -Original Message- From: David Graham [mailto:[EMAIL

RE: Can be used for editable fields?

2003-03-05 Thread David Graham
er/Struts Evangelist http://jakarta.apache.org/struts/ "People demand freedom of speech to make up for the freedom of thought which they avoid." - Soren Aabye Kierkegaard (1813-1855) > -----Original Message- > From: David Graham [mailto:[EMAIL PROTECTED] > Sent: Wed

RE: Can be used for editable fields?

2003-03-05 Thread David Graham
- Soren Aabye Kierkegaard (1813-1855) > -Original Message----- > From: David Graham [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2003 11:32 PM > To: [EMAIL PROTECTED] > Subject: Re: Can be used for editable fields? > > > You're not disturbing anyone on the

Re: Can be used for editable fields?

2003-03-05 Thread David Graham
t; <[EMAIL PROTECTED]> Subject: Re: Can be used for editable fields? Date: Thu, 6 Mar 2003 10:10:11 +0530 Thanks a lot David . You solved my big problem. I will try this out...hope i wont need to disturb you again :-) Thanks again., Samit - Original Message - From: "David Gra

RE: html:text accepts indexed properties

2003-03-05 Thread David Graham
Subject: RE: html:text accepts indexed properties Date: Thu, 6 Mar 2003 09:47:58 +0530 Hi, The date has no relevance. It is just indexed properties and html:text. The way to do this seems to be property='<%= "array[" + i + "]" %>'/> like this. There is no dir

Re: Can be used for editable fields?

2003-03-05 Thread David Graham
Simply put an tag inside your iteration. All your text inputs will be the same name so you need a String[] variable in your form bean to hold all of the entries. David From: "Samit Goyal" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "strtus list" <[EMAIL

Re: Servlet Mapping

2003-03-05 Thread David Graham
You can only supply one mapping to the ActionServlet. It's impolite to mark your posts as "urgent" because it's rather presumptuous. David From: usha <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Servlet Mapping: urgent Date: Thu,

RE: html:text accepts indexed properties

2003-03-05 Thread David Graham
exed properties ! Can't I find an indexed property and display it in the text box ? I've seen one way to do this but it is a bit convoluted. Mohan -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 9:30 AM To: [EMAIL PROTECTED

Re: html:text accepts indexed properties

2003-03-05 Thread David Graham
A String[] form field implies that there are multiple form inputs with the same name. David From: Mohan Radhakrishnan <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: html:text accepts indexed properties

Re: word wrap

2003-03-05 Thread David Graham
Well, JavaMail has nothing to do with Struts and is easily learned without a Struts example. I'm not sure why you need a wordwrap feature in JavaMail. The mail client is responsible for formatting the message to the screen not the sender. David > what do you mean with wordwrap ? What I mean

Re: URL Validation with Struts validator

2003-03-05 Thread David Graham
What is URL validation? David From: "Greg Hess" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts" <[EMAIL PROTECTED]> Subject: URL Validation with Struts validator Date: Wed, 5 Mar 2003 16:53:36 -0500 Hi All, Has anyone implemented URL validation for St

Re: DynamicForwardAction

2003-03-05 Thread David Graham
ng List" <[EMAIL PROTECTED]> To: "David Graham" <[EMAIL PROTECTED]> CC: <[EMAIL PROTECTED]> Subject: Re: DynamicForwardAction Date: Wed, 5 Mar 2003 19:08:47 +0100 > As you said, you can setup forwards to hide the actual file that gets > served by a url. I d

Re: DynamicForwardAction

2003-03-05 Thread David Graham
have to be image.png). David From: "Eric Jain" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> CC: "David Graham" <[EMAIL PROTECTED]> Subject: Re: DynamicForwardAction Date: Wed, 5 Mar 2003 18:41:48 +0100 > Urls should

Re: DynamicForwardAction

2003-03-05 Thread David Graham
I don't think so. Urls should only be mapped to Struts if you want Struts to process them. If not, just request info.png without the Struts mapping in the url. David From: "Eric Jain" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "struts-user" <[EMAIL PRO

Re: [OT] JMS

2003-03-05 Thread David Graham
http://forum.java.sun.com/forum.jsp?forum=29 From: Gus Delgado <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: [OT] JMS Date: Wed, 05 Mar 2003 10:06:56 -0500 I apologized for the off-topic question, is there

Re: JavaScript: resouces not rendering

2003-03-05 Thread David Graham
Looks like you are not using quotes properly. Make sure ' is closed with ' and " with ". David From: "Darkgoyle" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: JavaScript: resouces not rendering Date: Wed, 5 Mar 2003 10:07:16 -05

Re: [OT] Java method size limitations

2003-03-05 Thread David Graham
This came up before in relation to tomcat's jsp compiler generating large methods. I believe they now break up methods into smaller pieces to avoid the limitation. Regardless, I can't think of any good reason to have an 8500 line class! David From: Becky Norum <[EMAIL PROTECTED]> Reply-To:

Re: What is UserDirectory?? (Question about "Struts In Action" by Husted)

2003-03-04 Thread David Graham
This question is probably better suited for whatever site the book has setup for support. However great Ted's book may be, not everyone has a copy :-). David From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: What is UserDirectory?

Re: displaying "\n" in html?

2003-03-04 Thread David Graham
Then use the jakarta lang package to acheive the same result in one line of code. David From: "dario" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: displaying "\n" in html? Date: Tu

Re: How fast is ?

2003-03-04 Thread David Graham
uot;Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: How fast is ? Date: Tue, 04 Mar 2003 10:39:06 -0500 Do we have an idea if same is true of the JSTL FMT tag? (bean tags are now redundant to JSTL). .V David Graham wrote: That's not all that surprising

RE: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-04 Thread David Graham
I don't use it but eclipse does have an emacs keybindings preference. David From: "James Higginbotham" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> Subject: RE: [OT] Text editor usage (was

RE: How fast is ?

2003-03-04 Thread David Graham
" 5000 parameterized requests took 10607 milliseconds. // "{0} sat on a wall" YMMV, but if so let's try and find out why. The disparity here is just incredile. -= J > David Graham wrote: > > >> It's as fast as it takes to lookup a key in a hashmap. If that&#x

Re: Transaction Tokens

2003-03-04 Thread David Graham
The struts-example webapp uses tokens and the Action class' javadoc is informative. David From: Alban Soupper <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]> Subject: Transaction Tokens Date: Tue, 4 Mar

Re: How fast is ?

2003-03-04 Thread David Graham
; Subject: Re: How fast is ? Date: Tue, 04 Mar 2003 10:33:30 +0100 David Graham wrote: >> It's as fast as it takes to lookup a key in a hashmap. If that's >> unacceptable then you should write a different jsp for each language with >> hardcoded text. I'm searchin

RE: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread David Graham
:). In any case, OTI is an ex-Smalltalk IDE shop, so I presume there's a strong NIH syndrome there similar to most other IDE's I've run across -- Then why is there an Emacs keybinding preference setting but none for vi? David _ Add p

Re: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread David Graham
I believe Eclipse 2.1 (due out this month) supports user defined key bindings. David From: Rick Reumann <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: [OT] Text editor usage (was RE: [OT]: What is v

RE: Add blank option to select

2003-03-03 Thread David Graham
There's no point in using the taglib to output a null valued tag. David From: "James Childers" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: Add blank option to select Date: Mon, 3 Mar 2003 16:04:4

Re: Add blank option to select

2003-03-03 Thread David Graham
Why can't you just put this at the beginning of your select box ? David From: "Bredesen, Chris - NA US HQ Delray" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]> Subject: Add blank option to select Date:

Re: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread David Graham
are more than welcome to tell me that you believe this is not so, but I have observed it enough that, to me, it is a truism. Simon >-Original Message- >From: David Graham [mailto:[EMAIL PROTECTED] >Sent: Monday, March 03, 2003 2:56 PM >To: [EMAIL PROTECTED] >Subject: RE

Re: How fast is ?

2003-03-03 Thread David Graham
It's as fast as it takes to lookup a key in a hashmap. If that's unacceptable then you should write a different jsp for each language with hardcoded text. David From: Boris Folgmann <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[

RE: [OT]: What is vim?

2003-03-03 Thread David Graham
> >VIM (vi) beats the hell out of EMACS, unless you are a LISP >weenie with a >masochistic bent. And any non-dot-completion editor refines >your sense of >the API because it forces you to RTFM. > >Mark I use an ide and am referencing javadoc all the time anyways. I don't see any correlation betw

Re: ForwardAction with Tiles in 1.1b2

2003-03-03 Thread David Graham
Upgrade to RC1 and you can use ForwardAction with Tiles. David From: "Steve Stair" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: ForwardAction with Tiles in 1.1b2 Date: Mon, 03 Mar 2003 12:30:00 -0600 Since I could not get a Forwa

Re: displaying "\n" in html?

2003-03-03 Thread David Graham
i'd love to see one-liner that converts char to string. return newlineString.replaceAll("\n", ""); David _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ---

Re: TILES - Network Traffic...

2003-03-03 Thread David Graham
AFAIK, Tiles doesn't use any javascript. David From: "Puneet Agarwal" <[EMAIL PROTECTED]> Reply-To: "Puneet Agarwal" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: TILES - Network Traffic... Date: Mon, 3 Mar 2003 16:44:54 - I am quite new to TILES and have

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread David Graham
To be fair, Struts Console isn't really an Eclipse plugin. The "plugin" just launches the program external to Eclipse. For some reason, the menubar disappears when you do this so you may as well just launch the standalone Struts Console. David From: "Brandon Goodin" <[EMAIL PROTECTED]> Rep

Re: Rendering in XHTML

2003-03-03 Thread David Graham
I believe using the xhtml doctype puts IE 6 into strict mode. Try validating your page at the w3c.org validator site. David From: Josh Rayls <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]> Subject: Rend

Re: processPreprocess hook

2003-03-03 Thread David Graham
rom MVC 1 to MVC 2 therefore there is a differentiation of Request and Response objects. Alok - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 11:43 AM Subject: Re: processPreprocess hook > Struts has

Re: processPreprocess hook

2003-03-02 Thread David Graham
Struts has always been based on "MVC Model 2". The RequestProcessor has nothing to do with that. David From: "Alok Garg" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: processPreprocess hook Date:

Re: ActionErrors.GLOBAL_ERROR

2003-03-02 Thread David Graham
return (errors == null) ? false : true is redundant. return (errors != null) is much simpler. David From: Mohan Radhakrishnan <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: ActionErrors.GLOBAL_ERROR Date

Re: just curious, shouldn't maybe message="true" use error="true" instead?

2003-03-02 Thread David Graham
It would make more sense if they displayed ActionMessages instead of ActionErrors by default but, for whatever reason, they don't. David From: Rick Reumann <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: j

Re: displaying "\n" in html?

2003-03-02 Thread David Graham
LOL David From: Dave Newton <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: displaying "\n" in html? Date: 02 Mar 2003 14:15:07 -0500 On Sun, 2003-03-02 at 13:57, dario wrote: > i allways store new line

Re: displaying "\n" in html?

2003-03-02 Thread David Graham
Struts doesn't provide that feature. You're too lazy to write a one line method that does it? David From: "dario" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: displaying "\n" in html? Date: Sun, 2 Mar 2003 19:57:11 +0100 i allway

Re: processPreprocess hook

2003-03-01 Thread David Graham
That method has been moved to the RequestProcessor class. David From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: processPreprocess hook Date: Sat, 1 Mar 2003 21:07:58 -0600 Hi, We have been overriding the processPreprocess

RE: Struts-el NOT working with Struts 1.1 RC1 Release

2003-02-28 Thread David Graham
AFAIK, the commons components strive for backwards compatibility so theoretically you should be able to use the versions that come with Struts. You make a great point about using beta OSS in production. I hope your mgmt. listens :-). David From: "Hohlen, John" <[EMAIL PROTECTED]> Reply-To:

Re: i18n in SimpleMenuItem

2003-02-28 Thread David Graham
I don't see any attributes in tiles-config.dtd that allow message keys. This would probably be a useful enhancement though. Feel free to enter an enhancement request (unless it turns out it's already supported). David From: Dan Allen <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List"

RE: Struts-el NOT working with Struts 1.1 RC1 Release

2003-02-28 Thread David Graham
I haven't contributed to Struts-EL, that's David Karr. I was pointing out that you should download a recent nightly to get the fixes you need. There's nothing terribly special about RC1 vs. the nightly that came the day after RC1 was released. David *Graham* :-) From

RE: Struts-el NOT working with Struts 1.1 RC1 Release

2003-02-28 Thread David Graham
I don't understand. You say that David fixed the problem but you're still unhappy? RC1 != 1.1 final. There will be bugs until the final version. You say that using nightlies is risky but you're using RC1 (which is a nightly)! Furthermore, Struts-EL is still in the contrib folder which gives

Re: [OT] Must be desperate times for M$

2003-02-28 Thread David Graham
TED]> Sent: Friday, February 28, 2003 11:13 PM Subject: RE: [OT] Must be desperate times for M$ > Shall I say it's only a matter of time before windows becomes open source? > > Regards, > > > PQ > > "This Guy Thinks He Knows Everything" > "This Guy

Re: [OT] Must be desperate times for M$

2003-02-28 Thread David Graham
It's only a matter of time before the windows source code is leaked to everyone. Will we be horrified or impressed? David From: "James Mitchell" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: [OT] Must

Re: Each Tile can have its own controller ?

2003-02-28 Thread David Graham
lib replacement? I guess it comes down to user preference and it's always good to have several options to choose from. =) - John On Friday, February 28, 2003, at 06:42 AM, David Graham wrote: http://blogs.browsermedia.com/patrick/index.do?date=20030211#130200 From: "Rick Ash

Re: Declarative Exception Handling Options

2003-02-28 Thread David Graham
When your action calls the business layer validation it will catch the exception that is thrown then translate it into an ActionError for that form field. David From: "scarter" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Decla

Re: Each Tile can have its own controller ?

2003-02-28 Thread David Graham
http://blogs.browsermedia.com/patrick/index.do?date=20030211#130200 From: "Rick Ashley" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Each Tile can have its own controller ? Date: Fri, 28 Feb 2003 12:46:42 + Tiles site http://www

Re: changing ApplicationResources.properties runtime

2003-02-28 Thread David Graham
In properties file: lastJDBCError.value={0} Then construct the error message with the exception text as the first replacement value. David From: "Arunachalam Jaisankar" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECT

Re: Is struts-config too verbose?

2003-02-27 Thread David Graham
How would you like it to work? David From: "Mark" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Is struts-config too verbose? Date: Thu, 27 Feb 2003 22:04:11 -0600 Well, I left out a piece What I had a problem with was the verb

Re: Is struts-config too verbose?

2003-02-27 Thread David Graham
There's no rule that says you can only use a form bean with one action. You can define many actions that use the same type of form bean. Also, you don't need to provide the name attribute for the tag because it generates one for you. David From: "Mark" <[EMAIL PROTECTED]> Reply-To: "Strut

Re: error in my html:select tag

2003-02-27 Thread David Graham
You can't use a custom tag as the value of another tag's attribute. David From: "Richard Raquepo" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: error in my html:select tag Date: Fri, 28 Feb 2003 11:18:1

Re: Comparison Tags in STRUTS 1.0.2

2003-02-27 Thread David Graham
The right way to do this is to use the JSTL's empty keyword in an EL statement. ... David From: "Jana Navaneethan" <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Comparison Tags in STRUTS 1.0.2 Date: Thu, 27 Feb 2003 17:28:57 -05

Re: html:messages causing NullPointerException

2003-02-27 Thread David Graham
There was a bug fix for this recently. Try using 1.1RC1 or a nightly. David From: "Sloan Seaman" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: html:messages causing NullPointerException Date: Thu, 27 F

Re: Struts-el NOT working with Struts 1.1 RC1 Release

2003-02-27 Thread David Graham
Looks like David Karr committed a fix for this last night or this morning. David From: "Hohlen, John" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts-User (E-mail)" <[EMAIL PROTECTED]> CC: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: Struts-el NOT

Re: Will Struts-EL be included Struts 1.1?

2003-02-27 Thread David Graham
Struts-EL will remain in the contrib directory for 1.1. David From: "Hohlen, John" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts-User (E-mail)" <[EMAIL PROTECTED]> Subject: Will Struts-EL be included Struts 1.1? Date: Thu, 27 Feb 2003 08:07:44 -0600

Re: struts banking example

2003-02-26 Thread David Graham
sers Mailing List Subject: Re: struts banking example nope. someone on the list told me already. but, now i wonder what the example wants to show? i only see it shows list. nothing like adding, updating, deleting, etc. On Wed, 26 Feb 2003 21:41:25 -0700 "David Graham" <[EMAIL PROTECT

Re: struts banking example

2003-02-26 Thread David Graham
ubject: Re: struts banking example Date: Thu, 27 Feb 2003 11:44:19 +0700 nope. someone on the list told me already. but, now i wonder what the example wants to show? i only see it shows list. nothing like adding, updating, deleting, etc. On Wed, 26 Feb 2003 21:41:25 -0700 "David Graham

Re: struts banking example

2003-02-26 Thread David Graham
TECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: struts banking example Date: Thu, 27 Feb 2003 11:31:19 +0700 i thougt the example already puts the default ones something like oracle's default userid/password. so how do i know the userid/password th

Re: struts banking example

2003-02-26 Thread David Graham
No one on this list knows your username and password. David From: "joni santoso" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: struts banking example Date: Thu, 27 Feb 2003 11:10:47 +0700 hi, i got a s

Re: Action Class singleton -- throw away option?

2003-02-26 Thread David Graham
AFAIK, Struts holds onto the instance for the life of the app. You might be able to subclass RequestProcessor and somehow get rid of the instance. David From: "Shackelford, John-Mason" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EM

RE: jstl and collection sizes

2003-02-26 Thread David Graham
uot;]}. Not allowing ${empty myCollection} for > non-Lists > is odd, but that's what the spec says. > > There's a thread about this oddity in taglibs-user. > > http://shorl.com/dapofrypragragu > > > > > -Original Message- > > From: David Graha

Re: posible remove ![CDATA[]] from validator-rules?

2003-02-26 Thread David Graham
Why can't you use the CDATA section? David From: "Adolfo Miguelez" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: posible remove ![CDATA[]] from validator-rules? Date: Wed, 26 Feb 2003 20:13:49 + Hi All, I am trying to implement

Re: jstl and collection sizes

2003-02-26 Thread David Graham
I've created a simple wrapper to get the exact size but if you just want to know if the collection has an item in it you can do this: ... David From: John Thorhauer <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]>

RE: Action without FormBean

2003-02-26 Thread David Graham
IMHO, using graphics for buttons is usually a bad idea. Users are used to seeing a normal button so they can visually find it faster. Also, I have more confidence in a site that uses normal submit buttons rather than graphics. With CSS capabilities you can customize submit buttons' look with

Re: [OT] database access philosophy

2003-02-26 Thread David Graham
I usually copy each row into a domain layer object like "Person" or "Account". That's probably too slow for a batch type application but it works fine for web applications. Alternatively you can use a RowSet which is disconnected from the database. David From: Kirby Vandivort <[EMAIL PROTE

Re: Action without FormBean

2003-02-26 Thread David Graham
must have a form bean. Form beans are the framework's way of dealing with forms. David From: "Chen, Gin" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Subject: Action without FormBean Date: Wed, 26 Feb 2003

RE: Netscape 4.7x and Struts performance problems

2003-02-26 Thread David Graham
Who said anything about IE only? I develop all my apps to the xhtml 1.0 spec as closely as possible. Like magic, they work in all the major browsers :-). David From: "scarter" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[E

Re: Database access using JSTL sql

2003-02-25 Thread David Graham
Yes, it is frowned upon to perform business logic in your view. You place objects in the request, session, or application scope for your jsp to display. David From: "Paul Pattison" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Mailing List (E-mail)

RE: Netscape 4.7x and Struts performance problems

2003-02-25 Thread David Graham
Then use mozilla. It's up to date with the standards, Netscape isn't. David From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RE: Netscape 4.7x and Struts performance problems Date: Tue, 25 Feb 2003 17:33:50 -0500 I have to disagre

RE: [NOT FIXED] WHAT IS SOLUTION TO VALIDATOR-RULES.XML remote dtd pr oblem?

2003-02-25 Thread David Graham
So did it work? Dave I just unplugged my power cord, but my results were a bit different. Could it be related? -- James "just kidding" Mitchell Software Engineer/Struts Evangelist > -Original Message- > From: David Graham [mailto:[EMAIL PROTECTED] > Sent: Tuesday,

Re: [NOT FIXED] WHAT IS SOLUTION TO VALIDATOR-RULES.XML remote dtd pr oblem?

2003-02-25 Thread David Graham
I just unplugged my network cable and got similar results. David From: "Peterkofsky, Don" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: [NOT FIXED] WHAT IS SOLUTION TO VALIDATOR-RULES.XML remote dtd pr oblem

Re: Resend: Overriding Action and super.execute

2003-02-25 Thread David Graham
> Calling super.anything() from a class will call the parent's implementation > of that method which may in turn call it's parent implementation and so on. > But only as long as *all* your method signatures match *exactly* ... If the signatures didn't match then it wouldn't be the same method.

Re: Netscape 4.7x and Struts performance problems

2003-02-25 Thread David Graham
You're probably not going to like my advice, but IMHO Netscape 4.x should be banished from the list of browsers supported by modern webapps. +1 _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=f

Re: Resend: Overriding Action and super.execute

2003-02-25 Thread David Graham
Calling super.anything() from a class will call the parent's implementation of that method which may in turn call it's parent implementation and so on. David From: "Rick Ashley" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Resend:

Re: Maps and Nested Properties problems

2003-02-25 Thread David Graham
I've never had any luck using indexed accessors. Try defining your accessors like public List getAddresses(){return addresses;} so that they accept and return the whole list. That's worked for me in the past. You could also use JSTL instead of the nested taglib. David From: "Mathias, Merl

Re: Reporting an Exception message in a JSP.

2003-02-25 Thread David Graham
Well, I would never show my user an error message from some low level system such as the database. If you really want them to see this info you could define a message key as anything={0} and substitute your SQL message. I highly discourage this but it's an option. David From: ROSSEL Oliv

RE: NPE, webapp broken after moving to 1.1-rc1

2003-02-24 Thread David Graham
Make sure you don't get the 2 Davids mixed up :-). I wrote about 4.1.18 and David Karr wrote the other suggestion. David *Graham* From: Wendy Smoak <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List&

RE: NPE, webapp broken after moving to 1.1-rc1

2003-02-24 Thread David Graham
What about 4.1.18? 4.1.20 isn't a release build so it's possible that it's a bug in the container. David From: Wendy Smoak <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: RE: NPE, webapp broken after mo

Re: ActionMapping enhancement?

2003-02-24 Thread David Graham
Default parameters that are contained in a url querystring get difficult to handle. It is nice to be able to change them in one place when needed. This avoids having to pillage through every page that may contain a reference to a partical url/querystring combo and adjust the parameters rather that

Re: NPE, webapp broken after moving to 1.1-rc1

2003-02-24 Thread David Graham
I noticed you're using the el tags so you must be using a Servlet 2.3 container. You don't have to copy tld files for 2.3. If you use the official uri listed in the tld to import the taglibs the container will find the tlds automatically. This isn't causing your NPE but it will save you depl

Re: handoff to ActionServlet question

2003-02-24 Thread David Graham
(unless it message bundle is retrieved by the taglib itself by use of the RequestUtils). That's probably what's happening. You could check the tag's code to see how it finds the messages. David _ Protect your PC - get McAfee.com V

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