Re: tiles ForwardAction

2004-09-07 Thread brenmcguire
Sure you can, but you have to satisfy some requirements: 1) Use the Tiles controller instead of standard Struts controller, i.e. in your struts-config.xml you must specify: controller processorClass=org.apache.struts.tiles.TilesRequestProcessor/ but I think you already did it because you are

RE: 1:N relationship - ActionForms x DTOs

2004-09-07 Thread Jesse Alexander (KXT)
If I am not completely off-track it could work like this: In a CompanyProjectDTO include the CompanyDTO and the ProjectDTO as attributes with corresponding getter- and setter-methods. Then access them in the form like: compProjDto.myCompany.companyAttribute hth Alexander -Original

Help ---- Error: can not find bean messages in any scope

2004-09-07 Thread lixin chu
Hi, I got this error log ~~ 07.09.04 15:21:34 [http8080-Processor24] ERROR org.apache.struts.taglib.tiles.InsertTag - ServletException in '/WEB-INF/tiles/home.jsp': Cannot find bean messages in any scope javax.servlet.ServletException: Cannot find bean messages in any

load() exception

2004-09-07 Thread dangmp
Return Receipt Your load() exception document :

problem with multibox

2004-09-07 Thread Claudia Woestheinrich
Hi, I have a Problem with using multiboxes. I want to generate following HTML-Code: input type=checkbox name=sel value=2002Ronja input type=checkbox name=sel value=2003Petra input type=checkbox name=sel value=2004Heini But I became: input type=checkbox name=sel value=20022002 Ronja input

Re: problem with multibox

2004-09-07 Thread Deepak
Try, logic:iterate id=item name=form property=items trtd html:multibox property=sel bean:write name=item property=jahr/ /html:multibox bean:write name=item property=name/ /td/tr /logic:iterate - Original Message - From: Claudia

tiles and validate

2004-09-07 Thread liooil
Hello world, I have an issue with ActionError that are instancied in my form (in the validate method) but i can't see them in the browser. On the other side, exceptions thrown in the action are properly displayed. I defined an action in the following way : action path=/actionProcess

RE: another easy (I hope) beginner question

2004-09-07 Thread Daniel Perry
If i understand your question right, you have a code collectionElement.fskRating which represents a rating? (ie 1 = pg-13, 2=G). I have never done this, but i dont see why you cant just put an array/map of the full values into the request scope, then use jstl to look it up: somthing like:

Antwort: Re: problem with multibox

2004-09-07 Thread Claudia Woestheinrich
..Thanks that works. Now I have in the JSP-Page checkboxes and textfields. I want to write the two values (test,info) in an Map or Array[][]. How must I do this in the ActionForm? Thanks Claudia My JSP: logic:iterate id=item name=form property=test html:multibox property=sel

Re: Javascript: Access is denied when I try to upload a file

2004-09-07 Thread Ion Iulian
Tanck you Frank. If you probably know if i put input type=file ID=fileUpload value= onchange=javascript:reload() style=display:none instead html:file property=fileUpload onchange=javascript:reload() style=display:none/ it's working but this is not a struts tag and I have an error in my Servlet

RE: Line Breaks and Formatting Text

2004-09-07 Thread Daniel Perry
Personally i dont see a problem with the scriptlet approach. A lot of people have the misconception that scriptlets are evil. I think a better view is that custom tags / jstl are nicer to work with (especially for non java ppl) . But when there is somthing like this that you just dont seem to be

Re: Antwort: Re: problem with multibox

2004-09-07 Thread Deepak
Form: --- public ArrayList getTest() { return mTest; } public void setTest(ArrayList test) { mTest = test; } public Item getItem(int i) { return (Item)mTest.get(i); } private ArrayList mTest; JSP: - c:forEach items=${form.test} var=item varStatus=status

No validation when html:cancel is clicked

2004-09-07 Thread andy wix
Hi, I have a form with 2 buttons (one html:submit, the other html:cancel) and have implemented a LookupDispatchAction class to handle them. The 'save' button needs to validate the user entry and the 'cancel' button does not. From reading the html:cancel tag's API, I thought this would

Re: No validation when html:cancel is clicked

2004-09-07 Thread Dean A. Hoover
Andy, Why would you want to validate on cancel? If you really want to do that, use html:submit instead and just label the button Cancel and process accordingly in your action (forward?) Dean Hoover andy wix wrote: Hi, I have a form with 2 buttons (one html:submit, the other html:cancel) and have

