Re: How To Output the Value Of a Hidden Field?

2003-12-17 Thread Koni Roth
You cannot have two properties with the same name in a form. Try: html:hidden property=creator_1/ input type=text name=creator vlaue=bean:write name=beanName property=creator_1/ size=82 maxlength=25 tabindex=1/ cheers Koni Caroline Jen wrote: My JSP #2 receives a hidden field passed from JSP #1

Re: requiredif

2003-10-28 Thread Koni Roth
http://cvs.apache.org/builds/jakarta-struts/nightly/ Ruben Orta Magan wrote: - Original Message - From: Marc Dugger [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] The new validwhen validation rule, which will be included into the Struts release immediately after the

Re: Running struts without servlet

2003-10-22 Thread Koni Roth
As far as I know you can simply configure Struts (web.xml) to use a .jsp extension instead of the .do extension. http://marc.theaimsgroup.com/?t=10648445023r=1w=2 Koni Roland Carlsson wrote: Hi! I don't think i missed a line in my question. The only requests that is going to tomcat from

Re: view struts tag in Design page(Dreamveaver)

2003-10-14 Thread Koni Roth
Maybe you will find a solution here... http://marc.theaimsgroup.com/?l=struts-userw=2r=1s=dreamweaverq=b Just a guess. Koni Tim Smal wrote: We're using Adobe Golive for designing purposes. No problems with viewing the struts tags. In Dreamweaver I have no idea how you can enable them

Re: need calendar (maybe popup) calendar

2003-10-14 Thread Koni Roth
/javascripttoolbox.zip Koni Otto, Frank wrote: Hello, I search a good solution for displaying a calendar. I use struts and have an input field for date value and I want to display a calendar (maybe popup) for choose the date. Is there a good implentation for using with struts? Regards

Re: [Poll] Action Form data types

2003-10-13 Thread Koni Roth
#3 Mainguy, Mike wrote: Here's my weekly(ish) question: For the purposes of this discussion, ActionForms also mean DynaActionForms and the like... Where does everyone cast their (String) request parameters to the 'proper' datatype? #1 My ActionForms only have Strings, I manually cast stuff

Re: validating not within a pull-down menu?

2003-10-13 Thread Koni Roth
See commons-validation which comes with struts. The 'required' attribute does it for you. form name=myForm field property=pull-down-property depends=required arg0 key=prompt.choose.gold.or.platinum/ /field /form Cheers Koni Mick Knutson wrote: I have a pull-down menu with 3 values

Re: Newbie

2003-10-12 Thread Koni Roth
Hi Gaurav Download and install Struts 1.1 and study the example. http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1.zip Additionally I recommend buying a book: http://jakarta.apache.org/struts/resources/books.html Have fun Koni Gaurav Vaish wrote: Hi, I am new to struts

Re: Newbie

2003-10-12 Thread Koni Roth
Try to find a tool which fits your needs at http://jakarta.apache.org/struts/resources/tools.html I've never worked with tools that generate code visually. Generated code tends be difficult and uncomfortable to maintain. Good luck. Koni Gaurav Vaish wrote: Hi Koni, Thanks for the starter

Re: Newbie Struts Questions

2003-10-03 Thread Koni Roth
Cheers Koni Reynardine wrote: Hello, I've got Java HTTP servlets running under Tomcat. Now I want to convert them to run under Struts. 1) Does Struts work with Tomcat Standalone or must I use Tomcat/Apache with a connector? I would prefer to use just Tomcat and Struts. Must I connect to Apache

Re: message key on jsp?

2003-09-30 Thread Koni Roth
If I understand you correct, it's easy like this: input type=hidden name=myKey value=bean:message key=msg.key/ Greets Koni muzammil shahbaz wrote: Hello! For example; I have a key defined in ApplicationResources.properties file as msg.key. This can be accessed on jsp as bean:message key

Re: Servlet action is currently unavailable

2003-09-30 Thread Koni Roth
. ???%ç*/??? Please let me know if you find a solution. Koni Parthasarathy Kesavaraj wrote: Hai I am using Tomcat 4.1.27 and struts 1.1.When i call a .do from my browser i am getting the following error HTTP Status 503 - Servlet action is currently unavailable type Status report message Servlet action

