Pull-down-menue for language select at logon

2003-03-26 Thread Manuel Lenz
every user can select his language at logon. Can anybody help me doing this? At the moment i have created some .properties-files and .jsp-files using them. Greetings, Manuel Lenz e-mail: [EMAIL PROTECTED] web: www.viessmann.com

Antwort: RE: Pull-down-menue for language select at logon

2003-03-26 Thread Manuel Lenz
in the Session? If the user selects maybe EN the right Resource-File ( ApplicationResources_en.properties) must be load. Has anybody an idea which code I need in the LogonAction-Class? Manuel Lenz e-mail: [EMAIL PROTECTED] web: www.viessmann.com

Antwort: Re: Antwort: RE: Pull-down-menue for language select at logon

2003-03-26 Thread Manuel Lenz
? Manuel Lenz e-mail: [EMAIL PROTECTED] web: www.viessmann.com |-+--- | | | | | | | | | | |[EMAIL PROTECTED]| | |26.03.2003 09:39

Antwort: Re: Antwort: Re: Antwort: RE: Pull-down-menue for language select atlogon

2003-03-26 Thread Manuel Lenz
)); } else { System.out.println(LoginAction: Default language is selected!); } See you, Manuel Lenz

Antwort: Getting the id of an object in the value tag

2003-04-01 Thread Manuel Lenz
You geht directly the value from the Form-Bean with this code: value=%=banfForm.getLieferdatum()% Maybe there exists a struts-tag to get the value too. Mit freundlichen Gruessen i.A. Manuel Lenz e-mail: [EMAIL PROTECTED] web: www.viessmann.com

Antwort: RE: Tiles with logic:iterate and JavaScript to sort table

2003-04-01 Thread Manuel Lenz
Why don´t you sort your table with java-code? We prefer to use java instead of javascript! And you can decide on which layer the table is sorted... Greetings, i.A. Manuel Lenz Viessmann Werke GmbH Co KG 35107 Allendorf e-mail: [EMAIL PROTECTED] web: www.viessmann.com

Forwarding to an ActionClass

2003-04-01 Thread Manuel Lenz
=../ep/actions/BestellverfolgungAction /forward /action Greetings, i.A. Manuel Lenz Viessmann Werke GmbH Co KG 35107 Allendorf e-mail: [EMAIL PROTECTED] web: www.viessmann.com - To unsubscribe

Antwort: Browser influence Session behavior

2003-04-04 Thread Manuel Lenz
Hi, we use Mozilla as default browser and I also had some problems with session-handling. It is important that you set all the Mozilla-Cache-Options to 0 (Edit/Prefereces)! Mit freundlichen Gruessen i.A. Manuel Lenz Viessmann Werke GmbH Co KG 35107 Allendorf e-mail: [EMAIL PROTECTED] web

Antwort: RE: Browser influence Session behavior

2003-04-04 Thread Manuel Lenz
Mayby this is an bug in your mozilla version. Update your Mozilla Browser to an version 1.x (newest 1.3). |-+-- | | | | | | | | | | |Johan

RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Manuel Lenz
-Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 12:20 PM To: Struts Users Mailing List Subject: Submitting value with Graphical Buttons Hi to all, I still have problems with submitting values by clicking graphical buttons. By using javascript

Antwort: RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Manuel Lenz
() { document.formname.submit(); } i am not too sure if i am tellng u something u dont know but i guess this shud work. tc -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 12:20 PM To: Struts Users Mailing List Subject: Submitting value

Antwort: RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Manuel Lenz
Message- ML From: Manuel Lenz [mailto:[EMAIL PROTECTED] ML Sent: Thursday, June 05, 2003 12:20 PM ML To: Struts Users Mailing List ML Subject: Submitting value with Graphical Buttons ML Hi to all, ML I still have problems with submitting values by clicking graphical buttons. ML By using javascript

Antwort: RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Manuel Lenz
: fnSubmitForm() { document.formname.submit(); } i am not too sure if i am tellng u something u dont know but i guess this shud work. tc -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 12:20 PM To: Struts Users

Submitting value with Graphical Buttons

2003-06-05 Thread Manuel Lenz
Hi to all, I still have problems with submitting values by clicking graphical buttons. By using javascript there must be an function named on click which sets a value into a FormBean by pressing a graphical button. To get a forwarding page a submit must be initialized too. A link to this

Antwort: Checkbox problem?

2003-06-10 Thread Manuel Lenz
The reset-method is called if you are submitting from a jsp-page. You must check the browser request, if a value exists. If a value is missing, the user has unchecked the box, so you can set the record to false. Cheers, Manuel |-+ | |

Antwort: Re: checkboxproblem

2003-06-12 Thread Manuel Lenz
Hi Kristine, first you have to initialize the checkbox variable with on. If a user sets a checkboy to false, there is no string posted in the http-submit. You can check up submit for your parameter and set the variable to false if the parameter is missing. Example: HttpServletRequest request)

Errors from Backend System

2003-06-18 Thread Manuel Lenz
Hi to all, I have a connection to a Backend System that gives Error Messages to my FormBeans. But in the Error-Definiton of my FormBeans, I can only select Messages form the RessourceProperties-Files. How can I save my Backend-Messages in the Error Object? Greetings, Manuel

