Problem in population of VO

2004-02-21 Thread Parthasarathy Kesavaraj
Hi I am having a form bean that contains a VO(Say X) This VO again contains an arraylist of VOs of type Y While displaying I am getting VO - X and from that I am getting collection of Y, iterating it and displaying it in Text fields. But when I again submit the form the collection of Y vos is

R: Reload Action Classes

2004-02-21 Thread Leonardo Francalanci
With Eclipse when you debug the tomcat application each modification is reflected (via hot code replace) to your web app. Of course things like adding a new method don't work: in those cases I use the tomcat manager: http://yourserver/manager/reload?path=/yourapp I think all other IDEs

Re: Problem in population of VO

2004-02-21 Thread Michael McGrady
I am not sure how to read this. It seems to say that, when you submit a form, the values of the form are uploaded, but, if you resubmit the form, the values are not uploaded. This says to me that what happened BEFORE you submit the form is important, only because that is the ONLY DIFFERENCE

Re: Extra Lines in Compiled JSP

2004-02-21 Thread Adam Hardy
I think it's XHTML where the problem is. Check out this (resolved) bug report: http://issues.apache.org/bugzilla/show_bug.cgi?id=24506 I implemented the mentioned Jasper configuration option and lo! God removed unnecessary blank lines from my XHTML! Made a shiver go down my spine to look upon

Tile, Action and Form

2004-02-21 Thread Esteban Forzani
Hi, using Tiles and Struts I would like to know if is it possible have two tiles in the same page with two action and formbean. The tile1 asociatted with action1 and form1 and the tile2 asociatted with action2 and form2. How I can inicialize the formbeanĀ“s attributte?. Thanks --- Outgoing

Re: Problem in population of VO

2004-02-21 Thread Hubert Rabago
Not entirely certain but it sounds like you need to use ListUtils.lazyList() for you type Y collection, and you'll need to override your form's reset() method to do this as well. - Hubert --- Parthasarathy Kesavaraj [EMAIL PROTECTED] wrote: Hi I am having a form bean that contains a

multiple records in one form

2004-02-21 Thread [EMAIL PROTECTED]
Hi List, I would like to create a form, with which the user fills in a number of say 10 records, in one and the same form. When clicking submit, all of the 10 records (with each 4 fields) should be updated to the database simulataneously. I found an item in the archives about this, but the

Re: multiple records in one form

2004-02-21 Thread Hubert Rabago
http://marc.theaimsgroup.com/?l=struts-userm=107600405406119w=2 --- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi List, I would like to create a form, with which the user fills in a number of say 10 records, in one and the same form. When clicking submit, all of the 10 records (with each

validator + pre processing before foward

2004-02-21 Thread Felipe Nascimento
Hi all, I am using struts validator. I have a form that needs a object in the request to populate some bean:write outputs and some form input elements values. When I submit this form to an action mapping that has validate=true and the validation is not successfull, the user returns to the

ActionForms Thread Safe

2004-02-21 Thread Amish Patel
Hello All, I am new to struts. I have been reading about it and they way I understand the framework instantiate ActionForm is as follows. .. 1) Check to see if an instance of the ActionForm already has been created. 2) If an ActionForm instance is present in the appropriate scope and it's

Re: ActionForms Thread Safe

2004-02-21 Thread Hubert Rabago
Different clients use different requests and different sessions. Therefore, different users end up with different AF instances. If you use request scope for your AF, then even different requests from the same client will be using different AF instances. hth, Hubert --- Amish Patel [EMAIL

spontaneous disappering ApplicationResources.properties

2004-02-21 Thread [EMAIL PROTECTED]
Hi list, I have a weird problem with all of my struts applications. the file ApplicationResources.properties, usually in WEB- INF/classes, is disappearing spontaneously every now and then. this happens with all of my projects. I tried and set the attributes of the file on read-only, but that

Re: Reset method in Form Bean

2004-02-21 Thread Christian Bollmeyer
On Friday 20 February 2004 18:04, Ramachandran wrote: the scope for my form bean is in 'Request Scope' Then, it technically just cannot be unless you set the default values accordingly in your Form Bean. Things in request scope are destroyed when the request | response cycle is finished. That's

RE: spontaneous disappering ApplicationResources.properties

2004-02-21 Thread James Mitchell
This is cause by Eclipse rebuilding your project. You need to put your source files (that means *.properties as well as *.java) in your source folders. Any time you make changes, Eclipse will copy them over to the classes directory for you. -- James Mitchell Software Engineer / Open Source

Integrating a menu system with a struts application

2004-02-21 Thread Brad Balmer
I know about using struts-menu since it seems to be the only menu system talked about on this forum. Before I start down a path, I was wondering if anybody else has used another menu system successfully within a struts application other than struts-menu? I was looking into xmenu/xlayser

[Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-21 Thread Mark Jones
My application allows a user to make various different types of bookings for a (fictional!!!) hospital and logs them in a database. Each type of booking has a set of common properties but also different ones depending on the type of booking being made. I have divided my classes into a

Re: Integrating a menu system with a struts application

2004-02-21 Thread Carl
I am using struts-menu and fill happy with it. I've just take a look at the xmenu/xplayer you mentionned. It seems that xmenu just display a menu and depends on DHTM/javascript :-(. Struts-menu, however manage the menu fonctionnality : - display the menu - manager rights on menu items (with

Breadcrumbs

2004-02-21 Thread Andy Engle
Hi all, Is there any slick way of putting breadcrumbs into a web app with Struts? If so, what's the preferred way? Thanks. Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]