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,

[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

Re: [REPOST] Best Practice Question - html links

2003-10-14 Thread Kris Schneider
] 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

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

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

RE: actions best practice question

2003-07-18 Thread Erez Efrati
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

Re: actions best practice question

2003-07-18 Thread Nicolas De Loof
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. Using a request parameter to addapt action behaviour is a common Struts use (take a look at DispatchAction

RE: actions best practice question

2003-07-18 Thread Erez Efrati
: 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. Using a request parameter to addapt action behaviour is a common Struts use (take a look at DispatchAction

Re: actions best practice question

2003-07-18 Thread Nicolas De Loof
18, 2003 2:48 PM To: Struts Users Mailing List Subject: Re: actions best practice question I use to set a specialized action-mapping for such init request, that is a simple forward (no Action class needed) /newUser/init.do = forward to newUser.jsp /newUser/register.do

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 : action path=/newUser/init forward

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

[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: [OT] Newbie Design best practice question

2002-09-17 Thread Edgar Dollin
PROTECTED]] Sent: Tuesday, September 17, 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

Re: [OT] Newbie Design best practice question

2002-09-17 Thread David Graham
PROTECTED] 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 different user types get

RE: [OT] Newbie Design best practice question

2002-09-17 Thread wbchmura
on it 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 Bartley, Chris P [PCS]
with organization and 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 practice

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

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 app for select boxes

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

Re: best practice question

2002-07-29 Thread Bill Blackmon
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, 2002 10:40 AM Subject: Re: best practice question

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.

RE: best practice question

2002-07-29 Thread Martin Cooper
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 Subject: Re: best practice question

Re: best practice question

2002-07-29 Thread Bill Blackmon
10:40 AM Subject: Re: best practice question 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

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, Thank you all for your help, I've gotten it to work, and I

RE: Best Practice Question/Conceptual Problem

2002-06-25 Thread Kamholz, Keith (corp-staff) USX
work for me. Keith Kamholz Moog East Aurora, 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

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've been going through the struts

RE: Best Practice Question/Conceptual Problem

2002-06-24 Thread wbchmura
to the 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] === Hello

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 the user... Does that help? Somewhat

RE: Best Practice Question/Conceptual Problem

2002-06-24 Thread Kamholz, Keith (corp-staff) USX
-Original Message- From: Struts Newsgroup [mailto:[EMAIL 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

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 getting the information, so I'm not sure

RE: Best Practice Question/Conceptual Problem

2002-06-24 Thread James Mitchell
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 [EMAIL PROTECTED] === Hi Keith, But how does the logic:iterate tag

Re: Best Practice Question/Conceptual Problem

2002-06-24 Thread Ted Husted
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: Kenny Smith [EMAIL PROTECTED] === Hi Keith

RE: Best Practice Question/Conceptual Problem

2002-06-24 Thread Galbreath, Mark
bean:write name=order property=pending / /td/tr /logic:iterate /table 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

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

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

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

RE: Best Practice Question.

2002-04-30 Thread Bhaskar Gopalan
and 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 another

RE: Best Practice Question.

2002-04-30 Thread Phase Web and Multimedia
-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 logicBean need your configBean

RE: Best Practice Question.

2002-04-30 Thread Ajay Chitre
[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 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

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: Best Practice Question. I have a bean

Re: Best Practice Question.

2002-04-30 Thread Eddie Bush
- 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 some database table conifguration info (I'll call