dynabeans, indexed text input fields

2002-07-19 Thread James Krygowski
Hi All- I'm using Struts 1.0.2 and would like to know how I could utilize the DynaClass/DynaBean combination to handle the following situation: My application displays several editable tables whose underlying data might look like: unique_id description cost discount - ---

RE: Resin 2.1.1 and Struts

2002-07-19 Thread Galbreath, Mark
Thanks, Jason. I subscribed to the user group 3 days ago and have bookmarked its archive. I wanted some general feedback from this forum before I got into specifics with the Resin group. Mark -Original Message- From: Rosenblum, Jason [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 20

RE: Struts Apps Released

2002-07-19 Thread Galbreath, Mark
Wow - that IS cool! Now that we've released our Struts applications to the public (see http://shop.voicestream.com/index.jsp and http://shop.t-mobile.com/index.jsp to see why I've been working 80-hour weeks for the past 4 months). I don't have to work weekends anymore (for awhile, anyway) an

RE: Struts-Validator

2002-07-19 Thread Jerry Jalenak
Thanks! Never occurred to me to check Dave's site :-) Jerry -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 9:17 PM To: Struts Users Mailing List Subject: Re: Struts-Validator http://home.earthlink.net/~dwinterfeldt/ Check that out. I th

RE: Resin 2.1.1 and Struts

2002-07-19 Thread Rosenblum, Jason
I've been developing with Resin 2.1.1 and Struts and have found no Resin-specific issues that you need to be aware of. Try searching the Caucho newsgroup on their site for more info. ~Jason -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 2002 8

Re: Resin 2.1.1 and Struts

2002-07-19 Thread Arron Bates
Pretty much performs as required. Quite tidy. Absolutely boots as it has a very optimised JSP compiler, to the letter of a spec. Makes writing tags harder because of the level of tag object reuse, but it all pays off. Because it moves faster than tomcat it's quicker to code with, kick it over an r

RE: How to handle formbean for dynamically generated form?

2002-07-19 Thread Ramu, Manjukumar [PRDUS]
Keith, Thanks for the reply. In JSP I am using firstname1, firstname2etc..depending on the sets the user selected. Now my problem is to get the values in my Action Class. I am not yet clear how to use formbean in this case. You have mentioned to use array of strings. How the form bean

RE: Réf. : Bean context and validate() in ActionForm

2002-07-19 Thread Kamholz, Keith (corp-staff) USX
I don't understand why you're having this problem. I haven't had a problem with request-scope or session-scope beans being lost on validation. My bean is always preserved. Your bean isn't in the page scope is it? If so, that could be your problem. Also, I would have to disagree with your argum

Re: Setter Methods not being called in nested:iterate scenario :+(

2002-07-19 Thread Arron Bates
FYI This isn't a "nested tags" issue at all, but a nested bean-in-a-list issue which Struts had a long time before I wrote the nested tags. They're only guilty of making something quite complex very easy to do. :) Wrap your collections in org.apache.commons.collections.LazyList, provide a class

RE: How to handle formbean for dynamically generated form?

2002-07-19 Thread Kamholz, Keith (corp-staff) USX
It seems to me that you should use an Array of Strings to represent those fields that will be duplicated. When the form is submitted, each array will be automatically filled with the values of the specified property. It's pretty easy to do. ~ Keith http://www.buffalo.edu/~kkamholz -Origi

Réf. : Bean context and validate() in ActionForm

2002-07-19 Thread olschmeltzer
I just thought that it is impossible to get the bean back, since it is a new request that is sent to the server, and my DataBean has vanished. So, is this situation not a problem ? I must redo everything I did concerning this bean : create it, populate it and put it in the request. Is this limita

Bean context and validate() in ActionForm

2002-07-19 Thread olschmeltzer
Hi ! Here is the problem I try to deal with. Suppose a JSP page is shown on somebody's navigator ; this JSP is a form, whose action is a Struts action, and which needs a bean DataBean to be shown properly. Suppose now that the basic validation fails (i.e. the validate() method of the ActionForm r

a question on the example in struts documentation

