Validator Indexed Properties

2003-03-14 Thread Jim Krygowski
Hey All- I can't seem to get the validation.xml file configured correctly so that I can validate indexed properties. I've done a bunch of Mailing List/Google searches and come up dry. I've tried to configure it as suggested by D. Winterfeldt and P. Ginnaram, but neither approach worked. I

RE: [OT] Simulating Concurrent Users

2003-03-06 Thread Jim Krygowski
* on NT x but u can use it to stress anything i think.. and apparently its pretty simple to use. http://www.microsoft.com/technet/treeview/default.asp?url=/tec hnet/itsolutio ns/intranet/downloads/webstres.asp -Original Message- From: Jim Krygowski [mailto

RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Jim Krygowski
Does JMeter fit the bill? http://jakarta.apache.org/jmeter/index.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 2:20 PM To: [EMAIL PROTECTED] Subject: [OT] Simulating Concurrent Users Hi, Is there some open

Validator and Nested Tags

2003-02-19 Thread Jim Krygowski
A few folks posted here in the past regarding the use of the Validator and JSP pages generated using Nested Tags: Colin Hawkett: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg52063.html Thomas Gigen: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg33151.html In each

RE: [Q] Is Struts use of BeanUtils and PropertyUtils inconsistent?

2003-02-17 Thread Jim Krygowski
Hi Craig- thanks for the reply. You mention that: The conversions on form submit are required because HTTP request parameters are all strings. which I understood perfectly well. I also understand that, in order for that conversion to work for things like date, a common format must used

RE: Struts Design (best practices)

2003-02-14 Thread Jim Krygowski
Hi Jason- The whole struts cycle starts out when the ActionServlet receives a request. It in turn determines (based on the struts-config.xml action mappings) which action class and action form are responsible for handling the request. The action class processes the request via invoking a

[Q] Is Struts use of BeanUtils and PropertyUtils inconsistent?

2003-02-14 Thread Jim Krygowski
Hi- I noticed that when a request is processed by RequestUtils and its values are copied into an ActionForm, Struts uses the BeanUtils class. Deep inside BeanUtils, the method for copying (getSimpleProperty) uses ConvertUtils's convert() method before returning the requested value. However, all

RE: [OT - Java] Need a recommendation on a Design Pattern class

2003-02-11 Thread Jim Krygowski
You might want to peruse the discussion forums on theserverside before signing up for a middleware company class. I can't provide links, but I do recall posts on theserverside that were critical of the middleware company and its courses. As in all things, and especially with online forms, caveat

New BeanUtil 1.6/ConvertUtils/Date Format/toString()

2003-01-23 Thread Jim Krygowski
Hi All- A little while ago someone on this list emailed me directly with a question and I didn't have the answer he wanted. In the intervening days, I lost this person's email, so I'm going to post to the list hoping that he will get this message. You asked me how one could use Rick Reumann

RE: M - V - C components

2003-01-21 Thread Jim Krygowski
Hi Guido- You should think of the ActionForm as the data transfer helper that is used to get the data you want to render from the model to the view. The ActionForm's structure is really going to be dictated by your view layout so it seems natural to think of it as part of the view. The Actions

ConvertUtils, Null Integers

2003-01-07 Thread Jim Krygowski
Hi- This might be a question to Craig specifically, but I'd appreciate hearing from anyone with experience. I noticed that the ConvertUtils instructs IntegerConverter to create Integer objects with the default value of 0 when it can't convert what it receives into a proper Integer. The

java.util.Dates and Struts

2002-12-23 Thread Jim Krygowski
I've been chatting with Rick Reumann, author of the very nice DateBeanUtilsConverter solution to dealing with java.util.Dates within Struts (and by extension BeanUtils). I'm broadening the discussion to the struts group because I'd like to bounce my observations off of a wider audience. The

RE: java.util.Dates and Struts

2002-12-23 Thread Jim Krygowski
is not formatted. jk -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 3:07 PM Cc: [EMAIL PROTECTED] Subject: Re: java.util.Dates and Struts On Mon, 23 Dec 2002 11:49:04 -0500 Jim Krygowski [EMAIL PROTECTED] wrote: This is my test

RE: java.util.Dates and Struts

