RE: [OT] Design Question

2004-03-23 Thread Marco Mistroni
. If you are using Hibernate Than that will save you a lot of time (you can reuse the framework For both the GUI tool and the struts app) Good luck! -Original Message- From: Claudio Sanchez [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 00:52 To: [EMAIL PROTECTED] Subject: [OT] Design

Re: [OT] Object Design Question

2004-03-21 Thread Pedro Salgado
On 12/03/2004 21:26, "Avinash Gangadharan" <[EMAIL PROTECTED]> wrote: > People, > I have a design question. It is regarding the retrieval of parent and > child objects in the best possible manner. For eg. Let's say there is a > Person object with properties su

[OT] Design Question

2004-03-18 Thread Claudio Sanchez
Hi all, This is off-topic, but i hope that somebody helps me. I have an application that use struts, spring and hibernate. The security is based on roles using CMS (JdbcRealm over Tomcat 4.1.29) The goal of this application is to manage contracts. Authorized users creates contracts with supplier

RE: [OT] Object Design Question

2004-03-12 Thread Robert Taylor
6 PM > To: 'Struts Users Mailing List' > Subject: RE: [OT] Object Design Question > > > That's the way I have it now, a view object querying the datastore and > forming the business objects. The view issues a query for the parent and > then calls the views of the

RE: [OT] Object Design Question

2004-03-12 Thread Avinash Gangadharan
back together and then parsing them out would be better but sure not a clean OO way of getting data. -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 1:01 PM To: Struts Users Mailing List Subject: RE: [OT] Object Design Question +1. Joi

RE: [OT] Object Design Question

2004-03-12 Thread Robert Taylor
ay, March 12, 2004 3:37 PM > To: Struts Users Mailing List > Subject: RE: [OT] Object Design Question > > > It's always on a case by case basis. When and how much do you need at a > given time? Hibernate/JDO/OJB/etc can handle these things for you via a > config to sp

Re: [OT] Object Design Question

2004-03-12 Thread Geeta Ramani
Avinash: ...Adding to what Jacob says below: if you are writing your own, this is a good link to study: http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html Regards, Geeta "Hookom, Jacob" wrote: > It's always on a case by case basis. When and how much do you need at

RE: [OT] Object Design Question

2004-03-12 Thread Hookom, Jacob
PROTECTED]' Subject: [OT] Object Design Question People, I have a design question. It is regarding the retrieval of parent and child objects in the best possible manner. For eg. Let's say there is a Person object with properties such as ssn, lastName and firstname. It also has

[OT] Object Design Question

2004-03-12 Thread Avinash Gangadharan
People, I have a design question. It is regarding the retrieval of parent and child objects in the best possible manner. For eg. Let's say there is a Person object with properties such as ssn, lastName and firstname. It also has a list child objects ( "Address" ) of addresse

Struts Design Question

2004-02-19 Thread Appel, Jeremy D
I am designing an input screen that will have multiple select tags for inputting a number of rows into a db table. I plan to do a Cartesian product of the input properties in my Action and then feed each row to my db persistence framework (Ibatis) for insertion into the db. My question is what

Re: Tiles & Dynamic Menu: Design Question

2004-02-10 Thread Adam Hardy
Zach, did you miss http://sourceforge.net/projects/struts-menu/ ? I don't remember its details - it may do some of those things you don't like. I don't see why you are keeping menu urls in the ApplicationResources. At least you could make a new resource bundle and load it yourself with the sa

Tiles & Dynamic Menu: Design Question

2004-02-10 Thread ZCurtis
Struts v1.1 We are currently using Struts and Tiles and have a dynamic navigation menu with 2-3 nested levels for each top-level menu item (over 100 total menu items). Currently, we are generating links with the action mapping and then appending menu parameters to the url to determine what leve

Tiles & Dynamic Menu: Design Question

2004-02-06 Thread ZCurtis
Struts v1.1 We are currently using Struts and Tiles and have a dynamic navigation menu with 2-3 nested levels for each top-level menu item (over 100 total menu items). Currently, we are generating links with the action mapping and then appending parameters to determine what level in the menu hi

Re: Design question regarding struts security features

2003-12-29 Thread Patrick Scheuerer
Mohan Radhakrishnan wrote: I think you can also use the role attribute in struts-config.xml and restrict access actions. Tiles has a role attribute too ? though we are not using that. I came across the role tag of tiles as well, but I guess it's suitable only if you want to restrict some are

