[ot] p css question

2005-04-12 Thread Mick.Knutson
I am wanting to reduce the blank space between 2 paragraphs. What is the css element that dictates that attribute? -- Thanks... Mick Knutson Systems Developer Business Direct Services, Wells Fargo Bank 333 Market Street, SF, CA 94103 (415) 371-2553 [EMAIL PROTECTED] MAC A0103-223

[tiles] component Form issue.

2005-04-04 Thread Mick.Knutson
I have an OwnerOne.jsp and OwnerTwo.jsp tile that I want to use a general component (OWNERcomp.jsp). The ownercomp.jsp uses another component for states that also needs the Fom. So, I can't get the ownercomp.jsp to see the ownerForm. Can anyone help? OwnerOne.jsp: === %@ page

Concatinating 2 strings for a bean:message???

2005-04-04 Thread Mick.Knutson
I am trying to make the following work without success: bean:message key='label.owner.section.info.%= ownerNumber %' / for a property of... label.owner.section.info.1 = Owner One Details -- Thanks... Mick Knutson Systems Developer Business Direct Services, Wells Fargo Bank 333

CSS class name in bean:message ???

2005-04-01 Thread Mick.Knutson
Can I add a css class id to a message? -- Thanks... Mick Knutson Systems Developer Business Direct Services, Wells Fargo Bank 333 Market Street, SF, CA 94103 (415) 371-2553 [EMAIL PROTECTED] MAC A0103-223 This message may contain confidential and/or privileged information. If you are

RE: CSS class name in bean:message ???

2005-04-01 Thread Mick.Knutson
So what is the difference between div and span? -- Thanks... Mick Knutson Systems Developer Business Direct Services, Wells Fargo Bank 333 Market Street, SF, CA 94103 (415) 371-2553 [EMAIL PROTECTED] MAC A0103-223 This message may contain confidential and/or privileged information. If

RE: [ot]CSS class name in bean:message ???

2005-04-01 Thread Mick.Knutson
OK, I would like a little more help please as I am not very good at CSS. But, I have a td class=style_external cell that I do not control the style. THe only issue is I need to add a bit of text that should look like this: tdbSome Heading/b i(note)/i/td Now the Heading gets set just fine with

bean:message concatination issue

2005-04-01 Thread Mick.Knutson
I am trying to get a message based on a key (label.owner), and an interger I give (1, 2, 3 etc...) So, I am trying to use this but it doesn't work: bean:message label.owner.%ownerNumber% /bean:message Any ideas how to get a dynamic key value liek this? -- Thanks... Mick Knutson

RE: Load message resources from DB???

2005-03-30 Thread Mick.Knutson
Do you mean substitution like the ???form.tag.name??? -- Thanks... Mick Knutson Systems Developer Business Direct Services, Wells Fargo Bank 333 Market Street, SF, CA 94103 (415) 371-2553 [EMAIL PROTECTED] MAC A0103-223 This message may contain confidential and/or privileged

RE: Load message resources from DB???

