Validator maxlength, minlength

2004-06-23 Thread Jim Barrows
In essence, maxlength and minlength are working backwords from what I would expect. I fully expect this to pebcak error, but I can't seem to find it. I'm getting : Address 1 can not be greater than 30 characters. Address 2 can not be greater than 30 characters. City can not be greater than 30 cha

RE: NEWBIE: how to submit a named html:form via javascript

2004-06-25 Thread Jim Barrows
The name is optional. I never use it in the form. For JavaScript porpoises I use the name of the ActionForm your using in the struts config. > -Original Message- > From: Adam Lipscombe [mailto:[EMAIL PROTECTED] > Sent: Friday, June 25, 2004 10:27 AM > To: 'Struts Users Mailing List' >

RE: Trying to learn Struts, need help understanding design process

2004-06-25 Thread Jim Barrows
It almost seems like you're coming at this from the wrong end, with the page calling the action. It's the other way around. I know that with php and asp development is page centric. In JSP it's action centric. The page is just a display. Something like this is what you want I think: /context/

RE: actions which return dynamically based on input

2004-06-25 Thread Jim Barrows
2 ways off the top of my head: 1) 2) -Original Message- > From: Pietro Dansk [mailto:[EMAIL PROTECTED] > Sent: Friday, June 25, 2004 2:13 PM > To: Struts Users Mailing List > Subject: actions which return dynamically based on input > > > I have a form which appears on multiple pages. Th

RE: NEWBIE: how to submit a named html:form via javascript

2004-06-25 Thread Jim Barrows
u correctly, if I have this config in struts-config: > > type="com.expensys.expensyswt.struts.action.DisplayHelp" /> > > Then I can use "javascript:document.helpActionForm.submit()" > in the jsp file > to submit a form like this: > > > .... > > > > Is my understanding c

RE: JavaScript error

2004-06-29 Thread Jim Barrows
My first instinct is to ask why you changed the validation_rules.xml file at all. You shouldn't have had to change that file, except to add some functionality. I would suggest going back to the original validation-rules.xml file and seeing if that helps. > -Original Message- > From: K

RE: Struts, Dreamweaver, and JSP

2004-06-29 Thread Jim Barrows
> -Original Message- > From: josh [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 8:24 AM > To: Struts Users Mailing List > Subject: RE: Struts, Dreamweaver, and JSP > > > On Tue, 2004-06-29 at 10:13, McCormack, Chris wrote: > > > Are there any tools that allow one to validate th

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
This almost sounds like the action is getting executed at all, but is rather a problem with the server setup. Context usually refers to everything up to and including the app name, so that would make sense if there's a server configuration issue. If it is executing the action, then at what point

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Jim Barrows
If you're talking about masks, then you can use globals. You could also create your own custom validator, iirc 1.2 will have some inheritance features, but not sure what scope yet since I'm not using 1.2. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent:

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Jim Barrows
alidation name. That's a bit of a hack though. > > > -Original Message- > From: Jim Barrows [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 12:21 PM > To: Struts Users Mailing List > Subject: RE: Using 1 Validator definition for 2 different forms? > >

RE: [OT] Storing Birth Date

2004-06-29 Thread Jim Barrows
> -Original Message- > From: Jorge Salido [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 1:01 PM > To: Struts Users Mailing List > Subject: Re: [OT] Storing Birth Date > > stuff I agree with > > Other than that, how you store the date is your call. I usually prefer > hand

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
thout being able to recreate this I don't think I can help much more let me know what it turns out to be. > > > TIA - Adam > > > > > > -Original Message- > From: Jim Barrows [mailto:[EMAIL PROTECTED] > Sent: 29 June 2004 20:03 > To: Struts Users Mailin

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
s the Struts > config. I would > have thought that if its Tomcat it would never work. > > > TIA - Adam > > > > > -Original Message- > From: Jim Barrows [mailto:[EMAIL PROTECTED] > Sent: 29 June 2004 20:03 > To: Struts Users Mailing List >

RE: newbie question: form initialization and process

2004-06-29 Thread Jim Barrows
> -Original Message- > From: Jen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 3:32 PM > To: [EMAIL PROTECTED] > Subject: newbie question: form initialization and process > > > Hi, > I am new to Struts and after browsered the nightly > build example app, found it did differe

RE: newbie question: form initialization and process,

2004-06-30 Thread Jim Barrows
> -Original Message- > From: Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 30, 2004 7:47 AM > To: [EMAIL PROTECTED] > Subject: RE: newbie question: form initialization and process, > > > >> Hi, > >> I am new to Struts and after browsered the nightly > >> build example app, foun

RE: newbie question: form initialization and process,

2004-06-30 Thread Jim Barrows
> -Original Message- > From: Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 30, 2004 3:39 PM > To: Struts Users Mailing List > Subject: RE: newbie question: form initialization and process, > > > > > > > > What I want to say is normally SubmitFormAction > > will > > > return a

RE: Pass a Variable From JSP via JSP To an Action Servlet

2004-07-02 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 01, 2004 10:00 PM > To: [EMAIL PROTECTED] > Subject: Pass a Variable From JSP via JSP To an Action Servlet > > > I have the value of a variable defined in JSP#1 (JSP#1 > is not a form): > > sc

RE: Not possible to attach 2 (or more) parameters from 2 different beans to an html:link?

2004-07-06 Thread Jim Barrows
> -Original Message- > From: Robert Bowen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 8:44 AM > To: [EMAIL PROTECTED] > Subject: Not possible to attach 2 (or more) parameters from 2 > different > beans to an html:link? > > > Hello listers. I sent an email about a week ago

RE: Request bean is lost

2004-07-06 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 1:04 PM > To: Struts Users Mailing List > Subject: RE: Request bean is lost > > > My lists are specific to each user based on security > attributes obtained > from the database. > T

RE: Request bean is lost

2004-07-06 Thread Jim Barrows
e input param, without changing the form bean. In the case of the action, it doesn't even know when or where the form bean was created. It just does it's thing quite merrily, then hands of to your code. > > > > > > > "Jim Barrows" <[EMAIL PROTEC

RE: 1.2.0 release plan?

2004-07-06 Thread Jim Barrows
> -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 06, 2004 1:26 PM > To: Struts Users Mailing List > Subject: RE: 1.2.0 release plan? > > > > From: Emmanouil Batsis [mailto:[EMAIL PROTECTED] > > Can someone please point to a blurry date regarding

RE: Request bean is lost

2004-07-06 Thread Jim Barrows
action to not fill in the values when it's set. > > > > > > "Jim Barrows" <[EMAIL PROTECTED]> > 06/07/2004 04:28 PM > Please respond to "Struts Users Mailing List" > > > > > > To: "Struts

RE: Request bean is lost

2004-07-06 Thread Jim Barrows
t; attributes. > > > Default values are set for 2 of the lists such as month and year. > > > All of this is done in the Form Bean. > > > > > > > > > PageSubmit.do > > > --- > > > The user selects a diffierent month oth

RE: Is scriptlets allowed in struts

2004-07-06 Thread Jim Barrows
You can use scriptlets. Whether or not you should depends on how you break out work. Where I work, we have a separate crew that does the html/JSP layout and design and so we try to keep scriptlets to a bare minimum. ymmv However, what you want to do sounds like logic:iterate will work, somethin

RE: Strange double-submissions

2004-07-07 Thread Jim Barrows
> -Original Message- > From: Ivan Vasquez [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 07, 2004 11:31 AM > To: [EMAIL PROTECTED] > Subject: Strange double-submissions > > > Hi, > > We have a form whose last two controls are an html:select and a submit > button. The form posts to a

RE: Spring or Tapestry Framework

2004-07-07 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 07, 2004 12:53 PM > To: [EMAIL PROTECTED] > Subject: Spring or Tapestry Framework > > > I'd like to thank both Robert and Jim for yesterdays help > with my "Request > bean is lost". > After

RE: [OT] how to calculate the size of an object

2004-07-08 Thread Jim Barrows
java.io.File has the length() method to return the length of the file. > -Original Message- > From: Navjot Singh [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 8:58 AM > To: Struts Users Mailing List > Subject: [OT] how to calculate the size of an object > > > hi, > > I use S

RE: [OT] how to calculate the size of an object

2004-07-08 Thread Jim Barrows
Only problem is, that this is the size of the object with a new object, rather then being something that could be done dynamically. Not to mention that if this is done at run time ( which is what the original poster wants I believe) then you can be completely screwed by a GC run, and end up wit

RE: [OT] how to calculate the size of an object

2004-07-08 Thread Jim Barrows
Whoops.. that should the problem with the first one on the list.. :) I know Bad code monkey no caffeine. > -Original Message- > From: Jim Barrows > Sent: Thursday, July 08, 2004 9:24 AM > To: Struts Users Mailing List > Subject: RE: [OT] how to calculate the si

RE: [OT] how to calculate the size of an object

2004-07-08 Thread Jim Barrows
> -Original Message- > From: Navjot Singh [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 9:46 AM > To: Struts Users Mailing List > Subject: Re: [OT] how to calculate the size of an object > > > hi, > > Thanks for the link but this is very naive way of doing it. I > am leavi

RE: can someone help me?

2004-07-08 Thread Jim Barrows
The short answer is read the java documentation better... you don't do a new Form(). That won't work for reasons related to Java and passing variables. In your struts-config.xml you should set the name, and probably validation=false. Then something like: MyForm myForm = (MyForm) form

RE: Dynamic data html generation

2004-07-08 Thread Jim Barrows
> -Original Message- > From: JoAnn Lemm [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 12:55 PM > To: Struts Users Mailing List > Subject: Dynamic data html generation > > > > Hi All, > > I have a set of data that needs to be displayed in an html table. Each > column has its

RE: use multiple resource bundles in Validator

2004-07-08 Thread Jim Barrows
> -Original Message- > From: Van [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 1:12 PM > To: Struts Users Mailing List > Subject: Re: use multiple resource bundles in Validator > > > On Thu, 8 Jul 2004 18:18:41 +0800, Hanna <[EMAIL PROTECTED]> wrote: > > How can i use mulitp

RE: struts automation

2004-07-08 Thread Jim Barrows
> -Original Message- > From: Tate Austin [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 1:52 PM > To: Struts Users Mailing List > Subject: struts automation > > > Is there a struts tool out there that will create the class > files you name in a struts-config file automatical

RE: Dynamic extension of web apps

2004-07-08 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 2:00 PM > To: Struts Users Mailing List > Subject: Dynamic extension of web apps > > > > Hi, > > I need to design a web app that is extensible dynamically. > > For example, if we de

RE: struts automation

2004-07-08 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 2:05 PM > To: Struts Users Mailing List > Subject: RE: struts automation > > > At 02:00 PM 7/8/2004, you wrote: > > > Is there a struts tool out there that will create the class > > >

RE: struts automation

2004-07-08 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 2:42 PM > To: Struts Users Mailing List > Subject: RE: struts automation > > > My question is how can an editor of any kind create a class > when it has no > idea what the internals

RE: Simplifying struts-config.xml

2004-07-08 Thread Jim Barrows
Nope.. and you're probably right. Something like On the other hand I don't really care how much file space it takes up, since I use Xdoclet to generate this file, or WSAD/MyEclipse to view/generate it. > -Original Message- > From: Michael McGrady [mailto:[EMAIL

RE: Dynamic extension of web apps

2004-07-08 Thread Jim Barrows
ith automatically reloading the > struts-config and jar > files if we add new actions or class files, but may well not > be limited to > this. > > Does that make any more sense? > > cheers, > > David > > >

RE: Dynamic extension of web apps

2004-07-08 Thread Jim Barrows
were okay before making them live. Any more and I'll start charging :) > > Also, do you know any way to drop in a sub-application and > have Struts pick > it up dynamically? Um.. no... I don't there might be one, I don't really know. > > cheers, > &

RE: struts automation

2004-07-08 Thread Jim Barrows
> -Original Message- > From: Michael McGrath [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 4:10 PM > To: Struts Users Mailing List > Subject: RE: struts automation > > > Okay, you meant source code. I thought you meant class. > What are you > talking about? Compiling?

RE: [EVIL] Modifying a request parameter

2004-07-09 Thread Jim Barrows
> -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Friday, July 09, 2004 9:20 AM > To: Struts Users Mailing List > Subject: [EVIL] Modifying a request parameter > > > String[] foo = request.getParameterValues("foo"); > foo[2] = "you"; //Naughty naughty. Very naught

RE: [EVIL] Modifying a request parameter

2004-07-09 Thread Jim Barrows
> -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED] > Sent: Friday, July 09, 2004 9:42 AM > To: Struts Users Mailing List > Subject: Re: [EVIL] Modifying a request parameter > > > Jim Barrows wrote: > > > No offense but... better you th

RE: [EVIL] Modifying a request parameter

2004-07-09 Thread Jim Barrows
> -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED] > Sent: Friday, July 09, 2004 10:41 AM > To: Struts Users Mailing List > Subject: Re: [EVIL] Modifying a request parameter > > > Jim Barrows wrote: > > > Then of course there

RE: use multiple resource bundles in Validator

2004-07-09 Thread Jim Barrows
tell me how to do ? Well according to http://struts.apache.org/userGuide/struts-bean.html#message It should be something like: > > Thanks a lot > > From: "Jim Barrows" <[EMAIL PROTECTED]> > Date: Fri Jul 9, 2004 4:37 am >

RE: Checkboxes

2004-07-12 Thread Jim Barrows
> -Original Message- > From: simon_delaroute [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 11, 2004 7:46 PM > To: [EMAIL PROTECTED] > Subject: Checkboxes > > > Hi > I am using struts and want to display a list of options for the user > to select with checkboxes using the struts-el tags.

RE: webapp deployment

2004-07-12 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 4:12 PM > To: Struts Users Mailing List > Subject: Re: webapp deployment > > > Can you provide a bit more information and code? What do you > have for > global forwards in your struts-c

RE: webapp deployment

2004-07-12 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 4:25 PM > To: Struts Users Mailing List > Subject: RE: webapp deployment > > > If it will run a servlet, it will run struts. No? Something is tickling the back of my mind about Servlet

Filters, listeners and struts-config.xml

2004-07-13 Thread Jim Barrows
I've just googled to see how to get a filter to grab info from struts-config.xml, and haven't been able to find anything on it. I had assumed that it would have been a nice idea to have a StrutsFilter, just to be able to access the global forwards. Have I missed something? Is this a 1.2 feature

RE: Form action relative path

2004-07-13 Thread Jim Barrows
> -Original Message- > From: toto2004b2000 [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 7:08 AM > To: [EMAIL PROTECTED] > Subject: Re: Form action relative path > > > I've tried everything like this but it doesn't work... If you're trying to get outside the application scope

RE: How Flexible are Struts and El Tags?

2004-07-13 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 13, 2004 2:53 PM > To: Struts Users Mailing List > Subject: How Flexible are Struts and El Tags? > > > Using the standard JSP tags, we can pretty do much do > anything on a page, e.g.: > > <%

RE: webapp deployment

2004-07-13 Thread Jim Barrows
> -Original Message- > From: Phyl [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 13, 2004 3:25 PM > To: Struts Users Mailing List > Subject: Re: webapp deployment > > > > > I'm using Tomcat 4.1.29 in the development machine and Tomcat > 4.0.3 in > the webserver. > > I wonder if th

RE: Can html:checkbox take only yes/true/on as value?

2004-07-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 1:44 PM > To: [EMAIL PROTECTED] > Subject: Can html:checkbox take only yes/true/on as value? > I have searched high and low and found no clear explanation. Try husted.com/struts

RE: examples of struts??

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Lykins Don H Contr AFSAC/ITS [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 7:55 AM > To: '[EMAIL PROTECTED]' > Subject: examples of struts?? > > > What real-world web sites are using struts? > > Can someone point me to some sites and do you know

RE: examples of struts??

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Lykins Don H Contr AFSAC/ITS [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 8:22 AM > To: 'Struts Users Mailing List' > Subject: RE: examples of struts?? > > > good list. but the only one I recognize is www.travelocity.com > and they are using PHP

RE: how to use dynamic values in html:radio

2004-07-14 Thread Jim Barrows
> -Original Message- > From: ron piterman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 8:45 AM > To: [EMAIL PROTECTED] > Subject: how to use dynamic values in html:radio > > > Hi - > I try to use html:radio inside an iterate. The values of the radios > should be dynamica

RE: Access to message properties from within application

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Jan Behrens [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 9:20 AM > To: 'Struts Users Mailing List' > Subject: RE: Access to message properties from within application > > > Anyone? If the solution is to obvious, give me a hint. Obnoxious hint:

RE: Access to message properties from within application

2004-07-14 Thread Jim Barrows
; the obvious, or > is this not that easy? Ah in that case. you are reading the wrong FM, you probably want the J2SE documentation, and are looking for MessageFormat. I assume that you have found and don't want to use org.apache.struts.util.MessageResources for this. > > T

RE: More fun with forms...

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 9:58 AM > To: [EMAIL PROTECTED] > Subject: More fun with forms... > > > Hi all, > > i've looked through a couple articles detailing the use of ActionForm > and DynaActionForm, but i hav

RE: More fun with forms...

2004-07-14 Thread Jim Barrows
sultSet, stuff it into a bean, and then stuff the bean into a collection. Then you put the collection in the scope of your choice. > > andy > > On Wed, 14 Jul 2004 10:01:05 -0700, Jim Barrows > <[EMAIL PROTECTED]> wrote: > > > > > > > > >

RE: More fun with forms...

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 11:53 AM > To: Struts Users Mailing List > Subject: Re: More fun with forms... > > > > > > > i do know what fields will be returned, just not how many. so i > > > wasn't sure if i cou

RE: Struts Tag Lib VS JSTL Tag Lib

2004-07-14 Thread Jim Barrows
> -Original Message- > From: PREETAM Balijepalli [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 1:13 PM > To: Struts Users Mailing List > Subject: RE: Struts Tag Lib VS JSTL Tag Lib > > > Have you ever compared JSTL and Struts Tag In performance...? I think the immediate ques

RE: Question concerning struts-config and app constants

2004-07-14 Thread Jim Barrows
> -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 14, 2004 4:15 PM > To: Struts Users Mailing List > Subject: Re: Question concerning struts-config and app constants > > > Thanks Joe, that is indeed what I am doing. I am handling a > few actions >

RE: Question concerning struts-config and app constants

2004-07-14 Thread Jim Barrows
s the brain function that not only causes us (programmers) to do this, but do it as often as we do. Most of the time, granted, it's stuff the individual catches before lettting anyone else know about it... but still > > Thanks again, > Erik > > > > Jim Barrows

RE: Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Josh Holtzman [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 9:43 AM > To: 'Struts Users Mailing List' > Subject: Tiles, Validation and reuse of HTML Form > > > > In the struts config file we created an Action element for > each of the 6 > pro

RE: Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Bryan Hunt [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 10:03 AM > To: Struts Users Mailing List > Subject: Re: Tiles, Validation and reuse of HTML Form > > > I do it with a separate action for each use case. I find it > tedious but > have not

RE: Tiles, Validation and reuse of HTML Form

2004-07-15 Thread Jim Barrows
roach. > > Thank you for all your responses. You're welcome, glad I could help. > > Josh Holtzman > > > > AMERICAN DATA COMPANY > > Developing and Supporting your Online Applications > > > > [EMAIL PROTECTED] > > Voice: (310) 470-1257 &

RE: How to use roles with Struts

2004-07-15 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of ron1 > Sent: Thursday, July 15, 2004 11:51 AM > To: [EMAIL PROTECTED] > Subject: How to use roles with Struts > > > Hi all :-) > I am wondering how some of the experienced users use roles > with struts. > I saw there

RE:

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 11:57 AM > To: Struts Users Mailing List > Subject: Re: > > > sl_getGroups is being called. i printed out alerts when i was writing > it. and i have Sys.outs in the action. besides, m

RE: Configuring plug-ins using

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 12:01 PM > To: Struts Users Mailing List (E-mail) > Subject: Configuring plug-ins using struts-config.xml) > > > Hi all: > > I have a question regarding the use of plug-ins. According t

RE: How to use roles with Struts

2004-07-15 Thread Jim Barrows
-pattern use /role/* just coz I'm lazy. Can't always do that, but it is nice when you can. > Cheers, > Ron > > > > Jim Barrows wrote: > > > >>-Original Message- > >>From: news [mailto:[EMAIL PROTECTED] Behalf Of ron1 > >>

RE:

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 12:30 PM > To: Struts Users Mailing List > Subject: Re: > > > the weird thing is that i just added a textfield to the form and my > form/action picks that up. so what do you have to do

RE: Configuring plug-ins using

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 12:21 PM > To: Struts Users Mailing List > Subject: RE: Configuring plug-ins using struts-config.xml) > > > Jim: > > Yes that worked. I actually read ".. which will > all have been cal

RE:

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 1:08 PM > To: Struts Users Mailing List > Subject: Re: > > > On Thu, 15 Jul 2004 12:10:49 -0700, Jim Barrows > <[EMAIL PROTECTED]> wrote: > >

RE:

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 1:40 PM > To: Struts Users Mailing List > Subject: Re: > > > -- Jim wrote: > > I don't think there is a better way, I'm just suggesting > maybe hardcoding those to drop downs for testin

RE: webapp deployment

2004-07-15 Thread Jim Barrows
> -Original Message- > From: Phyl [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 3:04 PM > To: Struts Users Mailing List > Subject: Re: webapp deployment > > > > Hi, > > I tried adding a context parameter to web.xml: > > testparam > hello > > >

RE: interface prototyping

2004-07-16 Thread Jim Barrows
> -Original Message- > From: Xavier Noria [mailto:[EMAIL PROTECTED] > Sent: Friday, July 16, 2004 8:56 AM > To: Struts Users Mailing List > Subject: interface prototyping > > > What do you guys use to prototype interfaces? Is there some > visual way > to write dumb pages with forms th

RE: Xtags and rtexprvalue

2004-07-16 Thread Jim Barrows
> -Original Message- > From: Eric Dahnke [mailto:[EMAIL PROTECTED] > Sent: Friday, July 16, 2004 11:13 AM > To: [EMAIL PROTECTED] > Subject: Xtags and rtexprvalue > > > > Hello, > > We're using xtags and need the ability pull in different xml > documents based > on locale. The tld sa

RE: Intermediate loading page

2004-07-16 Thread Jim Barrows
> -Original Message- > From: Rizwan Merchant [mailto:[EMAIL PROTECTED] > Sent: Friday, July 16, 2004 4:06 PM > To: 'Struts Users Mailing List' > Subject: RE: Intermediate loading page > > > > Hi Craig, > > Thanks for the reply. I came across this solution, but does > this not mean >

RE: some best practices questions

2004-07-19 Thread Jim Barrows
> -Original Message- > From: Mike Duffy [mailto:[EMAIL PROTECTED] > Sent: Monday, July 19, 2004 10:45 AM > To: Struts Users Mailing List > Subject: Re: some best practices questions > > > What do you think of caching static or semi-static data that > applies to all users (options in a

RE: Datasource problem again..

2004-07-20 Thread Jim Barrows
> -Original Message- > From: Koon Yue Lam [mailto:[EMAIL PROTECTED] > Sent: Monday, July 19, 2004 6:54 PM > To: Struts Users Mailing List; Asif Rahman > Subject: Re: Datasource problem again.. > > > Yes, it helps and I know I can get it done if I set the context > element in server.xml,

RE: Datasource problem again..

2004-07-20 Thread Jim Barrows
> -Original Message- > From: Koon Yue Lam [mailto:[EMAIL PROTECTED] > Sent: Monday, July 19, 2004 7:46 PM > To: Struts Users Mailing List > Subject: Re: Datasource problem again.. > > > Thx ! > Since I am using Tomct 5 with auto-depoly, my Webapp DOESN'T has a > element in server.xml.

RE: url rewriting

2004-07-20 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of j h > Sent: Tuesday, July 20, 2004 7:41 AM > To: [EMAIL PROTECTED] > Subject: url rewriting > > > Is there a way to disable the jsessionid from being appended > to the url when a > form is submitted? I think you ca

RE: form focus

2004-07-20 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of j h > Sent: Tuesday, July 20, 2004 7:44 AM > To: [EMAIL PROTECTED] > Subject: form focus > > > Can someone explain how the focus of a form can be set to one > of the elements > that failed validation when the form i

RE: url rewriting

2004-07-20 Thread Jim Barrows
> -Original Message- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 20, 2004 8:57 AM > To: Struts Users Mailing List > Subject: Re: url rewriting > > > > I think you can use url rewriting, and that won't put the > jsessionid on it. > > It's sort of the other

RE: Tag question

2004-07-20 Thread Jim Barrows
> -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 20, 2004 2:17 PM > To: Struts Users Mailing List > Subject: Re: Tag question > > > Thanks guys! Seems like there was a method I used to call in > my Servlets > that would only return the Servlet po

OT: Best practice for access to file from multiple web apps

2004-07-20 Thread Jim Barrows
We have PDF's that can be created by one webapp, but must also be served by other webapps. Obviously, fun is ensuing in trying to figure out the best to avoid hard coding paths, even in a configuration file. Dev, Test and Production are of course different enought that each environment require

RE: OT: Best practice for access to file from multiple web apps

2004-07-20 Thread Jim Barrows
r own. but that's for another time and a lot more Guiness.. > > andy > > On Tue, 20 Jul 2004 15:35:51 -0700, Jim Barrows > <[EMAIL PROTECTED]> wrote: > > We have PDF's that can be created by one webapp, but must > also be served by other webapps.

RE: OT: Best practice for access to file from multiple web apps

2004-07-21 Thread Jim Barrows
> -Original Message- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 20, 2004 4:39 PM > To: Struts Users Mailing List > Subject: Re: OT: Best practice for access to file from > multiple web apps > > > On Tue, 20 Jul 2004 15:35:51 -0

RE: logic:iterator with a arbitrary depth of nested list

2004-07-21 Thread Jim Barrows
> -Original Message- > From: Adam Lipscombe [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 21, 2004 5:53 AM > To: 'Struts Users Mailing List' > Subject: logic:iterator with a arbitrary depth of nested list > > > Folks, > > > Is it possible to use a logic:iterate tag with an arbitra

RE: OT: Best practice for access to file from multiple web apps

2004-07-21 Thread Jim Barrows
> -Original Message- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 20, 2004 4:39 PM > To: Struts Users Mailing List > Subject: Re: OT: Best practice for access to file from > multiple web apps > > > On Tue, 20 Jul 2004 15:35:51 -0

RE: Formatting issues...

2004-07-21 Thread Jim Barrows
> -Original Message- > From: Andrew Close [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 21, 2004 10:21 AM > To: Struts > Subject: OT: Formatting issues... > > > i know this is a little off-topic, but i was hoping someone could > point me in the right direction. my client is current

RE: Tag question

2004-07-21 Thread Jim Barrows
> -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 21, 2004 11:32 AM > To: Struts Users Mailing List > Subject: Re: Tag question > > > Sorry, I should have explained better what I am doing. > > My controller Servlet is mapped to /services/* > > A

RE: App scoped bean to be used with html:optionsCollection in JSP

2004-07-21 Thread Jim Barrows
> -Original Message- > From: Kevin McAbee [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 21, 2004 12:47 PM > To: Struts Users Mailing List > Subject: App scoped bean to be used with html:optionsCollection in JSP > As for thorough flamings... I like my meat medium rare :) > > // m

RE: parameterizing action attribute to html:form

2004-07-22 Thread Jim Barrows
> -Original Message- > From: Sergey Livanov [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 9:03 AM > To: Struts Mailing List > Subject: parameterizing action attribute to html:form > > > Please advise me, > > I try to set html:form action= parameter. > > In my action : >

RE: Form Bean and decions based on Business Logic calls

2004-07-22 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Muhammad > Momin Rashid > Sent: Thursday, July 22, 2004 9:30 AM > To: [EMAIL PROTECTED] > Subject: Re: Form Bean and decions based on Business Logic calls > > > Thank you for your quick response. > > I do have the a

RE: Sharing Fields Between 2 Forms

2004-07-22 Thread Jim Barrows
> -Original Message- > From: Ciaran Hanley [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 10:12 AM > To: Struts User Mailing List > Subject: Sharing Fields Between 2 Forms > > > Hello, > > > > Is it possible for forms to share a common field? > > I have two forms on a p

RE: Tag question (JSP organization)

2004-07-22 Thread Jim Barrows
> -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 11:43 AM > To: Struts Users Mailing List > Subject: Re: Tag question (JSP organization) > > > Sure, Raghuram. > > Caution: long post! > > > Finally, restricting access to *.jsp in you

RE: Trouble with SSL and struts using sslext

2004-07-22 Thread Jim Barrows
> -Original Message- > From: Jim Kennedy [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 12:50 PM > To: 'Struts Users Mailing List' > Subject: Trouble with SSL and struts using sslext > > > I can't seem to get any of my action to go under https. The > config seems > fairly s

RE: Tag question (JSP organization)

2004-07-22 Thread Jim Barrows
ing for great things. I just don't want us > to program > ourselves out of a job! The trick is to not let anyone know we've done it. Isn't that what remote development is all about? Madly developing code from the bahamas while getting a tan and sipping margaritas.. :)

  1   2   3   4   5   6   7   8   >