Re: Large scale Internationalization using struts

2003-11-20 Thread Linus Nikander
> > > As I'm probably not the first person who is trying to use > > Struts on a larger scale for internationalization issues I > > thought someone might have a better solution. Suggestions ? > > In this case, you shouldn't be putting everything into one file. > > I'd be creating message bundles tha

RE: IDE

2003-11-20 Thread Prasenjit Narwade
WSAD 5.0/5.1 -Original Message- From: Gonzalez Comesaña [mailto:Gonzalez Comesaña] Sent: Wednesday, November 19, 2003 2:31 AM To: Struts Users Mailing List Subject: IDE Hello, Someone knows a good editor for Java and Struts ?? I use Jdeveloper 9.03 but I would like change it. T

URGENT :: Disable enter key in HTML:FORM by using onKeyPress func tion

2003-11-20 Thread Chawla, Yogesh
Hi, In normal forms, we can disable enter key by calling onKeyPress() function in the form tag. However, this is not supported in the definition for Struts. Can anybody give a solution to this ... Thanks, Yogesh Chawla DISCLAIMER: The information in this message is confidential and may be lega

Re: Map Backed Action Form

2003-11-20 Thread Ovidiu EFTIMIE
Look here http://puneetdelhi.tripod.com/ Designing Screens For Variable Number Of Fields - Original Message - From: "Agashivala, Vishal" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 7:17 AM Subject: RE: Map Backed Action Form

RE: dynamically populating options in form