2002-07-19 Thread Amit Kumar
Please let me know if I have understood it correctly. Just like in example in struts documentation I map my ActionServlet to *.do. I have a page someform.jsp whose logical name is say something.do. All server side validations are performed in the corresponding Action class. Now if some user of

Resin 2.1.1 and Struts

2002-07-19 Thread Galbreath, Mark
I'm getting prepared to build a web app using Struts on (yet) another platform - Resin. If anyone has done this, are there any Resin-specific issues involved or is it as simple as adding struts.jar to the class path and putting struts-config in WEB-INF? Thanks...and I like the beaver (nature's

Re: getting nested tags to work with DynaActionForm???

2002-07-19 Thread Arron Bates
We want the form beans to stay in session, so it has to be able to be populated when build from an empty constructor (the way beans do). Enter lists of nested objects. In the constructor you have to instantiate the list, new ArrayList() or whatever. So, new request comes in for monkey number five

How to handle formbean for dynamically generated form?

2002-07-19 Thread Ramu, Manjukumar [PRDUS]
Hello, I have a scenario here. I am generating a form which is dynamic. For example this form has some fields like FirstName, Last Name, Email Address, Phone Number. These fields are 1 set. When the user enter the number of sets, the form will be generating. let say user selects 3 sets, th

AW: Locale in FormBean

