Re: Mutlipage Forms Again (DynaValidatorForm)

2003-03-14 Thread Rick Reumann
. That way they can't move forward without having completed early steps. Would that work? Seems relatively clean to me. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Q] Use of DispatchAction with security concerns

2003-03-14 Thread Rick Reumann
to use token to avoid duplicate inserts Thanks for any Struts user comments on the issue. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: grouping actions problem

2003-03-14 Thread Rick Reumann
words you could have a delete button call the action: /deleteMember and still use in your mapping: type=net.creativerge.struts.action.MemberDispatchAction So you end up with different action mappings but still get to incorporate more than one event in the actual mapping. -- Rick Reumann

Re: grouping actions problem

2003-03-14 Thread Rick Reumann
words you could have a delete button call the action: /deleteMember and still use in your mapping: type=net.creativerge.struts.action.MemberDispatchAction So you end up with different action mappings but still get to incorporate more than one event in the actual Action class. -- Rick

Re: grouping actions problem

2003-03-14 Thread Rick Reumann
On Fri, 14 Mar 2003 12:26:37 -0500 Rick Reumann [EMAIL PROTECTED] wrote: So you end up with different action mappings but still get to incorporate more than one event in the actual mapping. Sorry for the duplicate message. I tried to catch this before it went out but I guess I didn't hit

Re: How to create table in struts?

2003-03-14 Thread Rick Reumann
overhead). -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: validate business data

2003-03-14 Thread Rick Reumann
action form is populated, any other validation I believe should be done in the business layer and throw an appropriate Exception which the action can then handle. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED

[Q] Scaffolding question in relation to multiple possible forwards

2003-03-14 Thread Rick Reumann
framework? Thanks for any help. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: BaseBean questions [was] [ANN] Struttin' With Struts beta(newbies esp. welcome)

2003-03-13 Thread Rick Reumann
? For example in a case where you had: EmployeeFormBean extends BaseBean I would take it EmployeeForBean would need to hold user fields such as firstName, lastName, address, etc with appropriate getter and setters. How do these fields then get passed to your DAO for the CRUD operations? Thanks, -- Rick

Re: html:messages/ not displaying messages

2003-03-13 Thread Rick Reumann
different) -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-13 Thread Rick Reumann
is what I'm using for the lessons (I just call it html:link but it's using the html-el.tld). Let me know if you have any suggestions. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-13 Thread Rick Reumann
, the more I think about it I actually really should just use constants there and I'll include your explanation. I'm pissed I didn't include it from the start. Thanks for the comments and suggestions. I appreciate it. -- Rick Reumann

