RE: using form-tag in iteration
Hi, What you should do is use the nested tag library ... Create your form object, and add to this form object an ArrayList of Product beans. With the nested tag library struts will automatically refill the ArrayList ... http://www.keyboardmonkey.com/index.jsp for good tutorials and examples ... Christoph -Original Message- From: Jesse Alexander (KADA 11) [mailto:[EMAIL PROTECTED]] Sent: woensdag 17 juli 2002 9:22 To: Struts Users Mailing List Subject: RE: using form-tag in iteration Hi, an easy way is to put each list-item in its own form. With your setup is it impossible to get more than product at a time...So you can use multiple forms. hope this helps Alexander -Original Message- From: Albrecht Berger [mailto:[EMAIL PROTECTED]] Sent: Montag, 15. Juli 2002 12:33 To: Struts Users Mailing List Subject: using form-tag in iteration Hello, I want to implement a shoppingcart using the struts html:form tag and logic:iterate. In my JSP I have a List of products where every product should have its own text input field for the quantity and its own submit button. What would you recommend to solve this problem ? Thx berger -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[design] master/detail
Hi, I am trying to develop a page to update master/detail data. My example : - master : customer details - detail : customer contact persons I would like to have a page where I can see the customer details, and all his contact persons data in update mode. I was thinking about a customer action form, with in there a Array of Customer contact persons action form. Is this possible ? What are best practices on this part ? Any tutorials ? Thanks ! Christoph -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: File-Upload - empty after validation
Hi Shane, All well, but it does not solve the problem I have ? Because I feel my problem is Internet explore oriented. The value is in the html code, but not shown in the file-field. kind regards, Christoph Rooms Technical Account Manager SilverStream Software +32 475 531 529 -Original Message- From: Witbeck, Shane [mailto:[EMAIL PROTECTED]] Sent: donderdag 25 april 2002 15:38 To: [EMAIL PROTECTED] Subject: RE: File-Upload - empty after validation A good alternative to the struts file upload servlet is the one from servlets.com: http://servlets.com/cos/index.html I am currently using it in a project to upload images and it works great. Sincerely, Shane Witbeck __ Developer, Bank of America email: [EMAIL PROTECTED] phone: 904.987.1688 -Original Message- From: Rooms, Christoph [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 5:39 AM To: 'Struts Users Mailing List' Subject: File-Upload - empty after validation Hi, I have a html:file tag in my form. The user selects a file, press submit ... And because of validation errors he will see the form to re-edit it. BUT the file field is empty. I know this has got something to do with Internet Explore because you can see the file refence in the htmlcode. Anyone knows how to get around this ? Could javascript be an option Thanks, Christoph -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
File-Upload - empty after validation
Hi, I have a html:file tag in my form. The user selects a file, press submit ... And because of validation errors he will see the form to re-edit it. BUT the file field is empty. I know this has got something to do with Internet Explore because you can see the file refence in the htmlcode. Anyone knows how to get around this ? Could javascript be an option Thanks, Christoph -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Html:file - practical question
Hi, I'm using a html:file object. It works fine but when my form returns with Validation errors, he always looses the value of the file path. The user always have to select at new the file which ... Is there a solution ? thanks kind regards, Christoph Rooms Technical Account Manager SilverStream Software +32 475 531 529 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Best Approach for Database Access?
Check out castor, worked fine for me !!! http://www.castor.org -Original Message- From: Galbreath, Mark To: 'Struts Users Mailing List' Sent: 12/02/2002 22:52 Subject: RE: Best Approach for Database Access? Check out the Guidelines and Patterns at http://java.sun.com/blueprints/, Accessing Relational Databases at http://jakarta.apache.org/struts/userGuide/index.html, and get 'hold of Core J2EE Patterns by Alur, et al. Mark -Original Message- From: Paul Idusogie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 3:38 PM Could you kindly provide guidance on the best approach to implement database access.? I have encountered various schools of thought in my reading, that suggest extracting the business logic and database code from the jsp into a jsp bean or ejb or servlet. Thanks, Paul Idusogie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tool for editing resource files
Hi, Anyone knows a tool / web application(WAR) that allows me to edit properties files (resource bundles). Most java IDE's have this integrated (Netbeans, Jbuilder). I'm looking for something I can give to the marketing people so they can change the multiple languages them self ... Anyone ? THANKS !! kind regards, Christoph Rooms Technical Account Manager SilverStream Software +32 475 531 529 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: which IDE
One other interesting tool to have a look at is SilverStream workbench. It's totally J2EE development and makes J2EE development really easy. One of the future release will have struts-plugins. download it for free : http://software.silverstream.com greetz, Christoph -Original Message- From: Nathan Anderson To: Struts Users Mailing List Sent: 14/12/2001 19:13 Subject: RE: which IDE That's good to know... Thanks for the update. Nathan -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 9:51 AM To: Struts Users Mailing List Subject: RE: which IDE I'm planning to have a plugin for Eclipse eventually. The only problem is that their whole IDE is written with proprietary SWT libraries which don't lend themselves to easily pluggin in existing applications. The Struts console would basically have to be re-written in SWT to work with Eclipse unless they come up with a better way to integrate Swing code with SWT. So anyway, yes it's on the todo list, but I don't know when it will be ready. -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Nathan Anderson [EMAIL PROTECTED] wrote: James, Have you taken a look at Eclipse [www.eclipse.org]? It's a new IDE that is entirely plug-in based. I was just wondering if you had thought of making a Struts Console plug-in for it as well... Nathan Anderson -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 7:47 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: which IDE JBuilder is great and so are NetBeans/Forte (www.netbeans.org). There is also a Struts Console plugin for both :) http://www.jamesholmes.com/struts/ -james [EMAIL PROTECTED] --- Samuele Brignoli [EMAIL PROTECTED] wrote: Which is the best IDE to develop struts framework ? I 've got JBuilder Enterprise, is that suited for struts? --kako __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Empty result on 1 pane of my template
Hi, I have a template which works if I specify html/jsp pages in the put statements. But when I reference to an action (*.do) ... He won't return anything in the certain pane. If I call the action directly ... It works ! Thanks ... Christop Rooms, Christoph.vcf Description: Binary data -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Use Request Attribute in message tag
Hi, I'm using Struts 1.0. I want to put a localized message on the error.jsp. Therefor when I have an error in my action, I will fill up an attribute in the request with the locale key. And then use this tag in my error.jsp ... bean:message key=%=request.getAttribute(errorMessage%)/ But ... It doesn't work ... Anyone knows how do this ? Thanks! Christoph Rooms Rooms, Christoph.vcf Description: Binary data -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
ActionForm Validation : Date restriction ?
Title: ActionForm Validation : Date restriction ? Hi, I have a form : updateEvent, my ActionForm (EventForm) only has got a bean (Event). This Event bean has got one property : EventDate : a java.sql.date field. My problem : How can I check in my validate method if the user has really filled in a date ? Or am I limited to work only with Strings on the level of a form ? Thanks ! Christoph Rooms Technical Account Manager SilverStream Software tel +32 2 474 47 17 fax +32 2 474 46 95 mobile +32 475 531 529 Learn more about fast and easy developing J2EE applications using the SilverStream Workbench on Thursday July 26th (from 2pm - 5 pm) and Thursday August 23th SilverStream eXtend Workbench simplifies and accelerates the creation, assembly, consumption and deployment of J2EE and Web services-based applications with wizards, visual designers, archive-based projects and automatic deployment. SilverStream eXtend Workbench also includes integration with your favorite IDE's, deploys to standard J2EE application servers and offers full J2EE, XML, SOAP and WSDL support. Click here for the full agenda : www.silverstream.be Rooms, Christoph ([EMAIL PROTECTED]).vcf Rooms, Christoph ([EMAIL PROTECTED]).vcf
RE: Struts user base
Hi, for the commercial servers part : Struts runs on SilverStream without any problems. I think the other ones also aren't any problems. kind regards, Christoph -Original Message- From: Mike Dewhirst [mailto:[EMAIL PROTECTED]] Sent: maandag 12 februari 2001 18:03 To: [EMAIL PROTECTED] Subject: Struts user base I am working on the same project as Mark Mclaren, and have some additional questions regarding Struts: 1. Does anyone have an idea of how many people are developing/using Struts? I have checked the bug list and indeed it is very small, but I want to know that that is due to product stability, not because of the lack of users. Don't mean to be rude, just cautious. 2. Are there any European users? 3. Does anyone run Struts on commercial servers, e.g. BEA's Weblogic? 4. What is the envisaged frequency of update releases? (just a rough idea, e.g. every 2 quarters, years, etc.) Thanks in advance for your help! Mike Dewhirst -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.