RE: WebSphere Application Developer / Log4J, duplicate messages???

2003-03-21 Thread Cook, Graham
and higer #log4j.rootLogger=INFO, output1 Hope this helps, Regards, Shirish -Original Message----- From: Cook, Graham [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 2:43 PM To: 'Struts Users Mailing List' Subject: RE: WebSphere Application Developer / Log4J, duplicate m

RE: WebSphere Application Developer / Log4J, duplicate messages???

2003-03-21 Thread Cook, Graham
INFO and higer #log4j.rootLogger=INFO, output1 Hope this helps, Regards, Shirish -Original Message- From: Cook, Graham [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 2:43 PM To: 'Struts Users Mailing List' Subject: RE: WebSphere Application Developer / Log4J, duplicat

RE: WebSphere Application Developer / Log4J, duplicate messages?? ?

2003-03-21 Thread Cook, Graham
/ Log4J, duplicate messages?? ? Have you got a commons-logging.properties file? Susan Bradeen On 03/21/2003 08:42:54 AM "Cook, Graham" wrote: > This is the log4.properties file:- > > > # Create a single console appender that logs INFO and higer > #log4j.rootLogger=INF

RE: WebSphere Application Developer / Log4J, duplicate messages???

2003-03-21 Thread Cook, Graham
gging will go twice to the appender.. So may be u can check this. regards, Shirish -Original Message- From: Cook, Graham [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 2:34 PM To: '[EMAIL PROTECTED]' Subject: WebSphere Application Developer / Log4J, duplicate messages???

WebSphere Application Developer / Log4J, duplicate messages???

2003-03-21 Thread Cook, Graham
Hi, I have a problem with WSAD. I've enabled log4j as it should be but whenever a message gets printed to the console, I get a duplicate SYSTEMOUT message from what i believe is WSAD. Does anyone have any idea how to stop WSAD duplicating these log4J messages? EXAMPLE:- .. .. 21992 [Serv

RowSetDynaClass, select options

2003-01-24 Thread Cook, Graham
Hi, Im using the RowSetDynaClass to produce a java.util.List of values from a database which are displayed in the JSP as follows:- What I would like to do is concatenate two fields in the java.util.List and use that as the labelProperty so the HTML OPTIONS

RE: Javascript & bean:message

2003-01-22 Thread Cook, Graham
Right I've sorted it:- ... ... myFunction('') ... ... ... ... -Original Message----- From: Cook, Graham [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003 15:18 To: 'Struts Users Mailing List' Subject: RE: Javascript & bean:message Thanks Kris &a

RE: Javascript & bean:message

2003-01-22 Thread Cook, Graham
22 January 2003 14:20 To: Struts Users Mailing List Subject: RE: Javascript & bean:message Yep. Kris already posted it for you :-) Here it is again: -Original Message- From: Cook, Graham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 22:13 To: 'Strut

RE: Javascript & bean:message

