Setting values of nested collection

2004-09-30 Thread Danielle Boukovska
Hi all I have a problem with setting the values on a hierarchy of nested properties. I have an ActionForm which has a property A of type HashMap. A is keyed on Strings, and each value of A is a Collection (ArrayList). This collection contains objects of type B. I am trying to iterate through the

Apache Tomcat

2004-09-30 Thread Shailender Jain
Hello All, I have got a form which has got some 200 rows which needs to be submitted to server for updation. I am using Tomcat 5..0.16 as the webserver. This passing of data from browser to server seems to be very slow. Is there any way by which i can increase the speed. I know this is

RE: Apache Tomcat

2004-09-30 Thread Mazen, Tamer S
Dear Shailender, You can put those 200 rows in session and use paging mechanismto display part of those rows for example (20-30) row per page. BR -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 9:01 AM To: [EMAIL PROTECTED] Subject:

RE: Refresh problem

2004-09-30 Thread Paul McCulloch
The token is set in a session scope attribute named org.apache.struts.action.TOKEN. It should be relatively straightforward to include it's value within the link, as a parameter named org.apache.struts.taglib.html.TOKEN. I suggest you take a look at the TokenProcessor class if you have any issues

RE: JSTL and Tiles

2004-09-30 Thread Paul McCulloch
Try using request scope (rather than the default of page) when you use JSTL to set your attribute value. Changes to the named attribute will be picked up by any code which is executed afterwards. Paul -Original Message- From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] Sent: Wednesday,

NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread Adam Lipscombe
Hi, Under some circumstances my app receives a set of request params at the login.jsp page. After the user has authenticated these params need to be passed to the next page to be displayed (home.jsp). home.jsp then displays differently depending on the params passed. Normally there will be no

Re: FW: R: Detecting the previous JSP

2004-09-30 Thread calandraca
I strongly suggest to use DOM object model when programming JavaScript, since I do it my applications are accessed from Safari, IE, Firefox without problems and no browser dependent code is required. In your case I'd do this: 1. The html form: html:form action=/editRegistration

Re: ImageButtonBean LookupDispatchAction

2004-09-30 Thread Michael McGrady
Ben wrote: Hi Anyone knows any example on how to use ImageButtonBean in LookupDispatchAction? Or can someone give me an example implementation? Thanks. Regards, Ben This is mixing two different and competing systems, and each of them is heavier and more complex than they need to be in the first

Reusing methods across actions classes

2004-09-30 Thread Ciaran Hanley
Hey, Bit of a dummy question here but I am wondering what is the best way to reuse methods across different action classes. Is it acceptable to make an instance of an action class within an action class so I can use one of its methods. Or would it be better to simply copy and paste the method

[Struts Workflow] source code available for struts-workflow-1-0-3-demo ?

2004-09-30 Thread Mark Songhurst
Hi. If anyone from LivingLogic (or otherwise) can send me the source code (.java files) for the struts-workflow-1-0-3-demo.war file then it would be much appreciated and assist me greatly in integrating struts-workflow into my application. Many Thanks, Mark.

RE: Reusing methods across actions classes

