Re: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread Vincent Stoessel
Micael wrote: To everyone: I am not of the Christian faith, so I do not join in the "Christ" in "Christmas," but do have my own faith which also celebrates this time of year, and I wish you all the best of Holidays. Jerusalem turned out to be the hub of many major world religions, and so did

ImageBeanButton attributes not populated

2002-12-24 Thread Brian Moseley
having read the tip about ImageButtonBean, i decided to give it a go with one of my forms. i added the relevant properties and accessor methods to my form [actually to a superclass of my form] (shown below) and changed the properties of each button in the associated jsp (i'm using several element

Happy Holidays from our judical system

2002-12-24 Thread Bill Chmura
Just in time for Xmas BALTIMORE - Microsoft must include rival Sun Microsystems' Java programming language in its Windows operating system, a federal judge ruled Monday. http://story.news.yahoo.com/news?tmpl=story&u=/ap/20021224/ap_on_hi_te/m icrosoft_sun_7 I'm sure they will fin

[OT] Merry Xmas. Kwanza, Navidad, Weihnacht

2002-12-24 Thread Peter A. Pilgrim
This is Peter Pilgrim, "live en la casa en London" Merry Christmas, Happy Kwanza, Happy Holidays, or Winter Festival, "Schoene Weihnachten", "Buena Navidad" and Bottom Solstice Interlude to everybody. Keep on moving -- Peter Pilgrim ServerSide Java Specialist My on-line resume and for interview

RE: select, options, define???

2002-12-24 Thread VEDRE, RANAPRATAP REDDY
you can create a collection for the rights and store it in application context when your application starts(may be in an initialization servlet). then use the tag and tag to render the admin picklist(s). you can use ten tags for login fields or look into the possibility of using an array for l

RE: How do I do this, input field retains value

2002-12-24 Thread VEDRE, RANAPRATAP REDDY
you can remove the form from request or session based on the scope in which u stored the form after database is updated succesfully. // Remove the obsolete form bean if (mapping.getAttribute() != null) { if ("request".equals(mapping.getScope())) req

RE: 2 submit buttons with different action

2002-12-24 Thread VEDRE, RANAPRATAP REDDY
you can configure your action mapping with validation="false" and do the validation in ur action class by calling the validation method of your form(DynaValidatorForm). struts does not call the validation method, as validation="false" you can check in ur action class which button was pressed and c

Best way to do database update forms

2002-12-24 Thread Sterin, Ilya
Hi, I just wanted to ask for a recommendation on doing say a member update form. Do I need two Actions, one for retrieving the data and populating the form, then forwarding to a jsp page, and one for validating and updating the db? This is the first thing that came to my mind, so I wondered if som

RE: Reaching the ServletContext from Action class

2002-12-24 Thread Sterin, Ilya
Are you importing import javax.servlet.ServletContext; ??? Ilya -Original Message- From: Fatih Algan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 24, 2002 2:19 PM To: [EMAIL PROTECTED] Subject: Reaching the ServletContext from Action class Hello, I'm a struts newbie, so my q

Reaching the ServletContext from Action class

2002-12-24 Thread Fatih Algan
Hello, I'm a struts newbie, so my question may seem somewhat simple or silly. I'm trying to learn how to use the struts JDBC Connection Pooling facility. Here's what I've done 1.Defined a datasource in struts-config.xml 2.Created my Action class: 3.Try to reach to SefvletConte

Re: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread Micael
To everyone: I am not of the Christian faith, so I do not join in the "Christ" in "Christmas," but do have my own faith which also celebrates this time of year, and I wish you all the best of Holidays. Jerusalem turned out to be the hub of many major world religions, and so did this time of y

(solved) Re: Re: Can't map HTML form action to Struts action

2002-12-24 Thread otisg
For those who see this error in the future: This turned out to be a problem with slightly invalid XML in struts-config.xml, not web.xml, as the error may lead you to believe. The tool that helped me figure this out was James Holmes' Struts Console application. Nice work, thanks. Otis On T

Re: AW: AW: Problems with Eclipse and Struts

2002-12-24 Thread Craig R. McClanahan
On Tue, 24 Dec 2002, Oliver Adolph wrote: > Date: Tue, 24 Dec 2002 11:45:09 +0100 > From: Oliver Adolph <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: AW: AW: Problems with Eclipse and Struts > > Hi e

RE: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread Nathan Anderson
+1 on :) -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 7:41 PM To: Struts Users Mailing List Subject: RE: [OT] HAPPY HOLIDAYS, EVERYONE On Mon, 23 Dec 2002, James Mitchell wrote: > +1 > > > ...and a very Merry Christmas to yo