Re: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Koni Roth
#2 DynaActionForm I don't think custom validation is difficult. We use commons validation together with custom validation and it works fine. Koni Mainguy, Mike wrote: Next in my series of struts-user polls (please complain if this gets old). What sort of ActionForms does everyone use? #1

Re: creating beans.

2003-09-29 Thread Koni Roth
Have a look at the Example witch comes with struts. http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1.zip and/or study the UserGuide http://jakarta.apache.org/struts/userGuide/ general_question.equals(general_answer); have_fun; khabot zakaria wrote: Hi, How to create a bean

Re: uploading file

2003-09-26 Thread Koni Roth
(); ... OutputStream bos = new FileOutputStream(filePath + fileName); ... /snip See also: http://jakarta.apache.org/commons/fileupload/apidocs/org/apache/commons/fileupload/package-summary.html#package_description Hope it helps Koni Kannan wrote: Hi All! I'm using struts 1.1 , i'm creating a application

Re: validation failed! please help!!!

2003-09-12 Thread Koni
://jakarta.apache.org/struts/userGuide/dev_validator.html Good luck Koni basebeans wrote: Yes, the ActionErrors() is in the Action class. I attached the following Action class for your references, tq! package com.ilium.eapps.intmsg.controller; import java.util.*; import

Re: validation failed! please help!!!

2003-09-11 Thread Koni Roth
Your error is: Cannot find bean 'error' in any scope! Where and how do you define 'error'? Do you have something like this in you Action: ActionErrors error = new ActionErrors(); ... error = ... ... saveErrors(request, error); return new ActionForward(mapping.getInput()); ... Koni basebeans

Re: deployement issue

2003-09-09 Thread Koni Roth
I have similar (strange) errors when my database isn't up and running. Is your database connection on the production server up and running and can you connect your DB properly? Just a guess... Cheers Koni michel Van Asten wrote: Hi, I got errors when I try to run my application

Re: deployement issue

2003-09-09 Thread Koni Roth
to test it with the application... -Message d'origine- De : Koni Roth [mailto:[EMAIL PROTECTED] Envoyé : mardi 9 septembre 2003 13:20 À : Struts Users Mailing List Objet : Re: deployement issue I have similar (strange) errors when my database isn't up and running. Is your database

Re: Validator cannot find message key

2003-09-04 Thread Koni Roth
Paste the faulty part of your validation.xml file maybe we can see some strange things. I had a similar problem and it was only an error in writing... Yuan, Saul (TOR-ML) wrote: Hi, I am using Struts Validator for validating a multi page form, some how the Validator cannot find the messages

Re: Validator cannot find message key

2003-09-04 Thread Koni Roth
Looks good to me. If you are properly closing the /formset and the /form I can not see any problem, sorry. Koni Yuan, Saul (TOR-ML) wrote: Here is what's in the validation.xml file: formset form name=messageForm field property=messageName depends

