Re: [REPOST] Best Practice Question - html links

2003-10-15 Thread Joanne L Corless
Thanks Kris, That worked beautifully, I've been pulling my hair over that one for 3 days now Thanks again Joanne Corless CSC Computer Sciences Limited (   Office +44 (0)1772 318025 ( Mobile +44 (0)7767 656588 * email [EMAIL PROTECTED] Based at: CSC, Alliance House, Library Road, Chorley, Lan

Re: [REPOST] Best Practice Question - html links

2003-10-14 Thread Kris Schneider
/UK/CSC To: > [EMAIL PROTECTED] > > cc:

[REPOST] Best Practice Question - html links

2003-10-14 Thread Joanne L Corless
] cc: 13/10/03 17:12 Subject: Best Practice Question re: html links

Best Practice Question re: html links

2003-10-13 Thread Joanne L Corless
Hi, I am implementing a struts application with menu lists which need to be dynamic based on a user role hierarchy, i.e not a simple user role = menu list. Therefore I cannot set up menu lists in the tile definitions file as they are I hold the menu list in a database which I am accessing via an

Re: actions best practice question

2003-07-18 Thread Wes Rood
Currently I used a ForgotPassword.do, and in the action I check if there's an 'action' parameter with the value of 'send'. If the 'action' parameter does not exist then I locally forward to the ForgotPassword.jsp using struts-config.xml local forwards configuration. If it does exist and equals to

RE: actions best practice question

2003-07-18 Thread Erez Efrati
Thanks again Nico. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 3:06 PM To: Struts Users Mailing List Subject: Re: actions best practice question I use a Forward action-mapping : You can use ForwardAction instead : I think

Re: actions best practice question

2003-07-18 Thread Nicolas De Loof
that the org.apache.struts.actions.ForwardAction ? > > Erez > > > > -Original Message- > From: Nicolas De Loof [mailto:[EMAIL PROTECTED] > Sent: Friday, July 18, 2003 2:48 PM > To: Struts Users Mailing List > Subject: Re: actions best practice question > > I use to set a speci

RE: actions best practice question

2003-07-18 Thread Erez Efrati
: Friday, July 18, 2003 2:24 PM > To: Struts Users Mailing List > Subject: Re: actions best practice question > > According to MVC pattern ,alway link to action, not to JSP. This way you > controler always knows what the user is doing, > and you can add some logic if needed. > &

Re: actions best practice question

2003-07-18 Thread Nicolas De Loof
: Friday, July 18, 2003 2:24 PM > To: Struts Users Mailing List > Subject: Re: actions best practice question > > According to MVC pattern ,alway link to action, not to JSP. This way you > controler always knows what the user is doing, > and you can add some logic if needed. > >

RE: actions best practice question

2003-07-18 Thread Erez Efrati
on is called that the action is going to do real action. Erez -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 2:24 PM To: Struts Users Mailing List Subject: Re: actions best practice question According to MVC pattern ,alway link to action, n

Re: actions best practice question

2003-07-18 Thread Nicolas De Loof
According to MVC pattern ,alway link to action, not to JSP. This way you controler always knows what the user is doing, and you can add some logic if needed. Using a request parameter to addapt action behaviour is a common Struts use (take a look at DispatchAction). Nico. > I have a login p

actions best practice question

2003-07-18 Thread Erez Efrati
I have a login page with a link with "forgot password?" for users to retrieve the passwords to their email account in case they forgot it. It's pretty trivial but still using struts what is the best practice? Should the link inside the login page point to the ForgotPassword.jsp or to a ForgotPassw

RE: [OT] Newbie Design best practice question

2002-09-17 Thread Bartley, Chris P [PCS]
separation (so different teams could more easily focus on different roles). chris > -Original Message- > From: Piper, James D CECOM SEC EPS > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 17, 2002 1:05 PM > To: [EMAIL PROTECTED] > Subject: [OT] Newbie Design best pr

RE: [OT] Newbie Design best practice question

2002-09-17 Thread wbchmura
so I cant say it all worked out for us :) -Original Message- From: James.Piper [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 2:05 PM To: struts-user Subject: [OT] Newbie Design best practice question If I were to have a STRUTS enabled application where I had user types

Re: [OT] Newbie Design best practice question

2002-09-17 Thread David Graham
TECTED] >Subject: [OT] Newbie Design best practice question >Date: Tue, 17 Sep 2002 14:05:29 -0400 > >If I were to have a STRUTS enabled application where I had user types of >restricted_users, full_access_users, and admins and for the most part the >content of the screens the diff