Backen Error Messages

2003-07-17 Thread Manuel Lenz
can I fill the errors-Object with these values. Greetings, Manuel Lenz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Forwarding to existing Servlet

2003-08-27 Thread Manuel Lenz
Hi to all, I have an existing servlet which must be called in some cases. The serverlet nets a param which can be add to the request from the browser. How can I call an existing Servlet from a struts-action-class? I hope someone can help me, best regards, Manuel

Forwarding to normal servlet

2003-08-27 Thread Manuel Lenz
Hi to all, I´d like to call an existing servlet which is saved into the JavaSource - Folder. If the servlet is called, it gets a individuell value from the ActionForm-Bean. How can I do that? Greetings, Manuel - To

Again: Forwarding to existing Servlet

2003-08-28 Thread Manuel Lenz
put any arguments you need (that would've been passed from the browser) into request scope before calling the servlet? Hue. -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: 27 August 2003 15:36 To: Struts Users Mailing List Subject: Forwarding to existing Servlet

Forwarding openNewWindow

2003-09-18 Thread Manuel Lenz
Hi to all, I´d like to forward to an jsp-page which will be opened in a new window. How can I manage that in struts-config.xml ? I can´t use javascript to open the new window because the user is pressing a struts-submit button and not a normal link. Hope anybody can help me, bye, Manuel Lenz

RE: Forwarding openNewWindow

2003-09-18 Thread Manuel Lenz
| | Manuel, can't you just use the target attribute in the form tag to do this? robert -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003

Antwort: AW: Forwarding openNewWindow

2003-09-18 Thread Manuel Lenz
-Ursprüngliche Nachricht- Von: Manuel Lenz [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 18. September 2003 12:02 An: Struts Users Mailing List Betreff: Forwarding openNewWindow Hi to all, I´d like to forward to an jsp-page which will be opened in a new window. How can I manage that in struts

Wrong Forwarding

2003-09-24 Thread Manuel Lenz
Hi to all, I do have a silly problem: I call an ActionClass over a link BanfAction.do, but I get always forwarded to the jsp-Site which should be called after succes in the ActionClass. How is it possible to get to an jsp-Site, even though I called an ActionClass. My struts-config.xml shall be

Error in RequestProcessor

2003-09-24 Thread Manuel Lenz
Hi, my forwarding-Problem does still exist and I have an idea whats going on... Instead of doing a GET for the path=FooAction.do my web-application tries to do a POST from the beforegoing ActionClass. How can I solve this problem? Why is my application doing a POST instead of a GET? Manuel

Antwort: RE: Error in RequestProcessor

2003-09-24 Thread Manuel Lenz
| | Is this for an ActionForward that you return from an action? If so make sure that redirecting=false for the forward. -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 September 2003 18:59 To: Struts Users Mailing List Subject: Error in RequestProcessor Hi, my forwarding-Problem

Logout Szenario

2003-10-21 Thread Manuel Lenz
Hi to all, this might be a simple question, but I didn´t find any good hints in the internet. I will do a logout szenario in my struts-web-application. I just did this: - Calling an ActionClass which creates a new LoginForm-Object - Replacing the existing LoginForm-Object in the session But

Antwort: RE: Logout Szenario

2003-10-21 Thread Manuel Lenz
: HttpSession.invalidate() Read the man pages here: http://java.sun.com/j2ee/sdk_1.3/techdocs/api/ -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 8:56 AM To: Struts Users Mailing List Subject: Logout Szenario Hi to all, this might

far reaching db question

2003-10-24 Thread Manuel Lenz
I create DB-Inserts from my struts application. But If an user types in the sign ' any dynamicly created inserts fail. This ist because of the sql-syntax which divides the string which will be saved with '. For example: insert into table test (name, number) values ('mr burns',

Antwort: [OT] Re: far reaching db question

2003-10-28 Thread Manuel Lenz
How do preparedStatements handle single quotes and other injection attacks? I changed my db-connection from a normal statement-conding into prepared statements. But the error ist still the same. Here ist my test-coding: Connection conn = null; PreparedStatement prepare = null;

Antwort: RE: Antwort: [OT] Re: far reaching db question

2003-10-28 Thread Manuel Lenz
values for mischieveous chars like single quotes etc. -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 4:33 PM To: Struts Users Mailing List Subject: Antwort: [OT] Re: far reaching db question How do preparedStatements handle single quotes

Antwort: Re: [OT] Re: far reaching db question

2003-10-29 Thread Manuel Lenz
= ? WHERE key = ? ; con = ds.getConnection(); ps = conn.prepareStatement(sql); ps.setString(1, newColumValue); ps.setInt(2, recordId); ps.executeQuery(sql); from:Manuel Lenz [EMAIL PROTECTED] date:Tue, 28 Oct 2003 12:07:42 to: [EMAIL PROTECTED] subject: Re: Antwort: RE

Localized message to alt-tag

2003-11-19 Thread Manuel Lenz
Hi to all, how can I get a localized message from a ressource bundle which ist placed into the alt-tag of an html-field? The struts-tag to get a ressource-bundle message is not defined for alt-tag. Example: html:checkbox property=wareneingang alt=bean:message key=label.test // Greetings,

Antwort: using select with country codes

2003-11-19 Thread Manuel Lenz
Hi Mohan, first you have to select your country codes from database. You can put these values for example into a vector-object. From this object you can create a scroll down menu where the user selects his country. Example: The name of this vector is: vorschlagForm.getV_ekg(). html:select

Re: Localized message to alt-tag

2003-11-20 Thread Manuel Lenz
to alt-tag | | On Wed, 19 Nov 2003, Manuel Lenz wrote: Hi to all, how can I get

Antwort: Re: Localized message to alt-tag

2003-11-20 Thread Manuel Lenz
| | On Thu, 20 Nov 2003, Manuel Lenz wrote: What Do you mean with altKey attribute? You would know what I mean If you had: - Looked at the user guide or - Looked at the TLD or - Looked at the source Basically, you can use altKey to display an i18n'd alt tag

Antwort: Re: forward to new window.

2003-11-21 Thread Manuel Lenz
I solved the problem this way: 1. Writing a servlet for a new page DisplayFile.java 2. Calling the servlet in ActionClass DisplayFile df = new DisplayFile(); df.doGet(request, response); forward = null;

Antwort: validatation : the select field and checkbox field origin value lost...

2003-11-28 Thread Manuel Lenz
If you want to prove the value of a checkbox, you have to check the request. If the request doesn´t contain a value with the name of the checkbox, you have to erase the value of your checkbox-variable in FormBean. Hope to help you, Manuel |-+ | |

Antwort: how to handle refresh button ?

2003-12-08 Thread Manuel Lenz
Hi, what does happen when the refresh button is pressed? You can test anyway if the user has pressed submit or refresh button. And you can add an if-expression which adds a row only if submit button is pressed. Manuel

Re: java.lang.VerifyError

2003-12-12 Thread Manuel Lenz
Sorry, code is ok. Do you have a better exception message? Have you tried to debug jsp-site? Cheers, Manuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Access ResourceBundle

2003-12-19 Thread Manuel Lenz
Hi to all, it is simple to get Data from the strutsRessourceBundle with the jspTag. But I need to get ResourceData inside a java-Part of the jsp-page and inside an ActionClass. For example % if (loginForm.getUsername.equalsIgnoreCase( ResourceData ) {

Call ActionClass from Javascript

2004-01-22 Thread Manuel Lenz
Hi to all, I´d like to call an ActionClass from a javascript-link which opens a new window. Here is my code: Javascript in jsp-Site: function OpenSite(sitename, winName,features) { window.open(sitename, winName, features); } Link in jsp-Site: a href=#

Urgent: Call ActionClass from link

2004-01-22 Thread Manuel Lenz
Hi to all, I still have the same problem and didn´t find any hint in the list archive. I want to call an ActionClass from a Link. This code should be run (I copied it from an archive topic): a class=leftnav href=javascript:window.open('InfoAction.do','windowName', 'status=no') But if I

RE: Urgent: Call ActionClass from link

2004-01-22 Thread Manuel Lenz
- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 9:54 AM To: Struts Users Mailing List Subject: Urgent: Call ActionClass from link Hi to all, I still have the same problem and didn´t find any hint in the list archive. I want to call an ActionClass from a Link

WebGroups css

2004-01-27 Thread Manuel Lenz
Hi you, I do have a silly problem with style sheets-linking. I have a css-File in the folder /theme/formats.css. I access this file from a jsp-page of the folder /help/info.jsp with this link: LINK href=../theme/formats.css rel=stylesheet type=text/css This works, if I call the jsp-Page

Antwort: AW: WebGroups css

2004-01-27 Thread Manuel Lenz
= request.getContextPath(); % LINK href=%=context_path%/theme/formats.css rel=stylesheet type=text/css Regards, Frank -Ursprungliche Nachricht- Von: Manuel Lenz [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 27. Januar 2004 09:15 An: Struts Users Mailing List Betreff: WebGroups css Hi

No Action is executed

2004-02-17 Thread Manuel Lenz
Hi to all, my struts-webApplication is used by almost 80 people. After 1-2 weeks my application doesn´t react anymore, if I do call an ActionClass which will connect to an oracle database. So I guess I do have a problem with the database connection. My database config shows that:

Antwort: Re: No Action is executed

2004-02-17 Thread Manuel Lenz
But why are only 5 suspended connections left? So I might have 15 free connection resources? What is a good value for maxDatabaseCount?

Antwort: trubble with session

2004-02-17 Thread Manuel Lenz
Hi Claudia, why don´t you put the list in a Struts FormBean? You can get the list from the form bean easily, if you use the UseBean-Tag in your jsp-Site. Greetings, Manuel

Re: Re: No Action is executed

2004-02-17 Thread Manuel Lenz
Thanks for your tip. Where do I get more Infos about the parameters you have set (any good web adress)? Am I able to set all of this parameters (I use Oracle DB) or is this dependend on the driver? ConnectionPooling must be implemented within the dbDriver? Do I have to devide statements and