Off-Topic: JMS Design Question...

2002-07-09 Thread Ajay Chitre
Hello, This is kind of off-topic, so I apologize in advance. We do have some J2EE gurus on this mailing list so I decided to ask it here. (Is there any other *active* mailing list where I can post JMS related questions?) Anyway, I need some help to develop a JMS based solution. Here's what w

Design question Permission check in struts action

2002-06-28 Thread Dirk Storck
I have the following system: I have a LoginDataForm called loginDataBean in my seesion wich contains username, password and roles the user have. Than I have some actions accessing EJB through helper classes. For example I have a action /order/detail/show. If that action is called by a normal user

Re: Design question Struts -> EJB.

2002-06-26 Thread Kevin . Bedell
; <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kevin Bedell/Systems/USHO/SunLife) Subject: Design question Struts -> EJB. I was really looking forward to read the chapter in the book on review at theserverside.com on Struts and EJBs. We are currently implementing a

Design question Struts -> EJB.

2002-06-26 Thread bryan hansen
I was really looking forward to read the chapter in the book on review at theserverside.com on Struts and EJBs. We are currently implementing a system and are going to use struts for the web framework and ejbs for the model. The java blueprints return an Event from the would be action class for co

Subclass Actions vs Request processor? - Design Question

2002-06-18 Thread Jeff_Mychasiw
I would like some clarification, Here is what I think I understand With pre 1.1, if you wanted to perform a task for every action/page your choices were to override the Action servlet or subclass the Action and define an abstract myPerform() method. The parent class would perform common fun

RE: Re[2]: Database access design question

2002-06-10 Thread wbchmura
... -Original Message- From: craigmcc [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 3:05 PM To: struts-user Cc: maillist Subject: RE: Re[2]: Database access design question On Mon, 10 Jun 2002 [EMAIL PROTECTED] wrote: > Date: Mon, 10 Jun 2002 13:35:33 -0400 > From: [EMAIL PRO

RE: Re[2]: Database access design question

2002-06-10 Thread Craig R. McClanahan
On Mon, 10 Jun 2002 [EMAIL PROTECTED] wrote: > Date: Mon, 10 Jun 2002 13:35:33 -0400 > From: [EMAIL PROTECTED] > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: RE: Re[2]: Database access design question >

RE: Database access design question

2002-06-10 Thread wbchmura
} return (list); } -Original Message- From: jakarta.rainer [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 11:47 AM To: struts-user Subject: Re: Database access design question Sorry but I am in another galaxy as you guys are. My problems are not that complex

RE: Re[2]: Database access design question

2002-06-10 Thread wbchmura
oller acts correctly. My head hurts sometimes, but the voices tell me it will be okay... -Original Message- From: maillist [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 10:29 AM To: struts-user Subject: Re[2]: Database access design question On Monday, June 10, 2002, 10:13:

Re: Database access design question

2002-06-10 Thread Ted Husted
t; > thanks 1000 times for a hint! > > Rainer > > - Original Message - > From: "Jerry Jalenak" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Sent: Monday, June 10, 2002 3:17 PM > Subject: R

Re: Database access design question

2002-06-10 Thread rainer juenger
like pageContext, sessions or what so ever. There must be a way! thanks 1000 times for a hint! Rainer - Original Message - From: "Jerry Jalenak" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, June 10, 2002 3:17

Re[2]: Database access design question

2002-06-10 Thread Rick Reumann
On Monday, June 10, 2002, 10:13:34 AM, wbchmura wrote: wEBc> I took a quick look at the yahoo site - and will pursue that further, wEBc> but can you recommend any write-ups anywhere on this? I just went through the same struggles you are going through. Robert wrote up a great post t

RE: Database access design question

2002-06-10 Thread Robert Taylor
PROTECTED]] > Sent: Monday, June 10, 2002 10:14 AM > To: [EMAIL PROTECTED] > Subject: RE: Database access design question > > > > Thanks for the feedback on that one. No matter how I sliced that one I > always had some kind of problem with how I was seperating everything

RE: Database access design question

2002-06-10 Thread wbchmura
design question It sounds like your DAO is really a business object and your db object follows the DAO design pattern. I think you have the right concept though. You may want to check out http://groups.yahoo.com/group/model_struts/. It is dedicated to discussing the model layer using Struts