2002-07-19 Thread "Moritz Björn-Hendrik, HH"
One solution (but not recommended!) is to set the Locale in the reset method. Another solution are the formatting possibilities of the struts bean tags (http://jakarta.apache.org/struts/userGuide/struts-bean.html#write), that use formatting strings read from the ApplicationProperties.resources. B

Re: Tiles + ActionForm.validation - problem !

2002-07-19 Thread Slava_L
Nobody meets this problem ? - Original Message - From: "Slava_L" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 19, 2002 7:08 PM Subject: Tiles + ActionForm.validation - problem ! Hi, list I'm very new to Tiles and when i tried to bind this co

Locale in FormBean

2002-07-19 Thread mhanel
I want to have the Locale of the Browser in my FormBean, so that I can format some dates and time in the get Methods. Till now I'm creating and setting the Bean in the previeous called action. Is there a better way to do it? (an automatic one?) Thanks in advance Matthias.

Re: Setter Methods not being called in nested:iterate scenario :+(

2002-07-19 Thread Adam Hardy
Wrong! I'll eat my hat if you haven't been gotcha'd by the nested tags gotcha. If your form is in the request, it (and its beans content) will have disappeared after displaying your page, and the new form bean on instantiation for a new request (incoming submit) will not contain the beans, bec

new MVC with Standard Tags and DB sample

2002-07-19 Thread Vic C.
I have posted initial build of a new learning application on SourceForge "basicPortal" under CVS http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal It is using Struts with Standard Tags and X: Transform from DB, Realm base security, CURD, etc. etc. I have big plans for thi

Re:

2002-07-19 Thread Shane Witbeck
I think you may need to use the tag which is the HTML equivalent for the tag. The tag renders an HTML tag of type "image". hth, Shane - Original Message - From: "Joseph Barefoot" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 18, 2002 8

RE: Documentation of the control flow of struts-projects

2002-07-19 Thread Jon.Ridgway
Hi Arne, I believe that the struts-console and/or the scrioworks Camino (http://www.scioworks.com) tools will produce diagrams from a struts-config. The ObjectAssembler plugin may also produce diagrams - I haven't got round to evaluating it yet so I couldn't say. (http://www.objectventure.com/p

RE: Commons-digester

2002-07-19 Thread Robert Taylor
Jon, just yesterday I had need to convert an XML document into some Java objects. I knew Struts used Digester for this so I read the package descriptions in the JavaDocs (http://jakarta.apache.org/commons/digester/api/index.html) and found them very useful. At least it was enough information for m

RE: Good/Bad Practices

2002-07-19 Thread Robert Taylor
I'm taking a different approach which may or may not be the best way but it makes sense to me. I see Action classes and Action forms as "throw away" objects. They are not as reusable as business objects. I therefore try and reduce the number of those classes that I have to create. I try and grou

Tiles and modules (sub-apps)

2002-07-19 Thread Cedric Dumoulin
Hi all, There is now a TilesPlugin for struts1.1. This plugin takes in charge the TilesRequestProcessor initialization. It is not anymore mandatory to specify the TilesRequestProcessor. Also, it is not needed anymore to use the ComponentActionServlet as servlet. You can just use the

Tiles + ActionForm.validation - problem !

2002-07-19 Thread Slava_L
Hi, list I'm very new to Tiles and when i tried to bind this cool stuff to my previously designed app, i met a problem with validation. I'm usin' Struts 1.0.2 stable ver. + tilesForStruts1.0.jar (external tiles lib). I need my action to forward back to the same page, when any errors appeared i

Re: Struts/Container-Managed Authentication Question

2002-07-19 Thread Max Cooper
Torgeir, Definitely. I'll be working on it next week (vacation, woo hoo! ;-) and hope to have a release version ready by the beginning of August. I'll post a link when it is ready. I plan to release the source code, and I'd also like to provide a binary version that you can easily drop into an a

Commons-digester

2002-07-19 Thread Jon.Ridgway
Hi All, (I apologies in advance as this is not a struts specific question, but I'm aware that the commons-digester is used by Struts). Is anyone aware of any tutorials/documentation/examples for the commons-digester. I can only find the JavaDocs (and these are a bit sparse). Jon Ridgway

Documentation of the control flow of struts-projects

2002-07-19 Thread Clauss, Arne
Hello all! Does anybody know a tool for automatic generation of control flow diagramms using the struts-config.xml? How do you create the doc of the control flow for your projects? Kind regards, Arne -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: how can I invoke a Tile Definition directly from the browser

2002-07-19 Thread Cedric Dumoulin
Hello, This is the way to go. Remember that Tiles definition's names are logical names. They can't be used directly as URL. You can also use a struts action taking the definition's name as request parameter. The action then insert the requested tiles. Such action already exist in Tiles

Re: Could anyone give me some reason to use this custom tag like in struts ?

2002-07-19 Thread Tibor Gemes
> Because I did not like custom tag. so please could anyone give me some > reason to use this custom tag. Thanks Beside the lots of common reasons (works, clear, reusable etc) there is one more for me: The graphic designer has not messed up the logic in the page since I use custom tags. Actu

Re: Struts/Container-Managed Authentication Question

2002-07-19 Thread @Basebeans.com
Subject: Re: Struts/Container-Managed Authentication Question From: Torgeir Veimo <[EMAIL PROTECTED]> === Max Cooper wrote: > If you can live with a short-term compromise of having a login link on every > page rather than a login form, the first design I sent out should work for > that. I have w

Could anyone give me some reason to use this custom tag like in struts ?

2002-07-19 Thread michael.cao
Hi, all Because I did not like custom tag. so please could anyone give me some reason to use this custom tag. Thanks

RE: how to Internationalized submit button?

2002-07-19 Thread René Eigenheer
i use different properties for each button: example: if (btnStore != null) { } if (btnCancel != null) { } > -Original Message- > From: Hoang, Hai [mailto:[EMAIL PROTECTED]] > Sent: Freitag, 19. Juli 2002 05:56 > To: '[EMAIL PROTECTED]' > Subject: how to Internationalized submit bu

how can I invoke a Tile Definition directly from the browser

2002-07-19 Thread esther . miranda
Hi, How can I invoke a Tile Definition directly from the browser? This to minimize the number of JSP pages, and have them all defined in the xml config file. In Prakash Malani's article 'UI Design with Tiles and Struts' (http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html), base

Database layer mapping and struts action

2002-07-19 Thread Kevin Viet
Hi all ! I want to know how the guys who use an OR database mapping layer (like Castor, jdo, custom, ... ) use them inside their struts actions code. If they load and save their beans directly from actions or if it's not the case how they achieve that. -- To unsubscribe, e-mail:

Re: Struts/Container-Managed Authentication Question

2002-07-19 Thread Max Cooper
Hello again Mete, ;-) I like this stuff. It's like a puzzle. > Basically I made my welcome-page a dummy page that > redirects the request to /login.do. I made /login.do a > protected resource and what is ironic is that I made > my home page the "login page" !! (in ). > This kinda turns container