Re: [OT[ voice enable Java IDE

2003-08-28 Thread Koni Roth
This link seems funny but my anti virus tells me something different! WARNING TROJAN HORSE FOUND IN NETSCAPE CACHE - Office.js it's funny but be careful ... Raj Naboti wrote: I find this IDE most rewarding. Compared to crowd it shines with highest regard! Understands language you speak to

How to reset a form

2003-08-28 Thread Koni
up. How can I reset a form in my Action? I tryed the method form.reset() but it still shows the old values. Any Ideas to show the new values? Has someone similar problems? Thanks Koni - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: How to disable a component based on bean property.

2003-08-26 Thread Koni Roth
You could use logic:equal or logic:notEqual tags: logic:equal name=myForm property=method scope=request value=update html:text disabled=true property=username size=30/ /logic:equal Koni deepaksawdekar wrote: Hi All, I need to disable the html:text component based on some property of bean. Any

Re: validator returns blank page

2003-08-25 Thread Koni Roth
()) { saveErrors(request, errors); return new ActionForward(mapping.getInput()); } And be sure that your Class extends DynaValidatorForm. Hope this helps Koni thomas Sontheimer wrote: I'm attempting to use the validator with a DynaValidatorForm and it returns a blank page if I

Re: suggestion needed

2003-08-25 Thread Koni Roth
://jakarta.apache.org/struts/index.html Koni Raju BSN wrote: Hi, I'm a new bee to struts. I have tried some examples and now I'm able to understand a bit abt the framework, but still not sure of the complete steps needed to develop a web application using struts. It will be a great help for me

Re: suggestion needed

2003-08-25 Thread Koni Roth
recommend buying a book: http://jakarta.apache.org/struts/resources/books.html Koni Raju BSN wrote: Hi, I'm a new bee to struts. I have tried some examples and now I'm able to understand a bit abt the framework, but still not sure of the complete steps needed to develop a web application using struts

Re: Checkboxes

2003-08-25 Thread Koni Roth
Hi Filip See example on the really cool page of Matt Kruse: http://www.mattkruse.com/javascript/checkboxgroup/ Koni Filip Polsakiewicz wrote: Hi, I have the following problem: I have a list of 71 Checkboxes and want to have one checkbox to select all of them at once. This works fine but I cannot

Re: Displaying a single error message for multiple properties

2003-08-18 Thread Koni Roth
=106068603102209w=2 hope this helps Koni Original Message Subject: Displaying a single error message for multiple properties Date: Mon, 18 Aug 2003 11:41:30 +1000 From: James JKE95 Kerridge [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED

Re: HTTP 404 Not Found on Actions

2003-08-18 Thread Koni Roth
Try struts 1.1 final version. Here it works ;-) Johan Wasserman - CPX Mngd Services wrote: Hi. I'm running struts 1.1-rc2 and get a 404 when entering an unrecognized username password on the logon page for struts-example (Mailreader demo). It goes to localhost/sruts-example/logon.do but with a

Re: Help or tutorial

2003-08-18 Thread Koni Roth
I recommend buying a book. See http://jakarta.apache.org/struts/resources/books.html - 'Struts in Action' is very helpful. or read the User Guide at: http://jakarta.apache.org/struts/userGuide/index.html Koni Arindam Bhattacharjee wrote: Hi All, I am a newbie in Struts. Can some one give some

Re: commons-logging.properties

2003-08-18 Thread Koni Roth
://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/Log.html have fun Koni Duan Qiang wrote: Hi, I want to have fine-grained configure of logging in my struts application, for example, for class A, it allows info level logging, for class B, it allows trace level logging. I surfed the net

Re: commons-logging.properties

2003-08-18 Thread Koni Roth
://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/Log.html have fun Koni Duan Qiang wrote: Hi, I want to have fine-grained configure of logging in my struts application, for example, for class A, it allows info level logging, for class B, it allows trace level logging. I surfed

Re: persisting session id

2003-08-15 Thread Koni Roth
As far as I know there is not really an easy way to keep the session if you close the browser. If you really want to keep it persistent you would have to save it somehow in a file or in a database. Search at google for more information. Koni Billy Ng wrote: Hi folks, This is really a tomcat

Re: where is JSESSIONID?

2003-08-15 Thread Koni Roth
If the browser does not accept cookies it is stored in the URL. If the browser accepts cookies it is stored in the memory (session). Koni Billy Ng wrote: Hi folks; Anybody knows where is the JSESSIONID cookie is? I search the whole Cookies folder, I can't find it. Billy Ng

RE: Pop-up a window on Submit

2003-08-14 Thread Koni
/report/Search.do?parameterXY=bean:write name=searchForm property=searchStuff /','myWindow','toolbar=none') Good night ;-) Koni -- Original-Message -- Reply-To: Struts Users Mailing List [EMAIL PROTECTED] From: Au-Yeung, Stella H [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED

RE: Pop-up a window on Submit

2003-08-14 Thread Koni
will help. Koni Original Message Subject: RE: Pop-up a window on Submit Date: Tue, 12 Aug 2003 10:39:42 -0400 From: Au-Yeung, Stella H [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Hi Koni: I must have

Re: How to configure commons-logging on JDK1.4

2003-08-14 Thread Koni Roth
to System.err. - Because my application runs on JRE 1.4, it uses automatic the Jdk14Logger. I cannot use SimpleLog on JDK 1.4! Therefore I will use Jdk14Logger and not Log4J. Thank you, Koni Kris Schneider wrote: Try actually putting it in WEB-INF/classes, not WEB-INF/classes/myclass. Quoting

Re: How to configure commons-logging on JDK1.4

2003-08-12 Thread Koni Roth
-logging.properties file? Any further help with examples would be appreciated. Thanx, Koni Kris Schneider wrote: Is the commons-logging.properties file located in your app's WEB-INF/classes dir? Quoting Koni Roth [EMAIL PROTECTED]: No answer until now! It looks like nobody is using commons-logging

Re: Pop-up a window on Submit

2003-08-12 Thread Koni
. Koni Au-Yeung, Stella H wrote: Hi: The bottom of my Search.jsp has two buttons. They are for displaying different report (a Main report and a Procedure Summary): html:submit property=mainReportbean:message key=button.mainReport//html:submit html:submit property

Re: Text Field property at run time!!!Urgent

2003-08-11 Thread Koni Roth
? Koni Anurag Garg wrote: Hi All, I have a scenario in which the property of my text box will be set at run time. In my action form I have declared all the property names that will be available in my jsp. The jsp text box will have property name as txtField1 , txtField2 , txtField3. The action

Re: How to configure commons-logging on JDK1.4

2003-08-11 Thread Koni Roth
Thanks Craig Since I have my commons-logging.properties file in WEB-INF/classes and *not* in a subdirectory everything works fine! I didn't get this out of the documentation. Cheers Koni Craig R. McClanahan wrote: On Fri, 8 Aug 2003, Koni Roth wrote: Date: Fri, 08 Aug 2003 18:47:41 +0200

How to configure commons-logging on JDK1.4

2003-08-09 Thread Koni
application the Log should use the 'SimpleLog', as defined in 'commons-logging.properties'. BUT it uses the default logger for my environment org.apache.commons.logging.impl.Jdk14Logger How can I configure logging to use 'SimpleLog'?? Any examples?? Thanks Koni

Re: How to configure commons-logging on JDK1.4

2003-08-09 Thread Koni Roth
No answer until now! It looks like nobody is using commons-logging! Very frustrating to be the only one using it... Is there really no useful example or documentation? Cheers and enjoy the Friday Beer. Koni Original Message Subject: How to configure commons-logging on JDK1.4

Re: Cannot find bean error in any scope

2003-08-02 Thread Koni Roth
I had the same problem. When I wrote 'errors' it worked for me. Try html:messages id=errors and bean:write name=errors/! Hope it helps. Koni Swaroop George wrote: Why don't u use html:errors instead?? Just give /html:errors -Original Message- From: Altug B. Altintas [mailto:[EMAIL

Validator newbie - server side dynamic validation ??

2003-08-01 Thread Koni Roth
in LogonAction.java ? Do I have to call a validate() method or what ?? Thanks for any suggestions and examples. Koni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Validator: Is validwhen available ?

2003-07-31 Thread Koni
release, is designed to handle these cases. ... Is the validator with 'validwhen' sowhere available or do we have to wait for the next Struts release? Thanks Koni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Validator - NullPointerException

2003-07-27 Thread Koni
After a few direct questions about how I solved the problem, here the answer: The database for my application was missing eg. not started. The error (NullPointerException) shown in the browser was more than strange but now it works fine... Koni Koni Roth wrote: Hello I'm running Netbeans 3.5

Validator - NullPointerException

2003-07-24 Thread Koni Roth
, close the browser and restart the application again, it all works fine!!?!! Has anyone similar experience? What can I do? Thanks Koni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FW: Migrating from Struts 1.0.2 to 1.1

2003-07-20 Thread Koni Roth
/action-mappings is missing! Gopalakrishnan, Jyothikumar wrote: Hi All, While migrating from Struts 1.0.2 to Struts 1.1 (on Weblogic 6.1SP3, Solaris 6), I am stuck with this problem. This mailing list is now my last resort. Here is my struts-config.xml ?xml version=1.0