RE: Cannot initialize RequestProcessor

2004-03-17 Thread Anderson, James H [IT]
It has to extend TilesRequestProcessor, not RequestProcessor. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 7:20 AM To: [EMAIL PROTECTED] Subject: Cannot initialize RequestProcessor Hello All, We have written a class

RE: server side date validation

2004-03-15 Thread Anderson, James H [IT]
formset form name=ActivityViewForm field property=starting depends=date arg0 key=ActivityViewForm.starting.displayname/ var var-namedatePatternStrict/var-name var-valueMM/dd//var-value /var

[OT] 2 JSF questions

2004-03-12 Thread Anderson, James H [IT]
1) Since JSF is written in Java, why does Sun have 3 different download available, Windows, Solaris, Linux? 2) Would any of those work for Mac OS X? Thanks, jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [OT] 2 JSF questions

2004-03-12 Thread Anderson, James H [IT]
-11-2003/jw-1114-jsfredux-p2.html the last to pics looks like mac but it is not a sample for the RI it is form Early Access4 (old) :-) Cheers! -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 7:30 PM To: [EMAIL PROTECTED] Subject: [OT

RE: Struts in Action: 12.10.1 Multipage validations

2004-03-11 Thread Anderson, James H [IT]
I'm not guaranteeing that this is the best way to do it, but it works for me ;-) validator name=date1LEdate2 classname=portfolio.CustomValidators method=date1LEdate2 methodParams=java.lang.Object,

RE: Suggestion needed on good Struts book

2004-03-08 Thread Anderson, James H [IT]
IMHO, Struts in Action is the best, given the caveat that it's rather dated. Combine it with Professional Jakarta Struts and you should be in good shape. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, March 07, 2004 2:38 PM To: [EMAIL PROTECTED]

RE: splitting struts-config into multiple files

2004-03-02 Thread Anderson, James H [IT]
Nadeem, I think I didn't read your reply carefully enough. Are you saying that I could maintain global-forwards.xml somewhere on the filesystem outside the app and xdoclet could be setup to merge it with struts-config.xml? jim -Original Message- From: Nadeem Bitar [mailto:[EMAIL

RE: Tiles problem

2004-03-02 Thread Anderson, James H [IT]
To: Struts Users Mailing List Subject: Re: Tiles problem put name=foo value=${bar} type=string/definition/page / On 2 Mar 2004, at 22:15, Anderson, James H [IT] wrote: There's something I'm not understanding :-( I've got the following tiles definitions. definition name=.mainLayout path=/tiles

custom validator question

2004-02-26 Thread Anderson, James H [IT]
I'm creating a custom validator to enforce a = relationship between 2 date fields and am having a problem. A validator method gets a Field arg for the field with which it's associated in validation.xml, but I need to also get the Field object for the other date field. I need this so that I can

RE: custom validator question

2004-02-26 Thread Anderson, James H [IT]
(datePattern); String compareDateProperty = field.getVarValue(compareDate); String compareDate = ValidatorUtils.getValueAsString(bean, compareDateProperty); Niall - Original Message - From: Anderson, James H [IT] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 26, 2004

RE: custom validator question

2004-02-26 Thread Anderson, James H [IT]
, James H [IT] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 26, 2004 2:54 PM Subject: custom validator question I'm creating a custom validator to enforce a = relationship between 2 date fields and am having a problem. A validator method gets a Field arg for the field

RE: Common Services across Different Actions.

2004-02-25 Thread Anderson, James H [IT]
Could you provide a little more detail? Thanks, jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 10:54 AM To: Struts Users Mailing List Subject: Re: Common Services across Different Actions. I like to use a ServiceLocater

RE: How to create a No Action ActionForward for return from an Action's execute() ?

2004-02-19 Thread Anderson, James H [IT]
How would you forward the user to the login page? The processPreprocess() method returns true or false. -Original Message- From: Brad Balmer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 1:47 PM To: Struts Users Mailing List Subject: Re: How to create a No Action

RE: client-side validation not working

2004-02-14 Thread Anderson, James H [IT]
- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 3:29 PM To: Struts Users Mailing List Subject: RE: client-side validation not working Struts 1.1 -Original Message- From: Saul Q Yuan [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 11:25 AM

RE: client-side validation not working

2004-02-14 Thread Anderson, James H [IT]
] Sent: Friday, February 13, 2004 4:17 PM To: 'Struts Users Mailing List' Subject: RE: client-side validation not working So, did you find the validateDate function, and was it called? -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 3

client-side validation not working

2004-02-13 Thread Anderson, James H [IT]
Server-side validation is working fine, but I can't seem to get client-side working. I know I must be doing something wrong, but I can't figure out what it is :-( Here's a bit of the tile that uses validation: %@ taglib uri=/tags/struts-bean prefix=bean % %@ taglib uri=/tags/struts-html

RE: client-side validation not working

2004-02-13 Thread Anderson, James H [IT]
. html:submitSave/html:submit Niall - Original Message - From: Anderson, James H [IT] [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 13, 2004 2:23 PM Subject: client-side validation not working Server-side validation is working fine, but I

RE: client-side validation not working

2004-02-13 Thread Anderson, James H [IT]
Niall - Original Message - From: Anderson, James H [IT] [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 13, 2004 2:23 PM Subject: client-side validation not working Server-side validation is working fine, but I can't seem to get client-side

RE: Ben Janes/MaerskDataSverige/MDG is away from the office until 19-02-2004

2004-02-13 Thread Anderson, James H [IT]
Yep, I've been getting them since this morning. -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 12:13 PM To: Struts User Jakarta Subject: Re: Ben Janes/MaerskDataSverige/MDG is away from the office until 19-02-2004 I keep getting these

RE: client-side validation not working

2004-02-13 Thread Anderson, James H [IT]
file and see if the function is called. BTW, what version of Struts you are using? Saul -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 10:12 AM To: Struts Users Mailing List Subject: RE: client-side validation not working To test

RE: client-side validation not working

2004-02-13 Thread Anderson, James H [IT]
action=/SelectActivity onsubmit=return validateActivityViewForm(this); Niall - Original Message - From: Anderson, James H [IT] [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 13, 2004 3:11 PM Subject: RE: client-side validation not working

question regarding dynamic Tile capability

2004-02-11 Thread Anderson, James H [IT]
We want to display different tiles, depending on the characterics of a logged-in user. In other words, some users would see one tile, others another. Is this possible? If so, could someone please send me a short code sample? Thanks very much, jim

Is there an INCLUDE feature that works with struts-config?

2004-02-02 Thread Anderson, James H [IT]
We will have many related Struts apps that require identical entries in struts-config, so I'm wondering if there's a way to define common sets of entries and then include them in the config file for each of the apps. Thanks, jim

RE: Is there an INCLUDE feature that works with struts-config?

2004-02-02 Thread Anderson, James H [IT]
shared XML. If you're worried about duplication, you can have the shared config in one location and have your build process copy it from there. Just an idea. - Hubert --- Anderson, James H [IT] [EMAIL PROTECTED] wrote: We will have many related Struts apps that require identical entries

Best Practices question

2004-01-27 Thread Anderson, James H [IT]
What is considered the best way for a business bean to handle errors so that they eventually get to ActionErrors? And what about business logging? Thanks, jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Best Practices question

2004-01-27 Thread Anderson, James H [IT]
/tutorials/excep_struts/index-7.html -Richard -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 5:31 AM To: Struts Users Mailing List Subject: Best Practices question What is considered the best way for a business bean to handle errors so

Where is struts-scaffold.jar?

2004-01-26 Thread Anderson, James H [IT]
What am I missing? It's not in the Struts 1.1 distribution, and I haven't been able to find it anywhere. jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Where is struts-scaffold.jar?

2004-01-26 Thread Anderson, James H [IT]
/showfiles.php?group_id=49385 Rick Hightower Developer Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm Struts/J2EE consulting -- http://www.arc-mind.com/consulting.htm#StrutsMentoring -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: Monday

beginner's html:options question

2004-01-20 Thread Anderson, James H [IT]
I have a collection of LabelValueBeans as a property of another bean (an Action), and I store this bean in session scope with preparedData as the key. But when I try and access it using html:option, I get the following error: Cannot find bean preparedData in any scope Here's

Is it possible to nest Tiles layouts?

2004-01-09 Thread Anderson, James H [IT]
For example, I'd like to be able to reformat the content tile into a number of different layouts... Thanks, jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Is it possible to nest Tiles layouts?

2004-01-09 Thread Anderson, James H [IT]
/classicLayout.jsp put name=title value=Tiles 1.1 Dynamic Portal Example / put name=header value=/tiles/header.jsp / put name=menu value=common.pagina.menu / put name=footer value=/tiles/footer.jsp / put name=body value=/tiles/body.jsp / /definition Regards --- Anderson, James H [IT] [EMAIL

RE: Is it possible to nest Tiles layouts?

2004-01-09 Thread Anderson, James H [IT]
Subject: RE: Is it possible to nest Tiles layouts? Yes - can you be more specific - give an example of what you are trying to do? Cal www.calandva.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anderson, James H [IT] Sent: Friday, January 09, 2004 12:09 PM

RE: Is it possible to nest Tiles layouts?

2004-01-09 Thread Anderson, James H [IT]
: http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf Cal www.calandva.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anderson, James H [IT] Sent: Friday, January 09, 2004 3:05 PM To: 'Struts Users Mailing List' Subject: RE: Is it possible

Dynamic Tiles?

2004-01-08 Thread Anderson, James H [IT]
I'm wondering if Tiles provides support for choosing a Tile dynamically, i.e., programatically at runtime. Our business users have the capability to not only modify include files, but to create new include file directories based on client defined data. We're looking for a way to support this in

RE: Dynamic Tiles?

2004-01-08 Thread Anderson, James H [IT]
type=page / /definition but this does not work. robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] On 08/01/2004 20:22, Anderson, James H [IT] [EMAIL PROTECTED

Does the Struts Validator work with DynaActionForms?

2003-12-16 Thread Anderson, James H [IT]
I see that to setup server-side vaildations one must extend the ValidatorForm or ValidatorActionForm class, but for dynamic form support one must extend the DynaActionForm class... - To unsubscribe, e-mail: [EMAIL PROTECTED]

question on DynaActionForm

2003-12-15 Thread Anderson, James H [IT]
I'm trying to modify the simple Register application from Chapter 1 of Struts in Action to use a DynaActionForm in place on the ActionForm shown in the book. I've modified struts-config.xml accordingly. According to the book, whether you use an ActionForm or a DynaActionForm should be

RE: question on DynaActionForm

2003-12-15 Thread Anderson, James H [IT]
as in: DynaActionFrom rf = (DynaActionForm) form; Also, you will need to access the data in rf differently now... rf.get(Name of property); -Jonathan -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 9:52 AM