2004-09-30 Thread Mark Benussi
Yes. call your super class myaction or whatever you feel helps. And also please dont copy both mailing lists. Original Message Follows From: Ciaran Hanley [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED],[EMAIL

RE: Reusing methods across actions classes

2004-09-30 Thread Prasenjit Narwade
Probably you can create a Generic Action class which extends Struts Action class and make all your Action classes extend this class. You can then put the reusable methods in this class and it can be used by all your Action classes. -Prasenjit -Original Message- From: Ciaran Hanley

NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread andy wix
Hi, It's probably better to store them in the session rather then passing from page to page. In Login action: HttpSession session = request.getSession(); session.setAttribute(YourParams, params); and get them in the next page: YourClass xxx =

Re: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread HG
Hi Andy A session variable can be expensive. Why not just put it on the request by using request.setAttribute in one action and getting it again using request.getAttribute in another action? What is your parameter? A simple type, object, graph of objects? - Original Message - From:

Re: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread HG
Forget my previous post. Was answering an answer... :-) Might need some sleep.. :-) - Original Message - From: andy wix [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 30, 2004 1:03 PM Subject: NEWBIE: How to pass parameters between JSPs Hi, It's probably better to

Re: ImageButtonBean LookupDispatchAction

2004-09-30 Thread Michael McGrady
Note, Ben, that in LookupDispatchAction we do the following: Used the mapping attirbute parameter method to find Delete It in the request object name/value parameter pair method='Delete It'. Created a reverse map of all the keys in the application resource property file for the users locale

Re: multi box and required validation

2004-09-30 Thread Ratnakar Parakala
Anand, We are using validator framework and validating multibox and multiselect. We are not doing anything special, but like ordinary string validation. Here is the code snippet: field property=taskSequenceTasks depends=required arg0 key=label.tasks.selecttasksequencetasks/ /field HTH,

Re: ImageButtonBean LookupDispatchAction

2004-09-30 Thread Michael McGrady
Michael McGrady wrote: Note, Ben, that in LookupDispatchAction we do the following: Used the mapping attirbute parameter method to find Delete It in the request object name/value parameter pair method='Delete It'. Created a reverse map of all the keys in the application resource property file

Re: The Original Web Page Cannot Be Found (HTTP 404) After Validation is Turned On

2004-09-30 Thread Caroline Jen
I have tried /ContentMgmt.do I got the same HTTP 404 file not found error. --- Gabriel França Campolina [EMAIL PROTECTED] wrote: Try put the /ContentMgmt.do On Wed, 29 Sep 2004 12:00:31 -0700 (PDT), Caroline Jen [EMAIL PROTECTED] wrote: I have action mapping in the

Validation of Forms in a DispatchAction ???

2004-09-30 Thread Charles . Gouin-Vallerand
Hi all, I got a problem, I want to validate several Form in a DispatchAction. But, this Action is called after a validation of an other type of form. I got a Null Exception Pointer when I validate through my DispatchAction. Somebody has an idea, how I can validate without problem. Here an

Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Nadia Kunkov
Hi, I'm wondering if I should use validate() method of ActionForm instead of JavaScript to validate the form. I can see the advantage of validate() when you have an internationalized application, but otherwise why would I have an overhead of going back to the server when I can do the

Re: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Jeff Beal
Nadia Kunkov wrote: Hi, I'm wondering if I should use validate() method of ActionForm instead of JavaScript to validate the form. I can see the advantage of validate() when you have an internationalized application, but otherwise why would I have an overhead of going back to the server when I can

Re: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread HG
Hi Adam I might be overwhelmed by the lack of sleep, but... I can simply don't get it.. So please confirm' 1 ) You have a login.jsp and a LoginAction 2) When the submit button (or whatever) is pressed on the rendered (by login.jsp) HTML page, LoginAction is called. 3) In LoginAction, you can get

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Sachin Bhutada
hi Nadia, What if the client who is accessing ur application disables the java script and keeps on hitting the server contineous ? Secondly, Using javascript its little difficult to modify the html pages. But using validate method and html:errors/ u can lay out ur error

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Sachin Bhutada
Nadia, By using struts and validator framework u can show internationalized java script error messages as well. sachin -Original Message- From: Nadia Kunkov [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 6:35 PM To: Struts help (E-mail) Subject: Validate() vs

html:messages with multiple bundles?

2004-09-30 Thread Woodchuck
hihi, has anyone a good way to handle displaying multiple messages that come from multiple bundles (resource files) on the jsp? how can i make my jsp handle messages that can come from more than one bundle? the reason why i need to do this is because we made a base application that all projects

RE: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread Adam Lipscombe
Hi Henrik Yes that's it. I tried what you suggest and it works. Many thanks. What I was trying to avoid was storing the params in the LoginForm actionform. It seems like this approach uses the LoginForm ActionForm as a forwarding mechanism for params passed into Login.jsp. What I tried was

The best pratice to developer a login system

2004-09-30 Thread Gabriel França Campolina
Hi folks, I never developed a login system,and I'm need developer this now with autheticantion and perfis of the user, I'd like know if exists anything developed or how created a system with secury in the Struts Sorry my english, I´m Braziliam. Thanks, -- Gabriel França Campolina Tel:

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Nadia Kunkov
Thanks for the replies. Have you ever noticed a performance difference though? Is it significant? Nadia -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Jeff Beal Sent: Thursday, September 30, 2004 9:14 AM To: [EMAIL PROTECTED] Subject: Re: Validate() vs JavaScript

Re: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread HG
Hi Adam Glad it worked out. The ActionForm is the Struts way of interacting with HTML forms. It is a kkey concept of the Struts framework. So, what basically happens here is that an Action CAN be tied to a FormBean, and the FormBean serves as a layer between your HTML form and the action. So,

Re: ImageButtonBean LookupDispatchAction

2004-09-30 Thread Carlos Cajina - Hotmail
Hi Ben. I see that Mike McGrady already pointed you in the right direction :^) I've tried the solution he proposes with execelent results... if you have any further questions or doubts I'll be glad to help. Regards, Carlos Premature optimization is the root of all evil. Donald E. Knuth

