Re: Design Practice question. Should I use same Action class for different functions?

2009-07-21 Thread tsongwei
Hi Dave, Thanks for your reply. It makes perfect sense. I should revisit my action classes and do some refactoring Thanks, ST newton.dave wrote: > > > Personally I tend to use multiple actions, mostly to avoid having > unnecessary action properties. For me it's easier to deal with ma

Re: Design Practice question. Should I use same Action class for different functions?

2009-07-16 Thread Dave Newton
tsongwei wrote: This is a general design practice question. Say if I am designing User Account Management component that does the following: 1) User Profile info update -- updates firs name, last name, etc,... 2) Change password. -- do password verification, and change password 3) User Payment in

Re: Design Question

2009-01-07 Thread Musachy Barroso
Plugins are not that different than putting all those mappings, classes, etc in the webapp. The limitations would be the same as the S2 limitations (in theory at least). musachy On Tue, Jan 6, 2009 at 7:24 PM, Dan Daly wrote: > Hello, > > I am working on an application that needs different sets

Re: Design Question

2009-01-06 Thread Wes Wannemacher
Perhaps take a look at the OSGi plugin as well... It's in beta, but provides functionality such as deploying bundles of actions during runtime. http://cwiki.apache.org/S2PLUGINS/osgi-plugin.html -Wes On Tue, 2009-01-06 at 16:24 -0800, Dan Daly wrote: > Hello, > > I am working on an applicatio

Re: Design patterns, additional output in JSP if action wants so

2007-06-28 Thread Dave Newton
--- Anton Pussep <[EMAIL PROTECTED]> wrote: > I think that it is a bad solution to have a > parameter "displayForm" that is set by the action, > because the action should not know anything about > the View. It doesn't; it just knows if, based on some business or application logic, a flag is bein

Re: Design patterns for communicating between actions