2003-01-22 Thread Cook, Graham
I get the error through WSAD, not at runtime. button.search is in the application.properties file -Original Message- From: Thomas Cornet [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003 14:06 To: Struts Users Mailing List Subject: RE: Javascript & bean:message This kind of error message

RE: Javascript & bean:message

2003-01-22 Thread Cook, Graham
inal Message----- From: Cook, Graham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 20:32 To: Struts User List Subject: Javascript & bean:message Is it possible to have a tag as a parameter to a javscript method? ie. oncha

RE: Javascript & bean:message

2003-01-22 Thread Cook, Graham
When I do this:- onchange="javascript:myFunction()"/> I get an error on the JSP saying that 'attribute button.search has no value' -Original Message- From: Thomas CORNET [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003 13:23 To: Struts Users Mailing List Subject: RE: Javascript

RE: Javascript & bean:message

2003-01-22 Thread Cook, Graham
& bean:message AFAIK that would depend on whether the tag in which that onchange is an attribute is a JSP tag or normal html. -Original Message- From: Cook, Graham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 20:32 To: Struts User List Subject: Javascript & bean:message

Javascript & bean:message

2003-01-22 Thread Cook, Graham
Is it possible to have a tag as a parameter to a javscript method? ie. onchange="javascript:myFunction()" /> " This message contains information that may be privileged or confidential and is

RE: LookupDispatchAction, setting parameter?

2003-01-16 Thread Cook, Graham
UPDATE: It works if I take out the buttons:- Why is this? The value that is set in the JavaScript funtion seems to be getting overridden by the input buttons. Is this someting to do with the browser.?? -Original Message- From: Cook, Graham [mailto:[EMAIL PROTECTED

LookupDispatchAction, setting parameter?

2003-01-16 Thread Cook, Graham
Small problem, I am using the LookupDispatchAction to handle multple actions, SAVE, DELETE etc. In my JSP page i have a 'submitAction' text field. When the value of 'supplierNumber' has been entered the 'onchange' event will set the 'submitAction' field to the value 'SEARCH' and then submit the fo

LookupDispatchAction

2003-01-15 Thread Cook, Graham
Hi Is there anyway to use LookupDispatchAction with onChange events on the JSP. Basically, I want to call my LookupDispatchAction (when a user changes a HTML field) and return either an error, or update one of the fields in the form bean. In my config file I have a parameter defined as doaction a

RE: LookupDispatchAction onchange

2002-12-10 Thread Cook, Graham
s the form to be submitted when a text field changes??? -Original Message----- From: Cook, Graham [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 10:50 AM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction onchange Thanks Andrew & Juan, thats very h

RE: LookupDispatchAction onchange

2002-12-10 Thread Cook, Graham
for LDA. I see they use 'action' as the name of their example parameter. Bad idea naming anything on a form 'action'. It will shadow the form.action property (which means above script wont work for one thing). Same reason that naming a button 'submit' will lead you into

LookupDispatchAction onchange

2002-12-10 Thread Cook, Graham
Is it possible to use an onchange event on a text input field to submit the form to a LookupDispatchAction? I have numerous buttons on the JSP page which submit the form to my LookupDispatchAction, and work depending on what the value of the action is, but i would like to also call my LookupDispat

Struts Child Windows

2002-12-05 Thread Cook, Graham
What is the correct way in Struts to open a child window (from a JSP), which calls an Action, retrieves a input field value from the parent window and displays results in the child window. Do you have to use Javascript, or is there a Struts way of doing this without Javascript. Or do you have to

RE: calling ACTION from SEARCH button, results displayed in new windo w

2002-12-04 Thread Cook, Graham
javascript function, then call an action. Or do i need to hardcode the field reference in the Javascript method ie . document.form.companyname -Original Message- From: Cook, Graham [mailto:[EMAIL PROTECTED]] Sent: 04 December 2002 14:44 To: '[EMAIL PROTECTED]' Subject: calling A

calling ACTION from SEARCH button, results displayed in new window

2002-12-04 Thread Cook, Graham
How do you go about calling an action from a SEARCH button on a JSP, and passing in one of the JSP fields to the action in order to bring up a popup window with data related to the field on the JSP. eg. like part of a name that you want to search on? **

LookupDispatchAction

2002-12-03 Thread Cook, Graham
When using LookupDispatchAction for a page with multiple buttons. ie SUBMIT, SEARCH, etc... How can you turn off the validation on the form when clicking on the SEARCH button. (The user is filling a form in top down and hasnt filled in the fields below the SEARCH button)? **

Design Issue in struts

2002-12-03 Thread Cook, Graham
Can I use struts to perform the following task: generate a JSP page, but have multiple entry lines on the page. Im not going to know how many lines the user is going to enter, so i'd like them to have some kind of way ( maybe a button ) that the user can click on, the page refreshes (retaining da

RE: Initalize input form with data from the database

2002-12-02 Thread Cook, Graham
31 To: Struts Users Mailing List Subject: Re: Initalize input form with data from the database 2002. december 2. 15:23 datummal Cook, Graham ezt irtad: > But if I extend ActionForm, I cant do the things that LookupDispatchAction > does? There must be some misunderstanding. You have 1 action wh

RE: Initalize input form with data from the database

2002-12-02 Thread Cook, Graham
:09 datummal Cook, Graham ezt irtad: > Basically I have 1 Action, 1 ActionForm and 1 JSP. The ActionForm extends > LookupDispatchAction to cope with multiple buttons on the JSP. What I want Your ActionForm should extend org.apache.struts.action.ActionForm rather than LookupDispatchAction.

Initalize input form with data from the database

2002-12-02 Thread Cook, Graham
Hi there, Im having problems calling an action to fetch data from the Database and prepopulate an input form. Basically I have 1 Action, 1 ActionForm and 1 JSP. The ActionForm extends LookupDispatchAction to cope with multiple buttons on the JSP. What I want to do is to call the Action to inital