Re: Tiles and ActionForm

2002-11-07 Thread Postfach 4711
Hello Roland, I guess the problem is this line: input=/layout/page.do in your action mapping. Did you define this action? -- Best regards, Dirk Markert -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re[2]: Tiles and StrutsAction

2002-11-07 Thread Postfach 4711
Hello Chris, look here for your first question (chapter 5.2): http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf -- Best regards, Dirk Markert -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: [REMINDER] --- Struts Nightly and 1.1B1 1.1B2 users

2002-11-07 Thread Rob Leland
James Mitchell wrote: The only tests that are failing are in Tomcat 3.2 (but I'm hot the trail) Up to this point the 'folk lore' was that it was a bug in TC 3.2. So you think it might be in Struts/Commons code, or possible to work around it ? Give the Man a Cigar !!! -Rob -- To

how to delete ActionForm ?

2002-11-07 Thread Marcus Biel
I got an AddRecord.jsp, AddRecordAction and AddRecordForm and last but not least an ShowAddedRecord.jsp that displays the record that was added. When I added a new record to database, I want to forward to the same jsp, AddRecord.jsp, so that the user can add further records. The problem now is

Re: java.util.Date

2002-11-07 Thread Max Kutny
EB from javadoc on SimpleDateFormat: Synchronization EB Date formats are not synchronized. It is recommended to create EB separate format instances for each thread. If multiple threads access EB a format concurrently, it must be synchronized externally. EB ... so your concern is quite

Re: Tiles and ActionForm

2002-11-07 Thread Roland Carlsson
Ouch, I missed a char in the name :-( I'm sorry for wasting your time on a typo. Regards Roland - Original Message - From: Postfach 4711 [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 07, 2002 9:02 AM Subject: Re: Tiles and ActionForm

needing multiple browser threads on macs

2002-11-07 Thread Joel Rees
We have an app that needs to allow a user to open multiple web browser windows and maintain separate threads for each. I did a quick search and came up with the threads below, including some untested sample code using filters with servlet-spec 2.3. The Joy of File : New Window [URLs]:

How to forward from a struts form to a login dialog ?

2002-11-07 Thread Zsolt Koppany
Hi, in a struts form I want to check whether to user has already logged in. If not, instead of showing the form I want to forward the user to a login dialog and he must log in. After the user logged in, I want him to come back to the form and I have to restore the original parameters of the

Re: Websphere Application Server 4.01 to 4.04 for AIX

2002-11-07 Thread avasey
Hi Rodney I am trying to deploy on WebSphere 4.0.1 after successfully deploying the same application on WebSphere 4.0.3 but I am getting parser exceptions. You mentioned replacing the Xalan and Xerces classes. Could you please outline how you did this ie: for the whole App Server or just for

Re: how to delete ActionForm ?

2002-11-07 Thread Postfach 4711
Hello Marcus, Thursday, November 7, 2002, 9:51:31 AM, you wrote: MB I got an AddRecord.jsp, AddRecordAction and AddRecordForm MB and last but not least an ShowAddedRecord.jsp that displays the record MB that was added. MB When I added a new record to database, I want to forward to the same MB

RE: Websphere Application Server 4.01 to 4.04 for AIX

2002-11-07 Thread Yeo, Rodney W
Hi Aisling I deployed for the whole App Server by changing the xalan.jar and xerces.jar in WebSphere40/AppServer/lib directory. I'm now get com.ibm.ejs.sm.exception.StaleActiveObjectInvocationException error when i try to start up my default server using the administrative console. Do you

RE: Websphere Application Server 4.01 to 4.04 for AIX

2002-11-07 Thread avasey
Hi Rodney I just added the new xerces.jar to my App Server (default server) as a classpath setting using the Admin Console as opposed to replacing the WebSphere's version of the jar. My Struts parser exceptions seem to have gone away. (I am fighting some ClassNotFound exceptions with my web

Re: How to forward from a struts form to a login dialog ?

2002-11-07 Thread Max Kutny
ZK Hi, in a struts form I want to check whether to user has already ZK logged in. If not, instead of showing the form I want to forward the ZK user to a login dialog and he must log in. After the user logged in, I ZK want him to come back to the form and I have to restore the original ZK

checkbox always checked(help needed)

2002-11-07 Thread Sandeep Karnwal, Noida
Hi! all I am using multibox to display the multiple checkbox. By default all checkbox should be checked. I am not able to find any of the property of the multibox so that by default all checkbox should be checked. What is the property of the multibox so that all check box should be checked (when I

Re: How to forward from a struts form to a login dialog ?

2002-11-07 Thread Zsolt Koppany
Ok, but how? Zsolt On Thursday 07 November 2002 11:14, Max Kutny wrote: Move authentication to container level -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

empty form after errors

2002-11-07 Thread meissa . Sakho
When a submit my form with errors, the jsp is returned back with errors displayed as i expect. But all fields are empty. is it because I define my form like this html:form action=/newReception name=readMailForm type= com.bpam.mail.forms.ReadMailForm I'm saying this because it seem like that a new

Problems with ActionMessages... (again)

2002-11-07 Thread Michael Delamere
Hi, I´m just not getting anywhere with the ActionMessages. I wrote to the mailing list about a week ago and got no answer. Unfortunately since then, I still haven´t managed to solve the problem myself. Aaahhhrrr! I´m trying to display a message in my jsp which I have defined in my action

Re: empty form after errors

2002-11-07 Thread Marcus Biel
It could also be that the form in your jsp has the standard: value= marcus [EMAIL PROTECTED] schrieb: When a submit my form with errors, the jsp is returned back with errors displayed as i expect. But all fields are empty. is it because I define my form like this html:form

Struts Validator

2002-11-07 Thread Jon.Ridgway
Hi All, I have two common validation issues I need some help with. Firstly I would like to use the validator to check that a password and its confirmation are equal. Secondly I would like to use the validator to ensure that a checkbox (terms and conditions) has been selected. A snippet for

Return to same JSP

2002-11-07 Thread Mohan Radhakrishnan
Hi, If I return a non-empty ActionError from my validate method, struts should return to the same JSP. This will happen if I specify the input parameter for the action mapping. Is this right ? It doesn't seem to work that way. Am I missing something ? Thanks, Mohan -- To

Re: Return to same JSP

2002-11-07 Thread Max Kutny
MR Hi, If I return a non-empty ActionError from my validate method, MR struts should return to the same JSP. This will happen if I specify MR the input parameter for the action mapping. MR Is this right ? It doesn't seem to work that way. Am I missing MR something ? You should use return

RE: Return to same JSP

2002-11-07 Thread Mohan Radhakrishnan
Hi, Thanks. I though it was automatic ? bye, Mohan -Original Message- From: Max Kutny [mailto:mkut;umc.com.ua] Sent: Thursday, November 07, 2002 6:13 PM To: Struts Users Mailing List Subject: Re: Return to same JSP MR Hi, If I return a non-empty ActionError from my validate method,

Can logic:redirect been used in Tiles JSP files?

2002-11-07 Thread Zsolt Koppany
Hi, I have the impression that logic:redirect ... commands are ignored when they are in JSP files included over Tiles. Is that true? Zsolt -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

RE: Return to same JSP

2002-11-07 Thread Homer, Christopher
providing you perform the validation in your ActionForm method: public ActionErrors validate (ActionMapping mapping, HttpServletRequest request) { // stuff } -Original Message- From: Mohan Radhakrishnan [mailto:MohanR;hclcomnet.co.in] Sent: 07 November 2002 12:59 To: 'Struts

RE: problem with client-side validation and ValidatorActionForm

2002-11-07 Thread Jarnot Voytek Contr AU HQ/SC
Regardless of whether it's referenced by form-bean name or action path, wouldn't it only validate if you've got validate=true set in your action ? Therefore allowing you to only validate on a specific action... -Original Message- From: Ryan Bell [mailto:ryan;messagecast.net] Sent:

RE: Help with ValidatorForm

2002-11-07 Thread Jarnot Voytek Contr AU HQ/SC
I will typically (I don't know if this is an accepted convention) have two action-mappings: for example, StudentEdit and StudentEditSave that point at the same form-bean, and call the same Action class - the only difference being that StudentEditSave has validate=true and StudentEdit has

No getter method for property message

2002-11-07 Thread meissa . Sakho
I'm tearing my hair off about this very strange error message. here it is. javax.servlet.ServletException: No getter method for property targetDir of bean org.apache.struts.taglib.html.BEAN I get it when my jsp is called. it seems like my own form bean is not recognized even when I do define

Re: No getter method for property message

2002-11-07 Thread Postfach 4711
Hello meissa, could you please mail your /filterMails action mapping, the corresponding form bean, and action form? Thursday, November 7, 2002, 2:02:20 PM, you wrote: mSbf I'm tearing my hair off about this very strange mSbf error message. mSbf here it is. mSbf javax.servlet.ServletException:

Re: No getter method for property message

2002-11-07 Thread ajTreece
Meissa... From looking at your code your the jsp is getting it's form definition from the action=filterMails. I would guess that your form definition for fillterMails is not readMailForm If not otherwise specified, the required ActionForm is determined by the value you put in html:form

validate() in ActionForms

2002-11-07 Thread Reinhard Spisser
Hi all, we're using Struts 1.1b2 to develop a Web Application. we're having a strange behaviour. One of our Actions (ModifyUser) works as follows: modifyuser.do - inizializes a new ModifyUserForm(); - reads the data from db and fills out the fields - puts the ModifyUserform() in

Re: Help with ValidatorForm

2002-11-07 Thread Eddie Bush
I typically go for seperate Action subclasses. The dispatch stuff works really well, but, having not found a way to have one function of the action not validate - and the rest validate - I have copped out to the quick fix :-(. I'd be most interested if someone knows how you can use a

Re: java.util.Date

2002-11-07 Thread Eddie Bush
I don't think it's your fault, Max. The docs should talk about that internal Calendar instance. Knowing things like that .oO( Hrm ... if it just has a single internal Calendar instance, it's probably doing modification to it on-the-fly ...) is quite important! If the only thing involved

NullpointerException in ActionForms

2002-11-07 Thread Reinhard Spisser
Hi all, i was wondering how to handle correctly the following behaviour: if a user calls directly from the url an action that has a Jsp in his input and validate=true, i get a Nullpointerexception inside the validate(). I think that this happens because the FormBean has never been initialized

Re: NullpointerException in ActionForms

2002-11-07 Thread Postfach 4711
Hello Reinhard, what will happen if the user calls the action from the jsp without entering any data? If you also get the exception something is wrong with your validate method. Thursday, November 7, 2002, 3:27:43 PM, you wrote: RS Hi all, RS i was wondering how to handle correctly the

Re: checkbox always checked(help needed)

2002-11-07 Thread David M. Karr
Sandeep == Sandeep Karnwal Sandeep writes: Sandeep Hi! all Sandeep I am using multibox to display the multiple checkbox. Sandeep By default all checkbox should be checked. I am not able to find any of the Sandeep property of the multibox so that by default all checkbox should be

Réf. : Re: No getter method for property message

2002-11-07 Thread meissa . Sakho
Still trying to debug my No getter method for property strange behavior I'm posting my classes source code. I'm thanking in advance thoses who will check about this. It's been two days I'm trying to find out why this happens. (See attached file: admReception.jsp)(See attached file:

Re[2]: NullpointerException in ActionForms

2002-11-07 Thread Postfach 4711
Hello Eddie, Thursday, November 7, 2002, 5:01:38 PM, you wrote: EB Postfach 4711 wrote: Hello Reinhard, what will happen if the user calls the action from the jsp without entering any data? If you also get the exception something is wrong with your validate method. EB There is a contract

RE: Réf. : Re: No getter method for property message

2002-11-07 Thread John Espey
not sure if this matters, but there isn't a closing quote around the action definition in your form tag -Original Message- From: [EMAIL PROTECTED] [mailto:meissa.Sakho;bpam.fr] Sent: Thursday, November 07, 2002 9:02 AM To: Struts Users Mailing List Subject: Réf. : Re: No getter method for

Réf. : RE: Réf. : Re: No getter method for property message

2002-11-07 Thread meissa . Sakho
I've added the missing closing quote. I'm still getting the No getter method for property error. Meissa John Espey [EMAIL PROTECTED] on 07/11/2002 16:18:23 Veuillez répondre à Struts Users Mailing List [EMAIL PROTECTED] Pour :Struts Users Mailing List [EMAIL PROTECTED] cc : Objet :

RE: empty form after errors

2002-11-07 Thread Sri Sankaran
Make sure that the scope of the form-bean (as defined in the action mapping) is 'session'. Sri -Original Message- From: [EMAIL PROTECTED] [mailto:meissa.Sakho;bpam.fr] Sent: Thursday, November 07, 2002 5:52 AM To: [EMAIL PROTECTED] Subject: empty form after errors When a submit my

Réf. : Re: No getter method for property message

2002-11-07 Thread meissa . Sakho
I can't give a reason for this. But when I looked at the jsp generated servlet files, I discover that the version that was interpreted was not the current one. I've removed them all and every thing works fine. thank you all who spen time helping me. Meissa Melanie Harris [EMAIL

RE: [REMINDER] --- Struts Nightly and 1.1B1 1.1B2 users

2002-11-07 Thread James Mitchell
Well, its definitely a classloader issue. And since fixing classloader issues is definitely NOT my specialty, I'm having a slow go at it. Should have something today (hopefully). James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org Only two things are infinite, the

Re: No getter method for pro perty message

2002-11-07 Thread Mikael Eriksson
I've looked at the sent files and they seemed ok. But, the JSP you have sent is different from the JSP fragment in the first mail, the action in sent jsp i /newReception and not /filterMails. Are you sure that you are looking in the right place in the right beans? The /newReception uses the

[html:errors] Separation of Global Errors from Specific Errors

2002-11-07 Thread Jerry Jalenak
I know I've this answer before, but I cannot seem to find it in the archives. I am setting ActionErrors for both specific properties as well as global errors. In other words, in my action I have errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(myError)); and

RE: [REMINDER] --- Struts Nightly and 1.1B1 1.1B2 users

2002-11-07 Thread James Mitchell
Well, what a coincidence. The solution to my dilemma was quickly resolved by using the suggestion posted about an hour ago by Kjeld Froberg: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14332 I will post to the dev list about committing this change. James Mitchell Software

Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Kevin . Bedell
Congratulations to you all and thanks for this contribution to the Struts community! Kevin Ted Husted [EMAIL PROTECTED] on 11/07/2002 10:47:39 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:Struts Users Mailing List [EMAIL PROTECTED] cc: (bcc: Kevin

Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Eddie Bush
The sample chapters look very good Ted - nice job :-) I'm sure the rest of the book is just as excellent! -- Eddie Bush -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

RE: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread James Childers
Congratulations, Ted. For those of you who do not know, Ted has been one of the most valuable contributors to the Struts community for a long, long time. He has showed both great knowledge and extreme patience when dealing with the user community, and Struts would not be the same without him.

Validate and nightly build problem

2002-11-07 Thread Fabrice BLANQUART
Hi, I have a strange behaviour with the validator using the nightly build (20021107). I use the html:javascript tag in order to make client validation. It work well with the 1.1B2 but when I use the nightly build it doesn't generate the validateXXX javascript function. Debugging with source

RE: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Hohlen, John
I purchased the e-book version of the book and I must say it is excellent! It's very well written. JOHN -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Thursday, November 07, 2002 11:07 AM To: Struts Users Mailing List Subject: Re: [ANNOUNCE] Struts In Action now in

Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread kiuma
Congratulations!!! You have been my first approach to struts, I'll shurely buy your book!! (maybe in e-form) -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

RE: Problems with ActionMessages... (again)

2002-11-07 Thread James Mitchell
Have you tried removing the trailing space? ActionMessage newMessage = new ActionMessage(regform.myMessage ); ^ Not sure if that is a fix, but its a start. James Mitchell Software Engineer/Struts Evangelist

RE: Problems with ActionMessages... (again)

2002-11-07 Thread Michael Delamere
No, I just changed the text in my outlook window to make it easier to understand... :-) ! So in my actual program it´s correct... Thanks for your response though! Regards, Michael -Original Message- From: James Mitchell [mailto:jmitchtx;telocity.com] Sent: Donnerstag, 7. November

A form with Collection of beans

2002-11-07 Thread Vipul Sagare
I am using Struts 1.0.2. I have a form bean which has collection of other beans. How could I present this in html:form and retrieve users input for the form(for each beans in collection)? I came across Struts Nesting extension on KeyboardMonkey.com. Is it 1.0.2 compatible? If yes, what do

Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Adolfo Miguelez
Que capullos si compras primero el ebook ahora te llevas el book a mitad de precio o sea los 2 por 44 dolares. El problema es que yo ya prepedi el book. From: Ted Husted [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Adolfo Miguelez
sorry, I mistaked the target address :-O From: Ted Husted [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: [ANNOUNCE] Struts In Action now in print Date: Thu, 07 Nov 2002 10:47:39 -0500 The Manning book, Struts in

form component reuse best practices?

2002-11-07 Thread Andy Kriger
(this is a refinement of a question i asked yesterday) If you have common form components that can be reused multiple times on a page or between projects (e.g. a list of months for date entry, a list of states for address entry), what is the best way to share this code (the

Re: empty form after errors

2002-11-07 Thread Eric Weidner
In 1.1b2, I have found that if you have to forward from an Action class following a JSP to an Action class that precedes the JSP ( like a setup Action ) and both Actions are set to scope=session, then the first Action creates a new form and wipes out the one in the session. I worked around

Re: Validate and nightly build problem

2002-11-07 Thread Robert Leland
Fabrice BLANQUART wrote: Hi, I have a strange behaviour with the validator using the nightly build (20021107). I use the html:javascript tag in order to make client validation. It work well with the 1.1B2 but when I use the nightly build it doesn't generate the validateXXX javascript function

Best Practice: Organizing Bean Key Error Key Constants?

2002-11-07 Thread Hohlen, John
Are there any best practices on how to organize all the bean key and error key constants that created when implementing a Struts application? I'm assuming most people create String constants for the name of keys used to: 1) store/retrieve bean data to/from application and session scope 2) error

Re: Best Practice: Organizing Bean Key Error Key Constants?

2002-11-07 Thread David Graham
I have a Constants class that holds constants for any name used in request, session, application scopes as well as context init. parameters. I currently hardcode the string in JSPs because I haven't looked into my options there. I hardcode the error message keys because there would be an

RE: [Tiles] Tiles vs. Custom Tag - anyone have a view?

2002-11-07 Thread Trieu, Danny
If Hue was to use Tiles' definition, then much more flexible. My preference is To use Tiles in this case. Of course, when performance become an issues then you Might want to consider other approach, and this could be using tags. Or, use Fragmented-cache, I mean using cache tags to prevent

How to validate manually?

2002-11-07 Thread Wendy Smoak
Because I need to allow the user to come and go from the form before the final submit, I need to hold off on validation until that point. So I've got validate=false (that was a gotcha!) in the action tag and I'm now in my LookupDispatchAction doing the validation manually: How does this look?

RE: [Tiles] Tiles vs. Custom Tag - anyone have a view?

2002-11-07 Thread Jeff_Mychasiw
My preferences gears toward Tiles for flexibilities and re-usable View components Out weight the performance issue. outburst Tiles Kick Ass! /outburst :-) Trieu, Danny [EMAIL PROTECTED] on 11/07/2002 11:16:34 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:

RE: [Tiles]TilesAction and contents changing dynamically

2002-11-07 Thread Trieu, Danny
Sure you can -Original Message- From: yoko hama [mailto:myohott;hotmail.com] Sent: Wednesday, November 06, 2002 6:52 PM To: [EMAIL PROTECTED] Subject: [Tiles]TilesAction and contents changing dynamically Hi,guys. I am a newbie to struts and tiles. I wonder how can i get a part of

RE: [Tiles] Tiles vs. Custom Tag - anyone have a view?

2002-11-07 Thread Johnson_Henry
-Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 07, 2002 10:48 PM To: Struts Users Mailing List Subject: RE: [Tiles] Tiles vs. Custom Tag - anyone have a view? My preferences gears toward Tiles for flexibilities and

Re: NullpointerException in ActionForms

2002-11-07 Thread Kris Schneider
Well, let's say (form == null) evaluates to true. Which is entirely possible if you don't specify a name (or attribute) attribute for the action element. However, that means that mapping.getAttribute() will also evaluate to null, right? If so, then I'm thinking that request.setAttribute and

Re: Diiabling Validator XML Validation

2002-11-07 Thread Craig R. McClanahan
On Wed, 6 Nov 2002, David Graham wrote: Date: Wed, 06 Nov 2002 13:34:33 -0700 From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Diiabling Validator XML Validation Oops, you're right. I don't know how to disable

Re: Graph of Struts Growth.l

2002-11-07 Thread Craig R. McClanahan
On Wed, 6 Nov 2002, Robert Leland wrote: Date: Wed, 06 Nov 2002 14:10:54 -0500 From: Robert Leland [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Graph of Struts Growth.l Back in Feburary of 2001 when I

Re: Graph of Struts Growth.l

2002-11-07 Thread Craig R. McClanahan
On Wed, 6 Nov 2002, James Holmes wrote: Date: Wed, 6 Nov 2002 11:18:18 -0800 (PST) From: James Holmes [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Graph of Struts Growth.l Very interesting! I would

Re: How to validate manually?

2002-11-07 Thread Kris Schneider
Check out Action.saveErrors for saving the errors returned from your call to validate: saveErrors(request, null); // clear current errors if you want ActionErrors er = form.validate(mapping, request); if ((er != null) (!er.isEmpty())) { saveErrors(request, er); forward = new

RE: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread James Mitchell
Tan apenas imprima y sujete con grapa el libro. James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) -Original Message- From:

RE: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Craig R. McClanahan
On Thu, 7 Nov 2002, James Childers wrote: Date: Thu, 7 Nov 2002 10:07:46 -0600 From: James Childers [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [ANNOUNCE] Struts In Action now in print

Re: How to validate manually?

2002-11-07 Thread Kris Schneider
Whoops! You also asked where the Struts source code is. For 1.1 it's in: RequestProcessor.processValidate And I think to be correct for 1.1 I should've said: forward = mapping.getInputForward() Quoting Kris Schneider [EMAIL PROTECTED]: Check out Action.saveErrors for saving the errors

resource properties not found

2002-11-07 Thread Cindy Horn at SF x4874
I have a resource property defined in my web.xml file as follows: servlet ... init-param param-nameapplication/param-name param-valueVCSCResources_en_US.properties/param-value /init-param ... /servlet This properties file is in the application jar file at the

RE: resource properties not found

2002-11-07 Thread James Childers
Cindy, A couple of things you can try: 1) Take off the _en_US from the end of the filename prefix. You don't really need it if your system is already set up to use US English by default. 2) Make sure it's in the right directory. From the way you have it defined it should be located in

RE: resource properties not found

2002-11-07 Thread Karr, David
The properties files should be stored in the WEB-INF/classes directory of your WAR file, according to the package path you specified. The param-value element should just specify the base name of the properties file. So, you should have just VCSCResources as your param-value value.

Ted, et al, Struts Book

2002-11-07 Thread micael
I have been into the online version a bit, and am loving it. How do we get credit when ordering the hard copy? The site mentions the credit but seems to have no mechanism that is obvious. Micael --- This electronic mail transmission and

FW: validation + multiple sub applications.....

2002-11-07 Thread Michael Delamere
Hi, I wonder if anybody else has experienced this strange behaviour: When using auto-validation in two forms (two different sub-apps) it doesn´t seem to work on both. The second one always returns an empty ActionErrors even if I have left fields empty. Now, after having deleted the first

RE: Steps to Get JRUN 3.1 and Struts 1.1b2 working

2002-11-07 Thread Haseltine, Celeste
Steve, No, I understand what you are doing now that you've explained it. I had not thought of taking your approach. You might want to post your fix on the JRUN board, as a number of people have tried to get JRUN 3.1 working with Struts 1.1b2 with no success. Macromedia support has not

Is it possible to configure where to forward if ActionForm.validate returns false?

2002-11-07 Thread Zsolt Koppany
Hi, in a Tiles JSP page, when ActionForm.validate returns false, not the JSP will be called that creates the complete layout but the JSP that contains the form. How can I tell struts which JSP should be called if ActionForm.validate returns false? Zsolt -- To unsubscribe, e-mail:

Re: Is it possible to configure where to forward if ActionForm.validate returnsfalse?

2002-11-07 Thread David Graham
Struts sends the request to the input page when validate returns false. You configure this via the input attribute of the action element in struts-config.xml David From: Zsolt Koppany [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:

New ApacheCon session: What's New in Struts 1.1

2002-11-07 Thread Robert Taylor
For anyone going to ApacheCon, this may be of interest. robert -Original Message- From: Rodent of Unusual Size [mailto:Ken.Coar;Golux.Com] Sent: Thursday, November 07, 2002 2:16 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: ApacheCon schedule change Another change to the

RE: form component reuse best practices?

2002-11-07 Thread Jason Rosen
To serve just this purpose: I have created a ListFactory that I initialize using a PlugIn when my Struts app starts. The PlugIn creates an instance of the factory and stashes a reference to it in Application scope. Then my Actions or JSPs use a getList(String listName) method on the stashed

Re: Best Practice: Organizing Bean Key Error Key Constants?

2002-11-07 Thread V. Cekvenich
I would say that your example is good practice, that is in constants. I sometimes put them in an interfaces. As far as keys, I just use getMetaData. Also, most of my primary keys are called ID and auto generated by db as sequence for high load support. hth, .V Hohlen, John wrote: Are there

RE: Return to same JSP

2002-11-07 Thread Mohan Radhakrishnan
Hi, That is what I meant in my first mail. Like the following 1. Look up an ActionMapping. 2. If the ActionMapping has an ActionForm specified, it instantiates (or retrieves from session scope) the ActionForm and populates it based on the request. 3. If the ActionMapping specifies validate,

Re: Steps to Get JRUN 3.1 and Struts 1.1b2 working

2002-11-07 Thread Robert Leland
Perhaps your problem is related to this Bug report ? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14332 Also see topic strust-dev, why it may not be a bug in struts but in the Application Server. http://marc.theaimsgroup.com/?l=struts-devm=103669629505455w=3 Re: [Vote] Modify

RE: Return to same JSP

2002-11-07 Thread Madel,Kurt
Use your action mapping as your input path. For example: action path=/partEdit name=partForm type=com.csmi.doe.core.controller.actions.project.EditPartAction scope=request validate=false forward name=Success path=tiles.project.editPart/ forward name=failure

working with resource.properties files in JSTL Struts

2002-11-07 Thread Anthony Mutiso 2
What is recognized way to get JSTL fmt:message tag to share the same resources bundle as Struts bean:message tag? Thanks Anthony -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: back button

2002-11-07 Thread Gus Delgado
Can the isTokenValid and saveToken be in the same Action ? Gus Delgado wrote: I'm trying to use the saveToken function but is not working here is what I have: a parameter called action if(save.equals(request.getParameter(action))) { if(!isTokenValid(request)){

Re: robot search engines and struts

2002-11-07 Thread Dragan Ljubojevic
Thank you for sugestions. Dragan On Tuesday 05 November 2002 17:59, you wrote: Bottom line -- search engines are for web *sites*, not web *apps*. Web *pages*, single web pages serving static content to be exact. If you can't have your welcome page (DO NOT MAKE A SPLASH PAGE) be

RE: problem with client-side validation and ValidatorActionForm

2002-11-07 Thread Ryan Bell
Yes, that's true and it solves my problem. Thanks for pointing that out. On a side note, is there any advantage to referencing the action path when using validator versus using the form-bean and setting validate to false in the config file? Ryan -Original Message- From: Jarnot Voytek

Re: working with resource.properties files in JSTL Struts

2002-11-07 Thread Kris Schneider
I think something like this worked for me with Struts 1.0.2. Not sure if it will still work with 1.1. c_rt:set var=messageResourcesKey value=%= org.apache.struts.action.Action.MESSAGES_KEY %/ c:set var=messageResources value=${applicationScope[messageResourcesKey]}/ c:set

Re: Ted, et al, Struts Book

2002-11-07 Thread Rick Reumann
On Thursday, November 7, 2002, 1:19:33 PM, micael wrote: m I have been into the online version a bit, and am loving it. How m do we get credit when ordering the hard copy? The site mentions m the credit but seems to have no mechanism that is obvious. Did you find out any more info on

RE: Ted, et al, Struts Book

2002-11-07 Thread Joe Barefoot
I'm betting that when you get into the order process for the hard-cover, they'll ask you if you have an order code or promotional code or something, and that's where you'd paste in your orderID for the electronic version. The electronic order confirmation tells you to hold onto the orderID,

RE: Populating a Form from the Model before view

2002-11-07 Thread Donald Dwoske
this example works by going through the action, so the url you need to use must go through the action... http://hostname/myAction.do do not go through: http://hostname/myPage.jsp # your Action will not execute What also might catch you is that by going through the action, it forces the

Re: FW: validation + multiple sub applications.....

2002-11-07 Thread Robert Leland
Michael Delamere wrote: Hi, What could this be? Are there values being overwritten perhaps when validating more than one sub-app? It could be storing the ACTION_ERRORS in one place and trying to read them from another place. Which version of struts ? It always helps to state : Struts:

Re: FW: validation + multiple sub applications.....

2002-11-07 Thread Michael Delamere
Sorry... it´s Struts1.1B2. I´ll try a nightly build later... thanks Regards, Michael - Original Message - From: Robert Leland [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 07, 2002 9:32 PM Subject: Re: FW: validation + multiple sub

Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Ted Husted
The best place to post any questions regarding the mechanics of the SIA book is the forum at the book's website at manning.com. I will be following up on any questions posted there. I will also be spending more time at the JGuru Struts forum now, to help take the heat off this much-burdened

RE: Ted, et al, Struts Book

2002-11-07 Thread micael
I would have bet that too. Tried it and would have lost the bet. At 12:20 PM 11/7/2002 -0800, you wrote: I'm betting that when you get into the order process for the hard-cover, they'll ask you if you have an order code or promotional code or something, and that's where you'd paste in your

  1   2   >