Re: Ideas for doing a spreadsheet-styled tables using Struts tags

2002-10-10 Thread Rick Reumann
On Thursday, October 10, 2002, 7:55:21 PM, David wrote: DM I am currently looking for ideas on ways to display potentially DM large amounts of data in a spreadsheet format using Struts. Check out using this display tag: http://edhill.its.uiowa.edu/display/ I couldn't live without

Re[2]: Access JSP in the WEB-INF

2002-10-09 Thread Rick Reumann
On Wednesday, October 9, 2002, 2:25:58 PM, James wrote: JM (I *actually* have a separate JM folder in Outlook for saving useful emails, and under it I have another JM folder called Gurus which I keep copies of old emails from the Strut's JM Best.) Funny you mention that:) Actually, what

using PropertyUtils with DynaActionForm

2002-10-08 Thread Rick Reumann
According to what I read in the archives I should be able to use the copyProperties method in PropertyUtils to transfer DynaActionForm properties to another bean. However, every time I try this, I get the following thrown as an Exception: java.lang.NoSuchMethodException: Unknown property 'class'

Re[2]: using PropertyUtils with DynaActionForm

2002-10-08 Thread Rick Reumann
On Tuesday, October 8, 2002, 6:35:35 PM, Eddie wrote: EB If both objects have accessors that support the same types, EB PropertyUtils should work fine. If they don't you'll want to use EB BeanUtils instead. Thanks Eddie, BeanUtils did the trick. I'm wondering is it a bad idea to have

[BEAN/LOGIC] How to avoid some ugliness

2002-09-18 Thread Rick Reumann
One of the properties of my form is localTaxCodes which is an ArrayList of TaxCodes beans. If the size of this ArrayList (localTaxCodes) is greater than 0 then I want to display the select box information. Seems easy enough, but I'm stumped on how to do this cleanly I want to use the

Re[2]: [BEAN/LOGIC] How to avoid some ugliness

2002-09-18 Thread Rick Reumann
On Wednesday, September 18, 2002, 2:59:32 PM, Robert wrote: RT Rick, currently I use the bean:size tag to expose the size of the RT collection and then I use the logic:greaterThan. A.. perfect! Thanks Robert. I was looking through the bean tag docs here

Re: How to install on Oracle9iAS?

2002-09-08 Thread Rick Reumann
On Sunday, September 8, 2002, 2:03:48 PM, David Griffiths wrote: DG -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 DG Does anyone know of a good tutorial on how to use struts on an Oracle DG 9iAS server? It isn't listed as far as I can see on DG

concern over validation results

2002-09-05 Thread Rick Reumann
Sorry to repeat this question, possibly someone can help out... Is there any way I could use the validation package to not only just return errors where a required form field is missing but also on the FIRST return also bring back validation of form fields that are designated as 'not required'

Re[2]: concern over validation results

2002-09-05 Thread Rick Reumann
On Thursday, September 5, 2002, 5:11:40 PM, Devin wrote: RDND are you doing your validations in JavaScript (html:javascript RDND formName=myForm /) or are you doing it on the server with Java RDND (myForm::validate())? I'm using DynaValidatorForm and the validation that should take

Re[2]: concern over validation results

2002-09-05 Thread Rick Reumann
On Thursday, September 5, 2002, 5:32:15 PM, David wrote: DG I doubt that you've set things up wrong, because I've experienced the DG same problem, among others, using the validator. My feeling is that the DG validator's not quite ready for prime-time with Struts; I've gone back DG to

Re[2]: NullPointerException when using DynaValidatorForm

2002-09-04 Thread Rick Reumann
On Wednesday, September 4, 2002, 10:27:08 AM, Ashish Kulkarni wrote: AK HI AK Here is my jsp page, this has only one drop down box, AK html:form action=/pages/selectenv name=test type=DynaValidatorForm AK html:select property=envDrop size=5 AK html:optionsCollection name=ll1002

How to handle this without using Session scope?

2002-09-03 Thread Rick Reumann
I have a DynValidatorForm set up for an Employee. One of the fields in this form is 'states' as an ArrayList which contains State beans (for abbreviation, and full state name). In my Action form the Dynamic Form is first set with the ArrayList of states then it forwards to the jsp page for

Re: How to handle this without using Session scope?

2002-09-03 Thread Rick Reumann
On Tuesday, September 3, 2002, 11:46:14 AM, Rick wrote: RR but there must be a good solution I am overlooking for doing all RR of this with request scope. What actually would be ideal is if I could somehow set it in the DynaForm like I do for some other string properties

Re: How to handle this without using Session scope?

2002-09-03 Thread Rick Reumann
On Tuesday, September 3, 2002, 11:46:14 AM, Rick wrote: RR i but there must be a good solution I am overlooking for doing all RR of this with request scope. (For example what if it was a list of RR cars the user had to select from, I might not want that car list RR in session scope).

Re[2]: How to handle this without using Session scope?

2002-09-03 Thread Rick Reumann
On Tuesday, September 3, 2002, 1:16:26 PM, Billy wrote: BN In your remedy, do you mean I could re-set the objects to the request in the BN reset method too? Well you won't get null pointers on the object they select on the form when the validation is done, only on those that are not set

Re: NullPointerException when using DynaValidatorForm

2002-09-03 Thread Rick Reumann
On Tuesday, September 3, 2002, 4:37:30 PM, Ashish wrote: AK I get NullPointerException when i load the form AK java.lang.NullPointerException AK at org.apache.struts.action.DynaActionForm.getDynaProperty(DynaActionForm.java:551) SNIP What's the JSP page look like?

Re: [VALIDATOR] Validating Date with DynaValidator

2002-09-03 Thread Rick Reumann
On Tuesday, September 3, 2002, 5:45:57 PM, Axel Stahlhut wrote: AS This is my validation-rules.xml: AS validator name=date AS classname=org.apache.struts.util.StrutsValidator ASmethod=validateDate AS methodParams=java.lang.Object, AS

Re[2]: [VOTE] Should this list discontinue it's long,treasured herit age of relaxed fridays?

2002-08-30 Thread Rick Reumann
On Friday, August 30, 2002, 1:47:41 PM, Tony wrote: HT Not only do excessive e-mails flood inboxes they also pollute HT mail archive including the search results. Actually that's the one thing that hurts the most I believe about the off topic posts. Granted if you search on

Re[2]: [Buttons] How do i code this in struts

2002-08-30 Thread Rick Reumann
On Friday, August 30, 2002, 2:32:50 PM, Susmita wrote: SP How do i change %= proc.getBigBrotherReport()% to be struts complaint as SP its giving me an error out there What are you doing struts-wise that is giving you the error? Can you paste the struts code you are trying to use

Re: Is having serveral actions mappings to one Action bad design?

2002-08-30 Thread Rick Reumann
On Friday, August 30, 2002, 2:27:25 PM, Francis wrote: FL Does anybody have any ideas on which design they preferor are FL there other ways as well to design web apps with struts. I've been using the DispatchAction design now and really like it. I'm actually lazy and use the one

Re[2]: Are we getting off the topic

2002-08-28 Thread Rick Reumann
On Wednesday, August 28, 2002, 4:29:05 PM, Jim Conrad wrote: JC snip So read, then search, then ask. Does anyone else, though, find both of the above very very difficult with apache related materials? By no means am I saying don't try the Struts documentation and the user archives first, but

Re[4]: Are we getting off the topic

2002-08-28 Thread Rick Reumann
On Wednesday, August 28, 2002, 5:26:45 PM, Brandon Goodin wrote: BG Tiago and I are hoping to update that :-) see the struts developer BG and design pattern guide i just posted. There is also a need for BG the gathering of faqs that exist in the HEAD now. I'd be more than willing to help in

