Re: Entity Usage

2002-10-11 Thread Eddie Bush
I bet you're looking forward to using sub-apps in your next project. No? Joe Barefoot wrote: Our struts-config is about 6500 lines, and I consider that preferable to multiple files. I say just group things logically, and use comments to denote sections. Works for me. peace, Joe -- Eddie

tiles problem with findForward

2002-10-11 Thread Cagan Senturk
Hi, I am running struts-1.1-b2 on Weblogic 7, and am getting 404-Page not found as result of the following code: TileDefinitions.xml: tiles-definitions definition name=firstPageBaseDef path=/p3/layout/firstPageLayout.jsp some put elements here /definition !-- Portal First Page -- definition

RE: nested references and javascript

2002-10-11 Thread Arron Bates
or even... document.forms[myForm][foo.bar].value The .elements bit is optional. Arron. On Fri, 2002-10-11 at 15:23, Steve Widmar wrote: D'oh! (as in 'Doh yeah') no wonder it wasn't in the archives; well, it is now (or should be soon). Thanks, James. [EMAIL PROTECTED] 10/10/02

Error messages and ApplicationResources file

2002-10-11 Thread Heligon Sandra
I have a question about the location of the error messages. I don't use servlet engine authentication, I must make a connection to an back-end server that does authentication. The server can return exceptions because userName or password are not correct.

help with link rel=....

2002-10-11 Thread kiuma
hello, Can s1 tell me how to convert the following tag link rel=stylesheet href=/webapointments/css/common.css TYPE=text/css/ in something like html:link rel=stylesheet page=/css/common.css TYPE=text/css/?? I know that this is not the correct form ;-)! -- To unsubscribe, e-mail:

Re: [OT] Online Tutorial?

2002-10-11 Thread Brian Hickey
LOL! No no no. EMACS (nee TECO) rules.. :o) B - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, October 11, 2002 9:10 AM Subject: RE: [OT] Online Tutorial? I feel your pain. Linux rulez! Long live Star

RE: [OT] Online Tutorial?

2002-10-11 Thread Galbreath, Mark
Whimp! Everyone knows ed is the best! -Original Message- From: Brian Hickey [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 9:47 AM LOL! No no no. EMACS (nee TECO) rules.. :o) B - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing

RE: [OT] Online Tutorial?

2002-10-11 Thread Jacob Hookom
Eclipse lets you use emacs bindings :-) | -Original Message- | From: Brian Hickey [mailto:[EMAIL PROTECTED]] | Sent: Friday, October 11, 2002 8:47 AM | To: Struts Users Mailing List | Subject: Re: [OT] Online Tutorial? | | LOL! | | No no no. EMACS (nee TECO) rules.. :o) | | B | |

Re: Error message - not sure of meaning or significance.

2002-10-11 Thread Ryan Cuprak
Well, I have wrapped the offending page in a try catch with system.out.print but I still get the same darn exception and no output from my system.outs. So, back to digging... Those entries on standard error in the email are new though... (I think) -Ryan On Friday, October 11, 2002, at 09:40

RE: Error message - not sure of meaning or significance.

2002-10-11 Thread Andrew Hill
I usually enclose my actions code with try catch and shove in a ex.printStackTrace and then rethrow the exception again. Its a lot more helpful than the meaningless errors tomcat gives, and saves fooling round with log files. (At the end of development though such things should be removed!) Im a

RE: Error message - not sure of meaning or significance.

2002-10-11 Thread Galbreath, Mark
Don't have any knowledge on the stderr msgs, but sometimes debugging is a painful process of narrowing the offending code in a method or module with println statements. I know - been doing it for 2 days now trying to figure out why my resultset in conn = getConnection( isPooled ); stmt =

RE: About Paging