RE: Database access design question

2002-06-10 Thread Robert Taylor
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 10, 2002 9:39 AM > To: [EMAIL PROTECTED] > Subject: RE: Database access design question > > > > I did something and I have been wondering if it is right... So this may >

RE: Database access design question

2002-06-10 Thread wbchmura
: struts-user Subject: Re: Database access design question I want to accesss the database from a business logic bean that should not emplement *.servelet.* classes. But how can I then initialize the DataSource? like: dataSource = servlet.findDataSource(null); ?? Thanks Rainer > What exactly is y

RE: Database access design question

2002-06-10 Thread Jerry Jalenak
o: Struts Users Mailing List Subject: RE: Database access design question 1. Do not use the session bean to access the datasource... create a data access object which locates the datasource. 2. Lookup the datasource using a jndi name not a servlet. Register your datasource with the jndi server. (D

Re: Database access design question

2002-06-10 Thread rainer juenger
t; HTH > Vikram > > > -Original Message- > From: rainer juenger [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 10, 2002 2:04 PM > To: Struts Users Mailing List > Subject: Re: Database access design question > > > I want to accesss the database from a business l

RE: Database access design question

2002-06-10 Thread Vikram Goyal01
design question I want to accesss the database from a business logic bean that should not emplement *.servelet.* classes. But how can I then initialize the DataSource? like: dataSource = servlet.findDataSource(null); ?? Thanks Rainer > What exactly is your question? > The samples given with

Re: Database access design question

2002-06-10 Thread rainer juenger
do not necessarily following the best practices, they are more like proof of concepts than anything else. > > Rgs > Vikram > > -Original Message- > From: rainer juenger [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 10, 2002 1:45 PM > To: Struts Users Mailing List >

RE: Database access design question

2002-06-10 Thread Vikram Goyal01
: Struts Users Mailing List Subject: Database access design question Hi, I am using the Struts Database pooling. My database connection is realised after the sample in the Struts User's Guide. http://jakarta.apache.org/struts/userGuide/building_model.html#databases But I think the sample is

Database access design question

2002-06-10 Thread rainer juenger
Hi, I am using the Struts Database pooling. My database connection is realised after the sample in the Struts User's Guide. http://jakarta.apache.org/struts/userGuide/building_model.html#databases But I think the sample is very contradicting. In chapter 2.5 Business Logic Beans is said: "For maxi

Re: Struts Design question

2002-06-06 Thread Mark Nichols
From: "Yaman Kumar" <[EMAIL PROTECTED]> > I have a AformBean in A.jsp and the page action is actionA, actionA > processed > all AfromBean values and got some dynamic data from Database,Now i > would like to keep this data in BFormBean and the actionA forwards the > output to B.jsp how to keep th

Struts Design question

2002-06-05 Thread Yaman Kumar
Hi, I have a design question of struts implementation in my application, I have a AformBean in A.jsp and the page action is actionA, actionA processed all AfromBean values and got some dynamic data from Database,Now i would like to keep this data in BFormBean and the actionA forwards the output

Re: Struts + Tiles: Design Question

2002-05-27 Thread Cedric Dumoulin
y-Tile. Even then I am forced to >use JavaScript to indicate >which< of the buttons in the Nav-Tile was pressed. > > Could you elaborate on >how< you workaround it? > > Sri > > -Original Message- > From: Trieu, Danny [mailto:[EMAIL PROTECTED]] >

RE: Struts + Tiles: Design Question

2002-05-24 Thread Trieu, Danny
dify this hidden field before submittion. > -Original Message- > From: Sri Sankaran [SMTP:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 9:37 AM > To: 'Struts Users Mailing List' > Subject: RE: Struts + Tiles: Design Question > > > I am unable to use a commo

RE: Struts + Tiles: Design Question

2002-05-24 Thread Sri Sankaran
round it? Sri -Original Message- From: Trieu, Danny [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 11:33 AM To: 'Struts Users Mailing List' Subject: RE: Struts + Tiles: Design Question Cedric, You are right on the point. I been using this strategies over and over again t

RE: Struts + Tiles: Design Question

2002-05-24 Thread Trieu, Danny
sers Mailing List > Subject: Re: Struts + Tiles: Design Question > > > > There is several strategies. > Are you sure that you need one single form for navigation and body ? > >* If navigation and body aren't related, you can put several forms, &g

Re: Struts + Tiles: Design Question

2002-05-24 Thread Cedric Dumoulin
There is several strategies. Are you sure that you need one single form for navigation and body ? * If navigation and body aren't related, you can put several forms, only one will be selected by browser when submitting. * If navigation and body are related, you need a common anc

RE: Struts + Tiles: Design Question

2002-05-22 Thread Sri Sankaran
ated pages are modified as well. Thanks Sri -Original Message- From: Graham Lounder [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 2:07 PM To: Struts Users Mailing List Subject: Re: Struts + Tiles: Design Question Just a quick suggestion. Couldn't you use javascript in

Re: Struts + Tiles: Design Question

2002-05-22 Thread Graham Lounder
esday, May 22, 2002 2:53 PM Subject: Struts + Tiles: Design Question > Struts version: 1.0.2 > Servlet engine: Tomcat 4.0.2 > > I am trying to build a wizard framework using Tiles. It follows the standard Windows wizard metaphor with a body panel and navigation buttons below. I am ru

Struts + Tiles: Design Question

2002-05-22 Thread Sri Sankaran
Struts version: 1.0.2 Servlet engine: Tomcat 4.0.2 I am trying to build a wizard framework using Tiles. It follows the standard Windows wizard metaphor with a body panel and navigation buttons below. I am running into a problem and would like any opinions/suggestions. A logical use of Tiles

Struts Tag Design Question

2002-05-17 Thread Galbreath, Mark
And I simply overlooking a parameter of a particular tag, or is there no way to test a boolean "isXxxx" method with a Struts tag? Is the the best we have (due to the reliance upon beans)? Mark

RE: Design question on roles and tasks

2002-05-13 Thread Jon.Ridgway
an action-mapping so that only users in the given role can access the action. Never used this feature so I'm not sure what happens if the user is not in the role. Jon Ridgway -Original Message- From: Chong Oh [mailto:[EMAIL PROTECTED]] Sent: 08 May 2002 21:10 To: 'Struts Users

Re: Design question

2002-04-30 Thread Will Spies/Towers Perrin
s/Towers Perrin) ife.com Subject: Re:

Re: Design question

2002-04-30 Thread Kevin . Bedell
e or something. "Will Spies/Towers Perrin" <[EMAIL PROTECTED]> on 04/29/2002 04:08:04 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc:(bcc: Kevin Bedell/Systems

RE: Design question

2002-04-29 Thread Amir Nashat
is. It's quite a lengthy and enlightening thread. JM > -Original Message- > From: Will Spies/Towers Perrin [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 29, 2002 4:08 PM > To: Struts Users Mailing List > Subject: Re: Design question > > > > > Good idea

RE: Design question

2002-04-29 Thread James Mitchell
, 2002 4:08 PM > To: Struts Users Mailing List > Subject: Re: Design question > > > > > Good idea but the other problem is your web server doesn't mix with > non-Struts applications. I was kinda hoping for a struts only solution. > Thanks for the idea though! > &g

Re: Design question

2002-04-29 Thread Will Spies/Towers Perrin
To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Kevin.Bedell@sunlcc: (bcc: Will Spies/Towers Perrin) ife.com Subject:

Re: Design question

2002-04-29 Thread Kevin . Bedell
uot; <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc:(bcc: Kevin Bedell/Systems/USHO/SunLife) Subject: Design question In my opinion, most ( if not all ) links should be Action URIs. What I mean is, struts views should not post to urls wh

Design question

2002-04-29 Thread Will Spies/Towers Perrin
In my opinion, most ( if not all ) links should be Action URIs. What I mean is, struts views should not post to urls which are JSP struts views. Rather, valid URLs that are posted to ( or even referenced in ) should always be controllers. For those who agree with this philosophy, can you give m

Re: Presentation Layer Design Question

2002-04-16 Thread @Basebeans.com
Subject: Re: Presentation Layer Design Question From: Vic Cekvenich <[EMAIL PROTECTED]> === Can't speak for Craig, but the Beans give me a way to isolate the DB layer. I use CachedRowSet to hold Result and have meta data at any time. It is one step and does not do mapping. Since t

Presentation Layer Design Question

2002-04-16 Thread Adolfo Miguelez
Hi All, I am wondering about a design issue since I can not figure out why Craig implemented in that way. Any light or opinion would be appreciated. The point is that usually, AFAIK, results from database queries are planned to be stored in ArrayLists of beans. This ArrayList of beans is sent

Re: Struts design question re: form action

2002-04-13 Thread Craig R. McClanahan
On Sat, 13 Apr 2002, Wellie W. Chao wrote: > Date: Sat, 13 Apr 2002 10:57:29 -0400 > From: Wellie W. Chao <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Struts design

Struts design question re: form action

2002-04-13 Thread Wellie W. Chao
I'm just curious about a design issue with Struts 1.1. The tag has a "forward" attribute that lets you specify an entry from struts-config.xml as the destination of the link. That way you aren't tied to a particular action or a particular JSP/HTML page. Why isn't there a similar attribute for ? Y

Re: Nested Beans and Design Question

2002-04-09 Thread @Basebeans.com
Subject: Re: Nested Beans and Design Question From: Vic Cekvenich <[EMAIL PROTECTED]> === #3. I am not sure arrays are best (then again they might be). Why just not retrieve a list of topics for the course, and click on a topic and retrieve a list of "assets", etc? Vic M

Nested Beans and Design Question

2002-04-09 Thread @Basebeans.com
Subject: Nested Beans and Design Question From: Matt Raible <[EMAIL PROTECTED]> === I have the following structure in my application CourseForm -- TopicForm -- PageForm -- AssetForm Where a CourseForm has an ArrayList of TopicForms, TopicForm has an ArrayL

Design question - action mappings

2002-04-09 Thread jfc100
Hi, I am new to struts and am busy reading the various articles and tutorials and have a question regarding relationship between action mappings and request/session scopes. Should an ActionMapping (i.e. a mapping defined in struts-config.xml) have a one-to-one relationship with a request or s

Re: Struts and Client Side JavaScript Design Question

2002-03-28 Thread Ted Husted
Managing JavaScripts in a Struts application is not much different than managing it any Java application, so everything you've already read should apply. One trick is to use the html:rewrite tag to resolve the address to JavaScripts and other HTML assets, so that the path does not have to be emb

Struts and Client Side JavaScript Design Question

2002-03-25 Thread Jeff_Mychasiw
Greetings. We are in the early planning stages of a rather large Java/jsp application that if I have my way will use struts. There will be a requirement for some "convenience" features that will need to be in javascript. I understand the pros's and con's of javascript and this will for

RE: design question

2002-03-05 Thread Callas, Jeff P.
ailing List Subject: Re: design question A third option people have mentioned is to serialize the form-bean as a single hidden field. As part of validate, you can repopulate any null fields. Never actually tried this one myself, but it seems clever. -- Ted Husted, Husted dot Com, Fairport NY US --

RE: design question

2002-03-05 Thread Ronald Haring
this looks very nice indeed. I will look into this some more. Thx Ted Gr Ronald > At this point, I rarely write custom Actions any more. Now I > try to use > a framework action to handle all the usual action-stuff, and > pass it the > name of a business bean to invoke as part of the > Action

Re: design question

2002-03-05 Thread Ted Husted
At this point, I rarely write custom Actions any more. Now I try to use a framework action to handle all the usual action-stuff, and pass it the name of a business bean to invoke as part of the ActionMapping. At this point, I'm creating moderately complex application using only the stock actions i

Re: design question

2002-03-05 Thread Ted Husted
A third option people have mentioned is to serialize the form-bean as a single hidden field. As part of validate, you can repopulate any null fields. Never actually tried this one myself, but it seems clever. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications wit

RE: design question

2002-03-05 Thread Ronald Haring
> You have to keep the data in the session or write it to the > database. (Storing > it on each form as hidden fields seems too fiddly to me). > Unless you have huge volumes I actually prefer to save it on > the database & > have a status field that indicates the data is incomplete. that is tru

RE: design question

2002-03-05 Thread Ronald Haring
age- > From: Eddie Bush [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 05, 2002 3:47 PM > To: Struts Users Mailing List > Subject: Re: design question > > > There's really no reason not to keep the data in the session. > The session > is server-side and is not

Re: design question

2002-03-05 Thread Eddie Bush
ree to voice it. HTH, Eddie - Original Message - From: "Ronald Haring" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, March 05, 2002 7:07 AM Subject: RE: design question > Ah yes, > that is a

RE: design question

2002-03-05 Thread keithBacon
You have to keep the data in the session or write it to the database. (Storing it on each form as hidden fields seems too fiddly to me). Unless you have huge volumes I actually prefer to save it on the database & have a status field that indicates the data is incomplete. --- Ronald Haring <[EMAIL

RE: design question

2002-03-05 Thread Ronald Haring
Ah yes, that is a solution. But then you have to keep the general data in session indeed, which I never feel to comfortable about. But thx for the pointer. Gr Ronald > i see > I am looking to build something similar and I am thinking of > managing this > through the action mappings. > I am hop

RE: design question

2002-03-05 Thread Lister, Tom (ANTS)
ginal Message- From: Ronald Haring [mailto:[EMAIL PROTECTED]] Sent: 05 March 2002 12:51 To: 'Struts Users Mailing List' Subject: RE: design question > If key tasks needs to be completed in each Action's perform() > method, a good > approach is to create a new abstract method

RE: design question

2002-03-05 Thread Ronald Haring
> If key tasks needs to be completed in each Action's perform() > method, a good > approach is to create a new abstract methods for your > subclasses to use in > lieu of perform(). The base Action class does its business, > and if all is > well, then returns the result of the new method. This a

RE: design question

2002-03-05 Thread Lister, Tom (ANTS)
ything is kosher call subclass return ( performAction(mapping,form,request,response, myParameter ) ) } where performAction is an abstract method of the base class. ..." -Original Message- From: Ronald Haring [mailto:[EMAIL PROTECTED]] Sent: 05 March 2002 12:15 To: '[EMAIL P

design question

2002-03-05 Thread Ronald Haring
Hi all, I've studied the design paper that Ted has put up at his site (http://husted.com/about/scaffolding/strutByStrut.htm) . Very clear explanation Ted, it only left me with one question. In your paper you state that every form should have its own action. However for my last project (and my fir

Re: Struts design question about maintenance screens

2002-02-22 Thread Ted Husted
The standard DispatchAction can be a handy way to keep various tasks together in the same Action, where they can share code, but without getting into kludgy performs. Dispatch lets you have a separate perform for each task, but all in the same Action, where they can be easier to maintain. http:/

RE: Struts design question about maintenance screens

2002-02-21 Thread Jakkampudi, ChandraseKhar
iling List Cc: [EMAIL PROTECTED] Subject: RE: Struts design question about maintenance screens Wow! Great reply. I am saving this one. thanks, Theron "Emaho, Ghoot" ICS.co.

RE: Struts design question about maintenance screens

2002-02-21 Thread theron . kousek
Ghoot" ICS.co.uk> cc: Subject: RE: Struts design question about maintenance screens 02/2

RE: Struts design question about maintenance screens

2002-02-21 Thread Emaho, Ghoot
-Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 21 February 2002 17:10 > To: Struts Users Mailing List > Subject: Struts design question about maintenance screens > > > > Hi Folks: > > thanks to your help, you indicated that

RE: Struts design question about maintenance screens

2002-02-21 Thread theron . kousek
ot;Chappell, Simon P" dsend.com> cc: Subject:

RE: Struts design question about maintenance screens

2002-02-21 Thread Chappell, Simon P
' End, Inc. (608) 935-4526 >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Thursday, February 21, 2002 11:10 AM >To: Struts Users Mailing List >Subject: Struts design question about maintenance screens > >

RE: Struts design question about maintenance screens

2002-02-21 Thread Jakkampudi, ChandraseKhar
, 2002 11:10 AM To: Struts Users Mailing List Subject: Struts design question about maintenance screens Hi Folks: thanks to your help, you indicated that the Action should preload form values on a maintenance form. This works great. I have an Action object that allows maintenance on a table

Struts design question about maintenance screens

2002-02-21 Thread theron . kousek
Hi Folks: thanks to your help, you indicated that the Action should preload form values on a maintenance form. This works great. I have an Action object that allows maintenance on a table (call it table A). This action object handles "preloading of data" as well as the actual "updating of d

Re: Design question about ActionForm's validate method

2002-02-08 Thread Jonathan Gibbons
iling List <[EMAIL PROTECTED]> cc: Subject: Re: Design question about ActionForm's validate method In 1.0.x, it is often suggested that each link at least be represented by an ActionForward. This centralizes control over the hyperlinks in the Struts Config, which yields a number of be

RE: Design question about ActionForm's validate method

2002-02-07 Thread Alex Paransky
turned to foo.jsp and not foo.do. Is there a way to fix this problem? Thanks. -AP_ http://www.alexparansky.com -Original Message- From: Sean Willson [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 11:23 AM To: Struts Users Mailing List Subject: Re: Design question about ActionFo

Re: Design question about ActionForm's validate method

2002-02-07 Thread Sean Willson
RE: Design question about ActionForm's validate method The process we followed is very simular to what Ted suggested but depends on how you are approaching the construction of your actions. If you have the ability to write a collection of objects that handle storing and retreiving

Re: Design question about ActionForm's validate method

2002-02-07 Thread Ted Husted
ess.form and > Address.view are ambiguous. > > Any suggestion on naming conventions? > > Thanks. > -AP_ > http://www.alexparansky.com > > -Original Message- > From: Ted Husted [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 3:47 PM > To: Strut

RE: Design question about ActionForm's validate method

2002-02-06 Thread Alex Paransky
List Subject: Re: Design question about ActionForm's validate method In 1.0.x, it is often suggested that each link at least be represented by an ActionForward. This centralizes control over the hyperlinks in the Struts Config, which yields a number of benefits. In Struts 1.1, now the Ni

Re: Design question about ActionForm's validate method

2002-02-06 Thread Ted Husted
me light as to why > this is preferred? > > Thanks. > > -AP_ > http://www.alexparansky.com > > -Original Message- > From: Ted Husted [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 05, 2002 2:02 PM > To: Struts Users Mailing List > Subject: Re:

RE: Design question about ActionForm's validate method

2002-02-06 Thread Greg Hess
Subject: Re: Design question about ActionForm's validate method RE: Design question about ActionForm's validate methodFor reference I wanted to share how we are using the action framework in our web application. Every single call to every single view on our web site goes through Struts.

Re: Design question about ActionForm's validate method

2002-02-06 Thread Sean Willson
RE: Design question about ActionForm's validate methodFor reference I wanted to share how we are using the action framework in our web application. Every single call to every single view on our web site goes through Struts. There are several reasons for this, one we are using Tiles for navig

RE: Design question about ActionForm's validate method

2002-02-06 Thread Jonathan Gibbons
"Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject: RE: Design question about ActionForm's validate method Matt, I also disagree that you should only use actions when submitting a form. I als

RE: Design question about ActionForm's validate method

2002-02-05 Thread Alex Paransky
, February 05, 2002 2:02 PM To: Struts Users Mailing List Subject: Re: Design question about ActionForm's validate method The best practice now is to use ActionMappings for everything, so that the reqeust passes through the controller. This buys you several important capabilities that b

RE: RE: Design question about ActionForm's validate method

2002-02-05 Thread ykphuah
neccessary, for SaveAction, then we need validation. CHeers, Yee Keat - Original Message - From: "Robert Scaduto" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Feb 6, 2002 2:31:19 AM GMT+08:00 Subject: RE: Design question ab

MessageResources - Design question - loading resources from a DB by creating you own PropertyMessageResourcesFactory

2002-02-05 Thread Todd G. Nist
Hello, First, I would like to apologize for the size of this post. I seem to be missing one thing here and can't seem to put my finger on it. We have a database which contains most of the translations for our applications messages and database fields/column labels. There is one table which con

Re: Design question about ActionForm's validate method

2002-02-05 Thread Ted Husted
e="request" validate="false"> -- Ted Husted, Husted dot Com, Fairport NY USA. -- Java Web Development with Struts. -- Tel +1 585 737-3463. -- Web http://www.husted.com/struts/ Sid Stuart wrote: > > Hi, > >

RE: Design question about ActionForm's validate method

2002-02-05 Thread Greg Hess
Mailing List Subject: Re: Design question about ActionForm's validate method You get a zero length string. Sid dderry wrote: > What if your user then hits the Submit button without populating any of the > form fields? > > - Original Message - > From: "Sid

Re: Design question about ActionForm's validate method

2002-02-05 Thread dderry
True, so I guess the null test will work. - Original Message - From: "Sid Stuart" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 2:55 PM Subject: Re: Design question about ActionForm's vali

Re: Design question about ActionForm's validate method

2002-02-05 Thread Sid Stuart
lt;[EMAIL PROTECTED]> > Sent: Tuesday, February 05, 2002 2:06 PM > Subject: Re: Design question about ActionForm's validate method > > > Hi, > > > > My friend, Lee Crawford, just pointed out to me that the fields of the > > ActionForm will be null i

Re: Design question about ActionForm's validate method

2002-02-05 Thread dderry
What if your user then hits the Submit button without populating any of the form fields? - Original Message - From: "Sid Stuart" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 2:06 PM Su

Re: Design question about ActionForm's validate method

2002-02-05 Thread Sid Stuart
quot;password", new ActionError ("error.logon.passwordRequired")); } return errors; } Sid Sid Stuart wrote: > Hi, > > I've stumbled across a subtle problem/design question that I don't see > mentioned in the documentation. > > The A

RE: Design question about ActionForm's validate method

2002-02-05 Thread Robert Scaduto
]] Sent: Tuesday, February 05, 2002 12:59 PM To: Struts Users Mailing List Subject: RE: Design question about ActionForm's validate method I'm fairly new to struts (well, about 24 hours actually) and this message touches on a concept that I've having trouble grasping. Are you saying

RE: Design question about ActionForm's validate method

2002-02-05 Thread Matt Read
--- From: Sid Stuart <[EMAIL PROTECTED]> on 05/02/2002 09:24 PST Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject: Design question about ActionForm'

Re: Design question about ActionForm's validate method

2002-02-05 Thread Jonathan Gibbons
4 PST Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject: Design question about ActionForm's validate method Hi, I've stumbled across a subtle problem/design question that I don&#x

RE: Design question about ActionForm's validate method

2002-02-05 Thread Robert Nocera
vision, we'll do the rest." -Original Message- From: Sid Stuart [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 12:25 PM To: Struts Users Mailing List Subject: Design question about ActionForm's validate method Hi, I've stumbled across a subtle problem/design question th

Design question about ActionForm's validate method

2002-02-05 Thread Sid Stuart
Hi, I've stumbled across a subtle problem/design question that I don't see mentioned in the documentation. The ActionForm's validate method can be configured to verify form data from a page and generate error messages which may then be displayed on the page for the user to see.

Design question - output Action

2002-01-22 Thread Carl Hope
I'm fairly new to Struts and have just built my first mini-project. I have a basic question that I couldn't find addressed in the mail archives. I think I understand the "input" half of a user interaction - when information is input by the user, it is handled on the server via the ActionServlet

Re: Design question on loading form data

2002-01-21 Thread Nick Thomson
27;s input. Reset() is invoked automatically by struts. Specifically you cannot detect changes to checkboxes unless they are reset first. - Original Message - From: "Mattias Norlander" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 19, 2002 8:5

Re: Design question on loading form data

2002-01-21 Thread Keith Bacon
Hi Mattias, The form bean is designed for easing the coding for moving of data from action class to HTML form & vice versa. Has any-one got a good case for doing anything else? Keith. --- Struts Newsgroup <[EMAIL PROTECTED]> wrote: > Subject: Re: Design question on loading for

Re: Design question on loading form data

2002-01-19 Thread @Basebeans.com
Subject: Re: Design question on loading form data From: Vic Cekvenich <[EMAIL PROTECTED]> === Here is sample pseudo code illustrating for one approach in action/perform. Call for the model bean to populate in the action's perform. Maybe the code of that retrieval and anything else h

Re: Design question on loading form data

2002-01-19 Thread Jorge Ruiz \(SX\)
ginal Message - From: "Mattias Norlander" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 19, 2002 9:52 AM Subject: Design question on loading form data > Hello! > > If i want to fill a form with data (from, say a database) before showing > it

Design question on loading form data

2002-01-19 Thread Mattias Norlander
Hello! If i want to fill a form with data (from, say a database) before showing it to the user: Can this be done in reset() method of the form, or should it be in the perform() method of the action class? I think that doing it in the reset() method produces the cleanest code. This can be done in

<    1   2   3   4   5   >