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

2003-07-28 Thread Adam Levine
sent back to where you started from. From: "Brian McSweeney" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Subject: RE: Design Question - same action, many js

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

2003-07-28 Thread Brian McSweeney
ge- From: Hue Holleran [mailto:[EMAIL PROTECTED] Sent: 28 July 2003 16:11 To: Struts Users Mailing List Subject: RE: Design Question - same action, many jsps/views Hi Brian, Why not use different named forwards for the action and access each one from the action with a: { ... return (mapping

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

2003-07-28 Thread Hue Holleran
28 July 2003 10:39 > To: [EMAIL PROTECTED] > Subject: Design Question - same action, many jsps/views > > > Hi all, > > I've come across a situation which I'm not sure how to handle with > struts. > I have an action which, depending on from which page it's ca

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

2003-07-28 Thread Brian McSweeney
urent PETIT [mailto:[EMAIL PROTECTED] Sent: 28 July 2003 10:37 To: 'Brian McSweeney '; '[EMAIL PROTECTED] ' Subject: RE: Design Question - same action, many jsps/views Hello, one way to solve it is not to duplicate code in different Action classes, but have many ActionMappi

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

2003-07-28 Thread Laurent PETIT
, -- Laurent -Original Message- From: Brian McSweeney To: [EMAIL PROTECTED] Sent: 28-7-03 11:38 Subject: Design Question - same action, many jsps/views Hi all, I've come across a situation which I'm not sure how to handle with struts. I have an action which, depending on from which

Design Question - same action, many jsps/views

2003-07-28 Thread Brian McSweeney
Hi all, I've come across a situation which I'm not sure how to handle with struts. I have an action which, depending on from which page it's called, should forward to different jsps pages. Currently, for each resultant jsp, I create a new action with the exact same logic code inside which for

design question

2003-07-17 Thread meissa . Sakho
I'm starting a new application and I would like to have you point of view about the menu management. Each connected user will have a specific profile and according to this profile will see(or not) menu or not. I would like to gather your experienced advices before starting. I'm not planning to

RE: remmeber the URL design question

2003-07-09 Thread Yansheng Lin
Use struts:). -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: July 9, 2003 9:22 AM To: [EMAIL PROTECTED] Subject: remmeber the URL design question Hi, I have to work on web application where i need for the user to logon with userid and password for some

remmeber the URL design question

2003-07-09 Thread Ashish Kulkarni
Hi, I have to work on web application where i need for the user to logon with userid and password for some functions. So it will be some thing like the user clicks submit after entering the data on a screen, but then i want to show a page for the user to login, and if the login is successfull then

Re: Design question: Confirm action after validation ?

2003-07-09 Thread Adam Hardy
taking data(Value Objects) from webserver to appserver Shashank - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 3:26 PM Subject: Re: Design question: Confirm actio

Re: Design question: Confirm action after validation ?

2003-07-09 Thread Shashank Dixit
: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 3:26 PM Subject: Re: Design question: Confirm action after validation ? > my base action class sorts out all the general objects and variables >

Re: Design question: Confirm action after validation ?

2003-07-09 Thread Adam Hardy
? any idea? Pls reply Shashank - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 2:52 PM Subject: Re: Design question: Confirm action after validation ? I have an A

Re: Design question: Confirm action after validation ?

2003-07-09 Thread Shashank Dixit
o: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 2:52 PM Subject: Re: Design question: Confirm action after validation ? > I have an Action base class which all my other Action classes inherit. > In the execute() of this base class I check whethe

Re: Design question: Confirm action after validation ?

2003-07-09 Thread Adam Hardy
I have an Action base class which all my other Action classes inherit. In the execute() of this base class I check whether the user clicked cancel, before I call the child class execute(). I presume it would be easy enough to store the originating URL in the session, and if cancel is clicked, r

Design question: Confirm action after validation ?

2003-07-08 Thread Ajay Patil
Hello, In my Struts application, the validation is done on server-side for every page. If the validation is successful, the user would like to see a page to confirm his action. The Confirm page should also have a Cancel button allowing him to go back to the previous page showing the data entered

Re: Navigation (design question)

2003-04-03 Thread Raj Atchutuni
Can any one suggest smart way to design site navigation in Struts, Tiles. I worked out the solution using JavaScript, JSP. I feel there should be better and new ways of doing this navigation. For example here is the code snippet which i already made it work. I am looking for better ways. Exp

Re: design question about action chaining

2003-04-01 Thread Kris Schneider
ce. Filters aren't a parallel system to Struts because they logically sit in front of Struts handling requests before Struts gets them. David From: Thorin Linderholm <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Maili

Re: design question about action chaining

2003-04-01 Thread Igor Shabalov
C where there is a 'view' controller and 'buisness' >> controller >> (which seems a bit redundant to me.) > > Well, at one point you will wonder which is more cumbersome: coding > Action classes or having a mile-long struts-config.xml. > > Paul >

Re: design question about action chaining

2003-04-01 Thread Paul Yunusov
and 'buisness' > >> controller > >> (which seems a bit redundant to me.) > > > > Well, at one point you will wonder which is more cumbersome: coding > > Action classes or having a mile-long struts-config.xml. > > > > Paul > > > >&

RE: design question about action chaining

2003-04-01 Thread David Graham
Mailing List' <[EMAIL PROTECTED]> Subject: RE: design question about action chaining Date: Tue, 1 Apr 2003 12:08:09 -0800 Filters are one of the design/imp choices I've considered under the 'parallel system' heading, though I hadn't thought of trying to use the web

Re: design question about action chaining

2003-04-01 Thread Igor Shabalov
isness' controller (which seems a bit redundant to me.) Well, at one point you will wonder which is more cumbersome: coding Action classes or having a mile-long struts-config.xml. Paul -Original Message- From: Paul Yunusov [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2

Re: design question about action chaining

2003-04-01 Thread Paul Yunusov
s more cumbersome: coding Action classes or having a mile-long struts-config.xml. Paul > > > -Original Message- > From: Paul Yunusov [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 01, 2003 11:43 AM > To: Struts Users Mailing List > Subject: Re: design questi

RE: design question about action chaining

2003-04-01 Thread Thorin Linderholm
esday, April 01, 2003 11:52 AM To: [EMAIL PROTECTED] Subject: Re: design question about action chaining I think Filters would be a good choice for your needs. You can define a filter for each piece of logic and then configure them in web.xml for groups of pages. You'll need to put relat

RE: design question about action chaining

2003-04-01 Thread Jacob Hookom
his framework already built with valves and pipelines: http://jakarta.apache.org/turbine/turbine-3/pipeline.html -Jacob | -Original Message- | From: Thorin Linderholm [mailto:[EMAIL PROTECTED] | Sent: Tuesday, April 01, 2003 1:31 PM | To: '[EMAIL PROTECTED]' | Subject: design que

RE: design question about action chaining

2003-04-01 Thread Thorin Linderholm
re there is a 'view' controller and 'buisness' controller (which seems a bit redundant to me.) -Original Message- From: Paul Yunusov [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 11:43 AM To: Struts Users Mailing List Subject: Re: design question about action chai

Re: design question about action chaining

2003-04-01 Thread David Graham
David From: Thorin Linderholm <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: design question about action chaining Date: Tue, 1 Apr 2003 11:30:39 -0800 I have been task

Re: design question about action chaining

2003-04-01 Thread Paul Yunusov
On Tuesday 01 April 2003 02:30 pm, Thorin Linderholm wrote: > I have been tasked with porting an existing web application with it's own > proprietary controller architecture to using Struts. > > As they are both web controller architectures, they have many similarities, > but I'm running into one d

design question about action chaining

2003-04-01 Thread Thorin Linderholm
I have been tasked with porting an existing web application with it's own proprietary controller architecture to using Struts. As they are both web controller architectures, they have many similarities, but I'm running into one difference in overall architecture that I'm having difficulty resolvi

Nested Iterator Design Question (ValueObject or String variables ValueObject)

2003-03-31 Thread ashokd
Hi, I have some doubts regarding ValueObject and ActionForm. I am putting all variables in ActionForm as Strings (because I doesn't want to populate default values in a form (like 0 for int and 0.0 for float)). Data getting/setting from Business Layer as ValueObjects (I am putting all variables

Re: [OT] Query design question

2003-03-28 Thread Simon Kelly
gt; Sent: Friday, March 28, 2003 1:06 PM Subject: Re: [OT] Query design question > Simon, > > Thanks for the suggestion - that's a good idea with less OH. Also makes > me think of just storing them in a application level Hashmap bean or > something loaded at application

Re: [OT] Query design question

2003-03-28 Thread Becky Norum
Simon, Thanks for the suggestion - that's a good idea with less OH. Also makes me think of just storing them in a application level Hashmap bean or something loaded at application startup, which is how I handle form collections.. Hmmm.. Becky Bald man looks more like a lady with a bouffant cuz

Re: [OT] Query design question

2003-03-28 Thread Simon Kelly
[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 12:28 PM Subject: [OT] Query design question > My database schema references a number of "lookup" tables. > > For example, > > DATA: > id primary key > categ

[OT] Query design question

2003-03-28 Thread Becky Norum
My database schema references a number of "lookup" tables. For example, DATA: id primary key category references lookup_category(key) upload_loc references lookup_upload_location(key) (etc) LOOKUP_CATEGORY: key primary key name description

Re: Declarative exceptions design question...

2003-03-25 Thread David Graham
: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Declarative exceptions design question... Date: Tue, 25 Mar 2003 17:06:40 +0100 Declarative exceptions design question... I am using EJB's, Entity w

Declarative exceptions design question...

2003-03-25 Thread Mick . Knutson
Declarative exceptions design question... I am using EJB's, Entity with Session Facades, then a BusinessDelegate on top of that, then DispatchActions for this APP. As I understand, I can create simple Exception classes like "LoginFailed.class" and when that error is thrown, I

Re: Design Question - giving nice URL's with parameters hidden

2003-03-14 Thread jbaker
Pennsylvania Ave SE 5th Floor Washington, DC 20003 202-544-0200 x285 http://www.amnestyusa.org [EMAIL PROTECTED] "David Graham" <[EMAIL PROTECTED]> 03/14/03 05:43 PM Please respond to "Struts Users Mailing List" To: [EMAIL PROTECTED] cc: Subject:

Re: Design Question - giving nice URL's with parameters hidden

2003-03-14 Thread David Graham
When people first hit one of the internationalized pages, I'd like to check their browser settings for locale. You don't need to check that yourself. The first time a user hits your site the RequestProcessor.processLocale() will put a Locale object in their session. It checks their Accept-Langu

Design Question - giving nice URL's with parameters hidden

2003-03-14 Thread jbaker
I'd like advice on a design issue I'm facing. I can see a couple ways of achieving what I want, but am pretty sure there is a better way that I'm not seeing. The Web site I'm working on will have sections for each country and for a selection of human rights. The same templates (Tiles) are bei

RE: Design question

2003-03-05 Thread Marco Tedone
Message- > From: alexj [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 04, 2003 11:29 PM > To: Struts Users Mailing List > Subject: Re: Design question > > > > I got a little question how can I manage that case : > > > > In my project I need to add activities

Re: Design question

2003-03-04 Thread alexj
> I got a little question how can I manage that case : > > In my project I need to add activities to a formation an user > select into a view page. > > I need to forward the selected formation to an other view > page where this page need to contain specific populated datas (like branch) from t

Design question

2003-03-04 Thread alexj
I got a little question how can I manage that case : In my project I need to add activities to a formation an user select into a view page. I need to forward the selected formation to an other view page where this page need to contain specific populated datas (like branch) from the previously se

Re: Form Beans: Design Question

2003-03-04 Thread Rick Reumann
On Tue, 4 Mar 2003 08:51:39 -0500 "Curley, John" <[EMAIL PROTECTED]> wrote: > The reason why I ask is because you can obtain information from a > request via the information sent by the HTTP/Post/Get. If I have a > bunch of widgets in a form I can just obtain the info in the action > this way

Re: Form Beans: Design Question

2003-03-04 Thread Nicolas De Loof
Your right, formbean "just" get request parameter for you. But they are doing this too: - allow syntax validation, programatically or by rules (via validator.xml) - allow "dotted" and indexed syntax (like "property1.property2[3]"), and so a realy objet-oriented formbean design - can be dynabeans

RE: Form Beans: Design Question

2003-03-04 Thread ROSSEL Olivier
> Please excuse the simple question (I am new to Struts): > > When is it appropriate to use form beans for an action? > > The reason why I ask is because you can obtain information > from a request > via the information sent by the HTTP/Post/Get. If I have a > bunch of widgets > in a form I ca

Form Beans: Design Question

2003-03-04 Thread Curley, John
Please excuse the simple question (I am new to Struts): When is it appropriate to use form beans for an action? The reason why I ask is because you can obtain information from a request via the information sent by the HTTP/Post/Get. If I have a bunch of widgets in a form I can just obtain the i

Re: Design question

2003-02-22 Thread alexj
Great thanks Rick :) -- Alexandre Jaquet - Original Message - From: "Rick Reumann" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 5:19 PM Subject: Re: Design question > On Sat, Feb 22,&

Re: Design question

2003-02-22 Thread Rick Reumann
On Sat, Feb 22,'03 (03:22 PM GMT+0100), alexj wrote: > What's the best to do if for example I got > a view where an user can choose to view > students by class, view students by year > or view students by year ? I think the best is to bring back the results in a table in some default manner (

Design question

2003-02-22 Thread alexj
Hi, Hope you didn't get headache ;), I got a little question about the design of my project : What's the best to do if for example I got a view where an user can choose to view students by class, view students by year or view students by year ? Thanks for your advice. <-- Alexandre Jaquet ->

RE: Controller - Model design question?

2003-02-17 Thread Marco Tedone
s Users Mailing List Subject: RE: Controller - Model design question? gotcha, now I understand. I generally try to avoid putting the EJB interface in my Action, so I create a Business Delegate (much like what Ted calls a Facade I believe). This business delegate knows about the ejb's inter

RE: Controller - Model design question?

2003-02-16 Thread John Espey
egate class gets modified. > -Original Message- > From: Marco Tedone [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 16, 2003 2:12 PM > To: Struts-user-list > Subject: RE: Controller - Model design question? > > > Sorry John, I wasn't talking about the imple

RE: Controller - Model design question?

2003-02-16 Thread Marco Tedone
--- From: John Espey [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 4:19 AM To: Struts Users Mailing List Subject: RE: Controller - Model design question? I'm not sure about your particular requirements, but I personally use a singleton ServiceLocator to do EJB home lookups. Because

Controller - Model design question?

2003-02-16 Thread Ted Husted
Marco Tedone writes: > Is it correct the Action to know about the Model interfaces? If you are using EJBs for the business logic layer, then yes, it's perfectly all right to bind your Actions to the EJB interfaces. Though, some people do prefer to use EJBs as a persistence layer and then put a

RE: Controller - Model design question?

2003-02-15 Thread John Espey
om: Marco Tedone [mailto:[EMAIL PROTECTED]] > Sent: Saturday, February 15, 2003 4:38 PM > To: Struts-user-list > Subject: Controller - Model design question? > > > Hi, to implement the business logic of my application I decided > to use EJBs. > I'm designing a factory

Controller - Model design question?

2003-02-15 Thread Marco Tedone
Hi, to implement the business logic of my application I decided to use EJBs. I'm designing a factory which could return an instance of the EJBs interface and I'm thinking to call that factory(implemented as a PlugIn and there set as a ServletContext attribute) from my Actions. This would lead the A

Re: Design Question

2003-02-08 Thread Justin F. Knotzke
On Sat, Feb 08, 2003 at 12:34:35AM -0500, Rob Leland wrote: > EditAAction SaveAAction -->EditBAction SaveBAction > \ > / \/ >\ > /

Design question: How to handle session "cart" beans best with Struts

2003-02-07 Thread Michael Echerer
Hi, so far I only use request scoped form beans. Mainly not for user input fields, but for storing database information that is needed to display my views. So I need to prepopulate my form beans almost always. Works fine. But now I need a kind of "shopping cart bean". I remember that Struts all

Re: Design question: Model component using Business logic beans

2003-02-04 Thread BaTien Duong
Great. Thanks. BaTien - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 8:49 PM Subject: Re: Design question: Mode

RE: Design question: Model component using Business logic beans

2003-02-04 Thread mech
To: Struts Users Mailing List > Cc: [EMAIL PROTECTED] > Subject: Re: Design question: Model component using Business > logic beans > > > > > On Mon, 3 Feb 2003, BaTien Duong wrote: > > > Date: Mon, 3 Feb 2003 20:02:41 -0700 > > From: BaTien Duong <[EM

Re: Design question: Model component using Business logic beans

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, BaTien Duong wrote: > Date: Mon, 3 Feb 2003 20:02:41 -0700 > From: BaTien Duong <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] >

Re: Design question: Model component using Business logic beans

2003-02-03 Thread BaTien Duong
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 11:05 AM Subject: Design question: Model component using Business logic beans > Hi, > > currently I'm doing all my business logic in my Action classes. So > besides the execute() metho

Re: Design question: Model component using Business logic beans

2003-02-03 Thread Ted Husted
Craig McClanhan wrote: > In the interim, though, you might want to investigate using > commons-resources directly for your business logic (so you don't have > to depend directly on Struts APIs) +1 What I'm doing is having the business tier bring back a MessageList and then just pumping it into

Re: Design question: Model component using Business logic beans

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, mech wrote: > > One thing, I'm having a bit trouble with migration is the ActionError > stuff. > One of the things we wanted to do in Struts 1.1, but ran out of time for, was to switch to using commons-resources for the underlying message resources stuff, and then build Acti

RE: Design question: Model component using Business logic beans

2003-02-03 Thread Ashish Kulkarni
Here is a > good description of the BD pattern: > http://java.sun.com/blueprints/corej2eepatterns/Patterns/BusinessDelegate.ht > ml > > > > -Original Message- > From: mech [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 12:05 PM > To: [EMAIL

RE: Design question: Model component using Business logic beans

2003-02-03 Thread mech
Thanks... custom exceptions... of course...! I must have been blind. Thanks for the light! Michael > -Original Message- > From: Pani, Gourav [mailto:[EMAIL PROTECTED]] > Sent: Montag, 3. Februar 2003 19:11 > To: 'Struts Users Mailing List' > Subject: R

RE: Design question: Model component using Business logic beans

2003-02-03 Thread John Espey
From: mech [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 12:05 PM To: [EMAIL PROTECTED] Subject: Design question: Model component using Business logic beans Hi, currently I'm doing all my business logic in my Action classes. So besides the execute() method I might have s

RE: Design question: Model component using Business logic beans

2003-02-03 Thread Jarnot Voytek Contr AU HQ/SC
the specific action class and we generate the appropriate ActionErrors. -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. > -Original Message- > From: mech [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 12:05 PM > To: [EMAIL PROTECTED] > Subject:

RE: Design question: Model component using Business logic beans

2003-02-03 Thread Pani, Gourav
your business logic but it could be an alternative path that you could opt for. -Original Message- From: mech [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: Design question: Model component using Business logic beans Hi, currently I&#x

Design question: Model component using Business logic beans

2003-02-03 Thread mech
Hi, currently I'm doing all my business logic in my Action classes. So besides the execute() method I might have some helper methods like populateFormBean() or I even put those stuff in the execute() directly if it wasn't to much. I have to do quite a lot of database queries to populate the form b

RE: design question about action chaining

2003-02-03 Thread Greg.Reddin
Thanks, Ted, for clarifying these issues for me. > -Original Message- > From: Ted Husted [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 02, 2003 11:06 AM > To: [EMAIL PROTECTED] > Subject: Re: design question about action chaining > > > In Patterns o

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-02-03 Thread shirishchandra . sakhare
hopefully a couple others )to better understand the very core of struts architecture.. regards, Shirish -Original Message- From: husted [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 7:07 PM To: struts-user Cc: husted Subject: design question about action chainning(As quoted in

Re: design question about action chaining

2003-02-02 Thread Ted Husted
In Patterns of Enterprise Application Architecture [1], Martin Fowler [2] lays out two basic patterns for handling business logic [3]. * Transaction Script - "Organizes business logic by procedures where each procedure handles a single request from the presentation. * Domain Model - "An object mo

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread Derek Richardson
iday, January 31, 2003 1:07 PM > To: Struts Users Mailing List > Subject: design question about action chainning(As quoted in > :Struts in > action...by Ted Husted et al..) > > > The best example of waht I'm calling an Action relay is how Struts > handles validation. If

Re: design question about action chainning(As quoted in :Struts in action...byTed Husted et al..)

2003-01-31 Thread Brian Lee
classes or modify more code. BAL From: Ted Husted <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: design question about action chainning(As quoted in :Struts in action...by Ted Husted

design question about action chainning(As quoted in :Struts in action...byTed Husted et al..)

2003-01-31 Thread Ted Husted
The best example of waht I'm calling an Action relay is how Struts handles validation. If validation fails, the request is forwarded to the input property, which could be another Action. This is done to complete the response, rather than continue with processing the action. This same technique

Re: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread BaTien Duong
nt to break its design principal. Have a good day and good weekend. :-) BaTien - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, January 31, 2003 1:44 AM Subject: Re: design question about action chainning(As quot

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread Greg.Reddin
Ted, can you (or someone else) clarify the difference b/t "action chaining" and "action relay"? Thanks, Greg > -Original Message- > From: Ted Husted [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 5:34 AM > To: [EMAIL PROTECTED] > Subjec

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread shirishchandra . sakhare
: Friday, January 31, 2003 12:34 PM To: struts-user Cc: husted Subject: RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..) Derek Richardson writes: >But you still have to duplicate code in the actions, right? Even if >that code is as sim

RE: design question about action chainning(As quoted in :Struts inaction...by Ted Husted et al..)

2003-01-31 Thread Ted Husted
Derek Richardson writes: >But you still have to duplicate code in the actions, right? Even if >that code is as simple as: > >Service service = Service.getService(SERVICE_KEY); >Foo[] foos = service.getFoos(); >request.setAttribute(FOO_KEY, foos); > >Action chaining allows this code to be written o

Re: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread shirishchandra . sakhare
Any comments:-))?? regards, Shirish -Original Message- From: batien.duong [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 5:09 PM To: struts-user Subject: Re: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..) We achieve wha

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-30 Thread Derek Richardson
you get reuse of presentation code, not just business logic. > -Original Message- > From: BaTien Duong [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 11:09 AM > To: Struts Users Mailing List > Subject: Re: design question about action chainning(As quoted &g

Re: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-30 Thread BaTien Duong
. BaTien - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 3:34 AM Subject: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..) > Hi All, > I have a very basic design question a

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-30 Thread Greg.Reddin
what comes out of the business layer and translate it into Struts errors. Greg > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 4:34 AM > To: [EMAIL PROTECTED] > Subject: design question about action

design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-30 Thread shirishchandra . sakhare
Hi All, I have a very basic design question about struts action design..We have been developing a fairly large and complex web application involving struts and struts has proved to be a great help :-)) But after reading the book by Mr. Husted et al., "Struts in action",I have

Re: accessing DataSource, webapp design question

2003-01-22 Thread Craig R. McClanahan
On Wed, 22 Jan 2003, Charlie Toohey wrote: > Date: Wed, 22 Jan 2003 10:31:23 -0800 > From: Charlie Toohey <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: accessing DataSource, webapp design question &

Re: accessing DataSource, webapp design question

2003-01-22 Thread David Graham
t;Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: accessing DataSource, webapp design question Date: Wed, 22 Jan 2003 10:31:23 -0800 This is more of a design question. I am using Struts and Tomcat, and have set up a JNDI ref-resource to acquire a DataSourc

accessing DataSource, webapp design question

2003-01-22 Thread Charlie Toohey
This is more of a design question. I am using Struts and Tomcat, and have set up a JNDI ref-resource to acquire a DataSource for my database, which works fine. All of my value objects use the same database. The question is how to give each value object access to this DataSource. One option

Re: Struts / Tiles Design question

2003-01-19 Thread Paul Hodgetts
Carl Hope wrote: > - Is there a way to process just the menu HTML and avoid re-generating the > body, header and footer?. > - If all tiles must be regenerated, how should I define the Action for the > menu change. This should really just call a menu handler page but if the > entire page must be r

Re: Struts / Tiles Design question

2003-01-19 Thread Cagan Senturk
I believe there is no way you can refresh part of a layout; the whole layout jsp will have to reload. For your second question, you can write the menu part of your layout (say 'menu.jsp') in a way capable of recognizing the current section selection of the user and self-expand accordingly... On

Re: Struts / Tiles Design question

2003-01-19 Thread Christopher Willingham
er it. - Original Message - From: "Carl Hope" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, January 19, 2003 9:07 AM Subject: Struts / Tiles Design question I'm recoding an existing app using Struts and Tiles.

Struts / Tiles Design question

2003-01-19 Thread Carl Hope
I'm recoding an existing app using Struts and Tiles. The app originally used frames with the usual components of header, menu, body and footer. I've replaced the frameset with a layout template and it works fine. The difficulty I'm having is when I only want to refresh the menu tile and not r

RE: Design Question regarding navigation menu

2002-12-10 Thread ROSSEL Olivier
> I could not follow your question. > A good practices that I use is to have centralized navigation in XML, > using Struts menu from sf.net. So the question is: in StrutsMenu, how do you highlight the currently selected menu item? Another question about StrutsMenu: is it possible to get a string

Re: Design Question regarding navigation menu

2002-12-09 Thread V. Cekvenich
I could not follow your question. A good practices that I use is to have centralized navigation in XML, using Struts menu from sf.net. .V Mark Conlin wrote: Design question regarding navigation menu. (I am using tiles) Suppose I have a navigation menu with several choices/sections, I would

Design Question regarding navigation menu

2002-12-09 Thread Mark Conlin
Design question regarding navigation menu. (I am using tiles) Suppose I have a navigation menu with several choices/sections, I would like to highlight the choice/section the user is currently in. Example: choice A, choice B, choice C Which is the proper approach? Create a separate menu

Design question/opinion: most of my web-pages will be forms?

2002-11-21 Thread Frederic Laub
Hi, I would like to have your opinion on following design I intend to implement in my web-pages: In all my pages I have a list of hidden fields. => Hidden fields must be part of a form. => For that reason I intend to make forms of all my web pages. The behavior of an action will depend on the va

Design question

2002-11-19 Thread Thomas Delnoij
Hi there. Given the following requirements for my web application: - An html form with ca. 200 input fields that requires both client- and serverside validation. - Users need to login to download the form. After logging in a session object is created. - Users need to be able to open the html pa

Re: stateful vs. stateless Actions / Struts design question

2002-08-30 Thread Craig R. McClanahan
On Fri, 30 Aug 2002, Heydtmann, Dirk wrote: > Date: Fri, 30 Aug 2002 12:48:55 -0500 > From: "Heydtmann, Dirk" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: stateful vs. stateless Actions /

stateful vs. stateless Actions / Struts design question

2002-08-30 Thread Heydtmann, Dirk
Hi, In our company we are thinking of extending the RequestProcessor and overriding processActionCreate(), in order to optionally (based on a custom ActionMapping property) store Actions on the session rather than sharing Action instances across sessions. This is to minimize impact to our existin

Re: Off-Topic: JMS Design Question...

2002-07-12 Thread Michael Rimov
At 09:14 AM 7/9/2002 -0700, you wrote: >Hello, > >We need to send XML messages (as well as other types of messages) back & >forth between two Application Servers. In other words, a Web Application >created by us will send a message to the application server of our >client and vice versa. Just

Re: Off-Topic: JMS Design Question...

2002-07-09 Thread Kevin . Bedell
To begin with, I'd recommend using a web service instead of just JMS. It's more reusable, has the ability for a variety of clients to access it and comes with fewer networking headaches. Plus they are especially good for sending XML. Given the fact that you are simply sending messages and getti

RE: Off-Topic: JMS Design Question...

2002-07-09 Thread Rathore, Pavan
Yes, Durable Subscriptions would be useful in that case. Pavan -Original Message- From: Ajay Chitre [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 9:15 AM To: [EMAIL PROTECTED] Subject: Off-Topic: JMS Design Question... Hello, This is kind of off-topic, so I apologize in

<    1   2   3   4   5   >