Map-backed Forms and Struts Validator

2004-03-17 Thread Derek Richardson
. :( Struts 1.1. Uses Commons Validator 1.0.2. Is it possible to use the Struts validator to validate beans stored in a map-backed form? If so, does anyone have an example at-hand to send me? Thanks, Derek Richardson - To unsubscribe

[tiles] putList - adding, not replacing, elements

2003-11-26 Thread Derek Richardson
portal.portlet.dt, I want to see an attribute javascriptUrls with two values: /ajs1.jsp and /ajs2.jsp. Currently, I see only /ajs1.jsp. It seems that the putList in the child definition hides the parent list instead of adding to it. Is there a way to do this? Thanks, Derek Richardson

RE: [tiles] putList - adding, not replacing, elements

2003-11-26 Thread Derek Richardson
That's my conclusion as well. Does anyone have a workaround? I am looking at the 1.1 ga source, but the design seems opposed to modification by adding an attribute to putList to indicate add versus replace. Thanks, Derek Richardson -Original Message- From: Jeff Kyser [mailto

RE: ArrayList problem

2003-11-05 Thread Derek Richardson
Look at lazyList(): http://jakarta.apache.org/commons/collections/api/org/apache/commons/collections/ListUtils.html -Original Message- From: Jian Dai [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 3:40 PM To: Struts Users Mailing List Subject: RE: ArrayList problem If you

Serializing objects in session

2003-11-03 Thread Derek Richardson
Is everything that struts puts in session context serializable? I am beginning to investigate load-balancing on BEA and this seems to be the primary question. Thanks, Derek Richardson - To unsubscribe, e-mail: [EMAIL PROTECTED

Can we override in struts-config?

2003-10-15 Thread Derek Richardson
- it will be very useful if they can define their own struts config and selectively override elements of ours. Thanks, Derek Richardson Note: I would have marked this message UNIMPORTANT in the subject line, but then everyone might have skipped

OT: Managing Modifications to Struts

2003-10-13 Thread Derek Richardson
I am interested in how developers and organizations that modify Struts for their own use manage the upgrade process. Of course, one technique is to give your modifications back to the project so that they become part of the next release. But what if you don't?

RE: ugly ugly ugly

2003-10-10 Thread Derek Richardson
Is fmt:message a complete replacement for b:message? What do I have to know to use it? -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 4:35 PM To: Struts Users Mailing List Subject: Re: ugly ugly ugly ... That's what I would do except use

RE: ugly ugly ugly

2003-10-10 Thread Derek Richardson
Users Mailing List Subject: RE: ugly ugly ugly --- Derek Richardson [EMAIL PROTECTED] wrote: Is fmt:message a complete replacement for b:message? What do I have to know to use it? Yes. fmt:message is part of the JSTL http://java.sun.com/products/jsp/jstl/ David -Original Message

Sending a file for download and refreshing the page

2003-08-21 Thread Derek Richardson
a regular forward and a redirect, from my action and it seems that it is simply ignored. I tried setting onsubmit=window.close() on the form that starts the download, but then the download doesn't happen. I searched the archives, with no success. Any help is appreciated. Derek Richardson

Action Chaining and File Uploads

2003-07-29 Thread Derek Richardson
to maintain it before it can be incorporated. Thanks, Derek Richardson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Cloning Form Beans

2003-06-12 Thread Derek Richardson
Don't you mean required for immutable classes that are ***composed by*** other objects which are mutable? -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 1:39 PM To: Struts Users Mailing List Subject: Re: Cloning Form Beans Jerry

Tomcat jspc: ClassNotFoundException: org.apache.struts.util.PropertyMessageResource

2003-06-10 Thread Derek Richardson
had classloader problems that were resolved by 3.3 - and I'm on 4.1.24. Any ideas are appreciated - I have absolutely no clue. Derek Richardson java.lang.ClassNotFoundException: org.apache.struts.util.PropertyMessageResource sFactory at java.net.URLClassLoader$1.run(URLClassLoader.java

RE: Tomcat jspc: ClassNotFoundException: org.apache.struts.util.PropertyMessageResource

2003-06-10 Thread Derek Richardson
. Thanks, Derek Richardson [jasper2] java.lang.ClassNotFoundException: org.apache.struts.util.PropertyMes sageResourcesFactory [jasper2] at org.apache.tools.ant.AntClassLoader.findClassInComponents(Ant ClassLoader.java:1075) [jasper2] at org.apache.tools.ant.AntClassLoader.findClass

RE: [OT] Tomcat 4.0 and JSP page over 64k

2003-06-09 Thread Derek Richardson
Upgrade to 4.1.x. See the archives: http://marc.theaimsgroup.com/?l=struts-userm=105185073703624w=2 -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 7:19 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: [OT] Tomcat 4.0 and

Struts Logic iterate vs JSTL Code forEach

2003-06-05 Thread Derek Richardson
missing the boat. Can someone help me out and explain what cases require using iterate instead of forEach? If someone will enlighten me, I'll write it up and figure out how to submit a patch for the README.txt in the struts-el directory. :) Thanks, Derek Richardson

Struts Logic present and notPresent vs JSTL

2003-06-05 Thread Derek Richardson
and notPresent? Again, this seems like good info to go into the struts-el readme patch. Thanks, Derek Richardson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Struts Logic iterate vs JSTL Code forEach

2003-06-05 Thread Derek Richardson
on hold until after 1.1 final? Derek Richardson -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 5:41 PM To: Struts Users Mailing List Subject: RE: Struts Logic iterate vs JSTL Code forEach The iterate tag was originally ported because

RE: [beer] Possible Upcoming meeting topic

2003-05-31 Thread Derek Richardson
Hail Eris! -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 4:55 PM To: 'Struts Users Mailing List' Subject: RE: [beer] Possible Upcoming meeting topic Nope, it's the Church of the SubGenius (an offshoot of Discordianism).

RE: bean:write / HashMap

2003-04-04 Thread Derek Richardson
If can use the jstl, you can: c:out value=${myHash['NAME']} / It automagically encodes, as well. -Original Message- From: Rob King [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 2:28 PM To: Struts Users Mailing List Subject: bean:write / HashMap Hi, I have checked

RE: Is Sun promoting Struts??

2003-04-03 Thread Derek Richardson
not knowledgeable enough to say what is ready to be standardized and what is not. Craig is probably best to speak to this. Derek Richardson -Original Message- From: Mete Kural [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 10:29 AM To: Struts Users Mailing List Subject: Re

RE: BeanUtils ArrayIndexOutOfBoundsException on session timeout of form submit.

2003-04-01 Thread Derek Richardson
Handle the session time out with a filter? -Original Message- From: Ka-Wai Chan [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 4:26 PM To: [EMAIL PROTECTED] Subject: BeanUtils ArrayIndexOutOfBoundsException on session timeout of form submit. Hello I currently have

RE: Base Action Class

2003-04-01 Thread Derek Richardson
Instance variables in your actions classes are not thread-safe. :) Why not call getMySession from inside execute() and store it in a local variable? -Original Message- From: Johnny Rask [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 7:03 PM To: [EMAIL PROTECTED] Subject:

1.1rc1 html-el radio tag

2003-03-18 Thread Derek Richardson
I searched bugzilla and found nothing relevant. And I searched the archives for html-el radio and found nothing. Please tell me this is fixed in the current nightly build. Thanks, Derek Richardson - To unsubscribe, e-mail

RE: 1.1rc1 html-el radio tag

2003-03-18 Thread Derek Richardson
Unfortunately, I have the same problem with the most recent (3/18/2003) nightly build. Derek Richardson -Original Message- From: Derek Richardson Sent: Tuesday, March 18, 2003 4:54 PM To: Struts Users Mailing List Subject: 1.1rc1 html-el radio tag I am in the process of moving

RE: 1.1rc1 html-el radio tag

2003-03-18 Thread Derek Richardson
Bingo! Thanks. Derek Richardson -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 6:32 PM To: Struts Users Mailing List Subject: RE: 1.1rc1 html-el radio tag After you upgraded from 1.1b3 to 1.1rc1, did you clear out your web

RE: Losing the page context

2003-03-17 Thread Derek Richardson
The error message mentions bean element. Perhaps the problem is somewhere else on the page? Do you try to refer to a bean named element anywhere? Sounds like you may be doing an iterate somewhere? -Original Message- From: Karl Stenerud [mailto:[EMAIL PROTECTED] Sent: Monday, March

RE: Tiles and html-el

2003-03-12 Thread Derek Richardson
Try: t:importAttribute name=TARGET_PAGE / html-el:link page=${TARGET_PAGE}blah/html-el:link t being the prefix for the tiles taglib. Derek Richardson -Original Message- From: Sloan Seaman [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 2:14 PM To: Struts Users Mailing

RE: [ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-11 Thread Derek Richardson
I've got an idea that may be good for the model layer of your demo. I usually create implementations of my services that just use a class with one or more static maps for storing data. Downside, restart the app server and lose all your data. Upside, (1) it's a fast way to get going, (2)

RE: REPOST: Modules and ForwardAction - Struts Bug?

2003-03-04 Thread Derek Richardson
Thanks. I find this a surprising design, but it's good to know it's not a bug. I will continue to use my custom forward class that is *MODULE RELATIVE*. Good thing I never got around to putting it in bugzilla. ;) Derek Richardson -Original Message- From: Eddie Bush [mailto:[EMAIL

RE: is Component a reserved word?

2003-02-27 Thread Derek Richardson
A coworker claims this is a bug in reflection when used to introspect any class called Component - it always thinks it's java.awt.Component. YMMV. -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 3:38 PM To: 'Struts Users Mailing List'

RE: Passing parameters to Actions

2003-02-25 Thread Derek Richardson
parameter. Brandon's solution to subclass ActionMapping is probably the best (only reasonable?) alternative. Derek Richardson -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 2:33 PM To: Struts Users Mailing List Subject: RE: Passing

Modules and Default Resource Files

2003-02-20 Thread Derek Richardson
b:write tags, instead of the implicit use of the default file we've used until now. I'm expect there is a better way. Thanks, Derek Richardson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Modules and Default Resource Files

2003-02-20 Thread Derek Richardson
Is this question related to this bugzilla open late issue? 7892 Enh Oth Oth [EMAIL PROTECTED] RESO LATE Using Multiple Resource Bundles for an Application -Original Message- From: Derek Richardson Sent: Thursday, February 20, 2003 2:29 PM To: Struts Users Mailing List Subject

REPOST: Modules and ForwardAction - Struts Bug?

2003-02-20 Thread Derek Richardson
I am submitting this one more time for input before it goes into bugzilla. -Original Message- From: Derek Richardson Sent: Tuesday, February 18, 2003 4:28 PM To: Struts Users Mailing List Subject: Modules and ForwardAction Is there a known issue

Modules and ForwardAction

2003-02-18 Thread Derek Richardson
know if this has already been addressed in the nightly build or, if not, when it will be. Assuming that there is not a problem between chair and keyboard on my end. :) Thanks, Derek Richardson - To unsubscribe, e-mail: [EMAIL

RE: Tiles, Modules, and Multiple Definition Files

2003-02-18 Thread Derek Richardson
. Derek Richardson -Original Message- From: Derek Richardson Sent: Friday, February 14, 2003 7:52 PM To: Struts Users Mailing List Subject: Tiles, Modules, and Multiple Definition Files I am using 1.1b3. I have a default module and several explicit modules (say A and B

Modules and Frames

2003-02-14 Thread Derek Richardson
-config-dt.xml/param-value /init-param-- Let me know if there is any additional information I can provide to help you diagnose my problem. Thanks, Derek Richardson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Solved: Modules and Frames

2003-02-14 Thread Derek Richardson
. -Original Message- From: Derek Richardson Sent: Friday, February 14, 2003 3:49 PM To: Struts Users Mailing List Subject: Modules and Frames I have an application module running in frames. In some cases, the frames are nested to a depth of 4. All the src attributes

Tiles, Modules, and Multiple Definition Files

2003-02-14 Thread Derek Richardson
more about the details of this topic, but I think it would be a useful addition to the archives. Thanks, Derek Richardson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread Derek Richardson
Ted, will you give me your opinion on my post of Mon 1/27/2003 5:21 PM with a subject of RE: Two ActionForms colliding on property name? I am wondering whether you see my splitting of actions into post-actions and pre-actions as action relays or action chaining. To use the input attribute in

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-30 Thread Derek Richardson
But you still have to duplicate code in the actions, right? Even if that code is as simple as: Service service = Service.getService(SERVICE_KEY); Foo[] foos = service.getFoos(); request.setAttribute(FOO_KEY, foos); Action chaining allows this code to be written once and used many times. Thus

RE: How to have a generated string processed by Struts?

2003-01-29 Thread Derek Richardson
Something I've thought about but haven't tried - how about using composition to instantiate an instance of the Struts tag, populate its properties, capture its output, and then write that output to the stream? -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent:

Two ActionForms colliding on property name

2003-01-27 Thread Derek Richardson
, the string is found in place of the list, and I get BeanUtil.populate() errors. Any suggestions (other than changing the attribute names, which is a possibility, but not my preference)? Thanks, Derek Richardson Here's the error, if you're interested: type Exception report message

RE: Two ActionForms colliding on property name

2003-01-27 Thread Derek Richardson
asking is covered in depth somewhere else, a short summary and a clear citation that will let me find the resource is appreciated. Thanks, Derek Richardson -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 3:51 PM To: [EMAIL PROTECTED

Using subclasses of class specified in form-bean element

2002-11-22 Thread Derek Richardson
this or not. The Struts user guide and JavaDoc for ActionFormBean say that the type attribute contains the java class type for the form bean. I just find this somewhat ambiguous, given inheritance. Thanks, Derek Richardson -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Using subclasses of class specified in form-bean element

2002-11-22 Thread Derek Richardson
for best practices for coding wizards with Struts? Derek Richardson -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Struts Tip #5 - Use coarse-grained ActionForms

2002-10-22 Thread Derek Richardson
. I'll appreciate it if someone will explain what a form-bean is and how it identifies which ActionForm to use; sample code would be great. Derek Richardson -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help