Proper place for validation

2004-09-07 Thread Janne Mattila
I am wondering what would be the propert place for some validation code. Let's say I have a registration page where user inputs his/her information for a new user account. There's a field for e-mail address. On one level that information is validated on the ActionForm, for things such as -

RE: Proper place for validation

2004-09-07 Thread Robert Taylor
I would avoid putting any business logic in the action class. Place this type of logic in the business class as it most likely is validation that is valid across all application logic and not for just one use case. robert -Original Message- From: Janne Mattila [mailto:[EMAIL

Re: No validation when html:cancel is clicked

2004-09-07 Thread andy wix
Hi, Sorry, my heading was a little mis-leading. The problem is that I get validation carried out when I click the html:cancel button and I don't want validation carried out in this case. Thanks, Andy _ Express yourself with cool

404 and 505 error code : non-existing ActionMapping

2004-09-07 Thread Tridev Kodamasingh
Hi, In my application, I am trying to set the error page for 404 and 500. For this, I am configuring my web.xml as follows web-app ... .. error-page error-code404/error-code

i've a form which has AttachmentName and URL and 3 buttons[add,update,delete]

2004-09-07 Thread babu
i've a form which has AttachmentName and URL and 3 buttons[add,update,delete] the screen first appear as 1)for the relevant attachment name one select box will be display,user has provision to select the attachment from the select box and change the URL ,then it will added to the DB. 2) when

Re: tiles ForwardAction

2004-09-07 Thread Michael McGrady
[EMAIL PROTECTED] wrote: Sure you can, but you have to satisfy some requirements: 1) Use the Tiles controller instead of standard Struts controller, i.e. in your struts-config.xml you must specify: controller processorClass=org.apache.struts.tiles.TilesRequestProcessor/ but I think you already

[OT] java group on news.gmane.org

2004-09-07 Thread Rogue Chameleon
Hi all What group should I subscribe to (within news.gmane.org) for general JAVA/J2EE discussion? tia -- Rogue Chameleon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: MessageResources and JSTL fmt:message .../ ???

2004-09-07 Thread Bill Siggelkow
Look into using the fmt:setBundle tag. Eric Chow wrote: Hello, In struts-conf.xml, we can define more than one Message Resources: message-resources parameter=macausms null=false/ message-resources key=country parameter=eric.share.web.tag.countrylist null=false/ message-resources key=sexlist

TheAimsGroup Doggin' Today

2004-09-07 Thread Michael McGrady
What's with the archives marc.theaimsgroup.com? It is a dog this morning. Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Easy Struts

2004-09-07 Thread Bill Siggelkow
Struts Console works just fine with JDK 1.4. Darryl Pierce wrote: On Monday 06 September 2004 07:49 am, James Holmes wrote: As far as I know, Easy Struts does not work with Eclipse 3. Struts Console does though. It provides similar functionality (Easy Struts is based on Struts Console) and more.

Re: Controller in Struts-conf.xml !!

2004-09-07 Thread Bill Siggelkow
Well, there can be only one ActionServlet but if you are using modules you can have a unique RequestProcessor (specified in the controller element) for each module. Bill Siggelkow Eric Chow wrote: Hello, Struts can't support multi controllers, right What do you think if it is better to

A couple of questions

2004-09-07 Thread Marco Tedone
Hi, in my company we are writing a new J2EE application using Struts. So far we've used standard JSP/Servlet technology. HTML forms processed from within our Servlets, processing the HttpRequest object. We sent data to JSPs under the form of Value Objects which JSTL has managed well. Now I'm

Re: i've a form which has AttachmentName and URL and 3 buttons[add,update,delete]

2004-09-07 Thread Bill Siggelkow
Okay -- what you need to do is first stand on one foot ... now with your nose and your right index finger press Ctrl-Alt-F7. Then spin around three times while singing I am a little teapot ... This should solve your problem -- if it doesn't maybe you can provide more details. babu wrote: i've

R: A couple of questions

2004-09-07 Thread Amleto Di Salle
Hi, the ActionForm are used for the input form of your application. If you use the ActionForm in your Action you don't have to use the HttpServletRequest.getParameter(ID) method in order to obtain the value of the parameter ID, for example. Furthermore, using ActionForm with package Validator you

Re: A couple of questions

2004-09-07 Thread Michael McGrady
Hello, Marco, First, Struts merely adds to your options. Struts is not invasive. You don't have to use it at any time. Second, I find Struts to be absolutely reliable and easy to use. If you understand how it works, it is also really, really flexible. I worry sometimes that they will try

Re: i've a form which has AttachmentName and URL and 3 buttons[add,update,delete]

2004-09-07 Thread Michael McGrady
Bill Siggelkow wrote: Okay -- what you need to do is first stand on one foot ... now with your nose and your right index finger press Ctrl-Alt-F7. Then spin around three times while singing I am a little teapot ... This should solve your problem -- if it doesn't maybe you can provide more

Re: A couple of questions

2004-09-07 Thread Marco Tedone
Well, as far as I can see, a part from the validation bit, the use would be pretty much the same: with action forms, to retrieve values, I'd have to invoke a getter method on the action form, while with straight HTML I'd invoke the get on the request. The downside, as far as I can see, is that

Re: Hibernate VS ibatis, which is better?

2004-09-07 Thread David Durham
Ted Husted wrote: On Thu, 02 Sep 2004 10:33:44 -0500, David Durham wrote: Way to shut down a perfectly good thread, Ted. -) BTW, I read your book. When's the book covering 2.0 due? 2.0 of what? :) Yeah, I guess it's too early to say. Someone could come along with a very comprehensive (1000

Re: A couple of questions

2004-09-07 Thread Matthew Van Horn
On Tue, 2004-09-07 at 23:14, Marco Tedone wrote: The downside, as far as I can see, is that I'd have to declare a new class for any new form. Are there any other advantages from using ActionForms? Not necessarily - you can use one ActionForm to collect data from several HTML forms, for use in

Re: A couple of questions

2004-09-07 Thread Michael McGrady
Marco Tedone wrote: Well, as far as I can see, a part from the validation bit, the use would be pretty much the same: with action forms, to retrieve values, I'd have to invoke a getter method on the action form, while with straight HTML I'd invoke the get on the request. The downside, as far as I

RE: Controller in Struts-conf.xml !!

2004-09-07 Thread Sebastien Col
Can't you declare 2 servlets in the web.xml and map them to 2 different extensions ? -Message d'origine- De : news [mailto:[EMAIL PROTECTED] la part de Bill Siggelkow Envoye : mardi 7 septembre 2004 15:41 A : [EMAIL PROTECTED] Objet : Re: Controller in Struts-conf.xml !! Well, there can

Re: A couple of questions

2004-09-07 Thread Marco Tedone
There are many. First, when you use an ActionForm you can mine the values of request parameters from multiple requests. In the kind of applications we write this is not an issue. Additionally, it seems to me that when put in the 'session' scope, there will only be one ActionForm object for a

RE: another easy (I hope) beginner question

2004-09-07 Thread Tim Cross
Many thanks (vielen Dank, as they say over here) to everybody who threw in on my easy beginner question. Found a cure, to wit: logic:iterate id=fskRatingOption name=fskRatingOptionBean type=org.apache.struts.util.LabelValueBean logic:equal value=%=(String) fskRatingOption.getValue() %

RE: [OT] java group on news.gmane.org

2004-09-07 Thread Slattery, Tim - BLS
What group should I subscribe to (within news.gmane.org) for general JAVA/J2EE discussion? Assuming that's a Usenet server, try comp.lang.java.programmer. -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL

Re: Controller in Struts-conf.xml !!

2004-09-07 Thread Bill Siggelkow
It won't work -- been there ... tried that. Sebastien Col wrote: Can't you declare 2 servlets in the web.xml and map them to 2 different extensions ? -Message d'origine- De : news [mailto:[EMAIL PROTECTED] la part de Bill Siggelkow Envoye : mardi 7 septembre 2004 15:41 A : [EMAIL

RE: Page refresh

2004-09-07 Thread dhay
I just posted some info a few days ago about using a hidden frame and javascript so you avoid the refresh let me know if any more qu's cheers, David |-+ | | meena r | | | [EMAIL PROTECTED]| | |

iterate help - it might config issue??

2004-09-07 Thread Peng, Meimin
Hi, Please help. I have a form-bean called aForm. I try to get the 'city' out of AddressView. But, it fails. All the beans have been set/get properly. Please help. form-bean name=aForm type=org.apache.struts.action.DynaActionForm form-property name=aView type=com.abc.view.AddressView/

Re: i've a form which has AttachmentName and URL and 3 buttons[add,update,delete]

2004-09-07 Thread Rick Reumann
Isn't Babu, Kosmo Kramer's mom's name? Michael McGrady wrote: Bill Siggelkow wrote: Okay -- what you need to do is first stand on one foot ... now with your nose and your right index finger press Ctrl-Alt-F7. Then spin around three times while singing I am a little teapot ... This should solve

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 6:53 AM To: Struts-users Subject: A couple of questions Hi, in my company we are writing a new J2EE application using Struts. So far we've used standard JSP/Servlet technology.

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 7:40 AM To: Struts Users Mailing List Subject: Re: A couple of questions There are many. First, when you use an ActionForm you can mine the values of request parameters from

Re: A couple of questions

2004-09-07 Thread Lionel
Jim Barrows wrote: In much of my code I do: BeanUtils.copyProperties( dataVo, dataForm); and I'm done. Your way would require a lot more code. This seems great, but I can't do that because of user rights. Some users don't have rights to update certain fields, so I have to call each setter

Re: [OT] java group on news.gmane.org

2004-09-07 Thread Bryce Fischer
Slattery, Tim - BLS wrote: What group should I subscribe to (within news.gmane.org) for general JAVA/J2EE discussion? Assuming that's a Usenet server, try comp.lang.java.programmer. its a usenet style server, but instead of usenet feeds, it provides access to mailing lists, such as this

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel Sent: Tuesday, September 07, 2004 9:32 AM To: [EMAIL PROTECTED] Subject: Re: A couple of questions Jim Barrows wrote: In much of my code I do: BeanUtils.copyProperties( dataVo, dataForm); and I'm

html:cancel usage

2004-09-07 Thread andy wix
Hi, When using the following tag, my form still gets validated when I click the cancel button. html:cancel property=methodbean:message key=button.cancel//html:cancel The cancel method gets called correctly in my LookupDispatchAction class. The tag is within an html:form tag as I believe it

Re: A couple of questions

2004-09-07 Thread Marco Tedone
- Original Message - From: Matthew Van Horn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 3:22 PM Subject: Re: A couple of questions Not necessarily - you can use one ActionForm to collect data from several HTML forms, for use in a

Re: A couple of questions

2004-09-07 Thread Marco Tedone
- Original Message - From: Michael McGrady [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 3:09 PM Subject: Re: A couple of questions Hello, Marco, First, Struts merely adds to your options. Struts is not invasive. You don't

Re: A couple of questions

2004-09-07 Thread Marco Tedone
- Original Message - From: Jim Barrows [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 5:18 PM Subject: RE: A couple of questions Because so much of what you're doing in processing the parameters is boilerplate. Why not let the

RE: html:cancel usage

2004-09-07 Thread Venkat Maddipati
Which version of Struts are you using? Are you using Struts 1.1 or 1.2.x? The cancel functionality is supported in Struts 1.2.x. I use this functionality and works fine for me. I was using the MappingDispatchAction. Thanks, Venkat -Original Message- From: andy wix [mailto:[EMAIL

Re: html:cancel usage

2004-09-07 Thread Nick Heudecker
I believe the validation still happens because the validation step occurs before the appropriate method in the action class in determined. I got around this by turning off automatic validation. On Tue, 07 Sep 2004 16:59:48 +, andy wix [EMAIL PROTECTED] wrote: Hi, When using the

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 10:01 AM To: Struts Users Mailing List Subject: Re: A couple of questions - Original Message - From: Matthew Van Horn [EMAIL PROTECTED] To: Struts Users Mailing List

Re: i've a form which has AttachmentName and URL and 3 buttons[add,update,delete]

2004-09-07 Thread Erik Weber
Rick Reumann wrote: Isn't Babu, Kosmo Kramer's mom's name? No. You are a veddy, veddy bod mon. Michael McGrady wrote: Bill Siggelkow wrote: Okay -- what you need to do is first stand on one foot ... now with your nose and your right index finger press Ctrl-Alt-F7. Then spin around three times

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 10:06 AM To: Struts Users Mailing List Subject: Re: A couple of questions - Original Message - From: Jim Barrows [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: [OT] java group on news.gmane.org

2004-09-07 Thread Rogue Chameleon
Will do, Bryce... thanks! -- Rogue Chameleon... formerly known as bort. Bryce Fischer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Slattery, Tim - BLS wrote: What group should I subscribe to (within news.gmane.org) for general JAVA/J2EE discussion? Assuming that's a

Re: A couple of questions

2004-09-07 Thread Marco Tedone
Interesting, I also build commercial apps, and try to use wizards whenever possible to keep things simple for my users We prefer to keep things easy for us also for maintainability as we look at the project long life term. And therefore a whole hell of a lot easier to modify and change as

site shutdown best practice?

2004-09-07 Thread Dean A. Hoover
I have a website I'm working on that is fairly typical (I think): there areoperations that anyone can do and operations that require a user to be logged in. Authorization and authentication are done using a database. From time to time, the site needs to be shutdown for general maintenance,

Re: A couple of questions

2004-09-07 Thread Lionel
Jim Barrows wrote: How do you manage this ? I use a defense-in-depth strategy, starting at the UI, and going to the Business layer. as I do. I use coarse-grained form objects, but limit the fields on the page to what the user can actually change. Depending on complexity, I'll either use

Re: site shutdown best practice?

2004-09-07 Thread Bill Siggelkow
Well, if you were fronting your web application with a proxy like Apache then you could redirect requests for the application to some information page. Dean A. Hoover wrote: I have a website I'm working on that is fairly typical (I think): there areoperations that anyone can do and operations

Re: A couple of questions

2004-09-07 Thread Marco Tedone
I use it for my login actions when I'm not using container managed security. My typical worse case action is: TheForm theForm = (TheForm) form; ActionErrors errors = form.validate(); if( errors.isEmpty()) { errors = weirdValidations( form); if( errors.isEmpty()) { TheVo vo = new TheVo();

Re: site shutdown best practice?

2004-09-07 Thread Nick Heudecker
You could set a property in the context scope that flags the 'maintenance page' or something. To detect the flag, you could use a filter to redirect the user to the maintenance page, or have your base Action class look for the flag and react accordingly. Ideally, you'd do this from some form of

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel Sent: Tuesday, September 07, 2004 10:30 AM To: [EMAIL PROTECTED] Subject: Re: A couple of questions Jim Barrows wrote: How do you manage this ? I use a defense-in-depth strategy, starting at the UI,

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 10:37 AM To: Struts Users Mailing List Subject: Re: A couple of questions I use it for my login actions when I'm not using container managed security. My typical worse case

Re: A couple of questions

2004-09-07 Thread Marco Tedone
Not really... your way you have to add the code to the action to do the validation and extraction as well as the JSP, model and SQL. Model and SQL is not necessarily (and often) true: if I used course grained strategy, it may be that I've already got the field in my model, and if I use CMP EJB,

Re: A couple of questions

2004-09-07 Thread Marco Tedone
We are talking here about the user submitting a form from a JSP page: the fact that I've got request and action form both populated, doesn't suggest me any added value in maintainability, it's simply a duplication of data. We chose Struts as web framework not because of Action Forms (not yet at

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 10:51 AM To: Struts Users Mailing List Subject: Re: A couple of questions Not really... your way you have to add the code to the action to do the validation and extraction as

Re: i've a form which has AttachmentName and URL and 3 buttons[add,update,delete]

2004-09-07 Thread Rick Reumann
Erik Weber wrote: Rick Reumann wrote: Isn't Babu, Kosmo Kramer's mom's name? No. You are a veddy, veddy bod mon. Oh yea. Ok:) Although I think Kramer's mom was named Babs ? -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: site shutdown best practice?

2004-09-07 Thread Anders Jacobsen
Or get a secondary webserver (apache) or a very simple server you starte up insed of tomcat or websphere or whatever you use. This would prevent you from tangling with the production server Anders Jacobsen, Denmark Nick Heudecker [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED]

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 11:05 AM To: Struts Users Mailing List Subject: Re: A couple of questions We are talking here about the user submitting a form from a JSP page: the fact that I've got request

Struggling with includes

2004-09-07 Thread Dave Bender
I'm still a newbie with Struts, but farther along than I was a week ago. I'm still puzzled about how to get includes to work. I've got an application with a 'master/detail' relationship. We have documents and each document has zero or more replies. I want to be able to display the details of

RE: site shutdown best practice?

2004-09-07 Thread Wiebe de Jong
Here is what I have done to implement the Site Shutdown use case. Create an application level status variable, called runStatus, with a default value of 'started'. Create a page where the application admin user can initiate the shutdown process. Enter the number X of minutes before shutdown.

Re: [OT] i've a form which has AttachmentName . . .

2004-09-07 Thread Erik Weber
Rick Reumann wrote: Erik Weber wrote: Rick Reumann wrote: Isn't Babu, Kosmo Kramer's mom's name? No. You are a veddy, veddy bod mon. Oh yea. Ok:) Although I think Kramer's mom was named Babs ? Sounds right, but I don't think I ever saw her on the show. Babu was Jerry's Pakistani

RE: Struggling with includes

2004-09-07 Thread Jim Barrows
-Original Message- From: Dave Bender [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 11:36 AM To: Struts Users Mailing List Subject: Struggling with includes I'm still a newbie with Struts, but farther along than I was a week ago. I'm still puzzled about how to

Re: A couple of questions

2004-09-07 Thread Marco Tedone
Thank you for your emails. I feel I've got a better understanding of the reasons behind ActionForms. Don't misunderstand me. I want to choose the best solution, not to convince you that ActionForms are wrong. I'm starting a new project from scratch, the company is investing in people with Struts

Re: [OT] i've a form which has AttachmentName . . .

2004-09-07 Thread Rick Reumann
Erik Weber wrote: Oh yea. Ok:) Although I think Kramer's mom was named Babs ? Don't you remember she was worked in the bathrooms at one of the hotels. And George wanted to use her for something I forget what now. I think to eavesdrop on someone while they were in the bathroom. I think Newman

Re: A couple of questions

2004-09-07 Thread Woodchuck
hihi all! --- Marco Tedone [EMAIL PROTECTED] wrote: We are talking here about the user submitting a form from a JSP page: the fact that I've got request and action form both populated, doesn't suggest me any added value in maintainability, it's simply a duplication of data. We chose

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 12:04 PM To: Struts Users Mailing List Subject: Re: A couple of questions Thank you for your emails. I feel I've got a better understanding of the reasons behind ActionForms.

Action Mapping From a JSP to Another JSP

2004-09-07 Thread Caroline Jen
I have two JSPs: JSP 1 and JSP 2 JSP 1 has a hyperlink (register). Once users click on the 'register' hyperlink, the users are suppose to have JSP 2 displayed in the browser. That is to say, there is no action to be performed from JSP 1 to JSP 2. How do I specify the action mapping in the

RE: Action Mapping From a JSP to Another JSP

2004-09-07 Thread Jim Barrows
-Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 12:46 PM To: [EMAIL PROTECTED] Subject: Action Mapping From a JSP to Another JSP I have two JSPs: JSP 1 and JSP 2 JSP 1 has a hyperlink (register). Once users click on the

Re: Action Mapping From a JSP to Another JSP

2004-09-07 Thread Erik Weber
action path=/pathUserTypesOrClicks forward=/pageIWannaShow/ Erik Caroline Jen wrote: I have two JSPs: JSP 1 and JSP 2 JSP 1 has a hyperlink (register). Once users click on the 'register' hyperlink, the users are suppose to have JSP 2 displayed in the browser. That is to say, there is no action

Re: Action Mapping From a JSP to Another JSP

2004-09-07 Thread Hubert Rabago
I think Jim meant to say ForwardAction. http://struts.apache.org/api/org/apache/struts/actions/ForwardAction.html On Tue, 7 Sep 2004 12:49:49 -0700, Jim Barrows [EMAIL PROTECTED] wrote: -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September

Re: [OT] i've a form which has AttachmentName . . .

2004-09-07 Thread Erik Weber
Damn! I must have missed a couple of episodes! Rick Reumann wrote: Erik Weber wrote: Oh yea. Ok:) Although I think Kramer's mom was named Babs ? Don't you remember she was worked in the bathrooms at one of the hotels. And George wanted to use her for something I forget what now. I think to

RE: Action Mapping From a JSP to Another JSP

2004-09-07 Thread Jim Barrows
-Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 12:52 PM To: Struts Users Mailing List Subject: Re: Action Mapping From a JSP to Another JSP I think Jim meant to say ForwardAction.

RE: Action Mapping From a JSP to Another JSP

2004-09-07 Thread Caroline Jen
What is the answer? Do you mean action forward=.frame.Enrollment type=org.apache.struts.actions.ForwardAction/ where .frame.Enrollment is the tile that contains my JSP 2. --- Jim Barrows [EMAIL PROTECTED] wrote: -Original Message- From: Hubert Rabago

RE: Action Mapping From a JSP to Another JSP

2004-09-07 Thread Gupta, Sahil
just add a mapping.findForward(secondpage); to the action corresponding to the register button form submission. the action mapping would be action path=/register type=FirstRegisterAction input=/firstpage.jsp name=registerform scope=request validate=false forward name=secondpage

RE: Action Mapping From a JSP to Another JSP

2004-09-07 Thread Jim Barrows
-Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 1:03 PM To: Struts Users Mailing List Subject: RE: Action Mapping From a JSP to Another JSP What is the answer? Do you mean action forward=.frame.Enrollment

Re: A couple of questions

2004-09-07 Thread Marco Tedone
What do you mean? This is often our case. I mean, we often have composite value objects: one that contains another, which contains another. Are there any issues with such design? Example: public class OrderVO implements Serializable { /** Order lines */ private LinesVO[] orderLines; //Eclipse

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 1:22 PM To: Struts Users Mailing List Subject: Re: A couple of questions What do you mean? This is often our case. I mean, we often have composite value objects: one that

RE: Page refresh

2004-09-07 Thread meena r
David, Could you forward that e-mail to me again. Looks like I have lost that one. Was searching through the online mailing archives and am not able to place yours. Thanks Meena --- [EMAIL PROTECTED] wrote: I just posted some info a few days ago about using a hidden frame and javascript

RE: A couple of questions

2004-09-07 Thread Jim Barrows
-Original Message- From: Jim Barrows Sent: Tuesday, September 07, 2004 1:44 PM To: Struts Users Mailing List Subject: RE: A couple of questions -Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 1:22 PM To:

Re: [OT] i've a form which has AttachmentName . . .

2004-09-07 Thread Michael McGrady
Rick Reumann wrote: Erik Weber wrote: Oh yea. Ok:) Although I think Kramer's mom was named Babs ? Yes. Babu comes from My Sweet Baboo, which was a knockoff on Pumpkin Butt. Michael - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: A couple of questions

2004-09-07 Thread Michael McGrady
Marco Tedone wrote: - Original Message - From: Michael McGrady [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 3:09 PM Subject: Re: A couple of questions Hello, Marco, First, Struts merely adds to your options. Struts is not

RE: Action Mapping From a JSP to Another JSP (Now, the Hyperlink Is Not Working)

2004-09-07 Thread Caroline Jen
Now, I do not even get the hyperlink working. In my JSP 1, which is home.jsp, I have this hyperlink (something is wrong with it): html:link forward=/RegisterRegister/html:link In my struts.config.xml file, I have this action mapping: action path=/Register

Struts XDoclet examples

2004-09-07 Thread David Durham
Is there a good site/spot for Struts XDoclet examples. I'm using: http://xdoclet.sourceforge.net/xdoclet/tags/apache-tags.html But, I'm also looking for some examples. Thanks, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Action Mapping From a JSP to Another JSP (Now, the Hyperlink Is Not Working)

2004-09-07 Thread Jim Barrows
-Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 2:25 PM To: Struts Users Mailing List Subject: RE: Action Mapping From a JSP to Another JSP (Now, the Hyperlink Is Not Working) Now, I do not even get the hyperlink working. In

RE: Page refresh

2004-09-07 Thread dhay
Here you go... - Forwarded by David Hay/Lex/Lexmark on 09/07/2004 05:33 PM - |-+ | | David Hay| | || | | 09/02/2004 01:55 | | | PM | |

Need guidance in struts validator framework

2004-09-07 Thread Udaya Prakash
Hi, I am having a Dynavalidatorform and it has two properties A and B. I need to check for the following conditions Both should be equal to zero or Both should be greater than zero. Can u just me how it can be done in a declarative way using the struts validator framework.

RE: Need guidance in struts validator framework

2004-09-07 Thread Jim Barrows
-Original Message- From: Udaya Prakash [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 2:52 PM To: [EMAIL PROTECTED] Subject: Need guidance in struts validator framework Hi, I am having a Dynavalidatorform and it has two properties A and B. I need to check for

  1   2   >