[OT] conn pooling - what next?

2002-08-27 Thread Rick Reumann
I know this topic has come up in the past, but I'm wondering if someone can help. I haven't tried Struts or Tomcat connection pooling, but have tried some others recommended. The latest one recommended on a Tomcat post was http://connpool.jensn.de/index.html and it seemed to be working great.

Re[2]: [OT] conn pooling - what next?

2002-08-27 Thread Rick Reumann
On Tuesday, August 27, 2002, 10:49:45 AM, Kevin wrote: KAS If the DBA is manually killing off your connections, then the KAS pool needs to be paranoid about checking to see if the connection KAS is available before each operation. So this adds overhead to KAS using the pool. Is there a

Re[4]: [OT] conn pooling - what next?

2002-08-27 Thread Rick Reumann
On Tuesday, August 27, 2002, 11:10:53 AM, Kevin wrote: KAS If you're not concerned about these other errors, then Poolman KAS (if you can still find it) might be a good fit. If I remember KAS correctly, you could specify a SQL statement for it to execute KAS (select 1 from dual) before

Re[6]: [OT] conn pooling - what next?

2002-08-27 Thread Rick Reumann
be: AS parameter ASnameusername/name ASvaluedbusername/value AS /parameter AS Andrew AS On Tuesday, August 27, 2002, at 10:23 AM, Rick Reumann wrote: On Tuesday, August 27, 2002, 11:10:53 AM, Kevin wrote: KAS If you're not concerned about these other errors, then Poolman KAS

