[ot] 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 "Thi

Concatinating 2 strings for a bean:message???

2005-04-04 Thread Mick.Knutson
I am trying to make the following work without success: for a property of... label.owner.section.info.1 = Owner One Details -- Thanks... Mick Knutson Systems Developer Business Direct Services, Wells Fargo Bank 333 Market Street, SF, CA 94103 (415) 371-2553 [EMAIL PROTECTED] MAC A0

[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 imp

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: label.owner.<%ownerNumber%> Any ideas how to get a dynamic key value liek this? -- Thanks... Mick Knutson Systems Developer Business

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 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: Some Heading (note) Now the Heading gets set just fine with the td.style_external, but when I c

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

2005-04-01 Thread Mick.Knutson
So what is the difference between and ? -- 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 ar

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: 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 informatio

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, CA

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 me

[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 wi

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 phon

[ot]RegEx issue

2005-02-10 Thread Mick.Knutson
I am trying to verify if a string is anything Other than a money format such as: // bigMoney means 9 or 999,999,999 allowed, max 9 digits in 11-char field. // Make sure NOT valid for weirdly placed commas like ",999" or "9,,999" or "99,99" inputString.match( "^\\d{0,9}$|^\\d{1,3}(,\\d{3

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 mes

RE: Help with logic tags, and commas please.

2005-02-03 Thread Mick.Knutson
I seem to be getting an error getting a map, from a method in my DTO, then printing the KEY from the Map via the c: tags. DTO method: = public Map getDisplayProducts() { Map map = new HashMap(); if(this.getBusinessLine() != n

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 aut

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: I need to know if this would be correct as well, where creditApplicationListDto.businessLine is a Boolean: Mick Knutson Wells Fargo Business Direct (415) 222-1020 "This message may contain confidential and/or privilege

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:  ,  ,

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? -

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

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 a

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
It didn't work. What am I doing wrong here: http://jakarta.apache.org/log4j/";>

[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: 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 and/o

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

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 addresse

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 e

Oreilly example question

2004-12-15 Thread Mick.Knutson
I was looking into refactoring our Exception Handling and looked at the struts 1.1 Oreilly book. My question is this. They talk about extending the ExceptionHandler to provide more extended functionality. Is this still the proper approach in Struts 1.2.4? Mick Knutson Wells

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 some

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 firs

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( Co

Error in CactusStrutsTestCase

2004-12-13 Thread Mick.Knutson
I have the following method that keeps failing and I don't know why. The method should really only set a NavigationBean into session, then forward to a page based on the action parameter. public void testProductSelection() throws E

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 the

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 a

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: 'weblogic.k

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
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: 'weblogic.kernel.Default'] validator.ValidatorForm (ValidatorForm.java:114) - No ValidatorActio n named isequalif foun

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

Validator upgrade?

2004-12-10 Thread Mick.Knutson
with the new struts 1.2.4 upgrade, I started to change all the to 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 validator: ==

[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 fo

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 request

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 http://www.loc

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 re

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 without

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 tag

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
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 con

RE: Error upgrading from 1.1 to 1.2.4

2004-12-08 Thread Mick.Knutson

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: http://java.sun.com/dtds/web-app_2_3.dtd";> action com.wf.bd.ice.struts.ExtendedActionServlet config /WEB-INF/struts-config.xm

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-07 Thread Mick.Knutson
struts-config: == http://struts.apache.org/dtds/struts-config_1_2.dtd";> ... web.xml: === http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> ... action com.wf.bd.ice.struts.ExtendedActionServlet config /WEB

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-06 Thread Mick.Knutson
Well, I tried that and now I get the same error in the struts-config file. I have tried: http://struts.apache.org/dtds/struts-config_1_2.dtd";> as well as: http://struts.apache.org/dtds/struts-config_1_2.dtd";> Mick Knutson Wells Fargo Business Direct (415) 222-1020

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: http://struts.apache.org/dtds/struts-config_1_2.dtd";> as well as: http://struts.apache.org/dtds/struts-config_1_2.dtd";> Mick Knutson Wells Fargo Business Direct (415) 222-1020

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: http://struts.apache.org/dtds/struts-config_1_2.dtd";> as well as: http://struts.apache.org/dtds/struts-config_1_2.dtd";> Mick Knutson Wells Fargo Business Direct (415) 222-1020

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 confidentia

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.xsl&suite=com.wf.bd.ice.creditapplication.CreditapplicationSuite I got this error: -

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 and click the back buton, I get the Page Expired screen? -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich Sent: Monday, October 11, 2004 4:35 PM To: [EMAIL

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 security

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 s

Back button killer

2004-10-11 Thread Mick.Knutson
I need help disabling the back button. I used a JavaScript 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, CA 94103 > (415) 222-1020

RE: Iterate tag issue with an array

2004-10-06 Thread Mick.Knutson
I am willing to use the jstl if needed. What is that syntax? -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 9:47 AM To: Struts Users Mailing List Subject: Re: Iterate tag issue with an array From: <[EMAIL PROTECTED]> > I need to access

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

Iterate tag issue with an array

2004-10-05 Thread Mick.Knutson
I have a DTO that may contain a Guarantor[]. Here is my code that keeps giving me an "null java.lang.ArrayIndexOutOfBoundsException" when I do not have a Guarantor[0]  

RE: Struts and Quartz Scheduler

2004-09-30 Thread Mick.Knutson
This works for me: web.xml QuartzInitializer com.baselogic.yoursos.scheduler.QuartzInitializerServlet 1 quartz-config.xml:

RE: Properties Files? (to avoid hardcoding server locations)

2004-09-20 Thread Mick.Knutson
Create a property manager from values in the DB. We use a cached ejb with key value pairs to do this. Now we do not use any property files at all. -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 1:20 PM To: 'Struts Users Mailing List

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( "getKeyM

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 User

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 void