RE: good book

2004-11-22 Thread Matthias Wessendorf
here are some books: http://www.springframework.com/books/ > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 23, 2004 5:48 AM > To: 'Struts Users Mailing List' > Subject: good book > > > Hi, > I am newbie, can anybody suggest good book

RE: good book

2004-11-22 Thread Gavri Savio Fernandez
The one that really matters :) http://www.corej2eepatterns.com/AboutTheBook.htm gavri -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 12:39 PM To: 'Struts Users Mailing List' Subject: RE: good book I see many books with that name.

RE: good book

2004-11-22 Thread bhutkar
I see many books with that name..any specific author? Or links? -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 10:46 PM To: Struts Users Mailing List Subject: Re: good book Core J2EE Design Patterns or something like that. Really good. Ja

Re: good book

2004-11-22 Thread Dakota Jack
Core J2EE Design Patterns or something like that. Really good. Jack On Mon, 22 Nov 2004 22:10:15 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks. > On same line, could you please suggest good book/links to J2EE design > patterns? > > > > > -Original Message- > From: Nis

RE: good book

2004-11-22 Thread bhutkar
Thanks. On same line, could you please suggest good book/links to J2EE design patterns? -Original Message- From: Nishant [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 8:56 PM To: Struts Users Mailing List Subject: Re: good book strutslive is a good book for newbees http://ww

XSL in JSP

2004-11-22 Thread Nishant
hi to all, i am using tomcat apache with struts... in my java beans i am storing the xml information in String. now i hav to retrieve this XML info using XSL in my JSP page .. here i am stucked. can neone explain how to use JSP with XSL on net there is little information about it ... thanks

Re: [Validation] and local string insertion

2004-11-22 Thread Corey Scott
Fantastic thanks, I knew I was going in the wrong direction. Regards, -Corey On Mon, 22 Nov 2004 16:51:56 +0200, Radu Badita <[EMAIL PROTECTED]> wrote: > I think the problem might be that you don't get the right > MessageResources. Here is what Struts API says about > public MessageResources

Re: good book

2004-11-22 Thread Nishant
strutslive is a good book for newbees http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss RE: free struts boook Amin Lalji Wed, 17 Nov 2004 07:21:04 -0800 http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss Regards Nishant Patil Software Engineer C

RE: Multi-Page Wizard Validation Problem

2004-11-22 Thread David G. Friedman
Jeff, This is my final set of questions (I'm out of questions and will concede being useless if this question fails). I noticed your reg actions are all of class "com.rochets.application.action.RegistrationAction". Do you have your own validate method in those actions or are you leaving it to th

good book

2004-11-22 Thread bhutkar
Hi, I am newbie, can anybody suggest good books/links to learn struts and clear all fundamentals with it? Appreciate your help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multi-Page Wizard Validation Problem

2004-11-22 Thread Jeff Smith
I tried setting the page number in the first page to 5. When I hit next it gets correctly incremented to 6 but no validation. If I put stuff back to normal but add some output to the page of the page number I get 1 when I start, 2 after submitting step 1, 3 after submitting step 2. Seems to

RE: Multi-Page Wizard Validation Problem

2004-11-22 Thread David G. Friedman
Jeff, Have you tried going to the first step and hard-coding the hidden variable "page" to be something high like "5". That would force it to try all validations. Can you print out the value of the "page" form field in each JSP? I'd like to know when you submit your various forms to /reg/step1.d

Re: Multi-Page Wizard Validation Problem

2004-11-22 Thread Jeff Smith
David, Thanks for all your help with this. I tried setting the input attribute to a dummy jsp page and it never gets there either. I also confirmed that I had the appropriate messages in my resource bundle, although I don't know why that would make a difference. At this point I'll try anythin

RE: Multi-Page Wizard Validation Problem

2004-11-22 Thread David G. Friedman
Jeff, Have you tried setting the input="" attribute to a completely different page to make sure validation IS failing and that you're just not properly showing error messages? Do your logs show the Validation plugIn being configured upon web-application startup? Regards, David -Original Mes

Re: box not getting populated from ActionForm.

2004-11-22 Thread Corey Scott
Peter and Santosh, Here is an example that I use to do the same thing: My Action Class: public class ListBillingCodeAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exc

RE: box not getting populated from ActionForm.

2004-11-22 Thread Santosh Kumar Panda
I'm facing the same problem except that I'm using LabelvalueBeans..Anybody out there plz suggest a method to populate a combo from ActionForm.. Regrads Santosh Kumar Panda Software Engineer HTDM(extn.2680) -Original Message- From: Peter Vennel [mailt

Re: Struts and Role specific Action Forwarding

2004-11-22 Thread Eddie Bush
... might be a bit simplistic, but could you perhaps name your forwards after your roles and just have your action handle things that way? ... if the model is the same ... Then, you wouldn't have to touch the Action class unless your model needed tweaking. Another thing you could condier is h

Struts and Role specific Action Forwarding

2004-11-22 Thread send2rajesh
Hi, I am using struts 1.1. There is seed version or out of box version of the application. There is requirement that the application should be flexible enough to be customized for each client role. The roles are define in web.xml For example when user is in Role "A" View should be like JSP "A.j

box not getting populated from ActionForm.

2004-11-22 Thread Peter Vennel
I am trying to populate an select box on JSP using the ActionForm class. In my action I am populating the action form as follows : Action Class --- // get all Info ArrayList aList = (ArrayList) accountMgr.getAllProductInfo(); Iterator itr = aList.iterator()

Re: [Validation] and local string insertion

2004-11-22 Thread Radu Badita
I think the problem might be that you don't get the right MessageResources. Here is what Struts API says about public MessageResources getInternal() : "Return the MessageResources instance containing our internal message strings." You should use: MessageResources resources = request.getSession().g

Dennis Graham is out of the office.

2004-11-22 Thread DGraham
I will be out of the office starting 11/22/2004 and will not return until 11/29/2004. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tiles wilcard?

2004-11-22 Thread Vic
You can do wild cards in struts-config, if that helps. Tiles has a diferent mechanisam to repeat. .V Julio Cesar C Neto wrote: Hi, I would like able to use wildcards in the tiles-defs.xml. Is that possible? Is there any patch? Julio Cesar ---

tiles wilcard?

2004-11-22 Thread Julio Cesar C Neto
Hi, I would like able to use wildcards in the tiles-defs.xml. Is that possible? Is there any patch? Julio Cesar

RE: Tiles and on-load events

2004-11-22 Thread andy wix
Hi, I have now fixed this issue by setting a parameter in the request with javascript when the user clicks a 'stop' button. Andy _ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger

Re: Problem with Tomcat 5.5

2004-11-22 Thread bryan
you probably just had a messed up web.xml. here is a working one from my project. On Fri, 19 Nov 2004 18:57:59 +0100, Peter Neu <[EMAIL PROTECTED]> wrote: > Hello Bryan, > > this is what I did in the first place. Any chance that my changes > didn't have any effect? > > Peter. > > > > >unles

Re: Struts 1.2.4 - DynaActionForm.initialize(ActionMapping) no longer called ?

2004-11-22 Thread Bill Siggelkow
Well, Struts 1.2.4 *does* call the initialize() method when an instance of the form is created; but not when the form is reset. I verified this using the Struts-example logon form: The logon page correctly displayed 'george'. If you really want the initial values to be used when the

Re: validator form not working

2004-11-22 Thread Bill Siggelkow
Make sure that the files for the validator plug-in do exist in the specified location. Also, make sure that the ActionForm for employeeForm extends ValidatorForm or DynaValidatorForm. Also, make sure that 'validate="true"' is set on your action mapping in the struts-config.xml. -Bill Siggelkow

RE: Tiles and on-load events

2004-11-22 Thread andy wix
Hi, Thanks for the tips - that javascript works perfectly. The only issue is that once I start the onload event, any attempts to navigate away from the page are ignored. Is there a way I can use the unload functions to break out of the loop if I were to include a stop button? Thanks, Andy

RE: [OT] - Blog and Forum plugin

2004-11-22 Thread Fogleson, Allen
You also could use mapleBlog which uses Struts and tiles http://www.resynthesize.com/code/ Al -Original Message- From: e-denton Java Programmer [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 9:54 AM To: Struts Users Mailing List; Richard Subject: Re: [OT] - Blog and Forum pl

Re: Switching modules

2004-11-22 Thread Bill Siggelkow
Modules are contained within one web application -- you cannot switch modules between web applications. This section from the Struts User's Guide should help: http://struts.apache.org/userGuide/configuration.html#dd_config_modules -Bill Siggelkow Gopinathan,Sekar wrote: I am creating a sample app

Re: Struts Validator and Nested Beans

2004-11-22 Thread Hubert Rabago
The Validator plug in can recognize fields names such as "employee.name", and that's the extent of my experience with it. Nested forms/tags allow you to go much deeper than that, and everytime I do, I choose to use my own validate() implementation instead of using Validator. On Mon, 22 Nov 2004 0

Re: Multi-Page Wizard Validation Problem

2004-11-22 Thread Jeff Smith
I added that, it fixes the page always resetting problem, but still no validation between page changes. On Nov 22, 2004, at 7:26 AM, Bill Siggelkow wrote: I believe you need a form-property named 'page' with a type of 'java.lang.Integer'. -Bill Siggelkow Jeff Smith wrote: Let me paste the file

Re: [OT] - Blog and Forum plugin

2004-11-22 Thread e-denton Java Programmer
Roller blog for blogging at http://www.rollerweblogger.org/page/project - Original Message - From: "Richard" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 4:43 AM Subject: [OT] - Blog and Forum plugin > Hi Guys, > > I am tasked

Struts Validator and Nested Beans

2004-11-22 Thread David McReynolds
I've not been able to find any examples so I was hoping someone may have tried this before. I am making copious use of nesting on my forms and I was wondering if this will prevent me from using the Struts validation framework? --dlm

Alternate bundle with ActionMessage

2004-11-22 Thread Radu Badita
Hi, I have a problem related with using a keyed MessageResources in a module and creating an ActionMessage with keys from it. Sorry if it has been discussed before, but I haven't found anything searching the list... So here it is: in my module I have defined a message-resource with a key (let's s

RE: Struts 1.2.4/Validator 1.1.3 and constant validation issue with '&' for constant-value

2004-11-22 Thread Simon Matic Langford
it's an xml thing, try putting & instead of & as & is a special character for xml which starts an entity, and & is the entity for an ampersand :-) > -Original Message- > From: Brian Bezanson [mailto:[EMAIL PROTECTED] > Sent: 22 November 2004 14:21 > To: Struts Users Mailing List > Subje

Re: Multi-Page Wizard Validation Problem

2004-11-22 Thread Bill Siggelkow
I believe you need a form-property named 'page' with a type of 'java.lang.Integer'. -Bill Siggelkow Jeff Smith wrote: Let me paste the files in instead -- struts config starts here -- http://struts.apache.org/dtds/struts-config_1_2.dtd";>

Struts 1.2.4/Validator 1.1.3 and constant validation issue with '&' for constant-value

2004-11-22 Thread Brian Bezanson
Hello. I'm trying to create a mask for use in password fields that accepts: - UPPERCASE A-Z - lowercase a-z - Numbers 0-9 - Special Characters !,@,#,$,%,^,&,(,), and * In the "validation.xml" file I have the following defined. password [EMAIL PROTECTED]&*()]*$ ...

Re: Multi-Page Wizard Validation Problem

2004-11-22 Thread Jeff Smith
I'm trying only server side validation. I'm using struts 1.2.4. -jeff On Nov 21, 2004, at 10:19 PM, David G. Friedman wrote: Jeff, Are you trying both server side validation and client-side validation? I.E. html:javascript formName="..." etc... What version of Struts are you using? Regards, Davi

Re: Help with message resource on Struts module

2004-11-22 Thread Radu Badita
Sadly, nobody gave me any useful help with this issue. Fortunately I have found the answer myself looking at the DTD for struts-config.xml files: "The module prefix (if any) is appended to the key (${key}${prefix})." So, in my JSP I should have written something like: On Fri, 19 Nov 2004 10:49:5

XML n XSL using JSP

2004-11-22 Thread Nishant
hi to all , i am using struts tomcat , i hav several queries .. 1. From where i can get xml.tld file. 2. From where i can get the tutorial for XSL using JSp bcz when i search on google it will not shownin the sites of my interest... please help thankz in advanced ... Regards Nishant Patil S

[OT] - Blog and Forum plugin

2004-11-22 Thread Richard
Hi Guys, I am tasked to add a Blog and Forum capability on my webapp. Its using Struts and JSP. I was wondering if some of you might have some suggestions for some open source components that I could use. If its not too much please add if you could its advantages and disadvantages. Thanks in adva

Re: sending/maintaning a download link

2004-11-22 Thread Richard
Hello Guys, I am about to start on this module below. I have asked this I think a month ago and only after finishing the rest of my small website will I implement this. Anyway im on track on learning the token creation for struts and the quartzs plugin. I was wondering if I will be sending the fil

Populating drop-downs

2004-11-22 Thread Santosh Kumar Panda
Hi,   I have been facing problems populating drop-downs using dummy stub classes .I have used a function to populate the page containing the drop-down and thrown the Action Form type object into the session.   Now how do I retrieve the values on to my jsp screen. Here is the code snippe

validator form not working

2004-11-22 Thread Nishant
hi to all, i am using validator form to validate my fields...but it is not working.. my pulgins used in struts-config.xml file is validation.xml form is minlength 2