2002-10-11 Thread Galbreath, Mark
This exact problem was discussed about 2 weeks ago; have your searched the archive? Mark -Original Message- From: Kalaiselvan [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 1:42 AM Hii Craig, I have 1000 of records in my database. I want to show them in 10 per

RE: Settiing hidden fields (thru Javascript) Form Beans

2002-10-11 Thread Galbreath, Mark
Gee, with all that information, this should be real easy. Who wants to take a shot at writing a full tutorial on the html:hidden tag? Post the relevant code, dude. Mark -Original Message- From: bobby oberai [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 11:08 PM I m

RE: help with link rel=....

2002-10-11 Thread James Mitchell
There are many ways to do it, here's what I do. 1. Add this to your custom tag's tld: tag namestyleSheet/name tagclassorg.opentools.struts.taglib.StyleSheetTag/tagclass info Generate a stylesheet tag href - URI to stylesheet (example: '/style/style.css')

RE: Settiing hidden fields (thru Javascript) Form Beans

2002-10-11 Thread Galbreath, Mark
Wanna teach him HTML, too? ;-) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 11:20 PM To: Struts Users Mailing List Subject: RE: Settiing hidden fields (thru Javascript) Form Beans Strange, a hidden field should work just the same as

RE: Error message - not sure of meaning or significance.

2002-10-11 Thread Andrew Hill
Hehe, one of my rather complex (2000 line) classes was being a real pita a while back. I kept wrapping chuncks of code with more and more try catchs throwing nested exceptions with rather verbose and detailed messages. Now if you so much as sneeze at this class it will give you a 30 page stack

RE: date validation problem

2002-10-11 Thread Peggy Davidson
If you search the archive you will find that there was a patch applied shortly after the beta 2 release for the StrutsValidator Class. I resolved mine by downloading the latest struts.jar only and it fixed the problem just fine. Or, you can download the source file and fix the problem and

Re: [FRIDAY] The Legacy of Bacchus

2002-10-11 Thread Daniel Jaffa
I think that in my younger years that I was a normal on the scooter several nights a week. But what you did not mention was that occasionally that Hanger-Oners some time accompany one home which leads to WIYN (What is Your Name) and/Or WDW (We Did What) - Original Message - From:

RE: Settiing hidden fields (thru Javascript) Form Beans

2002-10-11 Thread Andrew Hill
Yeh, I was about to actually, and had composed a short 3500 word essay on the matter for him, but alas I was distracted and lost it before I had clicked the send button... ;-) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 20:18 To:

RE: date validation problem