RE: Design question regarding struts security features

2003-12-29 Thread Mohan Radhakrishnan
config.xml and restrict access actions. Tiles has a role attribute too ? though we are not using that. Mohan -Original Message- From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 5:07 AM To: Struts Users List Subject: Design question regarding struts securit

RE: Design question regarding struts security features

2003-12-29 Thread Robert Taylor
provides more flexible authentication. robert > -Original Message- > From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 28, 2003 6:37 PM > To: Struts Users List > Subject: Design question regarding struts security features > > > Hello ev

Design question regarding struts security features

2003-12-28 Thread Patrick Scheuerer
Hello everybody, I'm in the process of developing my first Struts application, so forgive me if this question is insulting everybody's intellect. The application I'm working on is a support portal where you can download technical document, drivers etc. The tricky part is, that certain document

Re: design question

2003-12-24 Thread Mark Lowe
lt;[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 24, 2003 2:54 PM Subject: design question I have 3 FormObjects. I have a newuser.jsp page containing the form userForm, in this form i put a javascript button with an onclick event

Re: design question

2003-12-24 Thread Gurpreet Dhanoa
- Original Message - From: "dirk" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 24, 2003 2:54 PM Subject: design question I have 3 FormObjects. I have a newuser.jsp page containing the form userForm,

design question

2003-12-24 Thread dirk
I have 3 FormObjects. I have a newuser.jsp page containing the form userForm, in this form i put a javascript button with an onclick event, window.open with a popup (adresuser.jsp), with the form adresUserForm. Finally i have on the userForm another javascript button with a popup to specialinfo

Multibox + iterate + design question

2003-11-13 Thread ZYD
Dear all I have a design question: there are three columns in a database table: category_id, category_description, is_main_category I want to iterate all the records in this table in a jsp page using one check box for each record. category_id is the checkbox's

RE: simple design question

2003-11-13 Thread Saul Q Yuan
#x27;m not getting into the details. Saul -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 3:05 PM To: Struts Users Mailing List Subject: Re: simple design question Sweet Now are you telling me that the two html form can be on the same p

Re: simple design question

2003-11-13 Thread Nathan Maves
ist Subject: Re: simple design question This sounds like what I need! Can you explain a little more.. :) Thanks in advance, nathan On Nov 13, 2003, at 10:10 AM, Saul Q Yuan wrote: Then a simple answer, one solution would be, use a single form, two actions, and use action (path) based v

RE: simple design question

2003-11-13 Thread Saul Q Yuan
riginal Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 12:23 PM To: Struts Users Mailing List Subject: Re: simple design question This sounds like what I need! Can you explain a little more.. :) Thanks in advance, nathan On Nov 13, 2003, at 10:10 AM, Sa

Re: simple design question

2003-11-13 Thread Nathan Maves
- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 12:02 PM To: [EMAIL PROTECTED] Subject: simple design question I have a simple design question.. I have to forms. first form is one simple select box that needs to have the values populated from a db. This form needs to

RE: simple design question

2003-11-13 Thread Saul Q Yuan
Then a simple answer, one solution would be, use a single form, two actions, and use action (path) based validation. Saul -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 12:02 PM To: [EMAIL PROTECTED] Subject: simple design question

simple design question

2003-11-13 Thread Nathan Maves
I have a simple design question.. I have to forms. first form is one simple select box that needs to have the values populated from a db. This form needs to have validation and the submit to the second form. The second form need to populate a select box based on the value from the first form

RE: design question

2003-10-22 Thread ajay brar
hi! thanks for the reply. How do i do the switch action you talked about. cheers ajay From: <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: design question Date: Wed, 22 Oct 2003 16:49:32 +0100 AFAIK

RE: design question