2007-05-27 Thread Mansour
Yoni Amir wrote: Hello, I am working on my first struts application, and I was wondering about design patterns for communicating between actions. For example, I have actions A and B. A runs first and creates some data (e.g., You have few opions here, you can you action chaining: http://struts.

Re: Design patterns for communicating between actions

2007-05-27 Thread Yoni Amir
The latest struts 2, I think it's 2.0.6 ... and 'hely' was a typo for 'help', of course :) On 5/27/07, Mansour <[EMAIL PROTECTED]> wrote: Which version of struts are you using? Yoni Amir wrote: > Hello, > > I am working on my first struts application, and I was wondering about > design pattern

Re: Design patterns for communicating between actions

2007-05-27 Thread Mansour
Which version of struts are you using? Yoni Amir wrote: Hello, I am working on my first struts application, and I was wondering about design patterns for communicating between actions. For example, I have actions A and B. A runs first and creates some data (e.g., a session bean). When B runs,

RE: [DESIGN] struts dialog / wizard

2007-02-26 Thread Strachan, Paul
? Thanks, Paul -Original Message- From: Michael Jouravlev [mailto:[EMAIL PROTECTED] Sent: Tuesday, 27 February 2007 10:53 AM To: Struts Users Mailing List Subject: Re: [DESIGN] struts dialog / wizard On 2/25/07, Strachan, Paul <[EMAIL PROTECTED]> wrote: > Hi, > > I'

Re: [DESIGN] struts dialog / wizard

2007-02-26 Thread Michael Jouravlev
On 2/25/07, Strachan, Paul <[EMAIL PROTECTED]> wrote: Hi, I'm looking at implementing a struts wizard flow (of about 12 pages) into my struts-1.2.9 application. The struts dialogue project seems to be along the lines of what I need (pattern-wise). I have some extra quirements such as: 1. A p

Re: [DESIGN] struts dialog / wizard

2007-02-25 Thread Madhav Bhargava
You can also have a look at easy wizard http://superinterface.com/easywizard.htm ~madhav On 2/26/07, Tom Schneider <[EMAIL PROTECTED]> wrote: Mark Menard has done some work in this area for struts2: http://www.vitarara.org/cms/node/84 For webwork I implemented something similar called a model

Re: [DESIGN] struts dialog / wizard

2007-02-25 Thread Tom Schneider
Mark Menard has done some work in this area for struts2: http://www.vitarara.org/cms/node/84 For webwork I implemented something similar called a model repository. The problem that's being solved is that when the domain model reaches a certain complexity, using the null instantiation feature a

Re: [DESIGN] struts dialog / wizard

2007-02-25 Thread Paul Benedict
How often do people develop wizards with Struts? I have a custom form/action which allows me to do that. Perhaps I should think about putting it into Struts 1.4? Strachan, Paul wrote: Hi, I'm looking at implementing a struts wizard flow (of about 12 pages) into my struts-1.2.9 application.

RE: Design issue

2007-02-05 Thread Zhang, Larry \(L.\)
PM To: Struts Users Mailing List Subject: RE: Design issue Hi, I usually access my cached droplist data directly from the jsp - eg have placed a bean called "ReferenceDataCache" on application scope with getter methods. In jsp I can simply call: I also try to keep my struts

RE: Design issue

2007-02-05 Thread Zhang, Larry \(L.\)
I didn't see a case where (2) is better. Ideas from other folks? Thanks. -Original Message- From: Information Guzzler [mailto:[EMAIL PROTECTED] Sent: Friday, February 02, 2007 6:32 PM To: Struts Users Mailing List Subject: Re: Design issue Definitely (1) if you are strictly foll

RE: Design issue

2007-02-02 Thread Strachan, Paul
Hi, I usually access my cached droplist data directly from the jsp - eg have placed a bean called "ReferenceDataCache" on application scope with getter methods. In jsp I can simply call: I also try to keep my struts forms only containing properties for the http posted data. The co

Re: Design issue

2007-02-02 Thread Information Guzzler
Definitely (1) if you are strictly following MVC. Is there any specific scenario wherein (2) seems good to you? If there is then explore ways to force it thro' controller On 2/2/07, Zhang, Larry (L.) <[EMAIL PROTECTED]> wrote: Think about a typical struts app, and on the jsp there are text f

RE: Design within struts

2007-01-22 Thread Dave Newton
From: Thom Burnett [mailto:[EMAIL PROTECTED] > My question is, what's the recommended practice. Is it considered best > to keep different actions for each major purpose or to have one Action > (controller) sorting and dispatching incoming requests. There's already a mechanism in place for sorting

Re: Design within struts

2007-01-22 Thread Mikolaj Rydzewski
Thom Burnett wrote: My question is, what's the recommended practice. Is it considered best to keep different actions for each major purpose or to have one Action (controller) sorting and dispatching incoming requests. There is controller already ;-) ActionServlet is a controller which dispatches

Re: Design

2006-11-29 Thread Martin Gainty
or copying of it or its contents - Original Message - From: "David Pinho (Hexadecimal)" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, November 29, 2006 5:55 AM Subject: RE: Design Have you looked into Struts Menu? It has a declarative appr

RE: Design

2006-11-29 Thread David Pinho (Hexadecimal)
Have you looked into Struts Menu? It has a declarative approach where you can specify menus in xml but also a taglib that may allow you to build them dynamically. It's pretty nifty. Regarding the navigation, I'd stick with the first solution you pointed out. Using inheritance seems a bit overkill

RE: Design

2006-11-29 Thread Michel
Subject: Re: Design I would not implement a menu using Actions. You can use a CSS to define your menu. In my opinion using struts actions just to go from one url to the next is a bit overkill. tiles is also a good solution to the menu problem. On 11/29/06, Michel Van Asten <[EMAIL PROTECTED]>

Re: Design

2006-11-29 Thread Mark Bakker
I would not implement a menu using Actions. You can use a CSS to define your menu. In my opinion using struts actions just to go from one url to the next is a bit overkill. tiles is also a good solution to the menu problem. On 11/29/06, Michel Van Asten <[EMAIL PROTECTED]> wrote: Hi, We have to

Re: - Design Issue with Struts Validation

2006-05-16 Thread Angelo zerr
tag look at the "validate" attribute in the config? Scott Mulligan -Original Message- From: Angelo zerr [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 1:47 PM To: Struts Users Mailing List Subject: Re: - Design Issue with Struts Validation Hi, Me, I use DispatchAction, and

Re: - Design Issue with Struts Validation

2006-05-16 Thread Michael Jouravlev
On 5/16/06, Dave Newton <[EMAIL PROTECTED]> wrote: Remember the days when newsgroups had a daily or weekly FAQ posting? Whaddya think? We have wiki now. (I believe that wiki needs a bit of reorganization) * Any more or less important/frequent issues should be reflected in wiki. I believe tha

RE: - Design Issue with Struts Validation

2006-05-16 Thread Mulligan, Scott H
? Scott Mulligan -Original Message- From: Angelo zerr [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 1:47 PM To: Struts Users Mailing List Subject: Re: - Design Issue with Struts Validation Hi, Me, I use DispatchAction, and I prefer call validate in my action, inst

Re: - Design Issue with Struts Validation

2006-05-16 Thread Dave Newton
Chaudhary, Harsh wrote: > I would go with the declarative approach. It lends to more flexibility. > Not really. If I'm doing something the exact same way every time I'd much rather handle it by implementing a method (that you'd have to implement anyway) and not bother with a config file change

Re: - Design Issue with Struts Validation

2006-05-16 Thread C. Grobmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> If we are speaking of the real "FAQ" i can contribute ;-) Have some cool >> links of you guys here... > > Sounds like a Wiki to me :) There is a page for Struts FAQs (probably > more than one) already on the Wiki. Go to it, I'm certain everyone w

Re: - Design Issue with Struts Validation

2006-05-16 Thread Frank W. Zammetti
On Tue, May 16, 2006 3:19 pm, C. Grobmeier wrote: > Good idea. But i think Dave is speaking of a FAQ which is not just > summing up what happened this week on the struts list, but he is > speaking of a "real" FAQ, with the most important links (to the wiki) etc. > > If we are speaking of the real "

Re: - Design Issue with Struts Validation

2006-05-16 Thread C. Grobmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> Remember the days when newsgroups had a daily or weekly FAQ posting? >> >> Whaddya think? >> > > Not a bad idea, but someone would have to put it together each week. You > voluntering? :) It would work if you simply put it together and poste

RE: - Design Issue with Struts Validation

2006-05-16 Thread Chaudhary, Harsh
I would go with the declarative approach. It lends to more flexibility. Harsh. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 1:27 PM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: Re: - Design Issue with Struts

Re: - Design Issue with Struts Validation

2006-05-16 Thread Frank W. Zammetti
On Tue, May 16, 2006 2:02 pm, Dave Newton wrote: > Frank W. Zammetti wrote: >> Create two different mappings, one for the initial view (which has >> validate set to false), one for the submission (with validate set to >> true). >> > > Create a base action that has separate handlers for GET (initial

Re: - Design Issue with Struts Validation

2006-05-16 Thread Dave Newton
Frank W. Zammetti wrote: > Create two different mappings, one for the initial view (which has > validate set to false), one for the submission (with validate set to > true). > Create a base action that has separate handlers for GET (initial page hit) and POST (form submission). Remember the d

Re: - Design Issue with Struts Validation

2006-05-16 Thread Angelo zerr
Hi, Me, I use DispatchAction, and I prefer call validate in my action, instead of struts launch automaticaly validate (validate="true" in action). So in my struts-config, I have just one mapping for an action (I set validate="false"). After in my dispatchAction I design my DispatchAction with sev

Re: - Design Issue with Struts Validation

2006-05-16 Thread Frank W. Zammetti
Hi, Create two different mappings, one for the initial view (which has validate set to false), one for the submission (with validate set to true). Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EM

Re: [OT] Re: design question

2006-01-31 Thread fea jabi
thankyou, for all your valuable responces. From: Dave Newton <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: [OT] Re: design question Date: Tue, 31 Jan 2006 10:13:24 -0500 fea jabi wrote: > you have mentioned that &

Re: [OT] Re: design question

2006-01-31 Thread Dave Newton
fea jabi wrote: > you have mentioned that > > "You're going to have an object in memory no matter what" > > If we are using Resultset how/when is the Object getting created? I > was under the impression that it will get the data directly from the DB. Uh... a ResultSet is an object. >> You're going

Re: [OT] Re: design question

2006-01-31 Thread fea jabi
somewhere that if this approach is used then we'll be breaking the MVC architecture. any reference links for this? Thanks. From: Dave Newton <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: [OT] Re: design question D

RE: design question

2006-01-31 Thread Myatluk Andrey
ecords from a db and display them using displaytag: --- cut --- -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 7:29 PM To: user@struts.apache.org Subject: RE: design question can anyone help me understand this? Thanks. >From: "fea

Re: [OT] Re: design question

2006-01-30 Thread Dave Newton
fea jabi wrote: > But as I mentioned earliar I am creating an object which I am planning > to instanciate for each row of data. When I told about this to my team > they were concerned about the objects being in memory and advised to > use the resultset directly. In the sessionbean probably we can c

RE: [OT] Re: design question

2006-01-30 Thread fea jabi
t; Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: [OT] Re: design question Date: Mon, 30 Jan 2006 11:42:10 -0500 fea jabi wrote: > can anyone help me understand this? Don't know. >> I am creating instances of this Object and making a List which

RE: [OT] Re: design question

2006-01-30 Thread George.Dinwiddie
Dave Newton replied: > In general, I have pretty strong feelings against using "raw" > ResultSets despite the overhead of copying data... anything > other than raw JDBC will see the same behavior whether it's a > full ORM or something as simple as a RowSetDynaClass (from > Jakarta BeanUtils).

[OT] Re: design question

2006-01-30 Thread Dave Newton
fea jabi wrote: > can anyone help me understand this? Don't know. >> I am creating instances of this Object and making a List which is >> getting displayed in the JSP. >> >> I was told that instead of creating Object and creating instances, >> one can directly use the result set got from the DB an

RE: design question

2006-01-30 Thread fea jabi
can anyone help me understand this? Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: design question Date: Fri, 27 Jan 2006 11:40:20 -0500 For all the tables in the JSP, I am using displaytag. For each row in the table I

Re: design question --- struts & displaytag

2005-12-01 Thread fea jabi
thankyou for your responses. From: Dave Newton <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: design question --- struts & displaytag Date: Thu, 01 Dec 2005 09:44:38 -0500 fea jabi wrote: can someone help me with

Re: design question --- struts & displaytag

2005-12-01 Thread Dave Newton
fea jabi wrote: can someone help me with this please? What are you doing this for? In other words, is this for your job, school work, etc.? For displaytag questions you'll want to look at the displaytag docs or utilize their mailing list. Dave -

Re: design question --- struts & displaytag

2005-12-01 Thread Matt Morton
You will place the name of the properties asscoiated with hrs bean, So if it has a property called name then place "name" in there. You can also break open the tag a bit and use the follwing syntax ${hrs.name} Then you can manipulate the value like you want. This is off the top of my head so do

RE: design question --- struts & displaytag

2005-12-01 Thread fea jabi
can someone help me with this please? Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: design question --- struts & displaytag Date: Wed, 30 Nov 2005 16:02:26 -0500 Have a table as below -- will be using displaytag for thi

Re: Design question

2005-07-22 Thread Ed Griebel
Hi Daniel- The idea of a "smart bean" which knows how to render itself is a pretty cool idea, and it's a clean idea conceptually. But, I think the Struts framework and struts jsp tags removes a lot of the hassle because of what it gives you out of the box. I've been faced with the same situation,

Re: Design question

2005-07-22 Thread BHansard
. But it is likely you would want to do that anyway to insure the look and feel of each page. Daniel Łaś <[EMAIL PROTECTED]> Daniel Łaś <[EMAIL PROTECTED]> 07/22/2005 10:07 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc

Re: Design question

2005-07-22 Thread Daniel Łaś
Well, I thing about something else. If UserView bean can generate HTML form fields dependig on User attributes, one for adding, another one for editing I could only change my User bean (model) and my view layer will work without change. I think that it is possible to write action that will wor

Re: Design question

2005-07-22 Thread BHansard
I think you are re-inventing something here. To do what you are wanting is already in struts to some degree. you have your User Bean, You define an formbean which either contains UserBean or contains fields that match UserBean on your jsp page you create something like This

Re: Design problem

2005-05-21 Thread Dakota Jack
> if ("show".equals(action)) > >// check employeId is set > > else if ("update".equals(action)) > >// check employee datas > > > > > > Nico. > > > > Gaet a écrit : > > > > >Thanks nicolas, > > > > > >I know the

Re: Design problem

2005-05-21 Thread Erik Weber
t;/showEmployeeDetail" and "/updateEmployeeDetail" will know the method to execute in my dispatch action? Thank you very much! - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesda

Re: Design problem

2005-05-21 Thread K Rajesh
// check employee datas > > > Nico. > > Gaet a écrit : > > >Thanks nicolas, > > > >I know the dispatch action but I don't see how to use it with 2 mappings: > >how the mappings "/showEmployeeDetail" and "/updateEmployeeDetail" wi

Re: Design question

2005-03-30 Thread Rajesh Thiharie
1. In a single form you would have the button as a parameter. This is better because you will need to develop a single Action and write a switch-case for the buttons (parameter(s) per tab). 2. For separate actions you would not need to bother with parameters because each button is mapped to a s

Re: Design problem

2005-03-09 Thread Gaet
That's exactly my problem now Rick! I will have a look ! Thanks! - Original Message - From: "Rick Reumann" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 09, 2005 6:01 PM Subject: Re: Design problem > Gaet wrote the follo

Re: Design problem

2005-03-09 Thread Rick Reumann
Gaet wrote the following on 3/9/2005 11:04 AM: I have defined the /EmployeeDetail action-mapping with validate equal to false to be able to display the employee detail page without any checkbut if the user made any changes on the employee information in the detailled page, the same action is ca

Re: Design problem

2005-03-09 Thread Nicolas De Loof
of EmployeeDetail.jsp like this : Like this I don't need to change my actual Action class... Is it well-designed like this? Thanks - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 09, 2

Re: Design problem

2005-03-09 Thread Nicolas De Loof
- Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 09, 2005 5:09 PM Subject: Re: Design problem You should define 2 mappings for detail : a "/showEmployeeDetail" without validation (or a u

Re: Design problem

2005-03-09 Thread Gaet
hanks - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 09, 2005 5:09 PM Subject: Re: Design problem > > You should define 2 mappings for detail : > > a "/showEmployeeDetail&

Re: Design problem

2005-03-09 Thread Gaet
"Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 09, 2005 5:09 PM Subject: Re: Design problem > > You should define 2 mappings for detail : > > a "/showEmployeeDetail" without validation (or a uniqu

Re: Design problem

2005-03-09 Thread Woodchuck
another alternative, if you want to keep your action definition the same (ie. not define any new action) set your action validate to "true" in struts-config.xml define a hidden input value on your form update this value when the save/update button is clicked (simple javascript) in your action f

Re: Design problem

2005-03-09 Thread Nicolas De Loof
You should define 2 mappings for detail : a "/showEmployeeDetail" without validation (or a unique rule employeeId required) a "/updateEmployeeDetail" with validation. Your action can be a dispatch action if you don't want to have 2 classes. Nico. Gaet a écrit : Hi, I have page with a list of empl

RE: Design pattern for struts.

2005-02-15 Thread Barnett, Brian W.
Struts itself is an example of the Service to Worker Pattern, which is a macro pattern using a combination of a controller and dispatcher with views and helpers. -Original Message- From: Sandip Khetle [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 12:25 AM To: user@struts.apac

RE: Design patterns used in Struts

2004-08-30 Thread Matthias Wessendorf
> 1. Implementation of the MVC2 Paradigma. > 2. Front Controller > 3. View Dispatcher > 4. Service To Worker. > 5. Not complete: Inversion of Control > > I think thats all ;-)) yes, think so too. but Antony, if you use Tiles, then you have "CompositeView"-Pattern too. look at: http://www.corej2e

Re: Design patterns used in Struts

2004-08-30 Thread Manfred Wolff
Antony. 1. Implementation of the MVC2 Paradigma. 2. Front Controller 3. View Dispatcher 4. Service To Worker. 5. Not complete: Inversion of Control I think thats all ;-)) Manfred Antony Paul wrote: Hi all, Can anyone tell me what are the design patterns used in Struts framework. rgds Antony Paul

Re: Design patterns used in Struts

2004-08-30 Thread hutuworm
Isn't it an implementation of MVC? On Mon, 30 Aug 2004 13:43:02 +0530, Antony Paul <[EMAIL PROTECTED]> wrote: > Hi all, > Can anyone tell me what are the design patterns used in Struts > framework. > > rgds > Antony Paul > > ---

RE: Design Problem

2004-07-08 Thread Viral_Thakkar
What your putting in Application resources file..??? If u r displaying error messages then use in model. -Original Message- From: nikhil walvekar [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 4:29 PM To: Struts Users Mailing List Subject: Re: Design Problem Hi, Now my

Re: Design Problem

2004-07-08 Thread nikhil walvekar
Hi, Now my problem is that how to generate contents from Application resources in model , i am using two resources, one with default key and other with "abc" as bundle name. Messages are there in resource with "abc" as resource key. Nikhil Navjot Singh <[EMAIL PROTECTED]> wrote: nikhil wa

Re: Design Problem

2004-07-08 Thread Navjot Singh
nikhil walvekar wrote: hi all, I have got one problem in design i.e. i am not getting where should i place this part in my project. I have function to send mails, whom to send depends on some conditions, but my requirement is that message contents are taken from resources. So should it be Mo

Re: design security issue

2004-06-09 Thread Harjot Narula
Sent: Wednesday, June 09, 2004 5:22 AM Subject: RE: design security issue > Well, you could do something as simple as setting a session attribute every > time an Action is called that stores what page was accessed, but before > doing that you check what value is there already and if i

RE: design security issue

2004-06-08 Thread Sun Peng
JSP? Cai Peng -Original Message- From: Zhang, Larry (L.) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 6:15 AM To: Struts Users Mailing List Subject: RE: design security issue Thank you Frank and Yuanbo, for the points. Our application is set up in SSL and password

RE: design security issue

2004-06-08 Thread Frank Zammetti
nd bypass that little check in the Actions. Frank From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: design security issue Date: Tue

RE: design security issue

2004-06-08 Thread Zhang, Larry \(L.\)
one manage has a lot of employees so I want to make sure the data is not somehow messed up. Thanks. -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 5:41 PM To: [EMAIL PROTECTED] Subject: RE: design security issue Excellent point, thanks for

RE: design security issue

2004-06-08 Thread Frank Zammetti
Excellent point, thanks for adding it! Frank From: "Wang, Yuanbo" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: design security issue Date: Tue, 8 Jun

RE: design security issue

2004-06-08 Thread Wang, Yuanbo
One comment. Make sure your ActionServlet intercepts all URL patterns so any HTTP request need to get session validated first. Yuanbo -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 3:34 PM To: [EMAIL PROTECTED] Subject: RE: design security

RE: design security issue

2004-06-08 Thread Frank Zammetti
To really do security properly, you really should externalize it using a product like Netegrity's SiteMinder. That would be my first suggestion, but there is considerable cost in something like that, so it's not right for everyone or every situation. So, you can do some more minor things withi

RE: Design Issue - Unchanged data getting submitted

2004-05-24 Thread Prasad, Kamakshya
esday, May 25, 2004 3:09 PM To: 'Struts Users Mailing List' Cc: 'Dhanesh Vasandani' Subject: RE: Design Issue - Unchanged data getting submitted Hi, Update record problem: I assume that you have a Header record and multiple child records for this header. To ensure that only t

RE: Design Issue - Unchanged data getting submitted

2004-05-24 Thread Milind Kulkarni
Hi, Update record problem: I assume that you have a Header record and multiple child records for this header. To ensure that only the changed records are saved you will have to mark them as "Changed" from the UI. And pass only the changed ones to Business Layer so that only changed ones are saved

RE: Design Issue - Unchanged data getting submitted

2004-05-24 Thread Robert Taylor
I assume your using BMP for persistence. If so, then you could implement a Store Optimization (Dirty Marker) Strategy which would control which fields get updated. For CMP, the container should manage this. For more on this strategy: http://java.sun.com/blueprints/corej2eepatterns/Patterns/Compos

RE: Design Issue/Question

2004-05-12 Thread nils . mueller
Hi Brad, I've used the iframe solution on a project, as well. It worked for me. However, I think there are some drawbacks. You loose visual control over what's going on in the hidden iframe. I loaded .jsp into the iframe that wouldn't even compile and didn't notice, because I didn't see the com

Re: Design Issue/Question

2004-05-12 Thread Brad Balmer
D] Sent: 12 May 2004 14:49 To: 'Struts Users Mailing List' Subject: RE: Design Issue/Question We use this solutions quite a bit... in fact we have the form in a hidden iframe which the user does not see but appears for developers for debbuging purposes.. when the action completes javascrip

RE: Design Issue/Question

2004-05-12 Thread Daniel Perry
The way i've done it, i have an iframe with 0 width/height, and load a url into it. e.g. iframe1.location='additem.do?code=item1'; Daniel. -Original Message- From: Nimmons, Buster [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 14:49 To: 'Struts Users Mailing List'

RE: Design Issue/Question

2004-05-12 Thread Nimmons, Buster
selection was saved (or not in case of error) this has worked extremely well for us -Original Message- From: Brad Balmer [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 8:47 AM To: Struts Users Mailing List Subject: Re: Design Issue/Question So I would create a frame on my page that

Re: Design Issue/Question

2004-05-12 Thread Brad Balmer
So I would create a frame on my page that has a form with the action that I need to call? Then my javascript (onclick) would just reference the new frame and call the submit on the frame? Is this correct? If so, by submitting the frame there would be no perceived effect on the page that the c

RE: Design Issue/Question

2004-05-12 Thread wojingo
Hi, On Wed, 2004-05-12 at 22:37, Daniel Perry wrote: > I've done similar things before. > Use javascript to open an action to add it to the database. This can be in > a new window, in another frame, or in a hidden iframe! I'm pretty sure you could do it using divs aswell, the dynapi(a cross plat

RE: Design Issue/Question

2004-05-12 Thread Daniel Perry
I've done similar things before. Use javascript to open an action to add it to the database. This can be in a new window, in another frame, or in a hidden iframe! Daniel. -Original Message- From: Brad Balmer [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 13:46 To: Struts Users Mailing List

Re: Design Question - Struts for Generic Applications

2004-04-22 Thread Joe Germuska
It might be worth having a look at the struts-bsf library at http://struts.sourceforge.net/ It would allow rapid development using scripting languages to write actions while still providing a more future-proof "interface" between your view and your controller. That is, the JSPs wouldn't have t

RE: Design Question

2004-04-05 Thread Erez Efrati
8:42 AM To: Struts Users Mailing List Subject: Re: Design Question Erez Efrati wrote: >Hi, > >I am developing an EJB/Struts J2EE application. >Up to now I have dealt with the design of the customer web application >side >and I came to the admin area - the back office we

Re: Design Question

2004-04-04 Thread Craig R. McClanahan
Erez Efrati wrote: Hi, I am developing an EJB/Struts J2EE application. Up to now I have dealt with the design of the customer web application side and I came to the admin area - the back office web application part. I should also point out that I am using the securityFilter filter for authent

RE: Design Question

2004-04-02 Thread Erez Efrati
alf Of Bill Siggelkow Sent: Friday, April 02, 2004 7:33 AM To: [EMAIL PROTECTED] Subject: Re: Design Question Erez, it depends a lot on the use cases. If the admin integration to the customer app is all at the back-end (database) then I think you should try the separate web app approach. The

Re: Design Question

2004-04-01 Thread Bill Siggelkow
Erez, it depends a lot on the use cases. If the admin integration to the customer app is all at the back-end (database) then I think you should try the separate web app approach. The separate web app will most easily address the security issues. If however, the admin app will be using substa