Re: The best pratice to developer a login system

2004-09-30 Thread Sean Schofield
J2EE provides some good security options out of the box. I would look into security constraints. Sun has a nice tutorial: http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Security.html Sean Gabriel França Campolina wrote: Hi folks, I never developed a login system,and I'm need developer this now

RE: html:messages with multiple bundles?

2004-09-30 Thread Paul McCulloch
A simple solution would be to change your build process to combine the base properties and the applications properties into one resource file. Paul -Original Message- From: Woodchuck [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 2:23 PM To: struts Subject:

Test

2004-09-30 Thread fzlists
Please ignore, just testing my ability to post to the list. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Thank you

2004-09-30 Thread fzlists
I'm not actually a new user to the list, but unfortunately from work I am forced to use a webmail client, but even more unfortunately there is a bug in the client that causes my messages to not get through to the list. So, I had to throw together a quick eMail client myself just to be able to

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Brantley Hobbs
Performance is likely to be the last thing you'll be worried about if someone sneaks malicious input past your validation. Client-side form validation is just plain /wrong/! Never trust input you get back from a client. Never. Brantley -Original Message- From: Nadia Kunkov

Re: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Luis Urueña Frías
Hi! JavaScript is one more technology added to the HTTP world. This protocol was origannly designed to transmit formatted data, so Javascript is fully optional. There is only one methos to check the validity of data, by means of server validation (struts or not). Javascript validation helps

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread fzlists
Did you forget to post it? I'm not seeing it here... Remember, it's the HTML as rendered on the browser, NOT what's in your JSP. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, September 30, 2004 10:27 am, Shabada, Gnaneshwer said:

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread fzlists
While absolutely agree with the premise that you shouldn't trust what the client sends you, I think this reponse is a little too rigid. You need to take into account the environment your working in. If your talking about a situation where your clients are captive (i.e., an internal-only

J2EE versions and Struts

2004-09-30 Thread Brent Vaughn
What versions of J2EE are compliant with the newest release of Struts?

J2EE versions and Struts

2004-09-30 Thread Brent Vaughn
What versions of J2EE are compliant with the newest release of Struts?

Struts ans JSR 168

2004-09-30 Thread Xavier Lawrence
Hi all, I am looking for a working example of a struts application where its views would be seen in JSR-168 portlets. I would like to make my struts-portlets application work on Tomcat, with pluto for example. Can anybody give me a link of a working example, or even send me some source code

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Brantley Hobbs
In limited, very controlled environments, I can see the advantages of client-side validation, but even then I would still validate server side because all it takes is one disgruntled employee and all of a sudden your nice controlled environment is blown apart. The only way you can guarantee a

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread Shabada, Gnaneshwer
Oops, I sent it as an attachment. I guess the mailing list doesn't take it. Anyways, below is the rendered html code from my JSP. When I click the DELETE button, the JS error comes on line 38 i.e, as marked below..Let me know if you find anything Thanks for your help !DOCTYPE HTML PUBLIC

jstl and the brink of madness

2004-09-30 Thread andy wix
Hi, The following expression always evaluates to true even though I can see the create parameter in the request. %@ taglib uri=jstl/c prefix=c % c:choose c:when test=${empty param.create}hello/c:when c:otherwisegoodbye/c:otherwise /c:choose I set the parameter up in the previous action with:

RE: jstl and the brink of madness

2004-09-30 Thread Paul McCulloch
I don't think scoped attributes parameters are the same thing. Try http://somehost/app/mypage.jsp?create=something to set a parameter. Paul -Original Message- From: andy wix [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 3:59 PM To: [EMAIL PROTECTED] Subject: jstl and

Re: jstl and the brink of madness

2004-09-30 Thread Duncan Mills
Shouldn't your test be: c:choose c:when test=${empty requestScope.create}hello/c:when c:otherwisegoodbye/c:otherwise /c:choose As you've set this as a Request attribute Regards Duncan Mills andy wix wrote: Hi, The following expression always evaluates to true even though I can see the create

Re: html:messages with multiple bundles?

2004-09-30 Thread Niall Pemberton
There are outstanding enhacement requests for this kind of feature: http://issues.apache.org/bugzilla/show_bug.cgi?id=7892 http://issues.apache.org/bugzilla/show_bug.cgi?id=30401 Niall - Original Message - From: Woodchuck [EMAIL PROTECTED] To: struts [EMAIL PROTECTED] Sent: Thursday,

Re: jstl and the brink of madness

2004-09-30 Thread Fredrik Sundberg
Try ${empty create} instead. Regards, /Fredrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread fzlists
Found the problem! Note that you have a submit button with the NAME submit... This is confusing the call to the submit() method in your JS function. Change the name of the button to submit1 or something and it'll work. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex

RE: Validate() vs JavaScript where is the advantage?

2004-09-30 Thread Nadia Kunkov
Thank you very much. I appreciate all your inputs. Nadia -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 10:41 AM To: [EMAIL PROTECTED] Subject: RE: Validate() vs JavaScript where is the advantage? While absolutely agree with the

Re: jstl and the brink of madness

2004-09-30 Thread andy wix
Hi, Thanks - requestScope.create works. I was copying from page 12 of Core JSTL - can't belive all you read! Cheers, Andy _ Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolbar.msn.co.uk/

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread Shabada, Gnaneshwer
Dohh!! that was silly of me :) Thanks Frank. Nice eye. I got rid of that JS problem now but it still wouldn't recognize my action on submit. I get the following error on my console. [9/30/04 11:27:48:550 EDT] 3324009f OSEListenerDi E PLGN0021E: Servlet Request Processor Exception: Virtual