Re[2]: [OT] conn pooling - what next?

2002-08-27 Thread Rick Reumann
On Tuesday, August 27, 2002, 5:02:56 PM, Stephen wrote: JS Sorry forgot the code. If you are not familiar with AspectJ JS http://aspectj.org/servlets/AJSite JS AspectJ connection pooling written by Ivan Kiselev consists of 2 aspect JS classes SNIP H... There isn't any kind of

What if you need all your dispatchAction methods to call a common method?

2002-08-26 Thread Rick Reumann
Before I get yelled at for handling if a user logged in by the application and not by the container, let me first explain it's not my first choice to do it this way... it's a long story but just wanted to set that out before I get e-mails about not having the struts application deal with a user

Re: referring a nexted:iterate element in JavaScript

2002-08-26 Thread Rick Reumann
On Monday, August 26, 2002, 6:20:39 PM, Saptha wrote: SGG nested:iterate property=item indexId=count SGG nested:text property=quantity size=15 onchange=gettotal(this, ??price??); / SGG nested:text property=price size=5/ SGG nested:text property=total size=15 value=/ SGG

Re: Checkboxes - select All

2002-07-29 Thread Rick Reumann
On Monday, July 29, 2002, 5:10:02 PM, Struts wrote: SN Perhaps I'm going about it the wrong way by selecting them with SN Javascript, although I don't see anyother solution (I don't really want SN to post the form just to select the boxes). Personally I think this is a perfect valid

sort of off topic validation in console window

2002-07-23 Thread Rick Reumann
What do I need to configure, add or whatever to keep Tomcat from displaying all my validation rules information in the console window when it loads up? It really slows things down. Thanks so much -- Rick mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re[2]: sort of off topic validation in console window

2002-07-23 Thread Rick Reumann
On Tuesday, July 23, 2002, 10:36:14 AM, Robert wrote: RT Just a guess Rick, but I would imagine that Struts Validator uses RT Digester to read the rules from the appropriate xml file and RT convert them into in-memory objects. Have you set Digester logging RT to -1. I could be way off base

Re[3]: getting nested tags to work with DynaActionForm???

2002-07-17 Thread Rick Reumann
Craig and company, I'll comment some more below but I want to first explain what needs to be set up and handled. I have an ArrayList of beans. Each bean in this ArrayList also contains an ArrayList of String object. On my JSP I'm using the nested tag (new to using it- bannana stuff very helpful

Re[4]: getting nested tags to work with DynaActionForm???

2002-07-17 Thread Rick Reumann
Actually I just realized part of the problem below is/was is that even using the standard ActionForm I can't seem to get the nested ArrayList stuff to take upon submission unless I give the form session scope. I'm sure this question has been answered before so I'll look in the archives (

Re[2]: Pre-Populating Form

2002-07-17 Thread Rick Reumann
On Wednesday, July 17, 2002, 1:51:25 PM, Mark wrote: GM There is Struts-specific info on why you need to synchronize calls GM in Action classes in the Struts User Guide (section 4.3) and the GM API (class Action): GM http://jakarta.apache.org/struts/userGuide/building_controller.html#action_f

Re[4]: getting nested tags to work with DynaActionForm???

2002-07-17 Thread Rick Reumann
On Wednesday, July 17, 2002, 7:39:23 PM, Craig wrote: Agreed, that does walk into the realm of Big Brother code. I guess it's just going to be a rough spot for DynaNewbies. CRM Not any rougher than it is for people trying to understand standard CRM ActionForms :-) Correct me if I'm

getting nested tags to work with DynaActionForm???

2002-07-16 Thread Rick Reumann
I had an ArrayList property set in my DynaActionForm and it worked fine with the nested tag in displaying the information from the beans in the ArrayList of this DynaActionForm. The problem however came when I when I hit submit with the updated information. I kept getting BeanUtils.populate

Re[2]: Arron Bates, Monkey Example: List of BananaLists

2002-07-16 Thread Rick Reumann
On Monday, July 15, 2002, 4:00:41 PM, hemant wrote: h I have a situation where I have a Collection of banana Lists. h nested:iterate id=crateOfBanaLists name=rangesform property=crates h type=java.util.Collection h nested:iterate id=bananaList h nested:write name=bananaList

How to tell what dispatch methods are called in config.xml ?

2002-07-15 Thread Rick Reumann
For this app I'm working on I've set it up where I only have one Action class which extends DispatchAction. One thing I'm noticing as this app develops is that it can be a bit confusing keeping track of what method in the action class is called by simply looking at the struts-config.xml file. I'm

Should I bother to try and handle this with struts?

2002-07-11 Thread Rick Reumann
I'm confused how I can/should handle this in Struts... What I need to build (and long story why) is a User Administration utility and where I'm having trouble fitting this in with struts is in regard to the following: Picture a case where you want to give user's certain roles based on certain

Re[2]: Should I bother to try and handle this with struts?

2002-07-11 Thread Rick Reumann
= request.getParameter( itemInList ); //now update db with this value for this item //continue loop Maybe I have no choice. I'm just not clear how I can use a Struts form to capture this dynamic list of items, since I can't configure the fields beforehand. Thanks for any more help -- Rick EB Rick

Re[2]: How to avoid a scriplet and make this cleaner?

2002-07-01 Thread Rick Reumann
Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 7:22 PM To: Struts Users Mailing List Subject: How to avoid a scriplet and make this cleaner? For this example I have an ArrayList of cars (which are CarBeans with String carName, int id ). I want to iterate

Anyone else with the ctrl-s switching buffer problem?

2002-07-01 Thread Rick Reumann
I know Slava said he was going to work on this when he gets all settled into Canada, but in the meantime, I'm curious if anyone else is running into this problem and if so have they found a solution?... It's becoming more common now that when I hit ctrl-s to save my buffer it ends up switching

[IGNORE!] Re: Anyone else with the ctrl-s switching buffer problem?

2002-07-01 Thread Rick Reumann
Oops...SO SORRY:) Meant to send this to the JEdit list. I apologize. Been doing so much Struts stuff lately, becoming a habit posting to this list. I apologize. Moderators feel free to delete this thread from the archives if possible. On Tuesday, July 2, 2002, 12:14:00 AM, Rick Reumann wrote

Re[2]: what to store in session?

2002-06-26 Thread Rick Reumann
On Wednesday, June 26, 2002, 12:31:11 PM, Craig wrote: CRM * Do not store complete data structures that are large and complex, CRM unless they really represent shared application data (in which case CRM they should probably be in the servlet context attributes instead). CRM * Hide the

Re[3]: what to store in session?

2002-06-26 Thread Rick Reumann
Thanks so much Craig, this has been tremendously helpful! Some comments below... On Wednesday, June 26, 2002, 2:38:54 PM, Craig wrote: CRM My suggestion is to implement this logic inside a bean that hides whether CRM or not you are really caching the data or not -- say a StoresBean CRM

Re[4]: what to store in session?

2002-06-26 Thread Rick Reumann
Sorry Craig, I just realized I misread some of what you originally wrote. You were talking about sharing 'across' applications and I wasn't concerned with that so much. You can ignore my previous post. I apologize. Rick On Wednesday, June 26, 2002, 3:16:11 PM, Rick wrote: RR Thanks so much

Troubles: struts and Tomcat4 under Apache

2002-06-24 Thread Rick Reumann
I don't have Apache running locally for me, but my new hosting provider has Apache 1.3.24 and Tomcat 4.0.3 and I'm working with support trying to get a simple test struts app to work correctly. The problem seems to be going through Apache. (Works fine if point straight to Tomcat). It doesn't seem

more parsing required error

2002-06-22 Thread Rick Reumann
Forgive me if this is no longer a struts issue, but maybe someone has encountered it when using Tomcat4.0.3. For some reason now whenever I try to include a file that uses struts tags I'll get the error: End of content reached while more parsing required: tag nesting error? I don't get this

Re: more parsing required error

2002-06-22 Thread Rick Reumann
On Saturday, June 22, 2002, 1:32:46 PM, Rick Reumann wrote: RR End of content reached while more parsing required: tag nesting error? RR I don't get this error under Tomcat3 or if I do an include that RR doesn't have any struts tags in it. If it helps below is the example RR of a page

Re[2]: html:messages

2002-06-14 Thread Rick Reumann
On Friday, June 14, 2002, 9:55:20 AM, wbchmura wrote: wEBc I was thinking the html:message tag would function alot like the wEBc html:errors tag. Why would it not work the same? I'm not sure actually. I'm guessing if I looked at the source of the errors tag it would be doing more

Re: Any draw backs of using DYNA FORM BEANS....?

2002-06-13 Thread Rick Reumann
On Thursday, June 13, 2002, 11:03:04 AM, Rajesh wrote: RK I justed wanted to see what the genral feeling is about using DYNAFORMBEANS RK instead of plain old Action Forms, I'm loving them. Chuck has shown me the light:) You should read this chapter here

advice- session vs request scope for Action Form

2002-06-13 Thread Rick Reumann
It seems as though the majority of times your ActionForms should use request scope, but what about situations where you might grab data from one jsp form and then need to use the information you got from that page during other parts of your application. Here's the actual situation... 1) user has

Re: html:messages

2002-06-13 Thread Rick Reumann
On Thursday, June 13, 2002, 6:22:54 PM, [EMAIL PROTECTED] wrote: wEBc ACTION CODE--- wEBc ActionMessages amsgs = new ActionMessages(); wEBc ActionMessage am = new ActionMessage(drilldown.results.nomatches); wEBc

Re: Problem with PropertyUtils.copyProperties(...

2002-06-12 Thread Rick Reumann
Juan, I think I made a mistake (sort of) when I shared some of this code. I didn't realize you don't need the dispatch field (or whatever you want to name it) in the actual DynaActionForm or an ActionForm. I notice that the UserDTO doesn't have the dispatch member in it, so maybe the

Re: Validator and DispatchAction

2002-06-12 Thread Rick Reumann
On Wednesday, June 12, 2002, 10:14:09 AM, William wrote: WW I have a UserForm, the fields are : userId and userName. WW I have a UserAction that extends DispatchAction. The UserAction have two WW methods (insert and update). For the insert method only the userName is WW required, and for

If several JSs share the same action mapping...?

2002-06-12 Thread Rick Reumann
How to do you deal with the input=? parameter when setting up an action mapping that different JSPs will share? I thought this input declaration was so if you are using validation it knows which page to return to with the validation errors. How is this accomplished when you have different JSPs

Re[2]: If several JSPs share the same action mapping...?

2002-06-12 Thread Rick Reumann
://struts-atlanta.open-tools.org -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 3:31 PM To: Struts List Subject: If several JSs share the same action mapping...? How to do you deal with the input=? parameter when setting up an action

Re[2]: If several JSPs share the same action mapping...?

2002-06-12 Thread Rick Reumann
Rick Reumann wrote: Sorry James, I don't think I described the situation to well and I'm sure there probably is a better way to handle this... Easiest way is an extreme example.. What if you had 4 different JSPs that captured the same information in a form YET everything else on the page

Re[2]: If several JSPs share the same action mapping...?

2002-06-12 Thread Rick Reumann
On Wednesday, June 12, 2002, 5:42:27 PM, Ted wrote: TH The input property doesn't have to be a JSP. It could be another TH action. If that action had another way, besides the input TH property, to determine where to send control, it could return TH whatever ActionForward needed. Hmmm,

Re[4]: If several JSPs share the same action mapping...?

2002-06-12 Thread Rick Reumann
On Wednesday, June 12, 2002, 9:37:24 PM, Robert Taylor wrote: RT That's what the action mappings are for. I don't think it is RT necessarily bad to have a bunch of action mappings. IMHO, I would RT rather have multiple action mappings than a code kludge. Yea, I'm realizing that now. It

Re[2]: Database access design question

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

Nature of the beast or is there a better way?

2002-06-10 Thread Rick Reumann
(cleaned this previous post up a bit..) I have a select option list that is populated by a Collection of UserType beans. At the very least my Action Form( DynaActionForm actually) will need to get populated with the userTypeId and the userTypeName of the UserType selected from this

Re[2]: best way to put index of collection in option(s) tag ?

2002-06-09 Thread Rick Reumann
to have a field for an index that 'might' get populated if it's used in a Collection? (I'm not saying it doesn't make sense, just thinking aloud ). [original post below:] ST --- Rick Reumann [EMAIL PROTECTED] wrote: What is the best way to put the index value of a collection in a select

Is there a cleaner way to get this information?

2002-06-09 Thread Rick Reumann
I have a select option list that is populated by a Collection of UserType beans. At the very least my Action Form( DynaActionForm actually) will need to get populated with the userTypeId and the userTypeName of the UserType selected from this selection list. I know this should be easy but what

best way to put index of collection in option(s) tag ?

2002-06-08 Thread Rick Reumann
What is the best way to put the index value of a collection in a select options list? I'm currently doing this: html:select styleClass=field property=userTypeId logic:iterate id=element name=userTypes indexId=index html:option value=%= index.toString() % bean:write name=element

populating Collections one time?

2002-06-07 Thread Rick Reumann
I know this isn't a struts specific question and is probably more appropriate for a servlets list but possibly struts has a way of handling things that I'm unaware of. (Struts people seem to be the creme of the crop also so I value your suggestions:) I'm sure this topic has come up before but

Re: Struts-compatible JSP Tidy?

2002-06-07 Thread Rick Reumann
On Friday, June 7, 2002, 11:15:14 AM, Chris wrote: CH Does anyone know of a program that tidies (i.e. pretty-prints, CH beautifies) JSPs and, in particular, JSPs with Struts tags? About a year ago I was using JRun studio occasionally ( I didn't like it ) and it was supposed to have an

Re: seeking help with tip#2

2002-06-07 Thread Rick Reumann
On Friday, June 7, 2002, 1:32:25 PM, Dan wrote: DM My problem is that the test method is not getting invokedthe DM perform method logs the correct values for the form parameter dispatch DM and forwards to the success page. Any help would be greatly appreciated. Whatever will be calling

Re: DynaActionForm and validate method

2002-06-07 Thread Rick Reumann
On Friday, June 7, 2002, 4:17:13 PM, Ryan wrote: RN I created this form bean that extends DynaActionForm and just has RN the validate method. In the struts-config.xml file I created the RN form properties. You don't need to code a bean using the DynaActionForm. The DynaAcionForm will be

Re: Please recommend a IDE

2002-06-05 Thread Rick Reumann
On Wednesday, June 5, 2002, 8:20:51 AM, Chiming wrote: CH Can you please recommend a IDE for working on Tomcat 4.0.3 + CH Struts 1.0.2 + Ant 1.4.1? I vote for JEdit http://www.jedit.org/ and also I'm finding GEL pretty nice on a windows platform: http://www.gexperts.com/

ValidatorPlugin and Dynamic Action Forms?

2002-06-03 Thread Rick Reumann
Not trying to be a pest re-posting but maybe some gurus missed the post.. I'm curious if anyone knows how to get a DynaActionForm configured to uses struts validation? I searched the archives here but only found someone else with the same question which no one answered, so maybe it can't be

Re[2]: ValidatorPlugin and Dynamic Action Forms?

2002-06-03 Thread Rick Reumann
On Monday, June 3, 2002, 7:21:03 PM, Mark wrote: GM Not ignoring you, Rick...I haven't used DynaActionForm (yet). he he no problem:) I didn't think you were... well unless it was Friday :) -- Rick mailto:[EMAIL PROTECTED] One thing kids like is to be tricked. For instance, I was going to

Re[2]: related to: Re: #2 - Use DispatchAction to organize related operations

2002-06-03 Thread Rick Reumann
On Monday, June 3, 2002, 10:58:07 PM, Chuck Cavaness wrote: CC What I suggest is to look at the processPreprocess() method in the CC RequestProcessor and possibly override this to do your checks. It's called CC for every request and long before ActionForm's are populated and Action's CC are

How to get Dynamic Action Form to ues ValidatorPlugin ?

2002-06-01 Thread Rick Reumann
I have a sample Dynamic Action Form set up like this: form-bean name=userForm dynamic=true type=org.apache.struts.action.DynaActionForm form-property name=id type=java.lang.String/ form-property name=firstName type=java.lang.String/ form-property name=lastName

DAO- BO in Struts

2002-05-31 Thread Rick Reumann
Ranjan, Sorry to bother you again. Have two quick questions that you probably already answered for me but with all the threads I have saved I can't seem to find it. 2 Questions after your post below... On Thursday, May 16, 2002, 12:14:38 PM, Ranjan wrote: PR The way I do it is - BO -- DAO

DynaForms, Model Layer, DAOs

2002-05-31 Thread Rick Reumann
Hi all, a few questions... 1) I haven't used Dynamic Action Forms yet, but am planning to on this next application. Are there any issues I should be aware of trying to create a DTO (or Value Object) from a Dynamic Form? In other words in my action class can I (should I?) do something like:

To those that looked at the webPIM app at basebeans

2002-05-30 Thread Rick Reumann
Vic (or anyone else familiar with webPIM ), I've been studying the webPIM app a bit more and I'm a little unclear how an update or insert would be handled with this architecture or even the best way to have data from a JSP form populate the form bean. I'm sure I'm missing something but it

In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Rick Reumann
Ranjan and company, If you don't mind I have a couple questions about this list Ranjan proposed. After this list I have posted my questions/comments: PR 1. Client sends HTTP request PR 2. Struts delegates request to ShowCustomersAction PR 3. ShowCustomersAction delegates to CustomerBO PR 4.

Re: In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Rick Reumann
On Tuesday, May 28, 2002, 1:58:27 PM, Rick wrote: RR BO RR [ has method doInsert( DTO myDTO ) which here I would strip RR out what I need from the DTO and then call the appropriate RR DAOs and methods. For example: RR EmployeeDAO.insertEmployee(

Re[2]: In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Rick Reumann
On Tuesday, May 28, 2002, 2:35:31 PM, Ranjan wrote: PR U can pass VO from PR the BO functions to the DAO. U are right that passing the values PR in the functions as u have done below is not the recommended PR practice. U can make ur VOs as updatable VOs which will accept PR data both ways from

Re[4]: In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Rick Reumann
On Tuesday, May 28, 2002, 4:35:35 PM, Ranjan wrote: PR To be more clear with DTO and its usage check this - PR http://www.martinfowler.com/isa/dataTransferObject.html. Actually that's the resource I looked at and he mentions how some use the term ValueObject to represent what he is

using Validation, make field required only if another is checked?

2002-05-28 Thread Rick Reumann
I'm using the Struts Validator in 1.02 and need to make sure an option is selected from a drop down only if a particular radio button is checked as yes. I've looked over the documentation at http://home.earthlink.net/~dwinterfeldt/overview.html and was wondering if there is a way I could

Re: North Atlanta Struts Users Group - Request for comments

2002-05-25 Thread Rick Reumann
On Saturday, May 25, 2002, 2:33:08 AM, James Mitchell wrote: JM Specifically, this is targeted for the area of North Atlanta, GA. (Perimeter JM Mall area) What day of the week would you think about having this? I know Saturday isn't the ideal time, but being I'm in south Florida and

Re: Vote for us on JDJ HELP HELP HELP!!!!!

2002-05-25 Thread Rick Reumann
I just voted thanks for the heads up. One 'bad' thing I noticed can happen in category 6, 'best java component'. There are two struts related ones, Tiles and Validator. Notice Oracle appears to be only on that list once. Almost best if we all decided to vote for of the above mentioned components

Re[2]: North Atlanta Struts Users Group - Request for comments

2002-05-25 Thread Rick Reumann
On Saturday, May 25, 2002, 10:26:41 AM, Juan Alvarado (Struts List) wrote: JASL Give me your boss's email address. I will be glad to email her with a JASL reality check Trust me we tried. She's like Stalin and it almost cost our jobs. Now basically she's all into this Oracle Portal

Re: Vote for us on JDJ HELP HELP HELP!!!!!

2002-05-25 Thread Rick Reumann
On Saturday, May 25, 2002, 1:21:41 AM, James Mitchell wrote: JM Ok I want us to be #1 there and we will not stop until we are #1 there, JM clear? JM http://www.sys-con.com/java/readerschoice2002/nominationform.cfm JM Here are some familiar items up for vote: JM 1) Best Book: JM Struts Fast

Model Layer. concerning Vic's webPIM app

2002-05-23 Thread Rick Reumann
I'm still new to trying to comprehend the various ways the Model layer can be implemented in a J2EE app, so I want to make sure I'm understanding a few things in relation to the webPIM sample app at www.basebeans.com. 1) I was under the impression that you want to have your Data Transfer Objects

Re: DAO- BO in Struts

2002-05-16 Thread Rick Reumann
On Thursday, May 16, 2002, 12:01:22 PM, Damien wrote: DV Hi, Can someone explain me simply how work DAO and BO classes DV in Struts. What are their links with the Form object the Action DV object. I've set up a discussion group for just this type of topic dealing with the model layer

[OT] For Discussion On The Model Topic In Chapter 6 Of Chuck's Struts Book

2002-05-10 Thread Rick Reumann
Last time some posts began concerning the Model layer, it was advised that the topic really shouldn't be discussed in the Struts forum since it's not really a struts specific issue. I really found chapter 6 of Chuck's book very helpful in helping me understand the model layer better. I still have

Re: I am amateur to Struts

2002-05-05 Thread Rick Reumann
On Sunday, May 5, 2002, 9:17:11 AM, Abbas Valinejad wrote: AV Hi freinds i am new in Struts have a big problem. I am using AV Tomcat 3.2 with struts. I use a jakarta sample web application AV and its classes are in the /WEB-INF/classes/ . but when i want to AV use classes as servlets in

Re[2]: Forms Beans and DAO (Best Practices)

2002-05-04 Thread Rick Reumann
Thanks all for your responses to this topic. I have been trying to find more concrete examples of using DAO's on the internet but haven't been having a lot of luck. If someone has links they could share that aren't too heavily laden with EJB technologies I'd appreciate them. In the meantime I

Re[2]: Forms Beans and DAO (Best Practices)

2002-05-04 Thread Rick Reumann
On Saturday, May 4, 2002, 4:55:02 PM, Struts Newsgroup wrote: SN [EMAIL PROTECTED] === (great thread) If #1 is SN prefered, can somone please coment as to the practical value of SN the valueObject layer if one is not doing EJB. Why not: SN myFormBean.setDAO(myDAO.retSelf()); Vic, do you

Is this a decent Connection Pool Manager to use?

2002-05-01 Thread Rick Reumann
I've successfully implemented this bitmechanic ConnectionPoolManager within Struts. Has anyone heard good or bad news about it? http://www.bitmechanic.com/projects/jdbcpool/ Thanks. -- Rick mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Bean Bug?

2002-04-30 Thread Rick Reumann
Maybe not the best approach but I'd add another form bean field as a String called priceDisplay Then in the setPrice(float f) method you'd call setPriceDisplay(float f) setPriceDisplay( float money ) { DecimalFormat df = (DecimalFormat)NumberFormat.getCurrencyInstance();

How to not print HTML on last iteration ?

2002-04-26 Thread Rick Reumann
Using struts tags how should I prevent the comma from printing after the last bean:write statement? Normally I start a counter through the loop and just don't display the , on the first pass and then on subsequent passed I would do , %= b.getStateName() % . How should I incorporate this using

Re: How to access an ArrayList indirectly?

2002-04-26 Thread Rick Reumann
On Friday, April 26, 2002, 1:07:48 PM, Shane wrote: SB Consider a class called employee, with getter/setter methods for first and SB last SB name. Originally, I had an ArrayList of them in session scope (empList), SB and SB used logic:iterate to display them in a JSP: SB logic:iterate id=emp

Re: Iterate Problem

2002-04-26 Thread Rick Reumann
On Friday, April 26, 2002, 2:00:19 PM, Mark wrote: GM I sure seem to be having my share of problems with logic:iterate GM this week GM My form bean (EditCustomerForm) has a property that sets and gets a List of GM Customer objects. These objects themselves contain the usual name, address,

Re[2]: Anyone Using Struts with JDeveloper9i and/or BC4J?

2002-04-25 Thread Rick Reumann
On Thursday, April 25, 2002, 12:12:14 PM, dhay wrote: dlc Yeah, but any tag support? Just curious, do any of the IDEs have tag support for Struts? dlc Dave dlc James Holmes [EMAIL PROTECTED] on 04/25/2002 11:12:48 dlc AM dlc Please respond to Struts Users Mailing List dlc

Re: [Somewhat OT] Sending HTML email using struts/java/javamail

2002-04-24 Thread Rick Reumann
On Wednesday, April 24, 2002, 9:13:17 PM, Edward Muller wrote: EM I have an internal application that needs to send a html email EM (management choice, not mine). The application is a mini struts EM application, but I need to manually format the html email using a EM large string and constantly

<    1   2   3   4   5   >