problems with int

2002-05-17 Thread mhanel
I want to display data for ControlUnits in a table of my Main.jsp I filled the datatypes in an ArrayList and put it with the name list into the request. When I just want to display strCu_dc which is from type String everything works fine and I get the table displayed. But when I also want to

if / then / switch

2002-05-17 Thread Thorsten Maus
Niall Pemberton build an extension to work with if / then / switch tags. is there no default implementation for this in struts ??? ( looked but did not find any ) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: problems with int

2002-05-17 Thread Victor Hadianto
javax.servlet.ServletException: No getter method for property iOu_id of bean orgUnitForm Java Beans have problems when the second character of the property name is capitalized. Reaed section 8.8 on the Java Beans specification about Capitalization of inferred names. Try to name your

Re: Digester/SAX parse error problem

2002-05-17 Thread Andreas Mack
On Thu, 2002-05-16 at 17:28, Wojtek Rappak wrote: Hi, I tried to use the struts-example application as a simple template and made a few simple changes to the struts-config.xml and web.xml files. These parse OK in my XML editors. However, when I deploy the application I get a 'content not

AW: problems with int

2002-05-17 Thread mhanel
Thanks for the hint it works good now. -Ursprüngliche Nachricht- Von: Victor Hadianto [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 17. Mai 2002 09:10 An: Struts Users Mailing List Betreff: Re: problems with int javax.servlet.ServletException: No getter method for property iOu_id of

Re: Templates and i18n problem in struts

2002-05-17 Thread Cedric Dumoulin
You can't nest a tag inside another tag in jsp. Try : template:put name='title' direct='true' bean:message key=printPage.title / /template:put Cedric Yaman Kumar wrote: Hi, I am using templates in struts, In my jsp page I used the below statement. .. template:put

Re: How to tell if a parameter has been defined in a tiles definition

2002-05-17 Thread Cedric Dumoulin
Hello, Import Tiles attribute in page scope and then use struts logic taglib ;-) : tiles:importAttribute name=linkName ignore=true / logic:present name=linkName a href=tiles:getAsString name='linkName'/Something/a /logic:present Cedric Denham, Martin wrote: Hi, I am

Re: any way of making tiles display the stack trace onexception

2002-05-17 Thread Cedric Dumoulin
Ian Tomey wrote: You can also try to associate an error page to your tile. Use the appropriate jsp directive (% page errorPage=... %). In your error page, retrieve the exception if it exist, and show it. its not getting that far i believe - its being caught inside tiles. the rest of

RE: where to find struts-example with DynaActionForm?