RE: [OT] Newbie Design best practice question

2002-09-17 Thread Edgar Dollin
, 2002 2:05 PM To: [EMAIL PROTECTED] Subject: [OT] Newbie Design best practice question If I were to have a STRUTS enabled application where I had user types of restricted_users, full_access_users, and admins and for the most part the content of the screens the different user types get to see are

[OT] Newbie Design best practice question

2002-09-17 Thread Piper, James D CECOM SEC EPS
If I were to have a STRUTS enabled application where I had user types of restricted_users, full_access_users, and admins and for the most part the content of the screens the different user types get to see are the same, except for maybe Id like there to be a few extra bits of functionality on the

Re: best practice question

2002-07-29 Thread Bill Blackmon
> > > > -----Original Message----- > > From: Bill Blackmon [mailto:[EMAIL PROTECTED]] > > Sent: Monday, July 29, 2002 8:09 AM > > To: Struts Users Mailing List > > Subject: Re: best practice question > > > > > > Thanks. I'll try that. I guess

RE: best practice question

2002-07-29 Thread Martin Cooper
#x27;re using Struts 1.1-b1 or a nightly build. It's an extremely simple interface, and a snap to use. -- Martin Cooper > -Original Message- > From: Bill Blackmon [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 2002 8:09 AM > To: Struts Users Mailing List

Re: best practice question

2002-07-29 Thread Eddie Bush
You don't want it in the session if it's very big! There's no reason to load this data repeatedly (for each user!) if it is non-volatile! Load it on startup as I mentioned in my other post and merely reference it. If it is volatile you'll have to devise some strategy for updating it. Assum

Re: best practice question

2002-07-29 Thread Bill Blackmon
m just thinking out loud. I don't want the form bean to be attached to any action if possible. I'm new to this so bear with me! Thanks, Bill - Original Message - From: "Struts Newsgroup" <@[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 29, 20

Re: best practice question

2002-07-29 Thread Eddie Bush
Assuming these are application-level, read-only values, I would think you would want to load them at start and make them in application scope - yes. By doing so, not only do you not have to hit the database again, but you just reduced your over-all memory footprint too (since you don't have t

Re: best practice question

2002-07-29 Thread @Basebeans.com
Subject: Re: best practice question From: Vic C <[EMAIL PROTECTED]> === No need to optimize, just do it as a formbean with c:for each or logic: iterate ...or html:options. v. Bill Blackmon wrote: > I have several iterators filled from db calls that will be used across the > ap

best practice question

2002-07-29 Thread Bill Blackmon
I have several iterators filled from db calls that will be used across the app for select boxes, lists of checkboxes, radio button etc.. In the context of Struts, would it be best to load these items as application level items at startup and define them in the struts-config.xml file with a refere

Re: Best Practice Question/Conceptual Problem

2002-06-26 Thread Ted Husted
There's an option for using a Map if you need more than one parameter. "Struts Newsgroup (@Basebeans.com)" wrote: > > Subject: Re: Best Practice Question/Conceptual Problem > From: "Kenny Smith" <[EMAIL PROTECTED]> > === > Hi Mark et al, >

RE: Best Practice Question/Conceptual Problem

2002-06-25 Thread Kamholz, Keith (corp-staff) USX
a, NY (716) 687-7282 [EMAIL PROTECTED] -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 4:40 PM To: 'Struts Users Mailing List' Subject: RE: Best Practice Question/Conceptual Problem It gets it from a JavaBean, List or Map either

RE: Best Practice Question/Conceptual Problem

2002-06-24 Thread Galbreath, Mark
rders this customer has placed: There are tons of examples in the archive. Mark -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 4:10 PM Subject: Re: Best Practice Question/Conceptual Problem From: "Kenny Smith

Re: Best Practice Question/Conceptual Problem

2002-06-24 Thread Ted Husted
se when it exposes each entry in the collection. The tag looks in the page context first, then request, session, and application. (Unless you specify a scope.) "Struts Newsgroup (@Basebeans.com)" wrote: > > Subject: Re: Best Practice Question/Conceptual Problem > From: &q

RE: Best Practice Question/Conceptual Problem

2002-06-24 Thread James Mitchell
e- > From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]] > Sent: Monday, June 24, 2002 4:10 PM > To: [EMAIL PROTECTED] > Subject: Re: Best Practice Question/Conceptual Problem > > > Subject: Re: Best Practice Question/Conceptual Problem > From: "Kenny Smith" <[EMA

Re: Best Practice Question/Conceptual Problem

2002-06-24 Thread @Basebeans.com
Subject: Re: Best Practice Question/Conceptual Problem From: "Kenny Smith" <[EMAIL PROTECTED]> === Hi Keith, But how does the logic:iterate tag know where to get the information from? That's the part that is really baffling me. I don't understand how it's gett

RE: Best Practice Question/Conceptual Problem

2002-06-24 Thread Kamholz, Keith (corp-staff) USX
PROTECTED]] Sent: Monday, June 24, 2002 2:25 PM To: [EMAIL PROTECTED] Subject: Re: Best Practice Question/Conceptual Problem Subject: Re: Best Practice Question/Conceptual Problem From: "Kenny Smith" <[EMAIL PROTECTED]> === > It then stuffs the information into the session and fo