RE: html error handling

2004-09-30 Thread Barnett, Brian W.
Can you show us your jsp code? -Original Message- From: Shahin Hadjikuliev [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 6:32 AM To: [EMAIL PROTECTED] Subject: html error handling Hi, I have jsp with html:error/ tag, if an error accures its displaying only error message

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread Shabada, Gnaneshwer
Never mind.. I think I am really being impatient..:) I found it, its the path to the action in the JS function. Had to set it to full path..it works now Thanks anyways -Original Message- From: Shabada, Gnaneshwer [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 11:34 AM

Re: J2EE versions and Struts

2004-09-30 Thread Craig McClanahan
Struts 1.2.4 remains compatible with J2EE 1.2 or later (Servlet 2.2 or later, and JSP 1.1 or later). That is unlikely to be the case for Struts 1.3, however. Craig On Thu, 30 Sep 2004 09:44:13 -0500, Brent Vaughn [EMAIL PROTECTED] wrote: What versions of J2EE are compliant with the newest

RE: Struts and Quartz Scheduler

2004-09-30 Thread Mick.Knutson
This works for me: web.xml servlet servlet-nameQuartzInitializer/servlet-name servlet-classcom.baselogic.yoursos.scheduler.QuartzInitializerServlet/servlet-class load-on-startup1/load-on-startup /servlet quartz-config.xml: ?xml version=1.0 encoding=ISO-8859-1 ?

Help! Iterating through nested hashmap and setting properties

2004-09-30 Thread boukovska
Hi all I have a problem with setting the values on a hierarchy of nested properties. I have an ActionForm which has a property A of type HashMap. A is keyed on Strings, and each value of A is a Collection (ArrayList). This collection contains objects of type B. I am trying to iterate through the

Visual editors for JSP's with Struts tags

2004-09-30 Thread Adam Lipscombe
Folks, My graphic designer is having difficulties with the design view in DreamWeaver looking at JSp's with struts tags. We have the fwasi struts tag plugs-ins for DW. Basically it seems DW design view support for JSP/Struts is rudimentary at best, and in our case mostly doesn't work. I

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread fzlists
You shouldn't need to put the full path in, just setting the action to deleteRegistration.do should be sufficient (assuming it's a root path, meaning not something like /my/app/deleteRegistration. Not sure why it wouldn't work, looking at my own code that's what I have (i.e., NOT the full

Re: Help! Iterating through nested hashmap and setting properties

2004-09-30 Thread Jeff Beal
boukovska wrote: Hi all I have a problem with setting the values on a hierarchy of nested properties. I have an ActionForm which has a property A of type HashMap. A is keyed on Strings, and each value of A is a Collection (ArrayList). This collection contains objects of type B. I am trying to

Re: Visual editors for JSP's with Struts tags

2004-09-30 Thread Rogue Chameleon
have a look at the myeclipse (www.myeclipseide.com) add-on to eclipse (www.eclipse.org). On Thu, 30 Sep 2004 17:36:52 +0100, Adam Lipscombe [EMAIL PROTECTED] wrote: Folks, My graphic designer is having difficulties with the design view in DreamWeaver looking at JSp's with struts tags. We

RE: Help! Iterating through nested hashmap and setting properties

2004-09-30 Thread Boukovska, Danielle
I am trying to edit property foo below -Original Message- From: Jeff Beal [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 5:50 PM To: [EMAIL PROTECTED] Subject: Re: Help! Iterating through nested hashmap and setting properties boukovska wrote: Hi all I have a problem

RE: Reusing methods across actions classes

2004-09-30 Thread Danilo Gurovich
Why don't you just create an abstract action and extend it? Danilo Gurovich Manager, Web Development LowerMyBills.com [EMAIL PROTECTED] 2401 Colorado Ave., 2nd Floor Santa Monica, CA 90404 (310) 998-6412 -Original Message- From: Ciaran Hanley [mailto:[EMAIL PROTECTED] Sent:

How to handle multiploe unknown form fields

2004-09-30 Thread fzlists
I have an interesting situation, one that has never come up before, and I'm unsure how to deal with it... Imagine you have some records from a database representing various skills (i.e., HTML, Javascript, J2EE, etc.). Each has a SkillID associated with it. You create a JSP that lists each

Re: Reusing methods across actions classes

2004-09-30 Thread Sean Schofield
It may also depend on what kind of code you are trying to reuse. If its something that is action-related (populating a form, etc.) then I would agree with Danilo's answer. If on the other hand, the code is related to business logic that is really independent of the struts portion, then I

Re: J2EE versions and Struts

2004-09-30 Thread Vic Cekvenich
Servlet 2.2; ex: Tomcat 3. .V Brent Vaughn wrote: What versions of J2EE are compliant with the newest release of Struts? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Reusing methods across actions classes

2004-09-30 Thread fzlists
Writing your own Action class that extends Action and then extending that to make each class is an option. Depending on the nature of your shared code, it might be easier to just make an ActionHelpers class that contains a bunch of methods, maybe a bunch of static methods even, depending on

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread Shabada, Gnaneshwer
Well. If I say document.forms[0].action=/registration/deleteRegistration.do; it doesn't recognize as registration is the context root of my app and the url was resolved as http://localhost:9080/deleteRegistration.do That is why it was giving me webGroup not found error. But when I set it to

timeouts

2004-09-30 Thread Lucero, Dennis M
I am setting connection timeouts in server.xml but these settings do not seem to be working. Does struts have a timeout function? I am he, as you are he, as you are me, and we are all together.

RE: FW: R: Detecting the previous JSP

2004-09-30 Thread fzlists
Well, certainly it it works, that's what counts :) But the path should be the path that is in your struts-config file, the physical path shouldn't matter, i.e., if your JSP in in the directory structure /my/app/jsp/part1, where /my is the root of the webapp, and you submit a form to

Validator

2004-09-30 Thread Vinicius Carvalho
Hi there! I've been using Struts for quite sometime, but haven't used the validator yet. So I followed the receipt provided by Struts in Action, but got no success at all. Here's what I've done Struts-config is configured for the right plugin My ActionForm extends ValidatorForm and has no

Re: How to handle multiploe unknown form fields

2004-09-30 Thread Bill Siggelkow
Frank, Couldn't you create your html:select elements within logic:iterate? You would need to dynamically generate the name attribute using an a RTEXPR (or using html-el tags). Also, LazyActionForm might help here ... [EMAIL PROTECTED] wrote: I have an interesting situation, one that has never

Re: How to handle multiploe unknown form fields

2004-09-30 Thread Niall Pemberton
You simply need a property in your ActionForm that returns a collection of skill beans and used the indexed attribute on the html tags. The isssue that most people have problems with is when using a Request scope ActionForm you need to populate your collection with the right number of skill beans

RE: Validator

2004-09-30 Thread Charles . Gouin-Vallerand
Hi Vinicius, An easy question, have you put the right attribute in the struts-config.xml in the actionMapping ? You need to put the xml attribute validate=true and an input for the page you want to return if the validation throw an error. An exemple :

Re: How to handle multiploe unknown form fields

2004-09-30 Thread fzlists
I understand the JSP side of this eqation as you wrote it, although I should have said I was looking for a solution that doesn't use Struts taglibs because I try to avoid them at all costs, but that aside... I'm still unclear however on what the ActionForm does... Using this concept, do I HAVE

Using WildCards

2004-09-30 Thread Jose Alecio Carvalho
Hi! I'm having some troubles using WildCards. I have a Action declaration like this: action path=/*OperationAction type=alecio.presentation.web.action.{1}OperationAction name=OperationForm validate=true scope=request input={1}HomePage parameter=operation

Re: How to handle multiploe unknown form fields

2004-09-30 Thread bmf5
Frank, Will this help? http://www.reumann.net/struts/nested.do You didn't say anything about JSTL. Just today I'm working on populating a checkbox field in an object that's contained in a list. Oops. I just remembered I'm using html-el too. I haven't tried it with with plain html. This

Re: Using WildCards

2004-09-30 Thread Don Brown
Unfortunately, set-property is processed at config parsing time, rather than runtime, so it is not possible to use wildcard replacement in it. Don On Thu, 30 Sep 2004 14:59:17 -0300 (ART), Jose Alecio Carvalho [EMAIL PROTECTED] wrote: Hi! I'm having some troubles using WildCards. I have a

Re: timeouts

2004-09-30 Thread James Mitchell
No, Struts does not control session timeouts -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: Lucero, Dennis M [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 30, 2004 1:26 PM Subject:

RE: Struts and Quartz Scheduler

2004-09-30 Thread Wiebe de Jong
Starting Quartz from a servlet is not a good idea, use a Plugin instead. Reason: I am running on the JBoss application server, and the threads that Quartz creates on startup are attached to the app server when using the servlet method. Everything works fine, but when your webapp is shutdown, the

Page refresh results in multiple calls to form bean?

2004-09-30 Thread Tom McCobb
I have a templated page. In a detail display section (in Detail.jsp), after an update, I forward back to the main page (call it Master.jsp). I also have a search section (Search.jsp) on the page. I put a log statement in a getter on the Form Bean behind Search.jsp. I notice that when I do

validator for radio button does not work

2004-09-30 Thread Jayaraman . Dorai
the client side validator for radio button does not work for required validation. The validation rules check for field.type==radio, but the field.type is 'undefined' when I tried an alert. But field[0].type returned radio. The validation_rules.xml has field.type==radio check all over. Has anyone

RE: Validator

2004-09-30 Thread Charles . Gouin-Vallerand
Do you have an error in server console when you validate ? I already had a problem like that and the validation was not complete. Do you use the server side validation or the client side ? I have never use the client side validation, so I cannot help you with it.

RE: timeouts

2004-09-30 Thread David Suarez
Web.xml has a timeout value you may want to make sure is not there. I believe the webapp takes precedence over the server settings if they are set. Regards...djsuarez -Original Message- From: Lucero, Dennis M [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 12:26 PM To:

AW: RE: Struts and Quartz Scheduler

2004-09-30 Thread Thomas Vogt
Hmm never had any of the problems you mentioned with my app and I do WAR HOT reload quite often. I never experienced the behaviour you mentioned on my Tomcat 5 but maybe thats different for JBoss. But since you mentioned it I will change it in my app too, so it is compatible with JBoss too.

Re: Validator

2004-09-30 Thread Gabriel França Campolina
Olá Vinicius, Poste o seu mapeamento de suas action no struts-config, e o mapeamento dos seus form, para que eu possa analizar? Verifique o log gerado pelo seu container web(Tomcat, JBoss etc), em geral eles listam a maioria dos problemas da sua aplicação. Gabriel F Campolina Analista

Tiles definition file

2004-09-30 Thread kevin_gutch
Has anyone run across this issue? org.apache.jasper.JasperException: Can't get definitions factory from context. I realize the app can not locate the tiles-defs.xml but nit sure why. I have never really had this problem before. My Struts-Config.xml plug-in section looks like plug-in

Error Message for Struts Validation

2004-09-30 Thread Caroline Jen
I use the validation.xml to validate the properties in my form bean. The validation works; but, the error messages do not work as I expected. While I have customized error messages prepared, the error message displayed in the browser window for my intentional violation are like: . null is

RE: Struts and Quartz Scheduler

2004-09-30 Thread Barnett, Brian W.
Thanks Wiebe. I saw your name on a post or two in the Quartz forum and was hoping you'd respond to this here. I really appreciate it! Brian Barnett -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 12:28 PM To: 'Struts Users Mailing

RE: RE: Struts and Quartz Scheduler

2004-09-30 Thread Wiebe de Jong
If you've not had any problems, that is good. Tomcat is probably taking care of the threads for you and stopping them. Using the plugin is still better because instead of relying on the app server to do your cleanup, you can take charge of it yourself. Wiebe -Original Message- From:

RE: How to handle multiploe unknown form fields

2004-09-30 Thread David Suarez
I didn't realize that Struts could actually pass a pre-filled ArrayList. That's pretty cool.The way that I've done index properties in Struts call this method in my version: Myproperty(int index, String value); In that method, you can recreate whatever you want however you prefer. This is a

Re: Validator

2004-09-30 Thread Daniel H. F. e Silva
Hi Gabriel, When posting to the struts-users list, please, don't use any language other than english. It is unpolite as just a few dudes here understand portuguese. If you and all other Struts dudes (hey, i'm brazilian too) need help with Struts, join the funkiest irc channel ever:

RE: timeouts

2004-09-30 Thread Lucero, Dennis M
Ugh , not session timeouts but connection timeouts. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 12:17 PM To: Struts Users Mailing List Subject: Re: timeouts No, Struts does not control session timeouts -- James Mitchell

Re: Deploying struts

2004-09-30 Thread Adam Hardy
Hi there, you should put it in the WEB-INF/lib directory. However the struts-documentation should run straight out of the box. I suspect you have a configuration failure somewhere. On 09/29/2004 08:39 PM Sanghamitra Roy wrote: I have Tomcat 3.3.1. I have downloaded the struts 1.2.2 and

Re: Setting values of nested collection

2004-09-30 Thread Adam Hardy
Hi Danielle, are you sure you instantiated the appropriate hierarchy for struts to save the form properties into on submit? You can build it yourself, keep it in the session or use LazyBeans (not sure about the last one - might be called LazyNested or similar). Adam On 09/30/2004 07:33 AM

Re: [NEWBIE] Local forward with html:link?

2004-09-30 Thread Adam Hardy
You can take 2 approaches. You can split the page into tiles, one tile contains the form input elements and is nested inside the other tile which contains the form and the buttons. Then you re-use the first tile and swop the second tile depending on your mapping. Alternatively you can have a

Forms and Building Generic logic to control focus

2004-09-30 Thread Sifuentes, Ben
Example of retrieving the configuration of the form. OutStanding questions are: 1.) Is the order of the array returned from findFormPropertyConfigs() call the order defined in the form-property tag of the struts-config.xml file? 2.) From the server side. If one wished to determined if the

Re: Error Message for Struts Validation

2004-09-30 Thread Matt Bathje
I've never used the msg attribute myself, but I think when you do, you need to specify the key, and a name attribute for which validation the message applies to. So in your case it would be: msg name=required key=request.page / You may also need to specify a bundle and resource attribute, but I

Re: How to handle multiploe unknown form fields

2004-09-30 Thread Niall Pemberton
Rather than answer you here, I've set up a wiki page showing three different options for lazy list type behaviour http://wiki.apache.org/struts/StrutsCatalogLazyList I understand you wanting to only use released stuff - actually if you look at LazyValidatorForm, theres not much too it - most

  1   2   >