2003-11-20 Thread Anindito De
Is there someway we can do the same thing, without making a server call on every change event of the first select control ? Again, we want to make minimal use of JavaScript. Thanks in advance Anindito -Original Message- From: Nimish Chourey , Tidel Park - Chennai [mailto:[EMAIL PROTEC

Hello .. Struts examples

2003-11-20 Thread tim duch
Hello , I am very new to the struts, Where can i find very simple examples on struts, any pointer will be very helpful.. -Tim __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/

JBuilder Servlet path issue

2003-11-20 Thread Joe Hertz
I'm using JBuilder 8 Enterprise and Tomcat 4.1. Whenever you use JB to build a servlet application, it defaults to building the project such that the "root" directory is named after the project itself. This is especially annoying in struts as I'm finding I need to name all my actions //.do Any

Re: URGENT :: Disable enter key in HTML:FORM by using onKeyPress function

2003-11-20 Thread Sergey Smirnov
"Chawla, Yogesh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > In normal forms, we can disable enter key by calling onKeyPress() function > in the form tag. > However, this is not supported in the definition for Struts. > > Can anybody give a solution to this ... > If it i

AW: JavaScript function inside JSP not working

2003-11-20 Thread Mario . Gleichmann2
Hi, as far as i know, the -tag doesn't support an attribute called 'name'. Maybe you'll take a look at http://jakarta.apache.org/struts/userGuide/struts-html.html#form (if there is a way to give the form element a name in order to refer to it by this name, i am very interested in the answer :o))

RE: Map Backed Action Form

2003-11-20 Thread Agashivala, Vishal
Hi I have checked the URL which you have suggested but there I did not find the example of accessing a field value of form in Action class. It only gives to use it JSP via . Can you give me some more information on the same? Thanks and Regards, Vishal Agashivala Atos Origin India O: +91-22-56

Re: JavaScript function inside JSP not working

2003-11-20 Thread Fırat TİRYAKİ
If you are trying to refer to one of the forms in your document, there is an array object holding all the forms in JavaScript. So you can call your form by; myForm=document.forms[0]; now myForm is the object that holds the reference to your first form in the browser. F. - Original Message -

Passing objects from JSP to Action (in request scope)

2003-11-20 Thread "Castañeda Santana, Jose Manuel"
Thanks again, Adolfo! I think the MVC model is respected: in the second JSP I´v received a vector with the results of a DB query that is done in the previous action (Action1): I needthis vector in the following Action (Action2); how to pass it, avoiding session scope

how to create an error message with a filter

2003-11-20 Thread Arne Brutschy
Hello, I want to create a error message with my authentication filter. The filter checks for an idle timeout. If this occours, it invalidates the session. At this point, the filter should create a error message, i.e. "you have been idle for too long!". After that the filter redirects to the login

Re: Hello .. Struts examples

2003-11-20 Thread Sergey Smirnov
This is a good start point: http://jakarta.apache.org/struts/resources/tutorials.html "tim duch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello , > > I am very new to the struts, Where can i find very > simple examples on struts, > > any pointer will be very helpful.. > > -Tim

AW: JavaScript function inside JSP not working

2003-11-20 Thread Mario . Gleichmann2
Hi Firat, thanks for your answer - i'm not sure, but i guess the origin question is about refering to a form element by name, not by index. Problems potentially occur, if a JSP is composed dynamically by multiple JSP fragments, declaring their own form tags. Hence you maybe can't refer a certain f

RE: how to create an error message with a filter

2003-11-20 Thread Joe Hertz
Suggestion: In your filter, stick the current timestamp as an attribute in the httpSession. Before you do that though, check the timestamp that got stuck there on the last request. If the delta > threshold, bounce the user to the right page. If you *really* wanted, you could generate an ActionEr

RE: URGENT :: Disable enter key in HTML:FORM by using onKeyPress function

2003-11-20 Thread Chawla, Yogesh
Hi, Have handled this in another manner in the meanwhile : Have used this function onkeypress() inside the where it is supported instead of at form level. Thanks Sergey for your response too ! Will also try that implementation. Regards. -Original Message- From: Sergey Smirnov [mailto:

Re: Localized message to alt-tag

2003-11-20 Thread Manuel Lenz
What Do you mean with "altKey attribute"? I try to fill in a localized message into alt-attribute. The only way I know to get a resourceBundle-Message is with Tag. But this tag is not usable for alt-attribute. Cheers, Manuel |-+> | |

Validator Framework & Value Object ActionForm

2003-11-20 Thread harm
Hi all, I have the following action form: /* * Created on Nov 19, 2003 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */ package nl.informatiefabriek.addressbook.form; import nl.informatiefabriek.addressbook.value

Re: Map Backed Action Form

2003-11-20 Thread Ovidiu EFTIMIE
In your Action, CommonEventHandler , you'll decide, based on tha value of a certain field, which should be present in all your jsp and let's call it op, what you should do . So for example in your CommonEventHandler you'll have public ActionForward execute(ActionMapping mapping, ActionForm form,

Re: Passing objects from JSP to Action (in request scope)

2003-11-20 Thread Adolfo Miguelez
Hi Jose Manuel, as you comment, in your design JSP is accesing database. In a pure MVC model 2 design, database should be accessed preferably by an Action. JSP is most focused for presentation purposes. Why do noy you access database from the Action to get the Vector and store it in session to

RE: dynamically populating options in form

2003-11-20 Thread Nimish Chourey , Tidel Park - Chennai
Yes .. Have a look at the docs for LookupDispatchAction .. That would solve your purpose .. -Original Message- From: Anindito De [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 2:25 PM To: Struts Users Mailing List Subject: RE: dynamically populating options in form Is the

Latest vesrion of sturts

2003-11-20 Thread Meenakshi Dhawale
Hi, I am very new to Sturts Architecture. I want to know the latest version of Sturts and also the URL from where I can download it. Also the example or documents which help me to know basics of Sturts and its architecture. regards, Meenakshi

RE: JBuilder Servlet path issue (solved)

2003-11-20 Thread Joe Hertz
Figured out how to get at the Default WebApp. And IDE's were supposed to makes things intuitive... > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 4:07 AM > To: [EMAIL PROTECTED] > Subject: JBuilder Servlet path issue > > > I'm using

Latest vesrion of sturts

2003-11-20 Thread Meenakshi Dhawale
Hi, I am very new to Sturts Architecture. I want to know the latest version of Sturts and also the URL from where I can download it. Also the example or documents which help me to know basics of Sturts and its architecture. regards, Meenakshi --

Re: JBuilder Servlet path issue (solved)

2003-11-20 Thread James Neville
Joe, If you have any tips on how to configure this, I have a colleague experiencing the same issue. Personally, i'm using IDEA... no problems here ;) Thanks in advance, James. Joe Hertz wrote: Figured out how to get at the Default WebApp. And IDE's were supposed to makes things intuitive...

RE: Latest vesrion of sturts

2003-11-20 Thread Agashivala, Vishal
Latest version of struts 1.1 and you can download it by clicking the following link- http://mirror.ehpg.net/apache/jakarta/struts/binaries/jakarta-struts-1.1.zip you also get the documentation with this. Regards, Vishal Agashivala -Original Message- From: Meenakshi Dhawale [mailto:[EMAI

RE: Latest vesrion of sturts

2003-11-20 Thread Meenakshi Dhawale
Hi, Thanks for your prompt reply. I am also bit confused as on Jakarta site I saw Sturt 1.1 beta 2, Sturt 1.1 beta 3 relaese and so on... So I wondered which one is latest. So please let me know which beta version is this which you have told to download from http://mirror.ehpg.net/apache/jak

RE: Map Backed Action Form

2003-11-20 Thread Agashivala, Vishal
See basically currently I am just testing so I know what key/value are there in that HASHMAP. So i am just directly querring the username and password but it did not show up the value which i v inserted in those field of JSPs rather it prints 'null' for both. So i dont know where I am wrong and is

BeanUtils copyProperty problem

2003-11-20 Thread sairam manda
Hello Sir, I am using BeanUtils class in my struts application .My bean got a setter method which takes a double array of size 2 as parameter. My form also got two textfeilds with the same name. In the action classs I use String voxelsize[]=httpServletRequest.getParameterValues("voxelsize"

Re: Latest vesrion of sturts

2003-11-20 Thread Gurpreet Dhanoa
hi Well this is a 1.1 neta 2 release and we are using it in a live project so u can use it - Original Message - From: "Meenakshi Dhawale" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 20

Re[2]: how to create an error message with a filter

2003-11-20 Thread Arne Brutschy
Hello, Thursday, November 20, 2003, 10:32:01 AM, Joe wrote: JH> If you *really* wanted, you could generate an ActionError inside of the JH> filter I suppose, so the login page displays the reason he wound up JH> there, but I've never tried that, and my newbie self kind of shudders at JH> that. I

Re: Map Backed Action Form

2003-11-20 Thread Ovidiu EFTIMIE
The jsp you're using for this example should contain the struts taglibs and should look like this Login Password: Ovidiu - Original Message - From: "Agashivala, Vishal" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 11:

RE: Latest vesrion of sturts

2003-11-20 Thread shishir.katdare
Hi , U can download the release version of the same , u might see the downloads defined under different catagories , nightly builds , beta builds , release builds , prefer taking the Struts -1.1 release build. Thats the current build and if required just go to the struts site ( developers conn

RE: Latest vesrion of sturts

2003-11-20 Thread Agashivala, Vishal
Dont think to much you are just starting with..So i think it wont make much difference to you!! So just click on that link and start breathing in STRUTS World!!! Regards, Vishal Agashivala Atos Origin India O: +91-22-5691 3870 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Commons Bean Utils

2003-11-20 Thread Jerome Sevrin
Hi all, I saw in a application example, using of commons beanutils. For instance : String password = (String) PropertyUtils.getSimpleProperty(form, "password"); I understand that make the application more flexible. But are there any other advantages to use that ? I think, it's most "simple" to

RE: JBuilder Servlet path issue (solved)

2003-11-20 Thread Joe Hertz
The directory JBuilder makes is named after the WebApp, (which isn't necessarily the project name, but it was for me (and probably your colleague). The WebApp "Name" is actually optional. RightClick on the node for the WebApp, select properties, clear out the name field and press the Okay Button.

tokens creating a field in my forms

2003-11-20 Thread Raphaël di Cicco
Hi, I understand how tokens work. I'm currently modifying my application to use tokens every time possible. The thing is that I'm doing validation with javascript on my JSPs, and very often checking form elements with the index. When using token, struts creates a form element at index 0, so ever

RE: Map Backed Action Form

2003-11-20 Thread Agashivala, Vishal
As you have suggested I have updated my jsp as shown below- BUT NOW it gives me error "No getter method for property username of bean org.apache.struts.taglib.html.BEAN".. i think it tries to find the getUsername and getPassword.. And in my ActionForm bean has only getValue and setValue functions..

RE: URGENT:static methods in JSPs

2003-11-20 Thread Edgar P Dollin
All the tags us introspection to access the objects. Introspection works only on non-static public fields and methods. You must find a way, possible with a façade, to make your static method non-static. Edgar > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > S

Paging with

2003-11-20 Thread Srinivas ,G
hi, I need to do paging of dropdown with multiple values in pagewise manner.i am able to do the pagewise data (in each page i need to display 20 records only,ie page 2 starts with 21 to 40 etc).I have done this paging .no problem.but the issue is ,in page1 i have selected 2 values and page2 i have

Re: Map Backed Action Form

2003-11-20 Thread Ovidiu EFTIMIE
In fact the link I have sent you tells you, what you should add in the property attribute : try now. Ovidiu - Original Message - From: "Agashivala, Vishal" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 11:55 AM Subject: RE:

How do you deprecate a method?

2003-11-20 Thread Gurpreet Dhanoa
hi ALl Sorry for posting this question here, but it will be highly appreciated if anyone can explain Ques: CAn anyone tell me how to depreciate a method in Java Regards Gary - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Map Backed Action Form

2003-11-20 Thread Agashivala, Vishal
Thank you sir.. I got the value now in the Action class...Now I ll go ahead with my design..if need some help knock you Thanks and Regards, Vishal Agashivala Atos Origin India O: +91-22-5691 3870 -Original Message- From: Ovidiu EFTIMIE [mailto:[EMAIL PROTECTED] Sent: Thursday, November 2

Re: Localized message to alt-tag

2003-11-20 Thread James Mitchell
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... > > I try to fi

Re: [OT] How do you deprecate a method?

2003-11-20 Thread Thomas Cornet
By adding a special tag in the method's javadoc. Example /* * Function to deprecate * * @deprecated */ public void foo() { ... } Thus, the method foo will appear as deprecated in generated javadoc. For other tags : http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/javadoc.html#javadoctags

Re: URGENT :: Disable enter key in HTML:FORM by using onKeyPress func tion

2003-11-20 Thread James Mitchell
On Thu, 20 Nov 2003, Chawla, Yogesh wrote: > Hi, > > In normal forms, we can disable enter key by calling onKeyPress() function > in the form tag. > However, this is not supported in the definition for Struts. > > Can anybody give a solution to this ... Your best bet for stopping the user from s

Re: [OT] How do you deprecate a method?

2003-11-20 Thread Gurpreet Dhanoa
Thanks alot Thomas - Original Message - From: "Thomas Cornet" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 4:55 PM Subject: Re: [OT] How do you deprecate a method? > > By adding a special tag in the method's javadoc. Example >

Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Ovidiu EFTIMIE
Hi, In my application I need to have my Actions and my DispatchActions. Each one of this actions must have the same base class in which I have common methods to both of them. My solution is to first declare an interface IGeneral in which I'm declaring the common methods, then create an implementati

One Action and Action form for multiple JSP's

2003-11-20 Thread sanjay paithankar
Hello I am new to struts , can it be possible that there will be only one Action and ActionForm for multiple Jsp's if possible then link to the example will be very helpful.. Regards -sp __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.

RE: One Action and Action form for multiple JSP's

2003-11-20 Thread Agashivala, Vishal
Hey Sanjay Kindly trace all my mails here on.. I am implementing the same Regards, Vishal Agashivala Atos Origin India O: +91-22-5691 3870 -Original Message- From: sanjay paithankar [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 5:51 PM To: [EMAIL PROTECTED] Subject: One Acti

Iterate a Collection of Properties ???

2003-11-20 Thread Mauricio T. Ferraz
How can I iterate a ArrayList have Properties Objects elements??? with ??? In my Action I pass the ArrayList. Arraylist list = new ArrayList(); Properties prop; for (int i = 0 ; i < 10 ; i++){ prop = new Properties(); prop.put("name","michael"); prop.put("number","i"); prop.put("end","Stree

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Kris Schneider
The general approach is probably fine, although naming interfaces with a leading "I" makes me gag ;-). However, this seems like a bad idea: public abstract class BaseAction extends Action implements IGeneral { private static GeneralImpl general; public BaseAction() { general = new GeneralI

RE: Iterate a Collection of Properties ???

2003-11-20 Thread Lopez, Felix
I think that's the solution -Mensaje original- De: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] Enviado el:

Re: Iterate a Collection of Properties ???

2003-11-20 Thread Markus
Hi, Look inside the struts-exercise-taglib webapp of the struts package! There you will find all you need. Regards, Markus > How can I iterate a ArrayList have Properties Objects elements??? > > with ??? > > In my Action I pass the ArrayList. > > Arraylist list = new ArrayList(); > Properti

Antwort: Re: Localized message to alt-tag

2003-11-20 Thread Manuel Lenz
Thanks for your answer. I use altKey-Tag now, but both browser (internet explorer, mozilla) don´t show a message by mouseover. The source code of the replyed html-page contains a message, but this message isn´t shown. Example: Does anybody have an idea? Manuel |-+--

Re: Iterate a Collection of Properties ???

2003-11-20 Thread Mauricio T. Ferraz
Thanks Markus and Felix !!! It works!!! Thanks!!! - Original Message - From: "Markus" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 11:16 AM Subject: Re: Iterate a Collection of Properties ??? > Hi, > > Look inside the struts

Re: How do you deprecate a method?

2003-11-20 Thread Larry Meadors
For the love of all that is good in the universe people! Repeat after me: "GOOGLE IS MY FRIEND." http://www.google.com/search?q=java+deprecate+method Larry >>> [EMAIL PROTECTED] 11/20/03 4:02 AM >>> hi ALl Sorry for posting this question here, but it will be highly appreciated if anyone can e

Re: AW: JavaScript function inside JSP not working

2003-11-20 Thread [EMAIL PROTECTED]
Thanks for all the input. So what's the solution to my problem, can anybody give me a sample code? --- [EMAIL PROTECTED] wrote: > Hi Firat, > > thanks for your answer - i'm not sure, but i guess > the origin question is > about refering to a form element by name, not by > index. Problems potentia

STURT set up and IDE for STURT

2003-11-20 Thread Meenakshi Dhawale
Hi, I am new to STURTS architecture & I have told to implement it for live project. So I have downloaded STURTS 1.1 from http://mirror.ehpg.net/apache/jakarta/struts/binaries/jakarta-struts-1.1.zip Now I want to make set up for the same. So can u please guide me with this regards. Like what are t

MessageResources...

2003-11-20 Thread Mitesh Patel
Hi, Using Struts 1.1b2 Is it possible to get the message-resource parameter in the struts-config file from a customTag? (Any examples would be much appreciated) Thanks Mitesh Patel ---

Re: STURT set up and IDE for STURT

2003-11-20 Thread Markus
Hi, struts-documentation and struts-blank webapp from struts package is all you need. Regards, Markus > Hi, > > I am new to STURTS architecture & I have told to implement it for live > project. > So I have downloaded STURTS 1.1 from > http://mirror.ehpg.net/apache/jakarta/struts/binaries/jak

Re: STURT set up and IDE for STURT

2003-11-20 Thread Vic Cekvenich
Did you read any of the Struts books or tutorials on the home page of Struts? .V Meenakshi Dhawale wrote: Hi, I am new to STURTS architecture & I have told to implement it for live project. So I have downloaded STURTS 1.1 from http://mirror.ehpg.net/apache/jakarta/struts/binaries/jakarta-strut

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Ovidiu EFTIMIE
I agree with you regarding the leading I ; I've implemented the setServlet method after sending the mail :) Yes you're right about GeneralImpl it must be final . I'm overiding execute just for BaseAction of course :), and I do it to catch exception that are not applicational Something like this

[OT] struts for PHP

2003-11-20 Thread Ben Anderson
I'm starting a new project that the customer says must be done in PHP. I've been looking at frameworks and there seems to be a bunch. There is one called php.MVC - http://phpmvc.net - that is based on struts. I'd love to use it since I'm already familiar with struts. Does anyone have any ex

Re: MessageResources...

2003-11-20 Thread Nick Heudecker
I'm not clear on what you want to do. Do you want the name of the resources file? On Thu, Nov 20, 2003 at 02:22:04PM -, Mitesh Patel wrote: > Hi, > > Using Struts 1.1b2 > > Is it possible to get the message-resource parameter in the struts-config > file from a customTag? > >parameter=

Re: STURT set up and IDE for STURT

2003-11-20 Thread Meenakshi Dhawale
no..not yet regards, Meenakshi At 09:38 03/11/20 -0500, you wrote: Did you read any of the Struts books or tutorials on the home page of Struts? .V Meenakshi Dhawale wrote: Hi, I am new to STURTS architecture & I have told to implement it for live project. So I have downloaded STURTS 1.1 from htt

RE: MessageResources...

2003-11-20 Thread Mitesh Patel
Hi, Sorry, I have been trying to get hold of the message-resource parameter (e.g.com.misys.sts.ms.customiser.utils.ApplicationResources) when running from java class (which is part of a customTag). The reason for this is because the customTag will be accessed by two Web Projects and therefore I

RE: STURT set up and IDE for STURT

2003-11-20 Thread Kalra, Ashwani
I will suggest IDEA editor. or more powere full is from exadel(not used) Cheers Ashwani Kalra http://www.geocities.com/ashwani_kalra >-Original Message- >From: Meenakshi Dhawale [mailto:[EMAIL PROTECTED] >Sent: Thursday, November 20, 2003 7:45 PM >To: [EMAIL PROTECTED] >Subject: STURT

RE: STURT set up and IDE for STURT

2003-11-20 Thread Jarnot Voytek Contr AU HQ/SC
Try this: http://www.catb.org/~esr/faqs/smart-questions.html > -Original Message- > From: Meenakshi Dhawale [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 8:53 AM > To: Struts Users Mailing List > Subject: Re: STURT set up and IDE for STURT > > > no..not yet > > regards,

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Kris Schneider
Why not just declare handlers for *both* BaseException and Exception in struts-config? Quoting Ovidiu EFTIMIE <[EMAIL PROTECTED]>: > I agree with you regarding the leading I ; > I've implemented the setServlet method after sending the mail :) > Yes you're right about GeneralImpl it must be final

Validation of Primitive Data Types

2003-11-20 Thread sreekant_gottimukkala
Hello All, I am trying to use STRUTS Validator for validating some attributes of primitive data type like double, int etc. However this fails as those attributes are defaulted to their corresponding default values for the datatypes like 0.0 for double and 0 for int. I guess we can get around it b

RE: Commons Bean Utils

2003-11-20 Thread Richard J. Duncan
The most common use of is to copy all matching properties as in BeanUtils.copyProperties(DTO, form); This way you can add new items on the form simply be adding the corresponding properties to the form and the data transfer object without trying to hunt down all the places you are copying

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Ovidiu EFTIMIE
For BaseException there is not really a need to catch it in BaseAction, because I'll have a handler, but for Exception I don't know. Is it a good practice to declare may own handler? Ovidiu - Original Message - From: "Kris Schneider" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[

RE: MessageResources...

2003-11-20 Thread Edgar P Dollin
A brute force approach is to loop through the context objects looking for ActionMessages or ActionError objects which contain the key you are looking for. Of course, once you have it, just put the key somewhere for future reference. Edgar > -Original Message- > From: Mitesh Patel [mailt

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Kris Schneider
Well, what if you don't provide a handler (or a standard servlet error page)? An unhandled exception will be propogated to the container which will return a status code 500 to your users. I wouldn't really call the resulting generic "internal server error" user friendly. BTW, your code for catchin

Lazy questions on this list

2003-11-20 Thread Paul McCulloch
Is it my imagination or are the number of downright lazy requests to this list getting worse? If the only replies any lazy questions ever got was http://www.catb.org/~esr/faqs/smart-questions.html then maybe people would get the point. Has anyone got any other ideas about how we can reduce the amo

Re: STURT set up and IDE for STURT

2003-11-20 Thread Sergey Smirnov
The easiest way to have Struts environment ready-to-use in a moment: Download Exadel Struts Studio 5.1, plugin for Eclipse. Install. Run Eclipse. Open Struts Studio perspective. Click New Project Button. Type the name of the project and click the Finish button. That is it. The new Struts project is

RE: Lazy questions on this list

2003-11-20 Thread Jarnot Voytek Contr AU HQ/SC
I'd add that we really don't need a discussion about IDEs every week. This list is also becoming a clearinghouse for general java/web/open-source questions. Since we're bringing up pet peeves, messages which consist of a signature longer than the actual message itself should be filtered out... -

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Ovidiu EFTIMIE
In fact, in the catch(Exception ex) branch there should be a return mapping.findForward("generalError"); which I didn't include in the example . But generally you're approach is better, and more appropriate. Do yoy have any real examples on Exception handlers, or any links to which you may point me

Re: Lazy questions on this list

2003-11-20 Thread Rick Reumann
Paul McCulloch wrote: Is it my imagination or are the number of downright lazy requests to this list getting worse? Where can I download Struts? -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Lazy questions on this list

2003-11-20 Thread Carl
What is certain is that this mailibng list is an active one ! I think the lazy issue is common one for all mailing list. I'm myself quite new to struts and I had many questions in the begining. Even with the ducumentation effort on the Struts project, I found some difficulties to find the solut

RE: Lazy questions on this list

2003-11-20 Thread Paananen, Tero
> Since we're bringing up pet peeves, messages which > consist of a signature longer than the actual message > itself should be filtered out... Unfortunately many of us have no choice, since it's added by the corp mail server. Case in point below... -TPP

Fruits of your help

2003-11-20 Thread Brice Ruth
Thanks to all on this list that helped me with my JSP/Servlet/Struts/Tiles issues ... the fruit of your help is now live (under a MUCH accelerated schedule and not nearly enough time for QA/QC, but what's new?) http://www.fiskars.com/ If the first thing you see isn't a Flash movie, and the hom

RE: Fruits of your help

2003-11-20 Thread Chappell, Simon P
Very nice. Did Mark help you with the Flash movie? ;-) Simon - Simon P. Chappell [EMAIL PROTECTED] Java Programming Specialist www.landsend.com Lands' End, Inc.

RE: Lazy questions on this list

2003-11-20 Thread Long, Robert
What may seem like a lazy question to some, may seem like a valid question for a newbie. Some people just need to remember what it was like to try to learn this stuff for the first time. Also remember, you have total control of your delete key. -Original Message- From: Paul McCullo

RE: Lazy questions on this list

2003-11-20 Thread Paananen, Tero
> What may seem like a lazy question to some, may seem like a > valid question for a newbie. > Some people just need to remember what it was like to try to > learn this stuff for the first time. I think people generally refer to lazy questions when the answer to the question could have been sea

RE: Lazy questions on this list

2003-11-20 Thread Jarnot Voytek Contr AU HQ/SC
I disagree, there is a clear distinction - asking a question without having read the docs shouldn't seem valid to a newbie. I agree that a lot of these concepts are not obvious, and a lot of the documentation is lacking - that's why this list is essential. However, the order of learing should be

Re: Fruits of your help

2003-11-20 Thread Carl
Very nice site, I hope to be able to master Struts as you ! Browsing it, I've found 2 mistakes : - in French (in the menu) Garden should be translated in "Jardin" - under mozilla 1.5, the select country in the firste jsp display curuiously (instead of the country's names it display html tags) Ca

RE: Lazy questions on this list

2003-11-20 Thread Chappell, Simon P
Perhaps, instead of just pointing people at the smart questions FAQ (however much it seems like the right thing to do), we could point them at the appropriate entry in the various Struts FAQ documents. This would be a much more helpful thing to do and over time people would both get help and may

problem with html:link params?!

2003-11-20 Thread Brice Ruth
I'm passing a HashMap with link parameters to the html:link tag using the "name" attribute and whenever the Hash contains more than one parameter to add, in the that gets created, the parameters are separated by & - not & ... which seems to not bother popular browsers, but the search crawler d

Re: Fruits of your help

2003-11-20 Thread Brice Ruth
Thanks for the feedback, I'll get this into our issue tracker :) Btw, in case anyone's interested - this site deploys as an 80.0MB WAR file ... wow! All managed under CVS using Eclipse and Dreamweaver MX 2004. Carl wrote: Very nice site, I hope to be able to master Struts as you ! Browsing it,

Re: Lazy questions on this list

2003-11-20 Thread Linda Coleman
Would it be possible to create a newbie list? As a newbie I would much rather read & post messages on a list targeted to people just starting out. A lazy question to experienced developer could be a valid newbie question... L:) Paul McCulloch wrote: Is it my imagination or are the number of dow

RE: Design Pattern question

2003-11-20 Thread Balakrishnan, Vijay
Might not be understanding your question right but in similar circumstances, we have used a ViewAction to prepopulate forms and EditActions for editing the forms.You can store the selected values in request scope and forward from the 1st action to the ViewAction and then forward after prepopulation

Re: Lazy questions on this list

2003-11-20 Thread Shyam A
Well, a list meant exclusively for newbies doesn't serve the purpose as we will miss the expert advice and words of wisdom of the experienced Struts gurus on this list!! Shyam, (eternally newbie!) --- Linda Coleman <[EMAIL PROTECTED]> wrote: > Would it be possible to create a newbie list? As a >

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Kris Schneider
Sorry, nothing to point you to off the top of my head, except for the struts-example app that ships with Struts. It illustrates the simplest usage: Here, the default handler (org.apache.struts.action.ExceptionHandler) is used so the element omits the "handler" attribute. The default handler

RE: Map Backed Action Form

2003-11-20 Thread Yee, Richard K,,DMDCWEST
Vishal, First of all. Quit whining. We are not here to just answer YOUR questions. You would get better responses if you read http://www.catb.org/~esr/faqs/smart-questions.html, read the FAQs, and did a search in the archives. Have you read the documentation? There is how-to guide there that descr

Re: Lazy questions on this list

2003-11-20 Thread Linda Coleman
Maybe you're right, but I think there might be enough people who read the newbie list that could help people starting out. Maybe there could be a few volunteers from the rank of experienced developers that could help shepherd we newbies in right direction. :) L:) Shyam A wrote: Well, a list m

Re: Lazy questions on this list

2003-11-20 Thread Larry Meadors
I agree. At the same time I do not think that "How do I deprecate a method?" or "What is JSTL?" kinds of questions should be answered with anything more involved than a link or reference to google. Remember the parable about giving a man a fish vs. teaching him how to fish? As long as these quest

Re: Lazy questions on this list

2003-11-20 Thread Larry Meadors
..or maybe the newbies just need to get thicker skins and be taught how to think. :-) Larry >>> [EMAIL PROTECTED] 11/20/03 10:07 AM >>> Maybe you're right, but I think there might be enough people who read the newbie list that could help people starting out. Maybe there could be a few volunte

  1   2   >