2002-12-23 Thread Jim Krygowski
that I render using the nested tags. It'd be really painful to come up with a parallel set of ValueObjects that have Strings instead of Dates. Is there any way to get formatted Dates from the html:text and like tags or am I stuck? -Original Message- From: Jim Krygowski [mailto:[EMAIL

RE: java.util.Dates and Struts

2002-12-23 Thread Jim Krygowski
: java.util.Dates and Struts On Mon, 23 Dec 2002 12:32:13 -0500 Jim Krygowski [EMAIL PROTECTED] wrote: It seems like the only way things work out properly in the rendering phase is to have a ValueObject that contains the Date properties and an ActionForm that has a String for each Date

RE: java.util.Dates and Struts

2002-12-23 Thread Jim Krygowski
Jim Krygowski [EMAIL PROTECTED] wrote: As regards the tags, I would like to render an html input type=text. As far as I know, you can't nest tags so... html:text name=myForm property=myDate value=fmt:formatDate pattern=MM/dd/yy value=${element.yourDate}// ...won't work. I'm

Page scope bean and nested:iterate

2002-12-13 Thread Jim Krygowski
Hi- I'm using nested:iterate and have not been successful in using the id attribute of the iterate tag. The documentation for nested:iterate is just the documentation for logic:iterate so I would imagine that nested:iterate should support id. I have some code like where theBean is the source of

RE: Page scope bean and nested:iterate

2002-12-13 Thread Jim Krygowski
changing the nested:write property=name/ to %=element.getName()% If 'element' is null, *that* should blow up too. I am puzzled as to how the bean at element can be null. Sorry if this didn't help any bit. Sri -Original Message- From: Jim Krygowski [mailto:[EMAIL PROTECTED

RE: Remove browser toolbars 'n' such.

2002-12-02 Thread Jim Krygowski
Darren, we use something like this: %-- Begin JavaScript Section to open a new window --% SCRIPT language=JavaScript1.1 function module_window(url) { var str = left=0,screenX=0,top=0,screenY=0,resizable=yes,scrollbars=yes; if (window.screen) { var

RE: Re: struggling with indexed/repeating input fields

2002-11-19 Thread Jim Krygowski
Leo, I don't know if this will help, but we experienced a similar issue. I do believe you are right: it is an artifact of a Request scoped ActionForm. Our solution was to modify the indexed getters and setters so that they automatically sized the the internal array list representation upon

RE: Trouble with DynaActionForm and indexed properties

2002-11-15 Thread Jim Krygowski
Hi Christoph, Your problem sounds similar to an issue I'm having with an ActionForm and an indexed property. I only encountered the problem after upgrading a working application to JDK 1.4.1. Which JDK are you using? -Original Message- From: Christoph Kulla

IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1

2002-11-14 Thread Jim Krygowski
Hi all- we have an application originally written to struts 1.1b2 and J2SDK 1.3.1_03 that was working fine. Recently, we've been given the signal to upgrade to J2SDK 1.4.1. Fine, but now we're finding that our form posts are failing with IndexOutOfBoundsException. I've traced through the

RE: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1

2002-11-14 Thread Jim Krygowski
in the IndexOutOfBoundsException. This seems like a 1.4.1 induced bug. Should I log it in Bugzilla? Has anyone else seen this bug? -Original Message- From: Jim Krygowski [mailto:james.krygowski;shaws.com] Sent: Thursday, November 14, 2002 11:32 AM To: Struts Users Mailing List

RE: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1

2002-11-14 Thread Jim Krygowski
Subject: RE: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1 Step through the getPropertyDescriptor() method, which is called just before that check. That's what makes the decision on what type to return. What is the value of name? -Original Message- From: Jim Krygowski

RE: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1

2002-11-14 Thread Jim Krygowski
was displaySections[number] then you should get an IndexedPropertyDescriptor, otherwise a PropertyDescriptor. -Original Message- From: Jim Krygowski [mailto:james.krygowski;shaws.com] As you suggested I delved into getDisplaySections. I found that my name value

RE: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1

2002-11-14 Thread Jim Krygowski
source, see what they did and email the developers directly. dz -Original Message- From: Jim Krygowski [mailto:james.krygowski;shaws.com] Sent: Thursday, November 14, 2002 2:49 PM To: Struts Users Mailing List Subject: RE: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1 The usage