2005-03-29 Thread Mick.Knutson
Does anyone ahve any examples of extending the PropertyMessageResources and PropertyMessageResources Factory? -Original Message- From: Daniel Lipofsky [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 1:35 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: RE: Load

RE: Load message resources from DB???

2005-03-29 Thread Mick.Knutson
Even if I could just get some general directions on what method to pull the data in, and what method to put the data into what type of container. Just something would be good. -- Thanks... Mick Knutson Systems Developer Business Direct Services, Wells Fargo Bank 333 Market Street, SF,

[ot] Need a webpage that for newsletter sign-ups without internet access?

2005-03-08 Thread Mick.Knutson
I have an issue I need help with. I currently have a Struts based newsletter application that runs just fine. But now, I have a requirement to create a simple webpage that takes a name and email address and writes that data to a file on a windows machine. The problem is the windows machine will

Validation error and a value getting reset...?

2005-02-16 Thread Mick.Knutson
I have a strange error with the Validator I think... I have a business and home phone on 1 page that I have the validation below on. Each number is 3 fields (area code, phone3, phone4). When there is _NO_ business phone at all, or a partial business phone, and I entered a fully qualified home

RE: Help with logic tags, and commas please.

2005-02-03 Thread Mick.Knutson
How do I check to make sure there are any elements in the Map? There is a possibility that the map will be empty. Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If you are not the addressee or

RE: Help with logic tags, and commas please.

2005-02-03 Thread Mick.Knutson
Can someone please help me to get the print to work. I keep trying to use the fmt, or the c:out tags, but nothing is actually printing the value of ${product} as converted from the ApplicationResources value. Mick Knutson Wells Fargo Business Direct (415) 222-1020 This

RE: Help with logic tags, and commas please.

2005-01-20 Thread Mick.Knutson
Well, note that each of the items is a Boolean not a boolean. So they are each objects in the arraylist. Will this help reduce the chunk of code? Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If

RE: Help with logic tags, and commas please.

2005-01-19 Thread Mick.Knutson
I need to know an additional question: You sent me: c:forEach items=${sessionScope.auditorList} var=auditor varStatus=status I need to know if this would be correct as well, where creditApplicationListDto.businessLine is a Boolean: c:forEach items=${creditApplicationListDto.businessLine}

validWhen with multiple arguments

2005-01-14 Thread Mick.Knutson
I am using 1.2.4 and want to use the validWhen, but I need more than 1 argument. I actually need 2-5 arguments based on the logic I am trying to solve. Currently I have to create a custom Validator, but would hope to use the default one instead. Is this possible in 1.2.4 or 1.2.6?

Help with logic tags, and commas please.

2005-01-14 Thread Mick.Knutson
I have the following code that prints something like this: BLN, BCard, SecCard, EquipExp There may be any combination of any of these 4 items, or non at all. And what I want is the ability to properly add commas after each item, or not print a comma if there is not an item: logic:equal

RE: jars in 1.2.6

2004-12-23 Thread Mick.Knutson
Isn't this jar in the contrib. directory? It is in mine. Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not

[ot]Excluding BeanUtils from Log4J? How do I do this?

2004-12-21 Thread Mick.Knutson
[ot]Excluding BeanUtils from Log4J? How do I do this? I am using the log4j.xml descriptor and really need to exclude this class. Can anyone help please? Mick Knutson Wells Fargo Business Direct Information Systems (415) 222-1020 This message may contain confidential and/or

RE: [ot]Excluding BeanUtils from Log4J? How do I do this?

2004-12-21 Thread Mick.Knutson
It didn't work. What am I doing wrong here: ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE log4j:configuration SYSTEM log4j.dtd log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; appender name=A1

RE: [ot]Excluding BeanUtils from Log4J? How do I do this?

2004-12-21 Thread Mick.Knutson
Sorry. I am still getting debug from BeanUtils which is my whole issue. I want debug from everything BUT BeanUtils. Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If you are not the addressee or

RE: [ot] Excluding BeanUtils from Log4J? How do I do this?

2004-12-21 Thread Mick.Knutson
Opps, I am running 2 machines. My WIN has info as root, but Linux has debug, and that is what is having the issue. So root is set to debug. Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If you

RE: Struts and JDK 1.4.2_06

2004-12-17 Thread Mick.Knutson
NO DOUBT! Let us know as we are making plans to make the same upgrade in early January. So really only 2 weeks from now and this worries me now. So you have my attention. :-) Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential

RE: String with digits to Long, verse String w/ digits and commas to Long

2004-12-16 Thread Mick.Knutson
That's what we are doing already, I just didn't know if there was a feature in Struts/BeanUtils that would do it for us. Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If you are not the

RE: String with digits to Long, verse String w/ digits and commas to Long

2004-12-16 Thread Mick.Knutson
No. Not when the user enters a string with commas. So we are thinking of switching to Strings instead of longs then manually convert, but I was hoping for something more automatic. Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential

String with digits to Long, verse String w/ digits and commas to Long

2004-12-16 Thread Mick.Knutson
I have a form field that I want to be a number in the DB, but the user can add digits, or digits with commas into. So 1000 is the same at 1,000 on the ui. My question is, will struts convert 1,000 to 1000L just as it will convert 1000 to 1000L? Mick Knutson Wells Fargo

RE: Oreilly example question

2004-12-15 Thread Mick.Knutson
I have done that in 1.1, but the issue I have is that each of my actions could potentially throw many different Exceptions that all have different text associated with them. In addition to that, I would love to be able to see the root cause of each error. So: 1. Do I create a global exception

RE: Error in CactusStrutsTestCase

2004-12-14 Thread Mick.Knutson
Here is what I want to do. I want to loop through various scenarios. 1. add the parameters to each given scenario 2. execute the scenario 3. assert the outcome 4. start again from scratch. Now when I put the setUp() and tearDown() around the whole method, I get an ActionError thrown the very

Tips on testing pages with multiple potential paths?