RE: 2 submit buttons with different action

2002-12-24 Thread Arnaud HERITIER
In this page : http://jakarta.apache.org/struts/userGuide/dev_validator.html the doc says : The most fundamental change is the ability to conditionally require validator fields based on the value of other fields. It allows you to define logic like "only validate this field if field X is non- null

RE: 2 submit buttons with different action

2002-12-24 Thread Brian Lee
Have two submit buttons with different names and values. Have a property for each in your form. In your validate method check the value of each. Only the button that was clicked will have a nonnull value. Example: html: form class: ... private String submit; private String back; ... validate

RE: 2 submit buttons with different action

2002-12-24 Thread James Turner
Look at the "requiredif" validation in the current nightly builds. James > -Original Message- > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 24, 2002 11:07 AM > To: 'Struts Users Mailing List' > Subject: RE: 2 submit buttons with different action > > > Sor

RE: 2 submit buttons with different action

2002-12-24 Thread Arnaud HERITIER
Sorry but I don't use yet the DynaValidationForm, so I don't know how to configure it :-( I don't know how is defined a validation.xml file but it is not possible to define dependencies between several fields ?? If this field equals "bidule" then this other field should be equal to truc ??? If i

RE: 2 submit buttons with different action

2002-12-24 Thread Ashish Kulkarni
Hi, I m using DynaVaidationForm so struts automatically checks for the validation depending upon the defination in validation.xml is there a way out by using DynaValidationForm Ashish --- Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > you can define a property in your form bean with a > different va

RE: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread Arnaud HERITIER
Merry Xmas and Happy new year everybody. Good luck for all of those who try to finalize a b3. Thanks a lot for all the dev team. cheer ! Arnaud. > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Envoyé : mardi 24 décembre 2002 16:43 > À : [EMAIL PROTECTED] > O

RE: 2 submit buttons with different action

2002-12-24 Thread Arnaud HERITIER
you can define a property in your form bean with a different value if you use one button or the other. In your validation method you test this property to verify if you check the others fields or not. Arnaud > -Message d'origine- > De : Ashish Kulkarni [mailto:[EMAIL PROTECTED]] > Envoye

RE: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread Greg.Reddin
+1 on that!! > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 23, 2002 9:41 PM > To: Struts Users Mailing List > Subject: RE: [OT] HAPPY HOLIDAYS, EVERYONE > > > > > On Mon, 23 Dec 2002, James Mitchell wrote: > > > +1 > > > > > > ..

2 submit buttons with different action

2002-12-24 Thread Ashish Kulkarni
Hi, I have 2 buttons on one jsp, one is submit button and the other is back. I want to use only one action form to handle both the events, I am using DynaValidatorForm. So the problem i amfacing is, the fields get validated even if i press the back button, Is there a way to make sure that the val

How do I do this, input field retains value

2002-12-24 Thread Ashish Kulkarni
Hi, I have one jsp page with 2 text fields, I am using DynaValidatorForm, I have an action form where in i call an program to update the database with these vaues. and reloads the same jsp Now the problem is 1> I have defined the 2 text fields as following When there is some error, i get the er

RE: Getting a Bean

2002-12-24 Thread Sri Sankaran
One approach is to use the nested tag library (if you are using Struts 1.0.2 it's a separate download from www.keyboardmonkey.com/next/index.jsp). Using it you can display questionText for example as : if _formBean is the form-bean associated with the action 'foo'. Sri > -Original M

Re: Can't map HTML form action to Struts action

2002-12-24 Thread otisg
Hello, I see. I thought org.apache.velocity.tools.view.servlet.VelocityViewServlet replaces Struts' ActionServlet. However, it seems that it is not an alternative Action Servlet for use with Velocity, as I thought, but rather an additional servlet capable of dealing with Velocity templates, and

RE: struts books - review

2002-12-24 Thread Chappell, Simon P
Well, I just reviewed "Struts Kick Start" and posted that yesterday to the list, so I think that I can recommend that to you. Sue Spielman's "The Struts Framework: Practical Guide for Java Programmers" is also good if you are past the newbie stage. I haven't read Ted's book yet (Oh the shame! :-

RE: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread Chappell, Simon P
Amen Craig. Christ is the reason for the season! :-) \o/ Praise the Lord. Simon "Acts 2:38" Chappell - Simon P. Chappell [EMAIL PROTECTED] Java Programming Specialist www.landsend.com Lands'

RE: struts books - review

2002-12-24 Thread James Childers
"Struts in Action" is very good. It deals with 1.0.2 and 1.1 as well, and the differences are clearly stated. I highly recommend it. -= J > -Original Message- > From: Puneet Agarwal [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 24, 2002 7:04 AM > To: Struts Users Mailing List > Su

Nested Iterate and Dynamic Radio Button generating

2002-12-24 Thread Brown, Melonie S. - Contractor
We have a client server application that we are taking to the web using Struts 1.1. I have the following code using select boxes. This allows users to set privilege levels on differing sections of the application when creating new users. The only problem is that select boxes require two clicks (

RE: struts books - review

2002-12-24 Thread Jacob Hookom
Best Buy doesn't carry any books on Struts, you may want to try Borders or Bookpool.com -Original Message- From: Puneet Agarwal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 24, 2002 7:04 AM To: Struts Users Mailing List Subject: Re: struts books - review David, There are number of

Re: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread Emmanuel Boudrant
>Have a Merry Christmas everyone! +1 here the beer-ed "santa claus" : http://www.a-very-merry-christmas-from.com/miniworldgames/sobersanta.html My score is 952 ;) --- kiuma <[EMAIL PROTECTED]> a écrit : > Happy holidays also from me! > kiuma > Justin Ashworth ha scritto: > > >Amen, Craig

Re: struts books - review

2002-12-24 Thread Puneet Agarwal
David, There are number of books available on struts right now. The O'reilly book does not seem to be up-to-date with latest version of struts. Do you think this book is the best buy. Regards Puneet - Original Message - From: "David Rothschadl" <[EMAIL PROTECTED]> To: "Struts Users Mailing

RE: struts books - review

2002-12-24 Thread Arik Levin ( Tikal )
I forgot to mention that I'm familiar with struts 1.1b2. I'm looking for a book for advanced users. -Original Message- From: David Rothschadl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 24, 2002 2:41 PM To: Struts Users Mailing List Subject: Re: struts books - review Arik, If you

Re: struts books - review

2002-12-24 Thread David Rothschadl
Arik, If you are a newcomer to Struts, 'Struts in Action' from Manning publishing is a great place to start. It is more of a tutorial, explaining everything in detail, as opposed to assuming that the reader is a Java expert. It has certainly helped me. David R "Arik Levin ( Tikal )" <[EMAIL PRO

select, options, define???

2002-12-24 Thread Jitendra Singh
I am still fighting .. help help!! I have a form with 10 login id displayed as text field and ther admin rights chosen from a drop down lists .. all drop down lists are same. looks like this .. Login Id1 AdminRight1 Login Id2AdminRight2 Login Id3AdminRight2 . .

Re: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread kiuma
Happy holidays also from me! kiuma Justin Ashworth ha scritto: Amen, Craig. Have a Merry Christmas everyone! Justin -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 10:41 PM To: Struts Users Mailing List Subject: RE: [OT] HAPPY

struts books - review

2002-12-24 Thread Arik Levin ( Tikal )
Hi all. I'm considering of getting one of Struts books, which one should I get? Thanx.

RE: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread Justin Ashworth
Amen, Craig. Have a Merry Christmas everyone! Justin > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 23, 2002 10:41 PM > To: Struts Users Mailing List > Subject: RE: [OT] HAPPY HOLIDAYS, EVERYONE > > > > > On Mon, 23 Dec 2002, Jam

AW: AW: Problems with Eclipse and Struts

2002-12-24 Thread Oliver Adolph
Hi everybody. I finally figured a way out to debug my web application. I start Tomcat standalone, but changed the start command to C:\j2sdk1.4.1_01\bin\java.exe -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000 -jar -Duser.dir="C:\Tomcat4.1" "c:\Tomcat4.1\bin\bootstrap.jar" start Tha

RE: [OT] HAPPY HOLIDAYS, EVERYONE

2002-12-24 Thread Micael
Van nuys, James. Cheers. At 11:27 PM 12/23/02 -0500, you wrote: With apologies to Clement Clarke Moore 'twas the night before Christmas, and all 'cross the net. Not a user was typing, the code was all set. The patches were entered and each file was checked in, In hopes that 1.2 New Years would

RE: Problems with Eclipse and Struts

2002-12-24 Thread shirishchandra . sakhare
HI, >From the stack trace it seems that it is not finding the core classes for catalina...I had similar problems with my laptop and I solved it somehow..I dont remember exactly but vaguely this is what i did.(But i am using tomcat 4.1.12 and Eclipse 2.0 ) Go to wnodow->preferences->plugin develo

Re: AW: Problems with Eclipse and Struts

2002-12-24 Thread Howard Miller
Well. Maybe I'm just getting old, but I tend to add additional debug code into my applications and use a lot of log statements. I am in the position that I sometimes (well often) have to debug client's applications over a Telnet connection, so I can't rely on the abilities of an IDE. I have g

AW: Problems with Eclipse and Struts

2002-12-24 Thread Oliver Adolph
Hi Howard, But how do you debug your application ? Oliver Adolph -Ursprüngliche Nachricht- Von: Howard Miller [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 24. Dezember 2002 10:30 An: Struts Users Mailing List Betreff: Re: Problems with Eclipse and Struts Hi, I use much the same se

Re: Problems with Eclipse and Struts

2002-12-24 Thread Howard Miller
Hi, I use much the same set up as you and had lots of problems with those plugins. Personally I don't use them, I find it *much* easier just to keep a terminal/dos window open and use Ant to build and test the application. The Ant build script that is described in the Tomcat documentation (alt

Problems with Eclipse and Struts

2002-12-24 Thread Oliver Adolph
Hi, I hope anybody can help me with this issue. I have a web application, which runs under Tomcat 4.1.18. It uses Struts 1.1B2. I also use Eclipse 2.0.2 with the Lomboz and the Sysdeo plugins. Now I run into the following problem: When I try to start Tomcat through one of the plugins to debug th

Re: Can't map HTML form action to Struts action

2002-12-24 Thread Jitendra Singh
hi! I am not sure if this is the correct way to call an action from HTML .. if we want to call it as form action .. then we should give full path like "/foo/login.do" . try and enlighten me too :-) cheers! Jitendra - Original Message - From: "otisg" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Re: struts-layout taglibraries

2002-12-24 Thread David Graham
The easiest way in 1.0.2 would be to use the template library. You can also integrate Tiles but that's a bit more work. Tiles is integrated in 1.1 and the template library is deprecated. See the user's guide for details. David From: usha <[EMAIL PROTECTED]> Reply-To: "Struts Users Maili

Re: Login filter

2002-12-24 Thread David Graham
The authentication filter will check for a valid flag in the session indicating the user has logged in. I use a Person object identifying the user for this. If it's not there, send them to the login screen. Just put the login page outside the protection of the filter to prevent the filter from

Login filter

2002-12-24 Thread Mohan Radhakrishnan
Hi, I wanted to clear a doubt about this. Do I remove the conventional login check from my LoginAction to the filter ? That seems to be the right way to use a filter. 1. Check for the user container( username,password object ) in the session. 2. Call the isNew() method of the

Re: Tiles Factory use

2002-12-24 Thread Cedric Dumoulin
Hi, To insert a definition from the factory, you simply call or . Check the tiles tags syntax for other options: http://jakarta.apache.org/struts/userGuide/struts-tiles.html#insert Cedric Jay Burrill wrote: I'm a Tiles newbie and am having difficulty implementing a tiles definition fact