RE: executing statements on subsets of actions without code duplication

2003-06-16 Thread shirishchandra.sakhare
What is inheritancde for then:-)) Make an abstract action and have this code there... All your actions will extend this action..And bingo here you go. -Original Message- From: Rob [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 6:34 AM To: Struts Users Mailing List Subject:

Re: StrutsMonkey

2003-06-16 Thread Arron Bates
The MonkeyStruts example initiates everything in the constructor of the beans, and because they're in session memory, there's no issue with having to manage anything with regards to request scope and bean population. Result: nasty code in the constructors that shouldn't be duplicated in a real

Re: GenericDataSource looping

2003-06-16 Thread Adam Hardy
You've left off the type attribute in the data-source tag. Try data-source type=org.apache.commons.dbcp.BasicDataSource don't you get any errors? Richard Raquepo wrote: Im use to use DBCP in Struts 1.1RC1 but then mo back to GenericDataSource in Struts 1.1RC2 but it seem's im having a problem

problem:checkbox

2003-06-16 Thread Adwait Bhave
I'm using following lines in jsp.. td html:checkbox property=appraiserType/ National Company /td td html:checkbox

logic:iterate issue

2003-06-16 Thread raghu_c
Hi - My logic:iterate tag doesnt loop thru the no of elements in the list :( Can someone help? My jsp goes something like this logic:iterate id=MINESNQueryForm name=MINESNResults property=arrlstMINESNIS41Records length=%=iNoOfRecDisplayed% tr onClick=fnSelectedRow(this,'%=iCounter%')

RE: logic:iterate issue

2003-06-16 Thread J, Sadhasivam (Cognizant)
Offset property is there in iterate check it up please -Original Message- From: raghu_c [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 12:54 PM To: [EMAIL PROTECTED] Subject: logic:iterate issue Hi - My logic:iterate tag doesnt loop thru the no of elements in the list :( Can

RE: logic:iterate issue

2003-06-16 Thread raghu_c
Default offset is zero , is it not? -Original Message- From: J, Sadhasivam (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 1:00 PM To: Struts Users Mailing List Subject: RE: logic:iterate issue Offset property is there in iterate check it up please

Re: GenericDataSource looping

2003-06-16 Thread Richard Raquepo
i believe data-source type=org.apache.commons.dbcp.BasicDataSource is no longer supported in struts1.1RC2. - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 16, 2003 2:55 PM Subject: Re: GenericDataSource looping

using onchange Property of selectboxes to change Form values

2003-06-16 Thread Filip Polsakiewicz
Hi, ich have the following Problem: i use a jsp with several submit buttons each one with its own value. Now I want to change a form value depending on a select box. i.e. when the selectboy changes i want the page to reload and haveing one form valuie changed. Reloading the page is no problem. My

nested vectors

2003-06-16 Thread Filip Polsakiewicz
Hi, i use a Vector property in my FormBean, which itself contains Elements which also contain vectors. private Vector datedRanges; . . . v class Ranges: private Vector systems; private Vector hosts; iterating over those nested vectors works fine unsing logic:iterate. But whenever i change

Re: [OT] FRIDAY: HTML Checkboxes SUCK!!!

2003-06-16 Thread Brian McSweeney
I was just thinking about doing the same because of the many messages discussing the evils of checkboxes. I would also like to use what you suggested Andrew -- an empty option that doesn't pass validation. However, I wonder is it possible to do this type of validation with the validator? thanks,

RE: [OT] FRIDAY: HTML Checkboxes SUCK!!!

2003-06-16 Thread Andrew Hill
That Im not sure, as Ive not played with the validator myself. It should be possible, but you may need to use a String property in your ActionForm as you now have 3 possible values to populate with... I actually validate in my actions and use string values on my actionforms for everything

Re: [OT] FRIDAY: HTML Checkboxes SUCK!!!

2003-06-16 Thread Gemes Tibor
Andrew Hill rta: That Im not sure, as Ive not played with the validator myself. It should be possible, but you may need to use a String property in your ActionForm as you now have 3 possible values to populate with... What about yes/no/ (empty)? In this case a (yes|no) mask validator is

Re: [OT] FRIDAY: HTML Checkboxes SUCK!!!

2003-06-16 Thread Brian McSweeney
Ah, thanks Andrew, so perhaps if I set the field to required using the validator I can get the same effect. Thanks for your help, Brian - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Monday, June 16, 2003 10:40 AM Subject: RE: [OT] FRIDAY: HTML

bean:write with in logic:iterate

2003-06-16 Thread bhanu sistla
How to use bean:write with in logic:iterate when we have a collection. I have got a collections where i want to iterate through each element in the collection Regards Bhanu - Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger

nested:greaterThan and nested:equal

2003-06-16 Thread Balasubramanian, Ramai
Hi, In the below code, nested:greaterThan does perfectly what it is expected to do. But nested:equal doesn't do what it is expected to do. If nested:equal is replaced with the traditional logic:equal, that does the job perfectly. I couldn't figure out why. // a struts form bean name

Re: GenericDataSource looping

2003-06-16 Thread Ted Husted
Any pool that supports the DataSource interface should work, including the BasicDataSource. The DBCP just isn't being bundled with Struts anymore. In a future release, the type property will be required, and you will have to provide your own DataSource implementation. -Ted. Richard Raquepo

Re: GenericDataSource looping

2003-06-16 Thread Ted Husted
If you are saying that these four lines appear over and over again, without ever establishing a connection, then please file a report in Bugzilla. In a future release, the GenericDataSource will be unbundled and you will have to supply your own DataSource implementation. So, if you were

Re: Struts / JSF

2003-06-16 Thread Ted Husted
Alen Ribic wrote: Do you see future in JSF over frameworks such as Struts? How different are the two in reality? For a high-level summary, see http://jakarta.apache.org/struts/faqs/kickstart.html#jsf and be sure to follow the StrutsMoreAboutJSF link at the end. The FAQ link is also available

Re: [OT] FRIDAY: HTML Checkboxes SUCK!!!

2003-06-16 Thread Brian McSweeney
Hey Tib, thanks for the tip. I've never used the mask validator before. If I'm right, it's used for custom regular expression validation. So how would you do that for yes|no ? Something like: field property=myField depends=mask arg0 key=myField/ var

Javascript w validator

2003-06-16 Thread salgado . pc
I am trying to introduce validator's javascript in my form but i get: java.lang.NullPointerException at org.apache.struts.taglib.html.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:316) There is also another problem: when i introduce invalid data, it presents a blank page

Re: Javascript w validator

2003-06-16 Thread Firat TIRYAKI
check out the arrays you are using... if there is any... - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 1:55 PM Subject: Javascript w validator I am trying to introduce validator's javascript in my form but i get:

Re: [OT] FRIDAY: HTML Checkboxes SUCK!!!

2003-06-16 Thread Gemes Tibor
Brian McSweeney rta: So how would you do that for yes|no ? Something like: field property=myField depends=mask arg0 key=myField/ var var-namemask/var-name var-valueyes|no/var-value /var /field Forgive my woeful lack of regular expression

Html:radio - checked

2003-06-16 Thread Le Goff, Yoann
Title: Message Is anybody got a tip to pre-check a html:radio y. Ce message, ainsi que tous les fichiers joints est destin aux seules personnes dont le nom est mentionn comme destinataire. Il peut contenir des

Re: Html:radio - checked

2003-06-16 Thread Gemes Tibor
Le Goff, Yoann rta: Message Is anybody got a tip to pre-check a html:radio set the appropriate value in the form _before_ opening the page. Tib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Javascript w validator

2003-06-16 Thread salgado . pc
Nop... i am not using arrays. Pedro Internet Mail Message Received from host: daedalus.apache.org [208.185.179.12]

Re: Javascript w validator

2003-06-16 Thread Firat TIRYAKI
then you are using an object or var that doesn't exist... F. - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 16, 2003 2:13 PM Subject: Re: Javascript w validator Nop... i am not using arrays. Pedro Internet Mail

Re: [OT] FRIDAY: HTML Checkboxes SUCK!!!

2003-06-16 Thread Brian McSweeney
thanks for all the help Tib, I'll give it a try. Brian - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 16, 2003 12:03 PM Subject: Re: [OT] FRIDAY: HTML Checkboxes SUCK!!! Brian McSweeney rta: So how would

Re: Debugging Connection Pooling Problems? (dbcp, sybase)

2003-06-16 Thread Ted Husted
Setting a ping command should help. Kruse, Matt wrote: I'm using BasicDataSource, connecting to a Sybase11 server. It seems that every night, all idle connections are closed by the server (no app activity), but for some reason that's not detected by the connection pool. Our app hangs while trying

Re: Why is dbcp / pool removed?

2003-06-16 Thread Ted Husted
Kruse, Matt wrote: GenericDataSource now handles all the pooling and stuff itself, instead of relying on BasicDataSource, which is fine. But, it also relies on GenericConnection, of which there are two versions - one for JDK1.3, one for JDK1.4. And the one for JDK1.3 will _not_ compile JDK1.4.

Class-Path entry in struts.jar (Struts 1.1 RC 2)

2003-06-16 Thread Reinhard Nägele
The manifest file of the struts.jar of Struts 1.1 RC 2 contains the following class-path entry: Class-Path: commons-beanutils.jar commons-collections.jar commons-dig ester.jar commons-logging.jar commons-pool.jar commons-validator.jar jakarta-oro.jar struts-legacy.jar This does not correspond

Re: RC2 requiredif validation rule syntax change

2003-06-16 Thread Reinhard Nägele
Thanks for pointing this out. I wonder nobody else has responded to your message. What's the point of that kind of change? I read the release notes and couldn't find anything about this. That's the place where such kinds of changes ought to be listed! Reinhard Kevin Robair wrote: FYI:

Re: Dates

2003-06-16 Thread Ludovic Maitre
Thanks, i already know the Caldendar classes, it helps but with this solution i must create three new form variables for each date on a page of my form, which is not what i want since my date is attached to another object and i want that each date had her normal property name (for example

RE: ActionForm.validate() always forward()s to input page?

2003-06-16 Thread Poppe, Troy
Richard: Thanks for the help, that would appear to work wonderfully. However, I'm having difficulty getting this working properly. The documentation (http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-summa ry.html#package_description) is a bit on the weak side.

RE: bean:write with in logic:iterate

2003-06-16 Thread Kamholz, Keith (corp-staff) USX
Use this: logic:iterate id=thisElement name=someList type=java.lang.String bean:write name=thisElement/ /logic:iterate This will go through a list of Strings and print out each one. This also works for lists of non-string objects. Let me know if you need help with that modification.

Possible problem with forms struts

2003-06-16 Thread Andrew Yates
Hi there, This is the first time I've mailed this list so hi to everyone. I think my problem lies in struts so hopefully this is the correct place to mail to. I have a JSP page with two submit buttons which are linked to the same ActionForm and Action with each button corresponding to a different

RE: StrutsMenu 1.2?

2003-06-16 Thread Raible, Matt
Nope. But since it *is* an open source project, feel free to add this feature ;-) Matt -Original Message- From: William Salvucci [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 1:19 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: StrutsMenu 1.2? Can

Re: RC2 requiredif validation rule syntax change

2003-06-16 Thread David Graham
What's the point of that kind of change? The '-' character is not a valid javascript variable character so we removed it. David I read the release notes and couldn't find anything about this. That's the place where such kinds of changes ought to be listed! Reinhard Kevin Robair wrote: FYI:

RE: ActionForm.validate() always forward()s to input page?

2003-06-16 Thread Poppe, Troy
My apologies, a little more research revealed that I'm a dumbass. I had a link tag before the base and wasn't being handled properly. Thanks Richard. Troy -Original Message- From: Poppe, Troy [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 8:58 AM To: 'Struts Users Mailing

Re: Generating Java constants class from message resources

2003-06-16 Thread Sandeep Takhar
I haven't done anything like that, but it seems to me that this is XDoclet's arena. sandeep --- Aaron Robinson [EMAIL PROTECTED] wrote: The most common approach I've seen to using error messages in code is set up a bunch of constants somewhere and then use these in the code... public

RE: Class-Path entry in struts.jar (Struts 1.1 RC 2)

2003-06-16 Thread Hohlen, John C
I actually have to remove these entries myself b/c WebLogic 6.1 SP 2 can't handle them. It throws an ArrayIndexOutOfBoundsException if I leave them in. With these entries removed, my application still runs fine. If the entries remain in the manifest file, the correct ones that is, I'd like to

Struts Multibox example

2003-06-16 Thread Mihai.Creanga
Hi over there, I'm new into the Struts area and I hope that somebody can give me a piece of help with implementing Multibox tag into my scenario. Here is my problem: I have into the session a simple ArrayList containing ValueObjects. Each ValueObject is a JavaBean, one of the properties being

[OT] EJB LIKE A TRIGGER

2003-06-16 Thread NYIMI Jose (BMB)
Hello, I' moving my code from Perl to Java/J2EE. The goal is to integrate 2 systems, to be short the business is mainly to transfert any update, insert, delete from sytemA to systemB. Those 2 sytems use Oracle database. The requirement doesn't allow me to create any trigger on Oracle databases.

more than 1 thread work on a request AT ONE TIME

2003-06-16 Thread Kroeger, Joerg
Hi there, I am working with tomcat 4.1.24, struts 1.1-b3 and java 1.3 on a win2k system. I think i have a configutation error - somewhere, or there is something wrong with forwarding. Some requests causes 2 threads working on that request. Sometimes they are overlapping, sometimes one after the

[Struts EL Tags] Is it possible to replace the standard tags?

2003-06-16 Thread Raible, Matt
Is it possible to replace: %@ taglib uri=http://jakarta.apache.org/struts/tags-bean; prefix=bean % with: %@ taglib uri=http://jakarta.apache.org/struts/tags-bean-el; prefix=bean % And get all of the same functionality that tags-bean has? Thanks, Matt

Re: [Struts EL Tags] Is it possible to replace the standard tags?

2003-06-16 Thread Kris Schneider
I think you get include, message, page, resource, size, and struts. So, not all of them are EL-enabled, but the others can probably be handled with JSTL. Quoting Raible, Matt [EMAIL PROTECTED]: Is it possible to replace: %@ taglib uri=http://jakarta.apache.org/struts/tags-bean; prefix=bean

RE: [Struts EL Tags] Is it possible to replace the standard tags?

2003-06-16 Thread Wendy Smoak
Matt wrote: Is it possible to replace: %@ taglib uri=http://jakarta.apache.org/struts/tags-bean; prefix=bean % with: %@ taglib uri=http://jakarta.apache.org/struts/tags-bean-el; prefix=bean % And get all of the same functionality that tags-bean has? Perhaps I misunderstand, but the point of

RE: [Struts EL Tags] Is it possible to replace the standard tags?

2003-06-16 Thread Raible, Matt
Makes sense. Good thing I have a common/taglibs.jsp file - this sucker is getting huge! %@ taglib uri=http://jakarta.apache.org/struts/tags-bean; prefix=bean % %@ taglib uri=http://jakarta.apache.org/struts/tags-bean-el; prefix=bean-el % %@ taglib uri=http://jakarta.apache.org/struts/tags-html;

Re: html:options can not automatically match value

2003-06-16 Thread Aswathy Priyarenj
U can use html:optionsCollection tag instead of html:options. This will retain the selected value . From: lcl [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: html:options can not automatically match value Date: Thu, 5 Jun 2003 10:57:15

RE: [OT] EJB LIKE A TRIGGER

2003-06-16 Thread Mark Galbreath
My team did something similar to this last year, but we had to write our own mechanism involving cached flags that would indicate to the session façade when an entity when had last been used to update the database. But as far querying the db and recovering the number of records that were added,

ArrayLists inside logic:iterate

2003-06-16 Thread raghu_c
Hi all, I am unable to use arraylists , their indexed props inside logic:iterate tags either I can have the iteration or i can have the data displayed it seems :D The problem is nested:iterate id=MINESNQueryForm name=MINESNQueryForm property=arrlstMINESNIS41Records length=15 tr

struts menu 1.2 question

2003-06-16 Thread Ashish Kulkarni
Hi, has anyone used struts menu to build drop down menu to any level, I was trying to use coolmenu3 and it fails when i go to levels down, any suggestions, about it Ashish = A$HI$H __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

RE: [OT] EJB LIKE A TRIGGER

2003-06-16 Thread Tillin, Dan
How about using JMS and message driven beans (MDB)? If your trigger process doesn't need to be part of the original transaction you could put a message on a JMS queue from your main business process (presumably the session bean or entity bean). The MDB will then be sent the message by the

Re: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread isaac
On 6/14/03 8:16 AM, Aaron Longwell [EMAIL PROTECTED] wrote: Isaac, I too am in the market for an IDE. Can you give me some details about what features you like about NetBeans? Are you using any plugins? Any specific features that make J2EE development quicker? Thanks, Aaron I have

Re: [OT] EJB LIKE A TRIGGER

2003-06-16 Thread ian_d_stewart
Seems to me it would make more sense to move your business logic to Struts (e.g., ActionForm.validate() and/or Action.permform()/execute()) before writing to the database then to hit your database every few seconds looking for changes Ian D. Stewart Open Systems Engineer II Enterprise Midrange

RE: struts menu 1.2 question

2003-06-16 Thread El Harouchi, Jaafar [IT]
We have up to three levels down, but use our own displayers/javascript. How many levels down are you going? -jaafar -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 11:47 AM To: [EMAIL PROTECTED] Subject: struts menu 1.2 question Hi, has

RE: struts menu 1.2 question

2003-06-16 Thread Raible, Matt
There is a demo at http://raibledesigns.com/struts-menu and you can also download the latest CVS snapshot from here at http://raibledesigns.com/struts-menu/struts-menu.war HTH, Matt -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 9:47 AM

RE: [OT] EJB LIKE A TRIGGER

2003-06-16 Thread NYIMI Jose (BMB)
Thanks for your input but i would like to mention That the only control that i have on the sytemA is a read only from its database. Asking this system to do something else before writing to its database will require Functional changes to that system and the requirement of the project do not allow

RE: [OT] EJB LIKE A TRIGGER

2003-06-16 Thread NYIMI Jose (BMB)
-Original Message- From: Tillin, Dan [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 5:58 PM To: Struts Users Mailing List Cc: NYIMI Jose (BMB) Subject: RE: [OT] EJB LIKE A TRIGGER How about using JMS and message driven beans (MDB)? If your trigger process doesn't need

Re: Javascript w validator

2003-06-16 Thread salgado . pc
Found it: when switching to another module it wasnt get the right message resource (null object). Thanks, Pedro Internet Mail Message Received from host: daedalus.apache.org

Struts Tags Breaking with Resin 2.19

2003-06-16 Thread Mike Duffy
Has anyone else noted any problems with Struts and Resin 2.19? __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: struts menu 1.2 question

2003-06-16 Thread Ashish Kulkarni
Hi, i want to go multiple leyels down, and may be any level down, also i want the menu to be displayed on left side if it reaches end of screen do u have some code sample for writing these displayers and java script --- El Harouchi, Jaafar [IT] [EMAIL PROTECTED] wrote: We have up to three levels

Re: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread Aaron Longwell
Isaac, I have been playing with Eclipse and NetBeans for a few days... I am leaning toward NetBeans as well. The interface is a little clunkier.. and I'm not much of a fan of the filesystems concept. I have a question about your external Tomcat comment. I have never done servlet-debugging

RE: struts menu 1.2 question

2003-06-16 Thread El Harouchi, Jaafar [IT]
Ashish, Most of the displayers bundled in with struts-menu go as many levels down as defined. The source code is available through: http://sourceforge.net/projects/struts-menu/ They are demoed at : http://www.raibledesigns.com/struts-menu/index.jsp The idea of having the menu go

Re: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread isaac
On 6/16/03 11:09 AM, Aaron Longwell [EMAIL PROTECTED] wrote: Isaac, I have been playing with Eclipse and NetBeans for a few days... I am leaning toward NetBeans as well. The interface is a little clunkier.. and I'm not much of a fan of the filesystems concept. I have a question about

Re: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread K.C. Baltz
This discussion would likely be more productive on the nbusers email list. That being said, Netbeans can definitely attach to any properly configured external java process and remotely debug it. How you actually configure that for Tomcat is a bit complicated, although it's much simpler for

Re: Possible problem with forms struts

2003-06-16 Thread Kevin Robair
Hi Andrew, Welcome to the list. Without more details, I can only speculate. Since my code regularly parses (successfully) input from one form with multiple buttons, I doubt this is a struts bug, but more than likely a config issue. A couple questions: 1. Are you looking at both the HTML page

RE: Possible reason for NullPointerException at ComponentDefinitionsFactoryWrapper.getDefinition

2003-06-16 Thread Gandle, Panchasheel
When I leave my server idle for some time, 10 - 20 min , and then try to access some , I get this exception with regards to tiles, I'm using struts 1.1, tiles and ActionServlet instead of tiles.ActionComponentServlet. Server is weblogic 81 I'm sure most of the people must be knowing the reason,

html:reset and DynaValidatorForm / LookupDispatchAction

2003-06-16 Thread Gregory F. March
I have an html:reset tag in my jsp. When I click on it, I don't seem to get notified in my action. Is this normal? I have a multipage form and I'd like reset to go back to the first page. Also, it looks like after all my work to remove my form class, I will need to put it back in since

Re: html:reset and DynaValidatorForm / LookupDispatchAction

2003-06-16 Thread Gemes Tibor
2003-06-16, h keltezssel Gregory F. March ezt rta: I have an html:reset tag in my jsp. When I click on it, I don't seem to get notified in my action. Is this normal? I have a multipage form and I'd like reset to go back to the first page. Yes. It just resets the form into the state as if

Pass parameters to included tiles definition

2003-06-16 Thread Kevin Bolton
I have 2 layout definitions, Site.Layout and Context.Layout. The Site.Layout is pretty much the ClassicLayout. The idea is that the body attribute of the Site.Layout would be overridden to be other tiles as needed. I am able to set the body layout to the Context.Layout but I am unable to change

Re: html:reset and DynaValidatorForm / LookupDispatchAction

2003-06-16 Thread Gregory F. March
On Jun 16, 2003, Gemes Tibor [EMAIL PROTECTED] wrote: |2003-06-16, h keltezéssel Gregory F. March ezt írta: | I have an html:reset tag in my jsp. When I click on it, I don't seem to | get notified in my action. Is this normal? I have a multipage form and | I'd like reset to go back to

Re: html:reset and DynaValidatorForm / LookupDispatchAction

2003-06-16 Thread Gemes Tibor
2003-06-16, h keltezssel Gregory F. March ezt rta: Ok, and since the DynaValidatorForm's reset doesn't do anything, this tag is meaningless in this case. Ug. The reset method of a form, and the input type=reset has nothing to do w/ each other at all. They have the same name, and nothing

Re: html:reset and DynaValidatorForm / LookupDispatchAction

2003-06-16 Thread Gregory F. March
On Jun 16, 2003, Gemes Tibor [EMAIL PROTECTED] wrote: |2003-06-16, h keltezéssel Gregory F. March ezt írta: | | Ok, and since the DynaValidatorForm's reset doesn't do anything, this | tag is meaningless in this case. Ug. | |The reset method of a form, and the input type=reset |has

RE: struts menu 1.2 question

2003-06-16 Thread Ashish Kulkarni
Thanx for all the info i will look into it Ashish --- El Harouchi, Jaafar [IT] [EMAIL PROTECTED] wrote: Ashish, Most of the displayers bundled in with struts-menu go as many levels down as defined. The source code is available through: http://sourceforge.net/projects/struts-menu/

Re: Struts Tags Breaking with Resin 2.19

2003-06-16 Thread TheSpam
I currently use Struts with Resin 2.1.9 and I haven't noticed any problems. Describe yours more precisely. - Original Message - From: Mike Duffy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 7:22 PM Subject: Struts Tags Breaking with Resin 2.19 Has anyone else

Re: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread Max Cooper
In case no one mentioned it yet, IntelliJ IDEA is an outstanding IDE with support for running and debugging code running on app servers, including Tomcat. IDEA has an excellent feature list, but what really sets it apart is how easy it is to use. Perhaps easy to use is not really the most complete

Re: Pass parameters to included tiles definition

2003-06-16 Thread Sandeep Takhar
I can see two options since what you want to do is not possible: The reason it is not possible is because there are different contexts for each tile. 1. You could try and create another tile which subclasses the context.layout and put in this tile instead. 2. Move the attributes to the parent

RE: html:reset and DynaValidatorForm / LookupDispatchAction

2003-06-16 Thread Karr, David
Uh, no, they really do have nothing to do with each other. The reset tag is used entirely on the client side. The reset method is used on the server side, just before populating the ActionForm from request parameters. Clicking the reset button does not call the reset method. -Original

NotSerializableException exceptions on restart

2003-06-16 Thread Brian Lee
When my web app (wls7) reloads a struts app it has a couple of java.io.NotSerializableException exceptions in the log file for the following objects: org.apache.struts.config.impl.DefaultModuleConfigFactory org.apache.struts.action.RequestProcessor org.apache.struts.validator.ValidatorPlugIn

Re: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread Sergey Smirnov
IntelliJ IDEA is an outstanding JAVA IDE. However, is JAVA IDE enough to work with Struts Project? - Original Message - From: Max Cooper [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 16, 2003 1:04 PM Subject: Re: [OT] IDE with easy tomcat upgrade?

Re: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread Jeff Kyser
works for me... On Monday, June 16, 2003, at 03:40 PM, Sergey Smirnov wrote: IntelliJ IDEA is an outstanding JAVA IDE. However, is JAVA IDE enough to work with Struts Project? - Original Message - From: Max Cooper [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread James Holmes
Struts Console plugs into IDEA to help with Struts development. http://www.jamesholmes.com/struts/ -James IntelliJ IDEA is an outstanding JAVA IDE. However, is JAVA IDE enough to work with Struts Project? - Original Message - From: Max Cooper [EMAIL PROTECTED] To: Struts Users

RE: html:reset and DynaValidatorForm / LookupDispatchAction

2003-06-16 Thread ian_d_stewart
However, clicking an html:cancel/ button does call the reset() method. Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 Karr, David [EMAIL PROTECTED] on 06/16/2003 04:31:39 PM Please respond to Struts Users

logic:iterate problems

2003-06-16 Thread Matt E
Hello All! I'm running into some problems getting the logic:iterate tag to work. I have a class who's full name is org.ellism.tir.util.DatabaseConstantsAdapter. It has a public method, getInstance() that returns an instance of itself (The class itself is a singleton). This class has a method

[Carrier-Tips-On-Struts] The Reset Method

2003-06-16 Thread Jing Zhou
Hi, All, Many Struts users are concerned about the reset on a checkbox, and some even *hate* the behavior of the checkbox. We have a description of the problem and a complete solution to it in our project Wheels. The source codes for the reset algorithm are released for your references. See the

Problem Using Multibox tag Across Multiple Pages

2003-06-16 Thread Jean, Victor [IT]
I have a problem where I need to keep track of what checkboxes are selected across multiple pages. I'm using the same form name/object and just passing a different set of available items on each page. For example, let's say I check 2 different items on page one, then I navigate to page two

Communication applet-servlet, how to do a forward.

2003-06-16 Thread godello
Hello! I'm developing an application with communication between applet and front-controller (that calls the corresponding Actions). No problem here, I do that with response.getOutputStream... , works! The problem comes here: I want to do a forward, with the corresponding action. For do that I

Re: Problem Using Multibox tag Across Multiple Pages

2003-06-16 Thread Jing Zhou
- Original Message - From: Jean, Victor [IT] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 4:49 PM Subject: Problem Using Multibox tag Across Multiple Pages I have a problem where I need to keep track of what checkboxes are selected across multiple pages. I'm

validation problem

2003-06-16 Thread Aleksandar Matijaca
Hi there, this is my first post! I have inherited a web-based struts project that is frankly a mess... I have managed to straighten out most things except something that is driving me nuts - this is the problem: Validation - I have 3 fields that need to be validated - if I do not enter

Re: html:reset and DynaValidatorForm / LookupDispatchAction

2003-06-16 Thread Gregory F. March
On Jun 16, 2003, Karr, David [EMAIL PROTECTED] wrote: |Uh, no, they really do have nothing to do with each other. The reset tag i | s used entirely on the client side. The reset method is used on the serve | r side, just before populating the ActionForm from request parameters. Clic |

Re: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread Sergey Smirnov
How does your favorite Java IDE help you find problem with Validation Framework, for example? - Original Message - From: Jeff Kyser [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 16, 2003 1:41 PM Subject: Re: [OT] IDE with easy tomcat upgrade?

Re: validation problem

2003-06-16 Thread David Graham
Post the relevant section of your validation xml file and more info about your form. David Hi there, this is my first post! I have inherited a web-based struts project that is frankly a mess... I have managed to straighten out most things except something that is driving me nuts - this is

Re: [OT] IDE with easy tomcat upgrade?

2003-06-16 Thread Max Cooper
I'm not sure how much this helps, but IDEA can validate any XML file that has a DTD. If you write Java code to do validations, you can set breakpoints in it and debug it. -Max - Original Message - From: Sergey Smirnov [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: validation problem

2003-06-16 Thread Aleksandar Matijaca
Well, this is what I inherited: formname=/public/EventRegistration fieldpage=1 property=registrant.firstname depends=required,mask,minlength,maxlength arg0 key=eForm.firstname/ arg1 name=minlength

Best method for Databae Access in Struts/Tomcat combo?

2003-06-16 Thread Sloan Bowman
I have been reading all over the place and can't seem to find a simple answer to my question. In struts using MVC development what is the best method to connect to a database. In struts 1.1rc1 you can specify DataSources but to my understanding you can only access this datasource from within

ValidatorBaseForm - Re: validation problem

2003-06-16 Thread Aleksandar Matijaca
The ValidatorBaseForm simply extends ValidatorActionForm - sorry I fergot to add that... On Mon, 16 Jun 2003, Aleksandar Matijaca wrote: Well, this is what I inherited: formname=/public/EventRegistration fieldpage=1 property=registrant.firstname

Re: validation problem

2003-06-16 Thread David Graham
I believe the form name must be the same as what you defined in struts-config.xml. Try form name=eventRegistrationForm in your validation rules. David Well, this is what I inherited: formname=/public/EventRegistration fieldpage=1 property=registrant.firstname

Re: ValidatorBaseForm - Re: validation problem

2003-06-16 Thread David Graham
The ValidatorBaseForm simply extends ValidatorActionForm - sorry I fergot to add that... Oh, that might be why they used /public/EventRegistration as the form name. Try extending ValidatorForm and using the bean name defined in struts-config.xml instead. David On Mon, 16 Jun 2003,

Re: Best method for Databae Access in Struts/Tomcat combo?

2003-06-16 Thread David Graham
Struts stores DataSources defined in struts-config.xml in the ServletContext so any class can access them. A more common approach is to define your DataSource in JNDI and have your business objects look it up from there. Both ways allow for MVC and the Struts configuration is provided as a

  1   2   >