2002-10-11 Thread Jerry Jalenak
Which nightly did you bring down? I had the same problem, brought down the 20021008 nightly, and still had the problem. Has the patch just been recently committed? Jerry -Original Message- From: Peggy Davidson [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 8:00 AM To:

Error message - not sure of meaning or significance.

2002-10-11 Thread Ryan Cuprak
Hello, Just curious if anyone knows what these errors are: 09:30:24,205 ERROR [STDERR] [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true 09:30:24,205 ERROR [STDERR] [INFO] PropertyMessageResources - -Initializing,

Extending DynaValidatorForm

2002-10-11 Thread Jan Fetyko
Hi all, I've got a little confusion going on. I wanted to extend the DynaValidatorForm like this : public class EditProd extends org.apache.struts.validator.DynaValidatorForm { private String cats; public String getCats() { return cats; } ... } In the

RE: Error message - not sure of meaning or significance.

2002-10-11 Thread Galbreath, Mark
Learn the mystical art of System.out.println(). :-( -Original Message- From: Ryan Cuprak [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 9:33 AM BTW: How do I get exception traces for servlet errors. I am trying to track down a servlet exception in one of my tiles - all I

RE: [FRIDAY] The Legacy of Bacchus

2002-10-11 Thread Galbreath, Mark
Yeah, forgot to mention the package of paper bags and suture supplies in the tool compartment (1-bagger, 2-bagger, 3-bagger, or coyote-ugly). -Original Message- From: Daniel Jaffa [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 9:04 AM I think that in my younger years that I

RE: Error message - not sure of meaning or significance.

2002-10-11 Thread Galbreath, Mark
Hey, you aren't a REAL programmer until you can debug an app by reading the hex in a core dump without a calculator! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 10:05 AM Hehe, one of my rather complex (2000 line) classes was being a

Re: Error message - not sure of meaning or significance.

2002-10-11 Thread Ryan Cuprak
Ok, I pegged down the problem, the tile I was referencing was 'loginBody.jsp' whereas the tiles:put used LoginBody.jsp. Normally, I try to avoid mismatch in case (cause of linux/unix platforms except MacOS X). What's interesting, is that this did not crop up until I tried running my code

RE: Error message - not sure of meaning or significance.

2002-10-11 Thread Darren Hill
If that's true .. I may be the biggest poser on the planet. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: October 11, 2002 10:16 AM To: 'Struts Users Mailing List' Subject: RE: Error message - not sure of meaning or significance. Hey, you aren't a REAL

RE: [OT] Online Tutorial?

2002-10-11 Thread Galbreath, Mark
I feel your pain. Linux rulez! Long live Star Office! Give me vi or give me death! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 8:57 AM Worse - Im using m$ outlook on a windoze box! -Original Message- From: Galbreath, Mark

RE: date validation problem

2002-10-11 Thread Peggy Davidson
It was the struts.jar from 10/5. Applying an entire nightly for me seemed to fix that issue but then I ran into other validation problems, so I reverted back to just the struts.jar which worked fine. Peggy T. Davidson TIKA Consulting, Inc. President Cell: 678-360-3346 Email: [EMAIL PROTECTED]

RE: [OT] Online Tutorial?

2002-10-11 Thread Andrew Hill
Worse - Im using m$ outlook on a windoze box! -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 20:48 To: 'Struts Users Mailing List' Subject: RE: [OT] Online Tutorial? Dog ate it? -Original Message- From: Andrew Hill

RE: [OT] Online Tutorial?

2002-10-11 Thread Galbreath, Mark
Dog ate it? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 8:26 AM Yeh, I was about to actually, and had composed a short 3500 word essay on the matter for him, but alas I was distracted and lost it before I had clicked the send button...

Re: [FRIDAY] The Legacy of Bacchus

2002-10-11 Thread Daniel Jaffa
true hanging Head, only one leg left, other is chewed off :( - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, October 11, 2002 9:09 AM Subject: RE: [FRIDAY] The Legacy of Bacchus Yeah, forgot to mention

OT: LDAP user add help

2002-10-11 Thread Pete Serafin
I am having some problems creating user accounts in my Struts application. I am trying to create accounts on an iPlanet 5.1 LDAP server and keep getting a SchemaViolationError. I have also in previous cases used the ldap admin dn and password when getting the inital context, but get the

RE: [OT] Real Programming

2002-10-11 Thread Galbreath, Mark
I always practice safe hex - wear latex gloves during keyboard intercourse. -Original Message- From: Darren Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 10:16 AM If that's true .. I may be the biggest poser on the planet. -Original Message- From: Galbreath,

RE: [OT] Real Programming

2002-10-11 Thread James Mitchell
Be sure your mouse is wearing a..wellyou know...*whispering*'raincoat'! James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 10:30 AM To: 'Struts

date validation problem

2002-10-11 Thread Nicolas Robert
Hello, I use struts validator to check if a date that's not required has a correct format. It's working fine, but if the user leave the date field empty and submit the form, Struts generate an invalide date format error. Here's the sample of my validator.xml file : ... field

OT : javascript revival?

2002-10-11 Thread Vincent Stoessel
Maybe because I've done mostly server side stuff but it seems to me that Javascript is more popular than ever. The mozilla project uses it with cool XUL for the interface. And now JSF and EL it seems to be creeping into my world. Ugh. I know the minimal amount of Javascript. What I want to

RE: OT : javascript revival?

2002-10-11 Thread Galbreath, Mark
Nothing wrong with having the O'Reilly book on your desktop :-) -Original Message- From: Vincent Stoessel [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 10:42 AM Maybe because I've done mostly server side stuff but it seems to me that Javascript is more popular than

RE: [OT] Real Programming

2002-10-11 Thread Galbreath, Mark
My mouse is a voyeur - Infrared:-) -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 10:34 AM Be sure your mouse is wearing a..wellyou know...*whispering*'raincoat'! James Mitchell Software Engineer/Struts Evangelist

RE: Error message - not sure of meaning or significance.

2002-10-11 Thread Xue-Feng Yang
Hi Galbreath, Which plateforms do you think a REAL programmer can read the hex in a core dump without a calculator? --- Galbreath, Mark [EMAIL PROTECTED] wrote: Hey, you aren't a REAL programmer until you can debug an app by reading the hex in a core dump without a calculator!

RE: OT : javascript revival?

2002-10-11 Thread Andrew Hill
Hehe. My rhino book is about 3 years out of date now. Had to look up whats changed on the net! Ive spent severalmany hours a couple of weeks ago reviving my JavaScript knowledge and learning the (marvellous) 'new' DOM stuff in ie5, ns6. Very useful. -Original Message- From: Galbreath,

RE: [OT] Real Programming

2002-10-11 Thread James Mitchell
Ya, mine too. Except mine is more like a Politician. Narrow vision and no balls. And with enough money, you can get one of your own!!! After all, we have the best government money can buy!!! James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -Original

Validator - How can I access a specific error

2002-10-11 Thread Developer
Before Validator I was able to do the following in the jsp: html:errors property=startDate/ in order to display an error messages which was added in the validate method the following way: errors.add(startDate, new ActionError(date.format.incorrect) With validator how do I access that

Re: [OT] : javascript revival?

2002-10-11 Thread David Graham
99% of the javascript I use has to do with validating form fields. You don't need to know every detail of it to use it well. If you want to spend most of your time coding front end gui stuff then you should know all that good dhtml stuff. In my experience this will consume your entire day

Use a page: initialisation in progress. Please wait

2002-10-11 Thread Heligon Sandra
I have some problems for the first page of my application. Before answering the first request of the first client, I must do initialisations (connections to an external application server) and inform the client if a problem occurs (the application server must be

Re: [OT] : javascript revival?

2002-10-11 Thread Michael Delamere
exactly! Perhaps, some javascript guru can tell me how to set the cursor back to the end of the text in an input field. Basically, I´m checking the entered value whenever someone types a letter into the input field, change it slightly and then assign the new string back to the input field. Now

Re: [OT] : javascript revival?

2002-10-11 Thread David Graham
My suggestion is to forget about Netscape 4.x because it's hopelessly out of date. 4.x users should know they're using an ancient browser and expect that some things won't work (wishful thinking I know). Dave From: Michael Delamere [EMAIL PROTECTED] Reply-To: Struts Users Mailing List

RE: [OT] : javascript revival?

2002-10-11 Thread Galbreath, Mark
Don't use 4.7 - we had to abandon it as a required browser because we found ourselves maintain two client-side code bases. It just wasn't worth the trouble. -Original Message- From: Michael Delamere [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 11:36 AM exactly! Perhaps,

Re: [OT] : javascript revival?

2002-10-11 Thread Michael Delamere
Unfortunately in my case it really is wishful thinking! I hate netscape 4.7.x!!! It´s always the same bl***y problem! Actually, I think it´s probably better just to switch the functionality off for netscape4.7.x users! It´s time they upated anyway! Unfortunately if customers insist upon

Re: [OT] Real Programming

2002-10-11 Thread Eddie Bush
James Mitchell wrote: Ya, mine too. Except mine is more like a Politician. Narrow vision and no balls. LOL - that is so *true* And with enough money, you can get one of your own!!! LOL :-) After all, we have the best government money can buy!!! James Mitchell Software Engineer/Struts

RE: bean:write data containing html tag?

2002-10-11 Thread Walter Fu
If a pre block is used, the condition as stated in 1 would not be satisfied: there will be no text wrap within a pre and the original paragraph comes out as a single wide line. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 7:57 PM To:

Really: [OT] :netscape 4.7x was javascript revival?

2002-10-11 Thread Vincent Stoessel
For the life of me, I cannot understand why people are using netscape 4.7 instead of netscape 7.x. I think netscape should think about releasing a version 4.8 for the old heads that looks like netscape 4.7 but is gecko based. Galbreath, Mark wrote: Don't use 4.7 - we had to abandon it as a

Re: Really: [OT] :netscape 4.7x was javascript revival?

2002-10-11 Thread David Graham
They use 4.x over 7 because 4 is faster, requires way less memory, and they don't feel like switching. They don't want to use IE (the better browser) because they hate microsoft or because Netscape was out first. Personally, Opera is the best browser I've used...Netscape is dead. Dave

RE: Struts Tag Request

2002-10-11 Thread Smith, Johnathan M.
Not what I am asking on the JSP (the HTML Form URL) I would like struts to insert the URI that display this JSP page -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 9:26 AM To: 'Struts Users Mailing List' Subject: RE: Struts Tag Request

Struts forms best practice

2002-10-11 Thread rainer juenger
Hi, I was wondering what the best data type for Struts ActionForm class is. According to the design I would say it should be the same as the data type in the application. (e.g. float) But then the associated form already comes with a 0 filed in the form. That's something I don't wont at all! As

Re: Extending DynaValidatorForm

2002-10-11 Thread Craig R. McClanahan
On Fri, 11 Oct 2002, Jan Fetyko wrote: Date: Fri, 11 Oct 2002 07:47:20 -0400 From: Jan Fetyko [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: struts [EMAIL PROTECTED] Subject: Extending DynaValidatorForm Hi all, I've got a little confusion going on. I

RE: Struts forms best practice

2002-10-11 Thread James Mitchell
No, Craig has mentioned this on several occasions. You are doing the right thing by using String. Craig wrote: Consider an integer property that (because of the limits of HTML) you render as a text input field. Now assume your user types 1a3 instead of 123 into the field. What

RE: Struts forms best practice

2002-10-11 Thread Chappell, Simon P
Rainer, A more elegant way? I think a mental re-org would help here. Papa Strut (Craig) has spoken many times on this matter before (check ou the archives to check that I'm not fibbing! :-) and has reminded us that the ActionForm's are a mere transport mechanism to/from the pages. Everything

Re: Really: [OT] :netscape 4.7x was javascript revival?

2002-10-11 Thread Eddie Bush
David Graham wrote: They use 4.x over 7 because 4 is faster, requires way less memory, and they don't feel like switching. They don't want to use IE (the better browser) because they hate microsoft or because Netscape was out first. Personally, Opera is the best browser I've

Re: OT : javascript revival?

2002-10-11 Thread Craig R. McClanahan
On Fri, 11 Oct 2002, Vincent Stoessel wrote: Date: Fri, 11 Oct 2002 10:42:28 -0400 From: Vincent Stoessel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users [EMAIL PROTECTED] Subject: OT : javascript revival? Maybe because I've done mostly server side

RE: Struts Tag Request

2002-10-11 Thread Craig R. McClanahan
On Fri, 11 Oct 2002, Smith, Johnathan M. wrote: Not what I am asking on the JSP (the HTML Form URL) I would like struts to insert the URI that display this JSP page The only way to do that would be to make all of your forwards do redirects instead. This has two nasty consequences --

Re: Struts forms best practice

2002-10-11 Thread Craig R. McClanahan
On Fri, 11 Oct 2002, rainer juenger wrote: Date: Fri, 11 Oct 2002 18:38:40 +0200 From: rainer juenger [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Struts forms best practice Hi, I was wondering what the best data type for

RE: Struts Tag Request

2002-10-11 Thread Darren Hill
Clever. I'm gonna try that. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: October 11, 2002 12:58 PM To: Struts Users Mailing List Cc: 'Jon.Ridgway' Subject: RE: Struts Tag Request On Fri, 11 Oct 2002, Smith, Johnathan M. wrote: Not what I am asking

RE: Struts Tag Request

2002-10-11 Thread Chappell, Simon P
We go one better than that in our app ... we use a thin client and force the browser to run in Kiosk style, i.e full screen and no OS taskbar visible. (We don't give them a mouse or a keyboard either, all input is by scanner and a touch screen ... it's amazing what Struts can be forced to do

RE: Struts forms best practice

2002-10-11 Thread Andy Kriger
Does this mean that you will have an ActionForm with String fields and a ModelBean that basically has all the same fields but with the correct types? And that ModelBean is passed around the struts framework? If so, how do folks reduce code duplication between the utility ActionForm and the data

RE: Struts forms best practice

2002-10-11 Thread Chappell, Simon P
We used Formatter objects to create the String output necessary for displaying. And all our model objects can receive Strings in their constructors and many of their setter methods. Simon - Simon P. Chappell

RE: Struts Tag Request

2002-10-11 Thread Wendy Smoak
Johnathan wrote: Not what I am asking on the JSP (the HTML Form URL) I would like struts to insert the URI that display this JSP page If I understand you correctly, you want this: html:form action= where is something that evaluates to the URI that got you to the JSP. I'd love to

RE: Struts Tag Request

2002-10-11 Thread David Graham
I'm not sure I agree with training users that the url is meaningless. This goes against everything people know about browsing. They use urls for bookmarks, look at the list in there address bar for one they recognize, etc. You could train internal people but for internet sites this seems

Re: Really: [OT] :netscape 4.7x was javascript revival?

2002-10-11 Thread David Graham
I tried Mozilla on Linux and liked it pretty well. I was impressed by the level of javascript options. However, I've come to love Opera so that's what I use all the time now. IE is behind the times as well with no tabbed browsing, no fine grained js disabling. Another reason not to use

Re[2]: Struts forms best practice

2002-10-11 Thread Rick Reumann
On Friday, October 11, 2002, 12:59:31 PM, Craig wrote: CRM Form bean properties should generally be Strings, so that you can CRM redisplay whatever the user actually typed. Do your conversions in the CRM Action after validation is complete -- in 1.1b2 and later, you can use CRM

AW: Struts forms best practice

2002-10-11 Thread rainer juenger
Hi Craig, Simon and James, thanks! Rainer -Ursprungliche Nachricht- Von: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 11. Oktober 2002 19:00 An: Struts Users Mailing List Betreff: Re: Struts forms best practice On Fri, 11 Oct 2002, rainer juenger wrote: Date:

AW: Struts forms best practice

2002-10-11 Thread rainer juenger
Hi Simon, 1)are your Formatter objects something like helpers to format the output? 2)so you have a setter for like: public void setMyValue (String myValue) public void setMyValue (float myValue) ? Rainer -Ursprüngliche Nachricht- Von: Chappell, Simon P [mailto:[EMAIL PROTECTED]]

Re: Really: [OT] :netscape 4.7x was javascript revival?

2002-10-11 Thread Vincent Stoessel
David Graham wrote: They use 4.x over 7 because 4 is faster, requires way less memory, and they don't feel like switching. They don't want to use IE (the better browser) because they hate microsoft or because Netscape was out first. Personally, Opera is the best browser I've

RE: Struts forms best practice

2002-10-11 Thread Chappell, Simon P
Rainer Hi Simon, 1)are your Formatter objects something like helpers to format the output? Yes. Specifically written for Struts compatible formatting. They are only called from within Actions, so the core application is still protected from ever having to know about Struts. 2)so you have a

Re: Struts forms best practice

2002-10-11 Thread Vincent Stoessel
In the past, before using the copyProperties methods, I used a helper class to do the conversions which I liked, but using BeanUtils (and PropertyUtils) is much quicker. How do you suggest getting Dates in the proper format between form beans and model layer

Re: Struts forms best practice

2002-10-11 Thread Eddie Bush
That is a commons toy :-) The Struts code-base has examples of usage in it though. The basics are quite easy: BeanUtils.copyProperties(dstBean, srcBean); If both the source and destination are of the same time (or, at least, have the same signatures on their getters/setters) you may

Re[2]: Struts forms best practice

2002-10-11 Thread Craig R. McClanahan
On Fri, 11 Oct 2002, Rick Reumann wrote: Date: Fri, 11 Oct 2002 13:24:40 -0400 From: Rick Reumann [EMAIL PROTECTED] To: Craig R. McClanahan [EMAIL PROTECTED] Cc: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re[2]: Struts forms best practice On Friday, October 11, 2002,

Does every html form need an ActionForm?

2002-10-11 Thread Wendy Smoak
I'm not really sure how to design this, so I'm just playing around. And now I've broken it. What I need: ContactForm/contact.jsp has a text field, user types in a a name ResolveNameAction talks to the database, gets a list of names resolution.jsp presents the names-- as an html form w/

Re[3]: Struts forms best practice

2002-10-11 Thread Rick Reumann
On Friday, October 11, 2002, 2:02:11 PM, Craig wrote: CRM * Form bean property is a String. SNIP CRM * Value/DTO objects would use the native data types CRM (java.util.Date in this case). Property name would CRM be the same birthDate. SNIP CRM * Either use a copyProperties method or

RE: Struts forms best practice

2002-10-11 Thread Craig R. McClanahan
On Fri, 11 Oct 2002, Andy Kriger wrote: Date: Fri, 11 Oct 2002 13:06:30 -0400 From: Andy Kriger [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts forms best practice Does this mean that you will

RE: Struts Tag Request

2002-10-11 Thread Craig R. McClanahan
On Fri, 11 Oct 2002, Wendy Smoak wrote: Date: Fri, 11 Oct 2002 10:09:15 -0700 From: Wendy Smoak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Struts Tag Request Johnathan wrote: Not what I am

RE: Radio buttons inside an iterate tag?

2002-10-11 Thread Wendy Smoak
I wrote: Finally! This works: logic:iterate id=resView name=foundPersons type=edu.asu.vpia.value.ResolutionView html:radio name=resView property=key value=%=resView.getKey()%/ It turns into: input type=radio name=key value=0123456 Thought I'd follow up on this one since there

RE: Struts Tag Request

2002-10-11 Thread Craig R. McClanahan
On Fri, 11 Oct 2002, David Graham wrote: Date: Fri, 11 Oct 2002 11:15:06 -0600 From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Struts Tag Request I'm not sure I agree with training users that the url is

Re: Struts forms best practice

2002-10-11 Thread Craig R. McClanahan
On Fri, 11 Oct 2002, Vincent Stoessel wrote: Date: Fri, 11 Oct 2002 13:51:22 -0400 From: Vincent Stoessel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Struts forms best practice In the past,

FW: Forwarding Back to one Of Many Pages

2002-10-11 Thread Cohan, Sean
No takers on this one??? -Original Message- From: Cohan, Sean [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 4:48 PM To: 'Struts Users Mailing List' Subject: Forwarding Back to one Of Many Pages I'm sure this has been asked before. Several pages can link or forward to my

Re: Struts forms best practice

2002-10-11 Thread Craig R. McClanahan
On Fri, 11 Oct 2002, Eddie Bush wrote: Date: Fri, 11 Oct 2002 12:58:17 -0500 From: Eddie Bush [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Struts forms best practice That is a commons toy :-) The

RE: Struts Tag Request

2002-10-11 Thread Chappell, Simon P
(even if you don't show the back button, you still have to worry abou the keyboard equivalents). friday Not if you don't give them a keyboard! :-) /friday Craig Simon - Simon P. Chappell [EMAIL PROTECTED] Java

RE: Struts Tag Request

2002-10-11 Thread David Graham
You're right, I did mistake the web app. with a web site. I agree with you on the ui needing to be done well enough that the app. user doesn't have to use the browser controls much. However, many organizations demand that all web apps follow the company look and feel leaving you at the mercy

RE: Radio buttons inside an iterate tag?

2002-10-11 Thread Kris Schneider
Wendy, This is what I was getting at in my previous reply. The property attribute of the radio tag should correspond to a property of your form, not a property of the beans in the collection you're iterating through. By the way, 1.1 introduced an idName attribue on the radio tag that might be

RE: Forwarding Back to one Of Many Pages

2002-10-11 Thread James Mitchell
-Original Message- From: Cohan, Sean [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 2:48 PM To: '[EMAIL PROTECTED]' Subject: FW: Forwarding Back to one Of Many Pages No takers on this one??? -Original Message- From: Cohan, Sean [mailto:[EMAIL PROTECTED]]

RE: Forwarding Back to one Of Many Pages

2002-10-11 Thread Chappell, Simon P
It's Friday afternoon man! Even Mark isn't thinking about Struts over there in Blighty, most likely nursing a warm beer. ;-) A way of knowing where you came from, is to pass a parameter called url that has the value of the page where you came from. But, I want to STRONGLY DISCOURAGE you from

Re: Struts forms best practice

2002-10-11 Thread micael
This was useful information to me. I never have used Javadocs much because I prefer to look at the source code. But, if there is overview information there, that would be very helpful. Just giving a little feedback from someone trying to get the way it works. I seem to learn better from

RE: Struts Tag Request

2002-10-11 Thread Dan Cancro
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 11:42 AM To: Struts Users Mailing List Subject: RE: Struts Tag Request ... IMHO, if your users find that they can't use your webapp effectively based on the UI controls

[FRIDAY] Quote of the Day

2002-10-11 Thread Jacob Hookom
There are 10 kinds of people in this world, those who understand binary and those who don't -Bubba -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [OT][WORKFLOW] Any best practice for back, save, continu e buttons?

2002-10-11 Thread Stefan Hoehn
Hi Mark, have you got an example how you solved that with JavaScript? Anywhere where I can look it up? I did it once by counting with javascript if I have been on the same page for the second time and refresh the page automatically, so the front controller can manage to push me to the right

RE: Radio buttons inside an iterate tag?

2002-10-11 Thread Wendy Smoak
This is what I was getting at in my previous reply. The property attribute of the radio tag should correspond to a property of your form, not a property of the beans in the collection you're iterating through. But there *is* no form. To clarify, there is an html form tag, but NOT a Struts

Re[3]: Struts forms best practice

2002-10-11 Thread Craig R. McClanahan
On Fri, 11 Oct 2002, Rick Reumann wrote: Date: Fri, 11 Oct 2002 14:17:19 -0400 From: Rick Reumann [EMAIL PROTECTED] To: Craig R. McClanahan [EMAIL PROTECTED] Cc: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re[3]: Struts forms best practice On Friday, October 11, 2002, 2:02:11

RE: Struts Tag Request

2002-10-11 Thread Wendy Smoak
Wendy wrote: I'd love to see this answered as well-- I'm doing a name resolution screen that I would like to reuse all over the place. I need to be able to get back to exactly where I came from. Craig replied: One challenge here is that the action attribute's value is used to determine

RE: [FRIDAY] Quote of the Day

2002-10-11 Thread Wendy Smoak
Jacob wrote: There are 10 kinds of people in this world, those who understand binary and those who don't This has been pinned to my cubicle wall for a month or so, and I enjoy watching people walk up, read it, and then either smile and laugh or frown at it and walk away. -- Wendy

ResourceBundle

2002-10-11 Thread Cagan Senturk
I am trying to test some basic multi-language functionality with struts. I have an action class that sets the locale in its perform method in the following way: session.setAttribute(Action.LOCALE_KEY, Locale.FRENCH); and I have the resourcebundles: ApplicationResources.properties,

  1   2   >