Struts hangs on

2005-09-29 Thread Dave Bender
makes a difference. Does this symptom sound familiar to anyone? Any suggestions would be appreciated. Dave Bender

RE: Struts In Action - Still up to date?

2005-02-18 Thread Dave Bender
It would be nice if the publishers offered an 'update' to this and other books on topics that evolve. I'd love to have the new edition of Struts in Action, but I'm not going to pay another $45 for 600 pages of mostly repeated information. I value the new information, but also value my bookshelf s

String[5] trunc'ed to String[1]

2005-01-21 Thread Dave Bender
I'm having a problem passing a set of checkbox values from an ActionForm to our database. When I transfer the values of the String[] array, such as a String[5] array, using BeanUtils.populate in my Action, the array gets truncated and comes out as a single String value, actually a String[1]. What

RE: html:option problem

2004-11-23 Thread Dave Bender
No, it's terminated. It's got an end tag . The body of the tag becomes the value. -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 3:27 PM To: 'Struts Users Mailing List' Subject: RE: html:option problem > This: > > produces

RE: html:option problem

2004-11-23 Thread Dave Bender
It references "/WEB-INF/struts-html.tld" -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 2:44 PM To: 'Struts Users Mailing List' Subject: RE: html:option problem > This: > > produces this: > > instead of this: > A

html:option problem

2004-11-23 Thread Dave Bender
Can anybody help me spot what I'm missing in creating an HTML SELECT box with the html:option tag? I'm iterating through a list of objects that have IDs and Names, plunking the ids in for the value and the name for the name. But the tag seems to insist that the bean isn't there and just prints m

RE: Tiles:insert role(s)?

2004-11-16 Thread Dave Bender
ou want for a particular > role. You can use it like this : > > > > > > With the logic:present you can write user as much that you want it. > > Charles > > -----Original Message- > From: Dave Bender [mailto:[EMAIL PROTECTED] > Sent: No

Tiles:insert role(s)?

2004-11-16 Thread Dave Bender
Is it possible to make a tile show up for people from multiple roles? I'm building a dynamic menu and would like certain items to show up for people in different roles. For example: works great to make the admin link show up if the user in the 'admin' role. But I want some items to sho

Validation in modules; messages not found

2004-11-12 Thread Dave Bender
I'm having trouble getting a simple Validator to work in a module. Is there something special to modules I need to do to get the Validator to work? Specifically, I'm getting a NullPointerException at org.apache.struts.validator.Resources.getMessage(Resources.java:209). Walking through the code (y

Getting subset from collection

2004-09-24 Thread Dave Bender
Is there a utility somewhere in Struts or the Commons that pulls subset of objects from a collection based on a String array of values? Here's what I mean: I have a collection of objects that have label and value fields so I can use them in the Struts multibox tag. Struts returns a String array

RE: JTidy integration?

2004-09-20 Thread Dave Bender
Thanks for the reply and the expertise. To answer questions you raised: >> I'm having a hard time understanding why anyone would want to spend >> the extra server side processing cycles for doing this. The reasons would be: 1) to make debugging HTML display problems easier to track down. 2) to

JTidy integration?

2004-09-17 Thread Dave Bender
Has anybody integrated JTidy or any of the other HTML-prettifiers with Struts? I find Tidy does a good job of cleaning up JSPs, which tend to get pretty spaced out particularly when there are lots of includes, but I don't have a clear idea of where it would plug in. Would it make sense to put it

input parameter not context relative?

2004-09-17 Thread Dave Bender
Isn't an Action's 'input' parameter supposed to be context relative? I thought that it was supposed to be, but I'm seeing otherwise when my form, which is in a module, fails its validation test. Instead of returning to the input form, it is forwarding to the input form prefixed with the module

RE: "Resources not defined for Validator"

2004-09-17 Thread Dave Bender
s contained in different files for different modules if I so choose? That is I could put the 'profile' validation rules in profile-validation.xml with this: Dave -Original Message- From: Dave Bender [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 10:01 AM To

RE: "Resources not defined for Validator"

2004-09-17 Thread Dave Bender
config.xml? "Dave Bender" <[EMAIL PROTECTED]>

"Resources not defined for Validator"

2004-09-17 Thread Dave Bender
I'm having a challenge getting the Validator plug-in to work. It's my first crack at it, so forgive if I'm missing something obvious. Better yet, if I am missing something obvious, tell me what it is. When I call up my action, I'm getting a "Resources not defined for Validator" exception. M

RE: Where's that friggin' bean?

2004-09-16 Thread Dave Bender
in JBuilder. Dave -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 6:38 PM To: Struts Users Mailing List Subject: RE: Where's that friggin' bean? > -Original Message- > From: Dave Bender [mailto:[EMAIL PROTECTED

Where's that friggin' bean?

2004-09-14 Thread Dave Bender
OK, I'm stumped. Can anybody tell me why I'm getting: javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope when I try to reference the Struts HTML TagLib in a new module I've created? I've got a Struts application with a couple of modules, and I'm u

RE: Moving from environment to environment

2004-09-11 Thread Dave Bender
Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 4:17 PM To: Struts Users Mailing List Subject: Re: Moving from environment to environment On Fri, 10 Sep 2004 15:59:01 -0500, Dave Bender <[EMAIL PROTECTED]> wrote: > How do you easily move a Struts applic

Moving from environment to environment

2004-09-10 Thread Dave Bender
How do you easily move a Struts application from one environment to another, e.g. from development to test to production, without having to change the struts-config.xml file to use a different database? The datasources seem like they can be configured only in that file, but if you want to have dif

Downloads are blank...sometimes

2004-09-09 Thread Dave Bender
I'm using Struts for a file upload/download routine. All works well except that if I download (using IE 6.x), get a message box asking if I want to save or open the file, I get different results. If I save the file, then open it, it's fine. If I open it directly (using a .txt file as an examp

Struggling with includes

2004-09-07 Thread Dave Bender
I'm still a newbie with Struts, but farther along than I was a week ago. I'm still puzzled about how to get includes to work. I've got an application with a 'master/detail' relationship. We have documents and each document has zero or more replies. I want to be able to display the details of the

RE: Staying relative

2004-09-03 Thread Dave Bender
g the awareness of groups into code and out of the config. Does this help? Joe At 8:38 PM -0500 9/2/04, Dave Bender wrote: >I'm new to Struts and liking it so far. But I'm stumped on how I >can get a user of my web application to stay in the same >subdirectory through

Staying relative

2004-09-02 Thread Dave Bender
I'm new to Struts and liking it so far. But I'm stumped on how I can get a user of my web application to stay in the same subdirectory throughout the workflow without going through a lot of hoops. Here's what I mean. Our application will be used by 100 people divided into six work groups.