Re: [ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-13 Thread Rick Reumann
On Thu, 13 Mar 2003 16:20:39 -0500 Rick Reumann [EMAIL PROTECTED] wrote: Maybe you can post to the list and ask why? he he I thought I was replying to a personal e-mail and didn't realize this went to the list... so I guess since it's now on the list... Why doesn't the html-el tag have

Re: Design Idea: FormBasedDispatchAction

2003-03-13 Thread Rick Reumann
the Submit button is named, It's just the hidden form parameter for my dispatch method that matters. I'm probably missing something that you are trying to accomplish though. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Help finding the right code for dynamic forms

2003-03-12 Thread Rick Reumann
all the [OT] stuff people post on the list (including myself:) this topic is not way OT at all. I'd be interested in hearing what you or others come up with. Thanks, -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Specifying comma-delimted Struts Config Files

2003-03-12 Thread Rick Reumann
, so when you figure what the problem is could you please post the solution (since I'm sure I'll run across it as well). Thanks, -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: ArrayList Object[] funkiness

2003-03-12 Thread Rick Reumann
including the base class Collection should work I believe with iterate (it doesn't have to be just type ArrayList... although I find myself using that one the most often). -- Rick Reumann - To unsubscribe, e-mail: [EMAIL

Re: ArrayList Object[] funkiness

2003-03-12 Thread Rick Reumann
Collections all the time in iterate. Maybe you could post the exact form bean definition and the iterate portion of you code in the jSP. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: ArrayList Object[] funkiness

2003-03-12 Thread Rick Reumann
-- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Conditional Displaying form properties - Seek Advice

2003-03-12 Thread Rick Reumann
the setup the test variable in my snippet code? I recommend you download the standard-examples.war file which has examples of all of these tags. They have a simple If.jsp which shows: c:if test=${customer.address.country == 'USA'} /c:if -- Rick Reumann

Re: Conditional Displaying form properties - Seek Advice

2003-03-12 Thread Rick Reumann
On Wed, 12 Mar 2003 17:44:36 -0500 Rick Reumann [EMAIL PROTECTED] wrote: I recommend you download the standard-examples.war file which has examples of all of these tags. Navigation I find a bit tricky finding the proper stuff to download. You can download the standard stuff here http

Re: ArrayList Object[] funkiness

2003-03-12 Thread Rick Reumann
and not the others... different jars in lib? Different tlds? Something is freaky there for sure. I'd stick with using a Collection though for your iterate and work on narrowing down what is enabling it work on one box and not another. -- Rick Reumann

BaseBean questions [was] [ANN] Struttin' With Struts beta (newbiesesp. welcome)

2003-03-12 Thread Rick Reumann
the way I've been using FormBeans so far). -- Rick Reumann Struttin' with Struts: http://www.reumann.net/do/struts/main - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-11 Thread Rick Reumann
-- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How define a DynaActionForm to display a collection ?

2003-03-11 Thread Rick Reumann
in a DynaActionForm. I like to initialize these Collections in a SetUpAction that will populate my DynaActionForm before forwarding to the JSP page of interest. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: How define a DynaActionForm to display a collection ?

2003-03-11 Thread Rick Reumann
(myCollection someList ); //forward to jsp page } The reason you'll want to subclass DynaActionForm is if you do some validation you probably will have to override the reset method. -- Rick Reumann - To unsubscribe, e

Re: [ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-11 Thread Rick Reumann
it in your webapps directory and it'll expand for you. Struttin' with Struts: http://www.reumann.net/do/struts/main -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Musings on MVC abstractions and bean transformation

2003-03-11 Thread Rick Reumann
there isn't much point in cutting corners with a dynamic solution. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-11 Thread Rick Reumann
in another demo and had the objects serialized so they persisted. I was too lazy in these lessons to add that extra functionality but probably will do so in a future lesson (or a reworking of the existing ones). -- Rick Reumann

Re: Want to stop tomcat's info messages from printing to console

2003-03-10 Thread Rick Reumann
timestamp=true/ /Context -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Want to stop tomcat's info messages from printing to console

2003-03-10 Thread Rick Reumann
On Mon, 10 Mar 2003 11:11:01 -0500 Rick Reumann [EMAIL PROTECTED] wrote: Normally I just configure a log4j.properties file so I don't run into this problem, but on a small demo app I just created I didn't. Even when I add the following to the server.xml file, I still get all the validator

Re: [OT]Re: quick log4j question

2003-03-10 Thread Rick Reumann
how do I know how it's configured to look for resources by default (probably a RTFM thing I'm guessing). -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[ANN] Struttin' With Struts beta (newbies esp. welcome)

2003-03-10 Thread Rick Reumann
I created a web site that walks new Struts users step by step through the development of three VERY simple web applications in three lessons. Each lesson adds a few more features so that they build upon each other yet each stands alone such that if you follow the steps in any lesson you'll have

Re: [OT]Re: quick log4j question

2003-03-09 Thread Rick Reumann
On Sun, Mar 09,'03 (12:29 PM GMT+0100), Manfred wrote: The best you can do to place your property file in any directory that contains to the classpath (e.g. WEB-INF/classes ...) and load the file So you are saying (in response to Dan's question) that it is best to just keep the

Re: [Design Pattern]FormBean in Model Layer

2003-03-09 Thread Rick Reumann
On Sun, Mar 09,'03 (10:58 PM GMT-), Puneet wrote: Thanks for your views, My basic intention is to avoid the headache of copying the values from FormBean to my Model layer. As Robert mentioned using the beanutils package is the way to go. Copying your formBean fields to your DTO is as

Re: [Q] Indexing properties via bean values

2003-03-08 Thread Rick Reumann
On Fri, Mar 07,'03 (09:54 PM GMT-0700), Jeff wrote: In my database, I have country codes. CA for Canada, US for the States, DE for Germany, etc. I'd like to have friendly names associated with each, and I'd like to put them in the application.properties so that they can be localized for

Re: SV: date format problems

2003-03-07 Thread Rick Reumann
swap out the converter at a later time. Let me know if this link helps. If you are still having trouble let me know. http://marc.theaimsgroup.com/?l=struts-userm=103487187525032w=2 -- Rick Reumann - To unsubscribe, e-mail

Re: How do you keep your session junk free?

2003-03-07 Thread Rick Reumann
/refresh type problems much more cleanly than other languages/frameworks. Explain how some other approach handles it in any better way? Use of token to prevent duplicate submissions works for me. And what do you mean by a continuation-style programming? -- Rick Reumann

[Q] Presentation of confirmation information that is meaningful touser?

2003-03-07 Thread Rick Reumann
department name the user selected (displaying the id would mean nothing to the user). How do you guys accomplish this? There are several ways I can accomplish it but none of them that I'm aware of are very pretty. -- Rick Reumann

Re: Want to stop tomcat's info messages from printing to console

2003-03-07 Thread Rick Reumann
appender for my application which logs everything in MyPackage and below. (I won't get INFO messages from stuff the container sets up this way). -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: How do you keep your session junk free?

2003-03-07 Thread Rick Reumann
for the information. Can this kind of behavior be achieved though simply by hitting a browser back button? I wouldn't think that would be possible without using javascript to resubmit the page or to make sure a fresh page was always being looked at? -- Rick Reumann

Re: [Q] Presentation of confirmation information that is meaningful to user?

2003-03-07 Thread Rick Reumann
=501Accounting/option Thanks Carlos and Joe, I tend to usually use this javascript solution or place maps in application scope and do a look up in my action and add it to the formBean there. Appreciated your feedback. Thanks. -- Rick Reumann

Re: Send variable from the Action to the forward jsp page

2003-03-07 Thread Rick Reumann
On Fri, 7 Mar 2003 22:13:03 +0100 Søren Blidorf [EMAIL PROTECTED] wrote: Is it possible to send a variable from the Action to the forward jsp page Just put it in request scope in your action. request.setAttribute(nameOfTheHandle, object ); -- Rick Reumann

[Q] Getting a handle to MessageResources in an ActionForm?

2003-03-07 Thread Rick Reumann
I normally use the DynaValidator stuff so I haven't run into this, but I'm writing up a lesson using a standard ActionForm with a validate method. In the validate method I have as an example: if ( getName() == null || getName().length() 1 ) { errors.add(name,new

Re: [Q] Getting a handle to MessageResources in an ActionForm?

2003-03-07 Thread Rick Reumann
On Fri, Mar 07,'03 (11:00 PM GMT-0500), Rick wrote: But what if I wanted to set up a global.required and wanted to pass in Name. I of course understand I could do: if ( getName() == null || getName().length() 1 ) { errors.add(name,new ActionError(error.name.required, Name)); } Of

Re: date format problems

2003-03-06 Thread Rick Reumann
for it. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: date format problems

2003-03-06 Thread Rick Reumann
to call it:) in one fell swoop: BeanUtils.copyProperties( beanToCopyTo, beanCopyingFrom ); Normally you don't even need to register a converter, but, unless things have changed recently, copyProperties() will not work by default on java.util.Date property. -- Rick Reumann

Re: [OT] IDE / ERD modeling (Was: Re: struts IDE)

2003-03-06 Thread Rick Reumann
customizable editor/IDE out there (at least that I've found). -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with FormFile.getInputStream()

2003-03-06 Thread Rick Reumann
kind of fileIO stream? -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wanted best practice for i18n'd optionsCollection

2003-03-06 Thread Rick Reumann
in your Action form, wouldn't it be simpler to just pass this locale into your business tier so you could populate a collection the correct i18n data? The JSPs and tags wouldn't know the difference or even care whether the collection was in English, German, etc. -- Rick Reumann

Re: logic iterate with nested class (I think that's the term)

2003-03-06 Thread Rick Reumann
=someMapInScope bean:write name=element property=key/ - bean:write name=element property=value/BR /logic:iterate Or better yet use JSTL tags: c:forEach var=element items=${someMapInScope} c:out value=${element.key}/ - c:out value=${element.value}/br /c:forEach -- Rick Reumann

Re: logic:iterate tag revisited

2003-03-06 Thread Rick Reumann
also positive that your imageFieldsList is being populated with the type com.crm.util.TemplateBeans.IMGTemplateBean You sure nothing is spelled wrong there..etc. ? I know a lot of this is probably obvious but it's always the obvious that gets me:) A mistyped letter or something. -- Rick Reumann

[OT] ignore. Testing.

2003-03-05 Thread Rick Reumann
-- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Form Beans: Design Question

2003-03-04 Thread Rick Reumann
in a formBean is usually very convenient and it makes it very easy to hand off the information to the business logic of your application. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [OT] Ancient computing (was RE: [OT] Don't beat on James! (wasRE:[OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data)

2003-03-04 Thread Rick Reumann
have been the C128 I played it on. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT]: What is vim?

2003-03-03 Thread Rick Reumann
about everything I could want from an editor/IDE). Problem I'm really having the most trouble with in vim is copying and pasting portions of text to different regions. I guess I just have to learn to use'yank' better. Learning curve does seem a bit rough though. Hope it does payoff. -- Rick

Re: [OT]: What is vim?

2003-03-03 Thread Rick Reumann
and don't have the time to learn vim:) -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT]: What is vim?

2003-03-03 Thread Rick Reumann
. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT]: What is vim?

2003-03-03 Thread Rick Reumann
On Mon, 3 Mar 2003 16:14:12 -0500 Mark Galbreath [EMAIL PROTECTED] wrote: Oh, quit yer whining http://www.ee.ryerson.ca:8080/~elf/hack/realmen.html And don't forget... My mom can beat up your mom:) -- Rick Reumann

Re: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread Rick Reumann
can do'most' everything you want that a large IDE does, yet you have a full featured, highly customizable, editor at your disposal as well. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [OT] Text editor usage (was RE: [OT]: What is vim?)

2003-03-03 Thread Rick Reumann
On Tue, Mar 04,'03 (01:44 AM GMT-), Sean wrote: who are ginger and mary anne? Ginger: http://www.gilligansisle.com/ginger.html Mary Ann http://www.gilligansisle.com/mary.html (Sad that I actually looked this up on Google:) -- Rick

Re: one more prepopulate question

2003-03-01 Thread Rick Reumann
On Sat, Mar 01,'03 (02:23 AM GMT-0600), Dan wrote: ore veteraned user. I just see this whole multiple-form prepopulate question cropping up time and again on this list if we don't have something in the FAQ about it. Coupled with the tidbits someone posted from Craig's snipet what would be

Re: Struts-el NOT working with Struts 1.1 RC1 Release

2003-03-01 Thread Rick Reumann
On Fri, Feb 28,'03 (07:59 PM GMT-0800), Craig wrote: I get somewhat depressed about the for obvious reasons reason that people give for not at least *trying* your app against the nightly builds. After all, the day that Struts 1.1 final is released, guess what -- it will have exactly the

just curious, shouldn't maybe message=true use error=true instead?

2003-03-01 Thread Rick Reumann
Nothing major here, I'm just curious why the messages:present tag uses message=true in order to check if ActionMessages are present. I was thinking since ActionMessages is the base class of ActionErrors that it might make more sense if messages:present would show all messages, or at least

Re: Reading Date

2003-02-28 Thread Rick Reumann
On Fri, Feb 28,'03 (11:36 AM GMT+0530), varma wrote: I Declared Timestamp obj in my bean to store the date, it is giving IllegalArugumentException in jsp, when i'm trying to get it from jsp using html:text property=startDate/ It's ok if you have a business object has a Timestamp field, but

Re: one more prepopulate question

2003-02-28 Thread Rick Reumann
. Maybe there is another way to do it that I'm missing. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: one more prepopulate question

2003-02-28 Thread Rick Reumann
. That was exactly what I was looking for! Thank you (and Craig of course:). -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: one more prepopulate question

2003-02-28 Thread Rick Reumann
a different way? Thanks, -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Surpress Validation Logging

2003-02-27 Thread Rick Reumann
for standard out to be ERROR and you should be ok. Someone that probably knows a way other than having to use log4j hopefully will chime in. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: DynaValidatorActionForm

2003-02-27 Thread Rick Reumann
, but I'm a bit confused. I like to first set up my page by having a mapping submit to a setUp Action. Then in this setUp action you could just do: DynaActionForm f = (DynaActionForm) form; f.set(firstName, John Doe); //etc. then you would just forward to the jsp form. -- Rick Reumann

[Q] Revisiting: Repopulating Lists after validation returns false

2003-02-27 Thread Rick Reumann
work around to this problem? or other suggestions of where/when to repopulate lists after validation? -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Q] Revisiting: Repopulating Lists after validation returnsfalse

2003-02-27 Thread Rick Reumann
taking care of removing it. But now that I think about it it would be very easy to remove the list from the Session once they get to the appropriate Action. I guess the simplest solution is often the best:) -- Rick Reumann

Re: [Q] Revisiting: Repopulating Lists after validation returnsfalse

2003-02-27 Thread Rick Reumann
ActionErrors (which there shouldn't be if you are just coming from a normal set up of the form). That might even be easier, although I haven't tried it. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [Q] Form doesn't keep options list ... JSP has no list

2003-02-27 Thread Rick Reumann
is null - nothing filled it!!! how I can resolve my problem? Look down on the list to the messages just posted about this under.. Revisiting: repopulating lists after validation returns. There are several ways to do it. Simplest is to just put your collection into session scope. -- Rick Reumann

Re: Reading Date

2003-02-27 Thread Rick Reumann
On Fri, Feb 28,'03 (09:20 AM GMT+0530), varma wrote: Hi All How can i read a date from the jsp using struts, i defined date variable of type timestamp. it is throwing exception... What do you mean read a date from the jsp and what exception is it throwing? Are you getting an error

Re: one more prepopulate question

2003-02-27 Thread Rick Reumann
On Wed, Feb 26,'03 (06:51 PM GMT-0600), Dan wrote: I know that the prepopulate question has been beaten into the ground around here and the answer on the FAQ page is complete in answering most questions I have about the concept. But I just want to run something by this list, see if I am

Re: Reading Date

2003-02-27 Thread Rick Reumann
On Fri, Feb 28,'03 (11:36 AM GMT+0530), varma wrote: I Declared Timestamp obj in my bean to store the date, it is giving IllegalArugumentException in jsp, when i'm trying to get it from jsp using html:text property=startDate/ It's ok if you have a business object has a Timestamp field, but

Re: Reading Date

2003-02-27 Thread Rick Reumann
On Fri, Feb 28,'03 (11:36 AM GMT+0530), varma wrote: I Declared Timestamp obj in my bean to store the date, it is giving IllegalArugumentException in jsp, when i'm trying to get it from jsp using html:text property=startDate/ It's ok if you have a business object has a Timestamp field, but

Re: websites that use Struts..

2003-02-26 Thread Rick Reumann
). You could check out the list here: http://nagoya.apache.org/wiki/apachewiki.cgi?BenefitsOfStruts Please anyone add to it and fix it up. I wrote it very quickly. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: websites that use Struts..

2003-02-26 Thread Rick Reumann
a major company now using Struts- can't remember which one. I'll have to search the archives. I want to say it was a very large automobile company but I could be way off. I agree a nice recent up-to-date list would be helpful. -- Rick Reumann

Re: help with installing a simple web app

2003-02-23 Thread Rick Reumann
On Sun, Feb 23,'03 (02:49 AM GMT-0800), bobd wrote: I first tried creating a .war and placing it in the webapps directory (same problem), now I've copied the entire app directory to webapps. I added a Context... element to server.xml under the Tomcat conf directory as well. First look

Re: Design question

2003-02-22 Thread Rick Reumann
On Sat, Feb 22,'03 (03:22 PM GMT+0100), alexj wrote: What's the best to do if for example I got a view where an user can choose to view students by class, view students by year or view students by year ? I think the best is to bring back the results in a table in some default manner (by

Re: What is the best method to set default values of a form?

2003-02-22 Thread Rick Reumann
On Sat, Feb 22,'03 (11:38 AM GMT+0100), Zsolt wrote: I understand that the reset method should not be used to set the default values of the fields of a form. What is the preferred way? I think it's best to populate the default form information in an ActionClass. So if I had an insertEmployee

Please review my benefits of struts list and provide things toadd to it. Thanks!

2003-02-21 Thread Rick Reumann
draft). Thanks so much. List is here: http://www.reumann.net/BenefitsOfStruts.html -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Please review my benefits of struts list and provide thingsto add to it. Thanks!

2003-02-21 Thread Rick Reumann
On Fri, 21 Feb 2003 17:48:54 -0500 Rick Reumann [EMAIL PROTECTED] wrote: I'm working on coming up with a document that lists a lot of cool benefits to using Struts. It's more of a list for to aid in helping others that already 'think' they have a great MVC architecture in place. I believe

Re: [OT] logging level in Tomcat 4.1.18

2003-02-18 Thread Rick Reumann
classes directory and and made the application root standard out set to Error. I started then using log4j so as well so it all started fitting together nicely. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: still wondering Re: Where to repopulate dynamic lists ?

2003-02-15 Thread Rick Reumann
On Wed, Feb 12,'03 (07:45 AM GMT-0500), Robert wrote: Rick, I usually define the setUpForm action URI as the input attribute of the processForm action element. That way if a validation error occurs the request is forwarded to the setUpForm action which repopulates the list and forwards to

Re: still wondering Re: Where to repopulate dynamic lists ?

2003-02-11 Thread Rick Reumann
scope and repopulate this list when reset is called. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Where to repopulate dynamic lists ?

2003-02-10 Thread Rick Reumann
Sorry to repost this question but it still has me wondering... Say you have a form where a user is to select An Order To Update from an options list. Now also assume that these orders to choose from change very frequently. You also will need to validate the form when it's submitted. * Where is

Re: difference between class with static method and singletonpattern

2003-02-10 Thread Rick Reumann
arguments passed in, I wouldn't think you'd need to do either of you approaches. public method( String var ) { //do stuff with var in here with and with new Instances of // any other classes and you need and you should be fine. } -- Rick Reumann

Re: Where to repopulate dynamic lists ?

2003-02-10 Thread Rick Reumann
a callback in the Action that was invoked after validation failure, but before forwarding to the input view? What do others think of this approach? What other solutions are there? Joe -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10

still wondering Re: Where to repopulate dynamic lists ?

2003-02-10 Thread Rick Reumann
Thanks for the feedback. Some comments below. Remember the problem isn't with setting up the list into scope from an Action, it's what to do when validation takes place and the validation returns false returning you back to the initial jsp page. On Mon, Feb 10,'03 (10:38 PM GMT-0500), Mitchell

What is the best practice for reseting dynamic lists?

2003-02-08 Thread Rick Reumann
As a hypothetical, say you have a form where a user is to select favorite song. Now also assume that the songs to choose from change very frequently. You also want to validate the form. Where is it best to repopulate this type of dynamic list which is necessary so that the list will show up again

Re: DispatchAction error handling how to?

2003-01-26 Thread Rick Reumann
On Sun, Jan 26,'03 (09:43 PM GMT+0100), Johan wrote: Hi all, Can somebody please trow a light on error handling using a DispatchAction. The class org.apache.struts.actions.DispatchAction in Struts 1.1b2 is catching an InvocationTargetException. So when the 'dispatchMethod' invokes a

Re[2]: The display:* tag library

2003-01-23 Thread Rick Reumann
On Thursday, January 23, 2003, 8:33:20 AM, Robert wrote: RT Matt, RT I'ld like to see Ed's paging API broken into more layers; RT separate paging functionality from HTML generation. RT I've already tweaked the code a little to provide the ability RT to publish the current page and page size

Re: A Useful Struts Resource

2003-01-22 Thread Rick Reumann
On Wednesday, January 22, 2003, 11:22:18 AM, JONATHAN wrote: JPH The only I problem is I don't know how compatible this is gonna be with Netscape, JPH Mozilla and the other browsers. This isn't a struts issue. Struts doesn't even deal with client side browser stuff. Just do all your validation

Re[2]: A Useful Struts Resource

2003-01-22 Thread Rick Reumann
On Wednesday, January 22, 2003, 11:58:45 AM, JONATHAN wrote: JPH Struts doesn't deal with client side browser stuff, your right, JPH but for those of us building complex user interface components in JPH a browser we have to use something. Making the same JPH functionality available in desktop

[OT] Re[2]: Nobody answers....

2003-01-22 Thread Rick Reumann
On Wednesday, January 22, 2003, 1:17:13 PM, James wrote: JC Basically yours, Hey, this sounds just a bit too friendly :) -- Rick mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: db connection pool question

2003-01-21 Thread Rick Reumann
On Tuesday, January 21, 2003, 9:56:09 AM, david wrote: dc Hi, I am using a connection pool from dc org.apache.commons.dbcp.BasicDataSourceFactory and the driver is dc oracle.jdbc.driver.OracleDriver. It works great until if the dc server idle for a few days, then the connection object seems dc

Re[2]: [OT] Eclipse IDE

2003-01-21 Thread Rick Reumann
On Tuesday, January 21, 2003, 10:53:31 AM, ROSSEL wrote: RO Then what's the way Idea works? It is supposed to be fast. Which RO widget family does it use? That's what I find so amazingI use IDEA and it flies. Totally as fast as any Windows app I run. No joke. The scary part is it's totally

<    1   2   3   4   5   >