2002-05-17 Thread Adolfo Miguelez
In the SIMPER project code, it creates mapping to database tables made up with DynaBeans. Maybe it can help. Adolfo From: Michael Marrotte [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: where to find

Friday .... starwars WE !

2002-05-17 Thread emmanuel.boudrant
http://www.mycgiserver.com/~eboudrant/goodgift[1].mpg - Yahoo! Mail -- Une adresse yahoo.fr gratuite et en français !

Re: Javascript submit

2002-05-17 Thread Adam Grohs
Matt, in JavaScript, the forms sit within a collection below the document root within the DOM. You should be able to directly reference your forms via index through JavaScript, using document.forms[0].submit(), document.forms[1].submit(), etc. HOWEVER, I would highly suggest switching your

Re: Getting Struts Example work with WebSphere 4.0

2002-05-17 Thread DHS Struts
Once upon a time there was a separate distribution of Struts to address some problem with WebSphere, search the archive for WebSphere topics and you'll find the thread that talks about this... HTH mark n From: Prabhakar, V [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

Re: How do you recommend doing this with Struts?

2002-05-17 Thread DHS Struts
Read the JavaDocs on ActionError, ActionErrors, and the html:error tag. I think you'll find that you can position error messages next to the user value that is incorrect. mark n. From: Michael Marrotte [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL

Re: Questions regarding Nested Tutorial..

2002-05-17 Thread Arron Bates
Jeff, Sorry that I didn't get back to you earlier, but the fact is that I just didn't have an elegant answer, besides building blank collections based on what you served. Not all that nice, especially when the first bean is done so nicely. The problem is that when the bean is created when

Freeze config after plugins init runs?

2002-05-17 Thread Chris Seekamp
The configuration is frozen as soon as the struts-config.xml is processed. Since I think plugins are intended to allow you to extend Struts, I was wondering if it wouldn't make sense to wait to freeze the configuration until after the plugins initialization step had run. This would allow the

complex validation with Validator

2002-05-17 Thread Emerson Cargnin - MSA
I know that with struts Validator I can do validation in client and server with just one specification. May I use complex validation like credit number calculation? or validation digit account? Thanks Emerson - Original Message - From: Chris Seekamp [EMAIL PROTECTED] To: Struts Users

Validator Tag with with Struts 1.1.b1

2002-05-17 Thread David Morris
Validators, I am trying to use the validator plug-in without much luck. It looks like the examples with the 1.1 beta use the old package naming. Also, it looks like the intention is to move the javascript tag to the Struts HTML tags (at least the one example I found implied that). The tld does

queue actions

2002-05-17 Thread mhanel
I Want to que some actions. For example I've an action checkLogin, an action loadData and an action display. I want that checkLogin gets executed bevore loadData. So in the display action in the struts-config.xml I define a froward checkLogin with the path /checkLogin.do And In the

Using datetime jakarta-tag in Struts

2002-05-17 Thread Yaman Kumar
Hi, Can any one help me in printing below String using dateformat tag always it is giving Invalid date . CODE in MVC java.text.DateFormat dformat = java.text.DateFormat.getDateTimeInstance(); %=myinfo.getUpdatedDate()% == 2002-04-02 11:31:48.0 %= dformat.format(myinfo.getUpdatedDate()) %

Re: Validator Tag with with Struts 1.1.b1

2002-05-17 Thread Evan Schnell
David Morris wrote: Validators, Any idea how I can use this with the 1.1 beta or do I need to use another version? Also, can someone point me to a working example of validation with a 1.1 version of Struts? Validation is poorly documented, the javadoc is even missing from the nightlies,

RE: Getting Struts Example work with WebSphere 4.0

2002-05-17 Thread Prabhakar, V
Do I need to make change to the struts source and rebuild it to deploy on WebSphere 4.0? I would do like to touch the struts code as a last alternative. In the meantime are there any WebSphere config or app source code modification alternative? Apache site addresses potential problems for

Re: JDK 1.4 Logging with Struts

2002-05-17 Thread @Basebeans.com
Subject: Re: JDK 1.4 Logging with Struts From: Vic C [EMAIL PROTECTED] === If you are not loging a lot log options are ok. If you are loging a lot, you need to use multi trhreaded collectoins, roll your own. Vic Mike Dewhirst wrote: We use Tomcat 4.0.3 / Struts 1.0.2 and Log4J. Before we

RE: Getting Struts Example work with WebSphere 4.0

2002-05-17 Thread Prabhakar, V
How do I search the mailing list archive? Thanks, -V Prabhakar -Original Message- From: DHS Struts [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 7:31 AM To: [EMAIL PROTECTED] Subject: Re: Getting Struts Example work with WebSphere 4.0 Once upon a time there was a separate

Propertie files in a war file

2002-05-17 Thread Nicolas De Loof
Hello, I will have to deploy a webapp (on WAS4) using a war file, but I'm not sure on how to let my client set some configuration datas that are placed in propertie files (in WEB-INF/classes), or update the ApplicationResource.propertie to change application texts. I would like it to be simple

Re: Getting Struts Example work with WebSphere 4.0

2002-05-17 Thread Nicolas De Loof
I've tested struts-example successfully with websphere 4 fixpack 2 (with no-changed struts 1.0.2 binary distrib) on IBM AIX Perhaps you would have to upgrade to fixpack 2 (websphere 4.0.2) ? Nico Do I need to make change to the struts source and rebuild it to deploy on WebSphere 4.0? I would

RE: validation approaches

2002-05-17 Thread James Mitchell
I guess that depends on where you draw the line on customization. If you can build a tool that handles your needs in a 'generic' fashion. Then by all means, help us out and donate it. However, if you app requires special validation handling, then customize the app to do so. JM -Original

RE: radio buttons

2002-05-17 Thread Mike Dewhirst
Hello and thanks for reading! I have a form that contains a Collection of objects. The Objects have these String properties: ownAccess, roleAccess and allAccess. How can I write this out using the html:radio tags? Can use them at all for this? Each property will need a radio button group,

How do I unsubscribe.... tried Web site unsubscribe

2002-05-17 Thread Wright, Doris
-- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: How do I unsubscribe.... tried Web site unsubscribe

2002-05-17 Thread James Mitchell
Read the bottom of this email JM -Original Message- From: Wright, Doris [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 10:31 AM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: How do I unsubscribe tried Web site unsubscribe -- To

RE: How do I unsubscribe.... tried Web site unsubscribe

2002-05-17 Thread Stephen . Thompson
Have a look at the bottom of this message. -Original Message- From: Wright, Doris [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 15:31 To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: How do I unsubscribe tried Web site unsubscribe -- To unsubscribe,

Re: validation approaches

2002-05-17 Thread @Basebeans.com
Subject: Re: validation approaches From: Vic C [EMAIL PROTECTED] === For complex validation you override the validate mehtod on the form bean. Ex: Check to see if the clients new purchase order excedes therir unpaid invoices and minus their credt line. So in your validate method you call the

RE: Getting Struts Example work with WebSphere 4.0

2002-05-17 Thread Prabhakar, V
Thanks Nicolas for the quick response. I will try with the fixpack 2. Did u get any special struts.jar or used the onle from binary distribution? BTW, has anyone tried/used struts (with the distributed sample) on Win 2000. I guess Win2000 and Websphere may be odd combination. -V Prabhakar

RE: Getting Struts Example work with WebSphere 4.0

2002-05-17 Thread Ruta Thakkar
Hi, I have got Struts working on Websphere Application Studio Developer 4.02 without any modifications to the struts code.This comes with a wepshere server instance. The only thing i had to do was to put xerces.jar compliant with jaxp1.1 in web-inf/lib folder of the web project. Cheers Ruta

RE: How do I unsubscribe.... tried Web site unsubscribe

2002-05-17 Thread Mike Dewhirst
If you look at the bottom of _every_ email, it tells you how to do it there. -Original Message- From: Wright, Doris [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 15:31 To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: How do I unsubscribe tried Web site unsubscribe

RE: Getting Struts Example work with WebSphere 4.0

2002-05-17 Thread Mannem, Taati
Guys, I did not need to do anything but I could run struts example 1.0.2 version in the WSAD4.0 on NT. As Ruta was sayin WSAD comes with its own websphere server intsance. Regards, Taati -Original Message- From: Ruta Thakkar [SMTP:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002

RE: Getting Struts Example work with WebSphere 4.0

2002-05-17 Thread DHS Struts
http://www.mail-archive.com/struts-user@jakarta.apache.org/ From: Prabhakar, V [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Getting Struts Example work with WebSphere 4.0 Date: Fri, 17 May 2002 10:10:34

Flash-Struts Developer Test

2002-05-17 Thread Galbreath, Mark
http://www.channel4.com/life/microsites/G/gayometer/index.html -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Getting Struts Example work with WebSphere 4.0

2002-05-17 Thread Prabhakar, V
Could you please tell me the steps you took to installit on WSAD? - I took the struts-example.war file and assembled it into another .war file using Application Assembly tool. - Using the admin console I installed it like any other web app. As I mentioned earlier I did not configure any JDBC

Re: Propertie files in a war file

2002-05-17 Thread Kevin . Bedell
Anything in Struts or in the (web application for that matter) would need to be in the war file. One alternative may be: Alternaitive 1: Build-time solution 1. Create a war file for the application. Also, create a bare-bones directory structure containing ONLY those files you want them

Struts Tag Design Question

2002-05-17 Thread Galbreath, Mark
And I simply overlooking a parameter of a particular tag, or is there no way to test a boolean isXxxx method with a Struts tag? Is the logic:equals the best we have (due to the reliance upon beans)? Mark

Re: Getting Struts Example work with WebSphere 4.0

2002-05-17 Thread Nicolas De Loof
Thanks Nicolas for the quick response. I will try with the fixpack 2. Did u get any special struts.jar or used the onle from binary distribution? I used the web-application war files (in struts 1.0.2 bin distrib) and so the included struts.jar. Nico -- To unsubscribe, e-mail:

JRUN 4 PROBLEMS WITH STRUTS 1.0

2002-05-17 Thread Charlesworth, Chico
I've downloaded the new version of JRUN version 4 and I get the following error(s) when rendering a simple JSP with some struts tags in it: 72. } while(_tag1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN); - *** Error: No method named doAfterBody was

RE: JRUN 4 PROBLEMS WITH STRUTS 1.0

2002-05-17 Thread James Mitchell
Check for stray } in your jsp. JM -Original Message- From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 11:22 AM To: 'Struts Users Mailing List' Subject: JRUN 4 PROBLEMS WITH STRUTS 1.0 I've downloaded the new version of JRUN version 4 and I

RE: JRUN 4 PROBLEMS WITH STRUTS 1.0

2002-05-17 Thread Charlesworth, Chico
No stray } in my jsp, and I don't think that would be the likely cause of this error?? chico -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 16:33 To: Struts Users Mailing List Subject: RE: JRUN 4 PROBLEMS WITH STRUTS 1.0 Check for stray } in your

Re: Flash-Struts Developer Test

2002-05-17 Thread Arron Bates
Mark, I'm all for going against the flow... you can't fight city hall, but you can crap on the steps and run like buggery ...know it, live by it. But I think you should pull your head in a little. As much as you don't agree with Flash, it does have the potential to turn the

Re: Propertie files in a war file

2002-05-17 Thread Craig R. McClanahan
On Fri, 17 May 2002, Nicolas De Loof wrote: Date: Fri, 17 May 2002 16:12:47 +0200 From: Nicolas De Loof [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Propertie files in a war file Hello, I will have to

Re: JRUN 4 PROBLEMS WITH STRUTS 1.0

2002-05-17 Thread Arron Bates
You've migrated on, and trying to run a legacy copy of servlet.jar somewhere. I get it at work when a rogue version of the jar gets in there. Update it (or even try removing it temporarily, as JRun should have it's own), and you should be golden. Arron. Charlesworth, Chico wrote: I've

Re: validation approaches

2002-05-17 Thread Evan Schnell
Struts Newsgroup (@Basebeans.com) wrote: Subject: Re: validation approaches From: Vic C [EMAIL PROTECTED] === For complex validation you override the validate mehtod on the form bean. Actually in 1.1b1 you should rarely need to override the validate method. Overriding the validate method

Re: JRUN 4 PROBLEMS WITH STRUTS 1.0

2002-05-17 Thread Craig R. McClanahan
On Sat, 18 May 2002, Arron Bates wrote: Date: Sat, 18 May 2002 02:00:11 +1000 From: Arron Bates [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: JRUN 4 PROBLEMS WITH STRUTS 1.0 You've migrated on, and

Re: JRUN 4 PROBLEMS WITH STRUTS 1.0

2002-05-17 Thread Arron Bates
The most common culprit for things like this is sticking a copy of servlet.jar in $JAVA_HOME/jre/lib/ext and then forgetting about it. Any such copy found there (or an old copy on your classpath) should be removed. Or a rampant copy in {app}/WEB-INF/lib trying to override tomcat's. Arron.

RE: Flash-Struts Developer Test

2002-05-17 Thread Galbreath, Mark
Aaron, I think it's pretty obvious when I am having fun with the list; don't take me (or youself) so seriously. After all, it's Friday! -Original Message- From: Arron Bates [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 11:53 AM Mark, I'm all for going against the flow...

Re: Propertie files in a war file

2002-05-17 Thread Graham Lounder
Just to make sure I'm getting this. The web.xml will hold all the default values for an application in the env-entry and resource-ref tags. These default values can be modified by the container during deployment (in tomcat this would be the server.xml) so the war file does not have to be

Re: Flash-Struts Developer Test

2002-05-17 Thread Arron Bates
Mark, That last one was fairly directed. It's not cool when you're doing such things on someone's request for help. Everyone likes to feel king, or cool, or in control of some group of people, but this isn't the place. That's it, Mark just want's to feel loved (you take the gay-o-meter

Re: Questions regarding Nested Tutorial..

2002-05-17 Thread Jeff_Mychasiw
Thanks so much Arron. Great reply. The page I need this for on is just (what I thought was..) a simple List of value objects. At this time there are no nested objects. But it may change to nested object in the future. Regardless of the structure, it still needs to be created at

RE: Flash-Struts Developer Test

2002-05-17 Thread Galbreath, Mark
It had nothing to do with anyone's request for help; it was the ensuing pissing contest, and that was 2 weeks ago. And this list has a fine tradition of wry humor. If you don't like it, filter out my name with your email app. According to the meter, I'm very happy. Alan Bates? You don't own

Re: Logic:Iterate:sort, what do you think?

2002-05-17 Thread Ted Husted
As a practical matter, I think the best test is always going to be: What happens when the suits want this done outside of a Web application? If sorting is done on the model tier, then it is reusable in a Swing application, a PDF, a XLST document, a Velocity template, and even an email. In

RE: How to tell if a parameter has been defined in a tiles definition

2002-05-17 Thread Denham, Martin
Thanks Cedric, It worked a treat. Martin -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 09:52 To: Struts Users Mailing List Subject: Re: How to tell if a parameter has been defined in a tiles definition Hello, Import Tiles attribute in

Re: Questions regarding Nested Tutorial..

2002-05-17 Thread Arron Bates
Jeff, Just a little clarifying... any value object in a list, is a nested object. 1) Not yet, but I only made it today :) 2) Personally, I'd like it to be there. It's the one thing stopping nested objects from being created on the fly rather than held in session (and that benefits more than

Re: Getting a list from a session bean and displaying the data in a jsp

2002-05-17 Thread Ted Husted
Just to be clear, there are actually two distinct objects. The ActionFormBean is created by the form-bean element in the Struts configuration. This is a descriptor that the Struts ActionServlet (or sometimes html:form tag) uses to create an ActionForm object. Just to keep you on your toes,

RE: Javascript submit

2002-05-17 Thread Matt Read
I did consider your first suggestion but there's no guarantee that there won't be other forms on the same page which would put the numbering out. Re your 2nd suggestion, what I'm really looking for is a way to do that within a struts logic:iterate tag without rebuilding the struts source to add

Friday Trivia

2002-05-17 Thread SUPRIYA MISRA
In Action.do use out.flAsh(); _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

i18n and jsp weirdness

2002-05-17 Thread ajTreece
I've got internationalization working on my site via Struts v1.1.nightlybuild, but it is doing something that I don't understand. I'm using tiles so the webapp has some common portals that show up with every rendering of the page. A page in my webapp may be rendered via a call directly form a

Re: Javascript submit

2002-05-17 Thread Ted Husted
If you write this tag, don't hesitate to submit it. Seems to me like a suffix attribute would be useful to many people. Since the name property is overloaded as the ActionForm attribute name, this is not something you can easily do with a scriptlet. An extended tag seems like the only sane way

Re: Questions regarding Nested Tutorial..

2002-05-17 Thread Jeff_Mychasiw
Thanks Arron: I will begin to play with this stuff and I'm sure you will give us a shout here when there is more information available. Jeff Arron Bates [EMAIL PROTECTED] on 05/17/2002 11:59:24 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users

Need some help with generateToken

2002-05-17 Thread Daniel Jaffa
Ok, I have searched around and have not found much info on the following classes isTokenValid, saveToken, generateToken I Think that i could use these classes to help prevent some on from hitting the back button issues. My question is has anybody used these and if so, could u provided me an

This Error

2002-05-17 Thread Chris Cairns
Could someone kindly explain this error: logonform.java:5: package com.jspinsider.struts does not exist import com.jspinsider.struts.*; Thing that I don't understand is, I do have this package set under classes as com.jspinsider.struts with a bean class inside the struts folder. -- To

RE: Flash-Struts Developer Test

2002-05-17 Thread Andrew Hill
Ahhh Fridays I remember those. Back when I was a boy (about 1.5 yrs ago) we could look forward to heading off to the pub at 4:30 :-) Nowdays I simply cant get week.jar to build. Ive got days named Friday, but they dont seem to implement the getWeekendTomorrow() and buggerOffEarly() methods as

Re: This Error

2002-05-17 Thread Kevin . Bedell
Am I correct in assuming this is a compiler error from your IDE? Or is it from Ant? Whichever - it looks as if the classes directory is not on the CLASSPATH for the compiler generatng the error. I'd check this first - sometimes when you're dealing with multiple applications with different

RE: REg Select(Repost)

2002-05-17 Thread dhay
Setting the value of the type variable in the underlying form bean should work. Does for me. cheers, Dave Mannem, Taati [EMAIL PROTECTED] on 05/16/2002 04:51:42 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: This Error

2002-05-17 Thread Chris Cairns
Nice! It worked- thanks. At 02:23 PM 5/17/2002 -0400, you wrote: Am I correct in assuming this is a compiler error from your IDE? Or is it from Ant? Whichever - it looks as if the classes directory is not on the CLASSPATH for the compiler generatng the error. I'd check this first -

Re: How do you recommend doing this with Struts?

2002-05-17 Thread Ted Husted
I'd consider adding an error property to the bean that corresponded to each item. In the validate() method, you could then set the error property for whichever item was at fault (if any), using the same key you would use for ActionError. On the JSP side, you can use the message tag to

RE: REg Select(Repost)

2002-05-17 Thread Mannem, Taati
Dave. Thanks a lor!. If I set the value of form2 actionclass1 I am not able to retrieve the value in form2.jsp and it does not work. Can you send me some code example. Cheers, Taati -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002

RE: complex validation with Validator

2002-05-17 Thread Michael Marrotte
For credit card, I put this in my validator-rules.xml: validator name=creditCard classname=org.apache.struts.util.StrutsValidator method=validateCreditCard methodParams=java.lang.Object, org.apache.commons.validator.ValidatorAction,

RE: How do you recommend doing this with Struts?

2002-05-17 Thread Michael Marrotte
One way I thought of to do this is to store any errors in the bean that logic:iterate uses, e.g.: logic:iterate id=jspBean name=javaBean property=javaBeanProperty td item bean:write name=jspBean property=item/ /td td

RE: REg Select(Repost)

2002-05-17 Thread dhay
Does your select box work? ie when you submit it, is the value of the type var set correctly? It should work in exactly the reverse order - if you have called setType(x) on the same form in the action before you get to the jsp, there should be no problem. Can you try a bean:write name=your

RE: How do you recommend doing this with Struts?

2002-05-17 Thread Michael Marrotte
Thanks for your response... It's exactly what I was thinking and just posted a questiion about. Do you think this diverges from the MVC, though? Should validation errors ideally be stored in the Model? --Michael Marrotte -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]]

Re: validation approaches

2002-05-17 Thread Emerson Cargnin - MSA
i think that this approache would be better handled as a business validation, not a presentation validation... - Original Message - From: Struts Newsgroup @[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 17, 2002 11:40 AM Subject: Re: validation approaches Subject: Re:

RE: REg Select(Repost)

2002-05-17 Thread dhay
No, you have to replace yourform to YOUR form!!! ie form2actionform (I think in your case - whichever is associated with the select box)! Try that and see if it gives you anything. Cheers, David Mannem, Taati [EMAIL PROTECTED] on 05/17/2002 03:05:28 PM Please respond to Struts Users

RE: REg Select(Repost)

2002-05-17 Thread Mannem, Taati
Dave, Oops that was actually a typo.. when I said yourform I meant form2actionform. Tried that but it is not orking... I was discussing this with joe also.. Regards, Taati -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 3:17 PM

Re: Need some help with generateToken

2002-05-17 Thread Daniel Jaffa
Sorry they are methods not classes. isTokenValid, saveToken, generateToken - Original Message - From: Daniel Jaffa [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 17, 2002 1:55 PM Subject: Need some help with generateToken Ok, I have searched

Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's ClassNotFoundException

2002-05-17 Thread Ren Bitonio
Hello All: There have been no responses to my initial request below, and I'd appreciate much if I could get some assistance. I've read past postings that comes close to my issue, but not useful information. Sorry for re-posting, but I need to find a way around this problem. I have an already

Re: How do you recommend doing this with Struts?

2002-05-17 Thread Ted Husted
The action:errors tag is a convenient interface to the Struts ApplicationResources. Any component in the application is welcome to use the ApplicationResources (hence the application moniker). What you might want to do is save the message key in the inputErrors property and then use bean:message

Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging's ClassNotFoundException

2002-05-17 Thread Ren Bitonio
Hello All: There have been no responses to my initial request below, and I'd appreciate much if I could get some assistance. I've read past postings that comes close to my issue, but not useful information. Sorry for re-posting, but I need to find a way around this problem. I have an already

Re: Another Error

2002-05-17 Thread Kevin . Bedell
Tough to say from this limited info - Here's what I'd recommend. Go compare your struts-config.xml and your Action classes to those supplied with the example application. Think things through and spend a bit of time reading the javadoc. And read through the messages in your server.log until

Re: How do you recommend doing this with Struts?

2002-05-17 Thread Ted Husted
Validation errors actually *belong* to the model, so yes. The error messages are coming out of the ApplicationResources. This is a standard Properties file and part of the standard approach to i18n in any Java application. Ideally, these should be shared with any other application that is doing

Does Indexed property in FormBean work?

2002-05-17 Thread Jason Zhou
I have an indexed property in my form bean and I want to associate the indexed property with a list of html input field in a form so that values of my property can be displayed through the input field and changes can be populated back to the indexed property. How can I do it in Struts? Best

RE: How do you recommend doing this with Struts?

2002-05-17 Thread Michael Marrotte
Works like a charm... Thanks for the input! --Michael Marrotte -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 3:38 PM To: Struts Users Mailing List Subject: Re: How do you recommend doing this with Struts? The action:errors tag is a

Re: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging' sClassNotFoundException

2002-05-17 Thread Kevin . Bedell
Looks like your having issues with the WLS classloader architecture. There are a few things that you need to do to get third party class files to be found by the classloader for a web app. Here's a great article on some of the newer classloader architectures. It has some specific material on

Re: Need some help with generateToken

2002-05-17 Thread Ted Husted
Not much to it really. Before forwarding to the form that needs to be part of the transaction, just call saveToken(request); somewhere in the Action. If the form the Action forwards to uses the Struts html:form tag, it will write out the token for you as a hidden field, so there's nothing

RE: struts validator

2002-05-17 Thread JM
We would be glad on the struts users list. What's your environment? What does your log files show? What other error messages do you see? JM -Original Message- From: John Cheng [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 3:31 PM To: [EMAIL PROTECTED] Subject: struts

RE: REg Select(Repost)

2002-05-17 Thread dhay
So you're getting theerror saying form2actionform not defined in the scope null? If so, that's obviously your problem. Check your struts-config to check it is associated with the action that forwards to form2.jsp. Dave Mannem, Taati [EMAIL PROTECTED] on 05/17/2002 03:23:39 PM Please

Re: Does Indexed property in FormBean work?

2002-05-17 Thread dhay
search the archive - loads of messages on this. Dave Jason Zhou [EMAIL PROTECTED] on 05/17/2002 03:45:55 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Does

Why did they make it tough to process an action on your own?

2002-05-17 Thread Steel, Toby
If one jsp requires many action.do ActionForward results be included on a single page, one used to use ActionServlet.processActionPerform (among other methods) to preprocess the request so that each subsection of a main page could be generated by the result of an Action. This used to (Struts

RE: REg Select(Repost)

2002-05-17 Thread Mannem, Taati
Dave.. I checked the config.xml..Thanks a lot for your help.. Somehow the way u r suggesting is not working and i am making it work this way.. it is associated in the config.xml Anyway I have found tried using collections and html:options as explained in the example and then set the type by

RE: REg Select(Repost)

2002-05-17 Thread dhay
2 questions: - what is your jsp - action sequence ie are you going form1Action - form1.jsp - form2Action - form2.jsp? And in which form is your typelist collection? And in which form is your type value? - Don't understand your question about iterating. Is it completely seperate from the

RE: REg Select(Repost)

2002-05-17 Thread dhay
Ps Can you post your struts-config file, and your form beans too Mannem, Taati [EMAIL PROTECTED] on 05/17/2002 04:15:01 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark)

RE: Does Indexed property in FormBean work?

2002-05-17 Thread Galbreath, Mark
Jason, I'm not sure I understand what you are trying to do. It sounds like a simple dropdown select list populated by associated List property on the bean. I use the indexId to access particular elements in a List in order remove selected elements from the List. Is this something like you

RE: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging' s ClassNotFoundException

2002-05-17 Thread Trieu, Danny
I just want to say that I have the exact problem like you .. -Original Message- From: Ren Bitonio [SMTP:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 12:10 PM To: 'Struts Users Mailing List' Subject: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logging' s

RE: Getting Struts 1.1 beta to work with WLS6.1 SP2: commons-logg ing' s ClassNotFoundException

2002-05-17 Thread AGARWAL, RAJESH (SBCSI)
Hi Ren, I'm still not able to set up struts 1.0.1 for WAS 4.0. You said you've it running. Could you tell me what are changes you need to make?? Thanks Rajesh -Original Message- From: Trieu, Danny [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 1:39 PM To: 'Struts Users

RE: Does Indexed property in FormBean work?

2002-05-17 Thread Jason Zhou
No. I have a FormBean called Department with an indexed property called Employee. Department { Employee[] employee = ... } Employee is a javabean with names, address, etc. In the html form, I have a table of html input field (html:text in Struts) and each row representing one

  1   2   >