2003-10-22 Thread shishir.katdare
am no expert on security but this might work look what other people might say. ur security depends on how u call ur remote class -Original Message- From: ajay brar [mailto:[EMAIL PROTECTED] Sent: 22 October 2003 16:12 To: [EMAIL PROTECTED] Subject: Re: design question hi all! would

Re: design question

2003-10-22 Thread ajay brar
<[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: design question Date: Wed, 22 Oct 2003 17:37:38 +1000 hi! i have the following scenario. server0 -> has a jsp page, that allows user to enter the goods they want etc, say foo.jsp server1->jsp payment page, say bar.jsp and action class CommActi

design question

2003-10-22 Thread ajay brar
hi! i have the following scenario. server0 -> has a jsp page, that allows user to enter the goods they want etc, say foo.jsp server1->jsp payment page, say bar.jsp and action class CommAction on clicking done on foo.jsp, this should establish a connection with CommAction class on server1, perform

Design question - using XML for the view.

2003-10-20 Thread John Bell
Hi, I have a number of XML files that define the data (including basic validation) that needs to be collected from different user groups (one group of users will independently fill in the same form). The data can be string, date and numeric etc. All of the XML files conform to the same XML

design question

2003-10-13 Thread Peng, Meimin
Hi, Please help about app design in struts. What I want to do is like tomcat manager tool to allow user stop or start certain services. For instance: I'll have a serviceview.jsp to populate all the services from servicesHashTable. In jsp page, I'll have service description which will display cur

ActionForm Design Question

2003-10-07 Thread Ian Joyce
Hello, I am having trouble wrapping my mind around with how I should design an ActionForm giving the following situation. My form looks like this: Child 1 [Select of all possible parents] Child 2 [Select of all possible parents] Child 3 [Select of all possible parents] ... Each child can ha

Design Question...

2003-10-02 Thread Keith Pemberton
Sorry if this is a little off-topic but it has to do with Struts because I am using struts for my web app. I have been reading about the View Helper pattern off the sun website and have two ways of thinking about implementing this pattern. First is the way that I currently have setup: Use an

Re: [struts workflow extension] design question

2003-09-29 Thread Matthias Bauer
AM To: Struts Users Mailing List Subject: Re: [struts workflow extension] design question [EMAIL PROTECTED] wrote: Thanks Matthias, I will have a close look at the demo and test applications.I need some generic way to add the workflow extention to my existing working screens so that the user will

RE: [struts workflow extension] design question

2003-09-29 Thread shirishchandra.sakhare
- From: Matthias Bauer [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 9:47 AM To: Struts Users Mailing List Subject: Re: [struts workflow extension] design question [EMAIL PROTECTED] wrote: >Thanks Matthias, > >I will have a close look at the demo and test applications.I

Re: [struts workflow extension] design question

2003-09-29 Thread Matthias Bauer
[EMAIL PROTECTED] wrote: Thanks Matthias, I will have a close look at the demo and test applications.I need some generic way to add the workflow extention to my existing working screens so that the user will be kept informed of the workflow violations and given a choice to leave the workflow or s

RE: Action Design Question

2003-09-26 Thread Jerry Jalenak
m: Nathan Rogers [mailto:[EMAIL PROTECTED] > Sent: Friday, September 26, 2003 11:00 AM > To: Struts Users Mailing List > Subject: Re: Action Design Question > > > I don't know if this was the 'right' thing to do, but I extended > DispatchAction, overrode the ex

Re: Action Design Question

2003-09-26 Thread Nathan Rogers
I don't know if this was the 'right' thing to do, but I extended DispatchAction, overrode the execute method to use the hardcoded value rather than looking up a request parameter, and pass that along to dispatchMethod. My actions then inherit from this modified class. You can safely cut out t

Re: Action Design Question

2003-09-26 Thread Robert Leland
Graham Lounder wrote: Hey all, After reading the "[Poll] action mappings" thread, I now have a couple of design questions. I've got a lot of actions right now and I'd like to group related functionality into one action. I'm thinking of extending the DispatchAction and creating functions to sea

RE: Action Design Question

2003-09-26 Thread Mainguy, Mike
that reads this parameter instead of the request parameters. But I'm wondering if there isn't a better way. -Original Message- From: Graham Lounder [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 8:13 AM To: [EMAIL PROTECTED] Subject: Action Design Question Hey all,

Action Design Question

2003-09-26 Thread Graham Lounder
Hey all, After reading the "[Poll] action mappings" thread, I now have a couple of design questions. I've got a lot of actions right now and I'd like to group related functionality into one action. I'm thinking of extending the DispatchAction and creating functions to search/view/create/update/

RE: [struts workflow extension] design question

2003-09-26 Thread shirishchandra.sakhare
:26 PM To: Struts Users Mailing List Subject: Re: [struts workflow extension] design question Shirish, why do you want to change the workflow extension for doing this? Maybe you want to have a look at the demo application. If I am getting you right, I suppose I am doing exactly what you want to

Re: [struts workflow extension] design question

2003-09-25 Thread Matthias Bauer
Shirish, why do you want to change the workflow extension for doing this? Maybe you want to have a look at the demo application. If I am getting you right, I suppose I am doing exactly what you want to do: Just let the action that handles the workflow violation put the application specific war

[struts workflow extension] design question

2003-09-25 Thread shirishchandra.sakhare
Hi , I need to extend the functionality of struts workflow extension provided by Mr. Matthias Bauer( http://www.livinglogic.de/Struts/index.html ). I want to add some Warning messages when the workflow exception occurs.For the same, I need to Extend the WorkflowRequestProcessorLogic class and ov

RE: Struts reusable jsp design question?

2003-09-22 Thread Mike Jasnowski
Have you looked at Tiles? -Original Message- From: Bob Jensen [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 3:49 PM To: [EMAIL PROTECTED] Subject: Struts reusable jsp design question? Warning I am new to Struts, so I appoligize if this has been addressed before, however I

Struts reusable jsp design question?

2003-09-22 Thread Bob Jensen
Warning I am new to Struts, so I appoligize if this has been addressed before, however I have not found a discussion on this. I want to create a jsp that is reusable from several jsps, for this discussion I will call it Resuable.jsp. Here is the problem I am trying to solve. CallerOne.jsp requir

RE: Action Form Design Question

2003-09-22 Thread Susan Bradeen
ilto:[EMAIL PROTECTED] > > Sent: Sunday, September 21, 2003 5:43 PM > > To: Struts Users Mailing List > > Subject: Re: Action Form Design Question > > > > > > Thanks Robert! > > > > I agree on letting struts do it's job where available, that

Re: Action Form Design Question

2003-09-22 Thread Michael Thompson
ed earlier this week. Some solutions are addressed here: http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg81101.html robert -Original Message- From: Michael Thompson [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 6:10 PM To: struts-user Subject: Action Form

RE: Action Form Design Question

2003-09-21 Thread Robert Taylor
objects should be reserved for the business tier and not the presentation tier. robert > -Original Message- > From: Michael Thompson [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 21, 2003 5:43 PM > To: Struts Users Mailing List > Subject: Re: Action Form Design Quest

RE: Wizard pages in Struts design question

2003-09-21 Thread Erez Efrati
age- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Sunday, September 21, 2003 5:00 PM To: Struts Users Mailing List Subject: Re: Wizard pages in Struts design question To prevent repopulation of an ActionForm's properties, you just need to provide a property that observes that status of an

RE: Wizard pages in Struts design question

2003-09-21 Thread Erez Efrati
ids the famous Struts action chaining issue. Erez -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Sunday, September 21, 2003 5:00 PM To: Struts Users Mailing List Subject: Re: Wizard pages in Struts design question To prevent repopulation of an ActionForm's pr

Re: Action Form Design Question

2003-09-21 Thread Michael Thompson
-Original Message- From: Michael Thompson [mailto:[EMAIL PROTECTED] Sent: Saturday, September 20, 2003 11:09 AM To: Struts Users Mailing List Subject: Re: Action Form Design Question // /

Re: Wizard pages in Struts design question

2003-09-21 Thread Ted Husted
To prevent repopulation of an ActionForm's properties, you just need to provide a property that observes that status of another property that indicates whether the form is readonly or not. So, instead of just doing this.property = property you have if (mutable) this.property = property Or do

RE: Action Form Design Question

2003-09-21 Thread Robert Taylor
s are addressed here: > >http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg8 > 1101.html > > > >robert > > > > > > > > > >>-Original Message- > >>From: Michael Thompson [mailto:[EMAIL PROTECTED] > >>Sent: Friday, Sept

Wizard pages in Struts design question

2003-09-21 Thread Erez Efrati
I read the HowTo write a wizard on the Struts web-site but I wasn't really happy with the solution, and I am looking for a better one. I came up with another way and I would appreciate your comments. The design consists of: - The 'form' is a session scope form - WizardAction class (a DispatchAc

Re: Action Form Design Question

2003-09-20 Thread Michael Thompson
struts-user Subject: Action Form Design Question I've hit a stumbling block and I'm not quite sure how to work around it. I've written struts apps in the past and I've taken the approach of putting everything in the ActionForm so that the jsp has a one stop shop for all i

RE: Action Form Design Question

2003-09-20 Thread Robert Taylor
; To: struts-user > Subject: Action Form Design Question > > > I've hit a stumbling block and I'm not quite sure how to work around > it. I've written struts apps in the past and I've taken the approach of > putting everything in the ActionForm so that the jsp

RE: Action Form Design Question

2003-09-19 Thread Ray Madigan
My Opinion! :-) -Original Message- From: K.C. Baltz [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 5:16 PM To: Struts Users Mailing List Subject: Re: Action Form Design Question Personally, I've tried to stay away from putting data in the ActionForm that isn't relat

Re: Action Form Design Question

2003-09-19 Thread K.C. Baltz
Personally, I've tried to stay away from putting data in the ActionForm that isn't related to an actual form submission value. So if I have a drop down with a list of countries for the user to choose, the list of countries goes into the request attributes and the single choosen country value g

Action Form Design Question

2003-09-19 Thread Michael Thompson
I've hit a stumbling block and I'm not quite sure how to work around it. I've written struts apps in the past and I've taken the approach of putting everything in the ActionForm so that the jsp has a one stop shop for all it's display needs. So where I've hit an issue is when say I have jsp A

RE: design question regarding multiple submit buttons

2003-09-18 Thread david.ballard
thanks for the advice, Wendy. its up and running :) -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 12:22 PM To: Struts Users Mailing List Subject: RE: design question regarding multiple submit buttons David wrote: > When they have

RE: design question regarding multiple submit buttons

2003-09-18 Thread Wendy Smoak
David wrote: > When they have no more addresses to enter, they should hit "DONE" to move on to the next form. > However, when "DONE" is selected, the form calls the validate method, > which of course fails because the fields are empty. I think validation is on by default, so you may want to turn

design question regarding multiple submit buttons

2003-09-18 Thread david.ballard
I'm building a small web application (which I expect to grow into something more) to allow co-workers to do some data entry. I'm more of a database guy, but would like to understand and learn the possibilities of utilizing web services. And, have a question about using multiple submit buttons.

RE: Design Question

2003-09-17 Thread Edgar P Dollin
getters and setters follow the Java Bean spec. Edgar > -Original Message- > From: sean schofield [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 17, 2003 9:57 AM > To: [EMAIL PROTECTED] > Subject: Design Question > > > I am working on a struts-based web a

Re: Design Question

2003-09-17 Thread Daniel Wang
() { //... your comparison here... } } - Original Message - From: "sean schofield" <[EMAIL PROTECTED]> To: "Struts" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 8:20 AM Subject: RE: Design Question > You are correct that

RE: Design Question

2003-09-17 Thread sean schofield
orget what I said - didnt read it properly. You need to be able to tell >which fields changed. The digest will merely tell you if any changed. Sorry. > >-Original Message- >From: Andrew Hill [mailto:[EMAIL PROTECTED] >Sent: Wednesday, 17 September 2003 23:01 >To: Struts Us

RE: Design Question

2003-09-17 Thread Andrew Hill
Subject: RE: Design Question Actually you could just store a digest of the previous values, and then compare that with a digest of the new. -Original Message- From: sean schofield [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 September 2003 22:57 To: [EMAIL PROTECTED] Subject: Design

RE: Design Question

2003-09-17 Thread Andrew Hill
Actually you could just store a digest of the previous values, and then compare that with a digest of the new. -Original Message- From: sean schofield [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 September 2003 22:57 To: [EMAIL PROTECTED] Subject: Design Question I am working on a

Design Question

2003-09-17 Thread sean schofield
I am working on a struts-based web application and I have an interesting design issue that I'd like to get some feedback on. I think this problem is actually quite generic and there must be some good ideas out there already that I could sponge off! Basically I have a struts form with a bunch of

Re: design question

2003-09-14 Thread Ted Husted
If the values are not going to change during the life of the application, I would suggest using a plugin to set them at startup. See the MailReader Example application for some sample code. -Ted. deepaksawdekar wrote: I am displaying some dropdown boxes on my jsp. I have to take the values for

design question

2003-09-12 Thread deepaksawdekar
I am displaying some dropdown boxes on my jsp. I have to take the values for them from ApplicationResource file. I have writen a separate file which will read the properties file and return me the values in array list. Now I have to set this arraylist to the property of my form bean, now the que

RE: Design Question - Need to put assertions in Actions?

2003-09-05 Thread Marco Tedone
Message-ID: <[EMAIL PROTECTED]> From: "White, Joshua A (HTSC, CASD)" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Design Question - Need to put assertions in Actions? Date: Fri, 5 Sep 2003 08:53:49 -0400 MIME-Version: 1.0 Content-Ty

Design Question - Need to put assertions in Actions?

2003-09-05 Thread White, Joshua A (HTSC, CASD)
m. So far, I have placed some assertions in the "newFoo" action which validates that foo does not already exist. If it does exist, it forwards control to "editFoo". This brings about the design question. Putting this kind of assertion/redirection logic in each action c

Repost Wrong Date, Design Question (Keeping filters in the jsp)

2003-08-27 Thread Konstadinis Euaggelos
Sorry for the reposting, Hi to all, Suppose we have a tabular jsp, which shows data in the table. Also in this tabular jsp, we implement a searching mechanism applying some filters. Suppose that from that jsp we go with links or action in some others (depth 3-4), and i want to go back fro

Design Question (Keeping filters in the jsp)

2003-08-26 Thread Konstadinis Euaggelos
Hi to all, Suppose we have a tabular jsp, which shows data in the table. Also in this tabular jsp, we implement a searching mechanism applying some filters. Suppose that from that jsp we go with links or action in some others (depth 3-4), and i want to go back from the starting jsp, but i wan

RE: Design question

2003-08-26 Thread deepaksawdekar
Thanks a lot navjot. I will try this. Deepak . -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:20 AM To: Struts Users Mailing List Subject: RE: Design question | |Now my questions are : |1> I am doing write something wrong. I

RE: Design question

2003-08-26 Thread Navjot Singh
| |Now my questions are : |1> I am doing write something wrong. It's better not to club two logically different business process handlers. I guess you want to reduce the number of Action Classes to be created. If yes, follow this way In your action class.. String doWhat = mapping.getParameter

Design question

2003-08-25 Thread deepaksawdekar
Hi, We are developing a application which will have number of create screens, as follows : Create Technology screen, Create Project screen, Create user screen. etc Each screen will have a asssociated formbean as follows. TechnologyForm for Create Technology screen ProjectForm for Create Project

RE: Design question...

2003-08-25 Thread Navjot Singh
To: [EMAIL PROTECTED] |Subject: Design question... | | |I have a JSP page that contains entries from a database. I am getting |the items using a DTO that is passed from a session EJB. What I would |like to be able to do is to specify a parameter in the URL named |"offset" that when changed wo

Design question...

2003-08-24 Thread Keith Pemberton
I have a JSP page that contains entries from a database. I am getting the items using a DTO that is passed from a session EJB. What I would like to be able to do is to specify a parameter in the URL named "offset" that when changed would display the next results from the database. Couple of ques

RE: Design Question: Forms-and-Validation, which scope to use for dynamic beans?

2003-08-14 Thread Gino LV. Ledesma
o an action > instead of your JSP and then build your lists in the > action. > > Steve > > > -Original Message- > > From: Gino LV. Ledesma [mailto:[EMAIL PROTECTED] > > Sent: August 10, 2003 10:28 PM > > To: Struts Users Mailing List > > Subject:

Re: Asking again - basic design question

2003-08-14 Thread Vic Cekvenich
You are asking several questions. One of them is how to bookmark a page in Struts (which uses Actions. I would have a hard time explaining it until you were comfortable w/ Actions; else you would get confused). Your other answer is: Struts uses Action, in action you must decide what page to for

Design Question: Forms-and-Validation, which scope to use for dynamic beans?

2003-08-14 Thread Gino LV. Ledesma
Hello, I've been using the Struts framework for a couple of months now and have really fancied it. I try as much as possible to adhere to the MVC guidelines, but have run into a couple of problems I've not been able to solve. I have a form which is validated by Struts-validator. One of the form's

Re: Asking again - basic design question

2003-08-14 Thread Mark Lowe
I guess the lack of responses is because there's not a "standard" as such for this. Many folks use actions for all links in their struts apps, as this way there's no exposure to the unpinning resources. I like doing this because there's always an opportunity to mess with stuff before any page

RE: Design Question: Forms-and-Validation, which scope to use for dynamic beans?

2003-08-14 Thread Steve Raeburn
Mailing List > Subject: Design Question: Forms-and-Validation, which scope to use for > dynamic beans? > > > Hello, > > I've been using the Struts framework for a couple of months > now and have really fancied it. I try as much as possible > to adhere to the MVC guideli

RE: Asking again - basic design question

2003-08-14 Thread Greg Ludington
> I am designing a store check-out process. The old software > (pre-struts) had a check at the top of each page to make sure the > information from the previous page had been entered. And if not, > forwarded to that page. So if you bookmarked the last page and went > there, you would get forw

RE: Design question

2003-08-14 Thread Alex Shneyderman
; To: Struts-Users > Subject: Design question > > Hi; > > I am designing a store check-out process. The old software (pre-struts) > had a check at the top of each page to make sure the information from the > previous page had been entered. And if not, forwarded to that page. So

Asking again - basic design question

2003-08-11 Thread David Thielen
Hi; I am designing a store check-out process. The old software (pre-struts) had a check at the top of each page to make sure the information from the previous page had been entered. And if not, forwarded to that page. So if you bookmarked the last page and went there, you would get forward

Design question

2003-08-11 Thread David Thielen
Hi; I am designing a store check-out process. The old software (pre-struts) had a check at the top of each page to make sure the information from the previous page had been entered. And if not, forwarded to that page. So if you bookmarked the last page and went there, you would get forwarded ba

RE: ActionForm Design Question

2003-08-02 Thread Navjot Singh
|> Question 1: Do I use conventional ActionForm? |> Map-backed ActionForm? or DynaActionForm for this |> project? | |If I were you, I would use the conventional ActionForm if |most of the properties are Strings. If your data is fixed on form, then it is good to have ActionForm. More, you may use

Re: ActionForm Design Question

2003-08-01 Thread Jing Zhou
- Original Message - From: "Caroline Jen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 01, 2003 10:42 AM Subject: ActionForm Design Question > Hi, I am building a web site. The primary functions > of this site are for authors to submit t

ActionForm Design Question

2003-08-01 Thread Caroline Jen
Hi, I am building a web site. The primary functions of this site are for authors to submit their research papers. The research papers will go through a screening process (screened by peers in the field). Visiors can view the published articles online. Authors and peers are the registered users

Re: Design Question

2003-07-31 Thread Travis Stevens
Because the foward action should be completely dinamic. The select action should know nothing concrete about any of the actions that use the functionality, otherwise one would have to edit the select action every time a new action is created that uses the select action. [EMAIL PROTECTED] wrote

Re: Design Question

2003-07-31 Thread shane
Why not just define the forward action in the selectRecord action mapping element in your struts-config.xml? shane Quoting Erik Price <[EMAIL PROTECTED]>: > > > Travis Stevens wrote: > > > As you can see, the select a record functionality is common. To > > implement this I would like to c

Re: Design Question

2003-07-31 Thread Erik Price
Travis Stevens wrote: As you can see, the select a record functionality is common. To implement this I would like to create action classes specifically for the select a record interface. One of the request parameters would be the action to forward the result to. The GET request would look

Design Question

2003-07-31 Thread Travis Stevens
Hello, I have some functionality in my web application that allows a user to select a record. This functionality is plugged into other types of functions, such as combine a record or select a component record. Steps to combine a record: 1. select a record 2. configure combining 3. combine Sets

RE: Design Question - same action, many jsps/views

2003-07-28 Thread Witbeck, Shane
in the flow ...usually something like /action/Action?method=init Maybe this will give you some idea for your design? HTH, Shane -Original Message- From: Hue Holleran [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 1:40 PM To: Struts Users Mailing List Subject: RE: Design Question

RE: Design Question - same action, many jsps/views

2003-07-28 Thread Hue Holleran
this may be worth a look, too? URL in case you don't have it: http://www.livinglogic.de/Struts Hue. > -Original Message- > From: Brian McSweeney [mailto:[EMAIL PROTECTED] > Sent: 28 July 2003 16:27 > To: 'Struts Users Mailing List' > Subject: RE: Design

  1   2   3   4   5   >