Re: Best Practice Question/Conceptual Problem

2002-06-24 Thread @Basebeans.com
Subject: Re: Best Practice Question/Conceptual Problem From: "Kenny Smith" <[EMAIL PROTECTED]> === > It then stuffs the information into the session and forwards the request > to a JSP page > > The JSP page pulls the data out, builds the page and sends it back to >

RE: Best Practice Question/Conceptual Problem

2002-06-24 Thread wbchmura
user... Does that help? -Original Message- From: struts [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 12:25 PM To: struts-user Subject: Best Practice Question/Conceptual Problem Subject: Best Practice Question/Conceptual Problem From: "Kenny Smith" <[EMAIL PROTECTED

Best Practice Question/Conceptual Problem

2002-06-24 Thread @Basebeans.com
Subject: Best Practice Question/Conceptual Problem From: "Kenny Smith" <[EMAIL PROTECTED]> === Hello, I'm trying to write my first struts application, and I'm looking for guidance on how to accomplish a certain task. I've read through the Struts Userguide and I&#

RE: Best Practice Question.

2002-05-05 Thread Jesse Alexander (KADA 12)
- From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 30. April 2002 19:51 To: Struts User List Subject: Best Practice Question. I have a bean that is created when my app starts and it contains some database table conifguration info (I'll call it my config bean). Later

Re: Best Practice Question.

2002-04-30 Thread Eddie Bush
Eddie - Original Message - From: "Phase Web and Multimedia" <[EMAIL PROTECTED]> To: "Struts User List" <[EMAIL PROTECTED]> Sent: Tuesday, April 30, 2002 12:50 PM Subject: Best Practice Question. > I have a bean that is created when my app starts and it contains

Re: Best Practice Question.

2002-04-30 Thread Craig R. McClanahan
On Tue, 30 Apr 2002, Phase Web and Multimedia wrote: > Date: Tue, 30 Apr 2002 11:50:30 -0600 > From: Phase Web and Multimedia <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts User List <[EMAIL PROTECTED]> > Subject: Bes

RE: Best Practice Question.

2002-04-30 Thread Ajay Chitre
Mailing List" <[EMAIL PROTECTED]> >From: "Phase Web and Multimedia" <[EMAIL PROTECTED]> >To: "Struts User List" <[EMAIL PROTECTED]> >Subject: Best Practice Question. >Date: Tue, 30 Apr 2002 11:50:30 -0600 > > >I have a bean that is cre

RE: Best Practice Question.

2002-04-30 Thread Phase Web and Multimedia
406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 12:03 PM To: 'Struts Users Mailing List' Subject: RE: Best Practice Question. This is rather vague. Why does your

RE: Best Practice Question.

2002-04-30 Thread Bhaskar Gopalan
Multimedia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 1:51 PM To: Struts User List Subject: Best Practice Question. I have a bean that is created when my app starts and it contains some database table conifguration info (I'll call it my config bean). Later on in an Action class an

RE: Best Practice Question.

2002-04-30 Thread Galbreath, Mark
This is rather vague. Why does your logicBean need your configBean? Mark -Original Message- From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 1:51 PM I have a bean that is created when my app starts and it contains some database table conifguration

Best Practice Question.

2002-04-30 Thread Phase Web and Multimedia
I have a bean that is created when my app starts and it contains some database table conifguration info (I'll call it my config bean). Later on in an Action class another bean, that I'll call my logic bean, needs to access the values of the config bean. Would it be proper to use the Action class t