2004-12-14 Thread Mick.Knutson
We have an application where each page has about 8 different paths depending upon the DTO in session, and the values passed in the request. I have only started on the 1st page right now, and feel overwhelmed with the limitless possibilities I have to test for. I am hoping someone can give me

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
Ping.. Any help here... Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
1st, I did not check the old way, and will attempt to revert back to arg0 instead of position=0. 2nd, here is the error I get each time (the original code is below in this thread): \=== 2004-12-10 15:12:08,998 ERROR [ExecuteThread: '8' for queue:

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
I did that, but, I have 4 entries, not 3. Is there a limit of 3 entries somehow? Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
Bingo I sent an email last week about my custom rules, and was told that I should/could put my custom rules into a file called validator-rules-wfb.xml and just add an entry into my struts-config validator setting with that file. So now I would have 4 different validator config files. But

RE: Error in CactusStrutsTestCase

2004-12-13 Thread Mick.Knutson
This one is a real pain because there is no real failure in my logs. Just the error I posted which came from my testcase page only. The closest thing I can figure, is this is where the error is happening: = if(

[Friday] SF Bay Area DJ Dream Team Voting

2004-12-10 Thread Mick.Knutson
I hope this is appropriate for Friday postings.But the Struts 1.2.4 upgrade has kicked me hard, now that I am done, I can focus on my favorite past time... House Music! Just wanted to request that anyone in the SF Bay Area, willing to donate just a couple of minutes of your time, to Vote

Validator upgrade?

2004-12-10 Thread Mick.Knutson
with the new struts 1.2.4 upgrade, I started to change all the arg0 ... to arg position=0... but find that my custom validators are not being found. 1. Is there a doc on upgrading the validator? 2. Anyone ever heard of this happening? Here is my form validator: ==

validation-rules vs. custom rules location question

2004-12-09 Thread Mick.Knutson
We have been using struts v1.1 and just upgraded to 1.2.4. We also created several custom rules and appended them to the validation-rules.xml. But now it seems the validation-rules.xml is in the struts lib DIR. Should we create a files called validation-rules-wfb.xml for our custom rules

RE: validation-rules vs. custom rules location question

2004-12-09 Thread Mick.Knutson
Cool. So the Validator will pick them up if I add them to the paths in the struts-config I assume. Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to

Issues switching context paths

2004-12-09 Thread Mick.Knutson
I just upgraded to struts 1.2.4, and now we want to move from our app at /, to being /ice/ So I modified my application.xml to be /ice and then pre-pended /ice to all of my actions. So I went from /appEntryPoint to /ice/appEntryPoint in the struts-config.xml Now when I navigate to

Custom rule NullPointer errors

2004-12-09 Thread Mick.Knutson
With the new version of Struts, we are getting a NullPointerException whenever custom rules are being run because they are expecting a parameter list of: Object Bean, ValidatorAction va, Field field, ActionErrors errors, org.apache.commons.validator.Validator validator, HttpServletRequest

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Mick.Knutson
Ok, I have removed the xml comments I made and I still get an error: BEA-101216 Servlet: action failed to preload on startup in Web application: /. (full error below)... Here are my various xml descriptors: web.xml: = ?xml version=1.0

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Mick.Knutson
struts-config !-- === -- !-- Standard Form Bean Definitions -- !-- === -- form-beans form-bean

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Mick.Knutson
The failure is actually when deploying the ear into web logic. So there is nothing that was called to get this error except starting up the action Servlet itself. BTW, Sorry for posting so much. Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Mick.Knutson
No luck. I commented out all my actions, and the error did not change. Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee,

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Mick.Knutson
Now I reverted all my xml files back to the original ones in cvs and then deployed and I get this error: Parsing of JSP File '/WEB-INF/default/default.jsp' failed: /WEB-INF/default/default.jsp(5): Error in using

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread Mick.Knutson
Now I am getting another error after following those directions in my application logs: [INFO] PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true [INFO] PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources',

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread Mick.Knutson
struts-config: == ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.2//EN http://struts.apache.org/dtds/struts-config_1_2.dtd; ... message-resources parameter=ApplicationResources

RE: Error upgrading from 1.1 to 1.2.4

2004-12-07 Thread Mick.Knutson
I just got handed a production emergency task. So maybe I will get back to this late tomorrow then let you know Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain confidential and/or privileged information. If you are not the addressee or

RE: Error upgrading from 1.1 to 1.2.4

2004-12-06 Thread Mick.Knutson
Well, I tried that and now I get the same error in the struts-config file. I have tried: ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE struts-config SYSTEM http://struts.apache.org/dtds/struts-config_1_2.dtd; as well as: ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE struts-config

RE: Error upgrading from 1.1 to 1.2.4

2004-12-06 Thread Mick.Knutson
Well, I tried that and now I get the same error in the struts-config file. I have tried: ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE struts-config SYSTEM http://struts.apache.org/dtds/struts-config_1_2.dtd; as well as: ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE struts-config

RE: Error upgrading from 1.1 to 1.2.4

2004-12-06 Thread Mick.Knutson
Well, I tried that and now I get the same error in the struts-config file. I have tried: ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE struts-config SYSTEM http://struts.apache.org/dtds/struts-config_1_2.dtd; as well as: ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE struts-config

Error upgrading from 1.1 to 1.2.4

2004-12-02 Thread Mick.Knutson
I am trying to upgrade and I switched the jars and other files required from the binary release. Then I updated the dtd declarations of my struts-config, validation, validation-rules, and validation-nbbc (our project rules). Everything compiles fine, but I get the following error when I deploy:

RE: Error running CactusStrutsTest case with an ExtendedActionServlet instead of ActionServlet

2004-11-17 Thread Mick.Knutson
But it is there because we are running this app in production already as a EAR. But now when I introduced cactus, it breaks just on the tests. Not actually running the application. Mick Knutson Wells Fargo Business Direct (415) 222-1020 This message may contain

Error running CactusStrutsTest case with an ExtendedActionServlet instead of ActionServlet

2004-11-16 Thread Mick.Knutson
Any help with this please... We extended our actionServlet with ExtendedActionServlet and when I tried to run my test from a browser in this fashion: http://localhost:8080/ServletTestRunner?xsl=cactus-report.xslsuite=com.wf.bd.ice.creditapplication.CreditapplicationSuite I got this error:

Back button killer

2004-10-11 Thread Mick.Knutson
I need help disabling the back button. I used a JavaScript body onUnload=history.forward() and when I click the back button, I get a Page Not valid anymore or something. How can I fix this? I am using all action Forwards, not Redirects --- Thanks... Mick Knutson 525 Market Street, SF,

RE: Back Button Implementation

2004-10-11 Thread Mick.Knutson
But this is an additional button right? Not something that will effect the browsers back button...??? -Original Message- From: Phani [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 1:12 PM To: Struts Users Mailing List Subject: Re: Back Button Implementation Roy, You can use

Back Button Woes!!!!

2004-10-11 Thread Mick.Knutson
How do I get rid of this page being shown every time I click the back button: == Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a

RE: OT Re: Back Button Woes!!!!

2004-10-11 Thread Mick.Knutson
I can't start using Swing. I need to know why every time I hit the back button, even when I have body onUnload=histpry.forward() and click the back buton, I get the Page Expired screen? -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich Sent: Monday,

RE: Iterate tag issue with an array

2004-10-06 Thread Mick.Knutson
I need to access only the first object in this Array. Any ideas? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 5:19 PM To: [EMAIL PROTECTED] Subject: Iterate tag issue with an array I have a DTO that may contain a Guarantor[]. Here

RE: Struts and Quartz Scheduler

2004-09-30 Thread Mick.Knutson
This works for me: web.xml servlet servlet-nameQuartzInitializer/servlet-name servlet-classcom.baselogic.yoursos.scheduler.QuartzInitializerServlet/servlet-class load-on-startup1/load-on-startup /servlet quartz-config.xml: ?xml version=1.0 encoding=ISO-8859-1 ?

Help with Cactus StrutsTestCase

2004-08-26 Thread Mick.Knutson
I am trying to write test cases for my Struts app, but can't seem to figure it out. I have used the examples, but I don't seem to get the correct outcome when I run them. I am using LookupDispatchAction's exclusively. So here is the method I am testing: == public

RE: Help with Cactus StrutsTestCase

2004-08-26 Thread Mick.Knutson
I have a Delegate pattern layer that all actions communicate with. But this action in particular, does not need anything except to create a POJO and add it to session. -Original Message- From: Leandro Melo [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 9:23 AM To: Struts

RE: Help with Cactus StrutsTestCase

2004-08-26 Thread Mick.Knutson
Yes: /** * This is the method that defines the different button text items in a hashMap * for the BaseLookupDispatchAction to use. * * TODO: Need to externalize this, so these are not hard coded. */ protected Map getKeyMethodMap() { log.info(