Is it possible to validate a group of checkboxes using the validator

2002-09-20 Thread Matt Raible
I have a bunch of checkboxes (filters) on a search screen. I want to make sure the user selects at least one of these boxes before continuing - is this possible to configure/do with the Validator Plug-In? I'm using Struts 1.1B2. Thanks, Matt -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Getting the current page's form name from within a JSP page?

2002-09-20 Thread Gemes Tibor
2002. szeptember 19. 22:17 dátummal Davide Bruzzone ezt írtad: Greetings all (again)... I was just wondering if there's a way to get the name of the form that's associated with the current view/JSP from within the JSP (i.e. How would I go about getting to the ActionMapping object using

Struts with Jbuilder 6

2002-09-20 Thread BARADAT Benoit
hi ! I would like to use Struts with Jbuilder 6. How do I process ? Thanks in advance -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: MVC and Struts

2002-09-20 Thread Jin
IMHO you're definitely on the right track by copying/passing values between the tiers in your app i.e not passing XForm directly to Xmaintainence. etc You'd probably want to create you own DataTransferObject (DTO) in the action, populate it somehow ( there's an easy way to do this*) and then

RE: Backtracking Breadcrumbs

2002-09-20 Thread John Sherlock
I was kind of hoping for something at a higher level, that once set up would just work. I guess I could override the Action class, but I'm not sure how to go about doing it that way. Howard, Here's a bit of a dirty hack... if you extend the Action class you could possibly add the

DataSource in Struts 1.1 beta2

2002-09-20 Thread Miguel Angel Medina Lopez
Hi all: I want to use the connection pool from Struts, then I declare a datasource in the config-struts.xml. Following the user guide instruction I use de servlet.getDataSource(null) method to recover it, but it's deprecated (I'm using struts 1.1 beta2). I have read in a message from the list

Using data-source with ActionForm

2002-09-20 Thread Vincent Berruchon
Hello, I'm a newbie with Struts, I'd like to know how I could smartly use data-source to fill things like select drop down combo in my forms. here what I'm trying to do, can you tell me if I'm wrong: I'v defined a data-source in struts-config.xml to use a mySql DB. I'd like to get data

RE: [OT] Interesting Friday search....

2002-09-20 Thread Galbreath, Mark
No...the first 2 returns were in Chinese, the 3rd was a ZDnet story about Linux and Sun, the 4th was in Spanish, and the 5th was a link to aboutlinux.com. What did you get that was so funny? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19,

RE: [FRIDAY] Quote of the Day

2002-09-20 Thread Galbreath, Mark
Not true - since this was actually sent on Thursday, it does not count. -Original Message- From: Tiago Nodari [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 11:32 PM To: Struts Users Mailing List Subject: Re: [FRIDAY] Quote of the Day nice one... here

RE: [FRIDAY] Quote of the Day

2002-09-20 Thread Galbreath, Mark
So Fahlman's life work in AI has been eclipsed by his accidental introduction of the emoticon? And you think that's entertaining? I think it's a disgrace. Mark -Original Message- From: Kenny Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 11:39 PM how's this for a

[42] So you wanna be a REAL programmer, huh?

2002-09-20 Thread Galbreath, Mark
Real Programmers Don't Use Pascal Back in the good old days-- the Golden Era of computers-- it was easy to separate the men from the boys (sometimes called Real Men and Quiche Eaters in the literature). During this period, the Real Men were the ones who understood computer programming, and the

Re: Dynamically set the 'value' attribute of html:text element...??

2002-09-20 Thread Adolfo Miguelez
Not tested but shuld be close to: bean:define id=pp name=customer property=firstName scope=session/ html:text property=firstName value=%=pp%/ Adolfo. From: John Sherlock [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED]

RE: [OT] Interesting Friday search....

2002-09-20 Thread surajeet . dev
was that an Internet humor,John..neither (replacing linux) nor (replacing linux) produces anything interesting thought fridays are for getting sloshed..and not thursdays ... :) :P

[Fwd: Re: [jetty-support] JBoss 3.2.0b and Jetty authentication]

2002-09-20 Thread kiuma
Please, does someone have the reply to this problem ? ---BeginMessage--- Infact I'm using Struts! I have a security-constraint like this, but it doesn't seems to work. security-constraint web-resource-collection web-resource-nameSecure Web Appointments/web-resource-name

RE: [AGAIN] Duplicate values on both ActionForm error.

2002-09-20 Thread Galbreath, Mark
Real Programmers are not constrained by warnings of dire consequences of misusing technology; they relish the opportunities! Abiding by procedural rules is simply not interesting. (I also use action chaining.) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

RE: message checking

2002-09-20 Thread Galbreath, Mark
Yes, but first, what is an auomatic avocado peeler? Sounds like some kind of Lisp debugger. Mark -Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 6:53 PM is is possible to check for the existence of a message in my page, and then output

RE: Newbie error!

2002-09-20 Thread Galbreath, Mark
Sure thing! Just first allow me to take half my day to read through the entire tutorial, simulate your environment, and then make a wild-ass guess as to why you are getting an error! BTW: What is trialling? Sounds like you are mimicking bird calls. Mark -Original Message- From:

action chaining closes the response twice?

2002-09-20 Thread Gemes Tibor
I use action chaining. I have a filter which compresses the response if the client supports it. (gzip filter from jspinsider.com). The filter throws exception for these (and only these) chained actions as if the response stream was closed twice. Is this the expected behaviour for these

RE: [FRIDAY] Quote of the Day

2002-09-20 Thread Galbreath, Mark
T To To U To Un To Und To Unde To Under To Unders To Underst To Understa To Understan To Understand To Understand I To Understand It To Understand Ite To Understand Iter To Understand Itera To Understand Iterat To Understand Iterati To Understand Iteratio To Understand Iteration To Understand

JSF implementation available

2002-09-20 Thread Adolfo Miguelez
Hi All, I have reading about future JSF/Struts integration. It seems a really promissing and powerfull enhacement to get rid of the cumbersome custom tags. AFAIK, JSF is just released from August 14, 2002. My questions are: - are there any implementations already available of the 1.9

Re-using JSP pages

2002-09-20 Thread Charles McClain
All: I recently learned Struts and converted a banking app that I originally wrote, using a much simpler MVC design pattern, to use the Struts framework. I could see the obvious benefits of Struts, in spite of the steep learning curve and somewhat lean documentation. After the initial

[FRIDAY] RE: [OT] Interesting Friday search....

2002-09-20 Thread Mazza, Glen R, PERSCOM
Yesterday the ServerSide web site mentioned something humorous that happens, when you type GO TO HELL, with quotes, in Google and hit the I'm Feeling Lucky button. This one should work. Glen -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, September

RE: Is it possible to validate a group of checkboxes using the validator

2002-09-20 Thread Galbreath, Mark
I'm not familiar with Validator, but you could certainly check the Request object in your associated Action class. Mark -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 2:49 AM I have a bunch of checkboxes (filters) on a search screen. I

RE: Struts with Jbuilder 6

2002-09-20 Thread Galbreath, Mark
Start here: http://www.tuxedo.org/~esr/faqs/smart-questions.html http://www.tuxedo.org/~esr/faqs/smart-questions.html -Original Message- From: BARADAT Benoit [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 3:10 AM To: Struts Users Mailing List Subject: Struts with Jbuilder

RES: [FRIDAY] Quote of the Day

2002-09-20 Thread julio
Good one mark! Here it is what my dictionary says about recursion: Recursion = look up the definition of recursion. Julio Cesar SOFTSITE Tecnologia +55(85)261-5266 Fortaleza, CE, Brasil http://www.softsite.com.br

RE: DataSource in Struts 1.1 beta2

2002-09-20 Thread Galbreath, Mark
The released documentation is not up-to-date, and I believe you can trust the API from the nightly build without having to actually use a nightly build. At worst, you give it a shot and it fails. What have you lost...about 15 minutes? -Original Message- From: Miguel Angel Medina Lopez

RE: [OT] Interesting Friday search....

2002-09-20 Thread Tiago Nodari
try without the At 07:11 AM 9/20/2002 -0400, you wrote: No...the first 2 returns were in Chinese, the 3rd was a ZDnet story about Linux and Sun, the 4th was in Spanish, and the 5th was a link to aboutlinux.com. What did you get that was so funny? -Original Message- From:

LookupDispatchAction

2002-09-20 Thread Darren Hill
Hey everyone .. happy Friday. Does anyone have a working example the uses LookupDispatchAction. I think I understand ... just wanna see some working example code. D. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Struts with Jbuilder 6

2002-09-20 Thread BARADAT Benoit
are you sure ? I tryed to find the word Struts in this page. I didn't found it !!! - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, September 20, 2002 2:29 PM Subject: RE: Struts with Jbuilder 6 Start here:

Weekend in Jeopardy - -Not able to show Error Messages when the applicationis packages as ear :

2002-09-20 Thread Tarun Sainanee
Hi all, I am using Weblogic6.1 as the application server. The ApplicationResources.properties file has been placed in WEB-INF folder. Now when i run the application in the exploded format, all the error messages show up as expected. However, when i package the application as an ear file,

Re: LookupDispatchAction

2002-09-20 Thread kiuma
I hope this can help u, bye, kiuma /* * CustomerCustomerAction.java * * Created on 9 settembre 2002, 14.16 */ package com.wingstech.webappointments; import org.apache.struts.actions.*; import org.apache.struts.action.*; import org.apache.struts.util.MessageResources; import

RE: LookupDispatchAction

2002-09-20 Thread Darren Hill
Good stuff ... Can you also send me the jsp page and the struts-config.xml .. much appreciated. D. -Original Message- From: kiuma [mailto:[EMAIL PROTECTED]] Sent: September 20, 2002 8:40 AM To: Struts Users Mailing List Subject: Re: LookupDispatchAction I hope this can help u, bye,

RE: [OT] Interesting Friday search....

2002-09-20 Thread Richards, Devin N (Devin)
I got your results and did LOL. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 11:03 PM To: Struts Users Mailing List Subject: [OT] Interesting Friday search HA HA HA...oh this good... Not sure if this has been mentioned

RES: DataSource in Struts 1.1 beta2

2002-09-20 Thread julio
Hi Miguel, This question was already answered: look for the subject datasource retrieval (6/09/2002). Then, in your action, you can access your datasource via: execute(..) { DataSource ds = this.getDataSource(request); } ... ... Julio Cesar SOFTSITE

[Struts Tip #12] - Use smart forwarding to create menuing systems

2002-09-20 Thread Ted Husted
One thing that has made the World Wide Web so popular is ease of navigation. Any swatch of text on a page can be turned into a hyperlink. The user just needs to point-and-click, and off they go to the target page. Behind the swatch of text is a path to the page, which may be long and

Re: Weekend in Jeopardy - -Not able to show Error Messages when theapplication is packages as ear :

2002-09-20 Thread Tarun Sainanee
Hi all. Found the solution to this problem that i reported. Have posted the solution that at least works for me at http://www.jguru.com/forums/view.jsp?EID=1001956 Regards, Tarun Sainanee TCS Delhi

RE: [42] So you wanna be a REAL programmer, huh?

2002-09-20 Thread Jerry Jalenak
Mark - I hadn't seen this tome in some years. After reading it, I got to thinking about the past 20 years of my career, and all of the programming languaes etc. that I've been through. This will probably date me, but here goes My first programming language exposure was in high school using

StrutsTestCase config

2002-09-20 Thread Marius Gabor
Hi! Did anyone succeed calling a custom struts-config.xml file in setConfig()? (I mean a custom path, not WEB-INF/struts-config.xml) I have something like: public void setUp() { try { super.setUp(); } catch( Exception e) { e.printStackTrace();

RE: Backtracking Breadcrumbs

2002-09-20 Thread Bartley, Chris P [PCS]
See my other post in this thread why it's a Really Bad Idea to store the previous URL in the session. I promise you, you're only gonna cause yourself more pain. chris -Original Message- From: John Sherlock [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 4:09 AM To:

RE: [42] Real Programmers

2002-09-20 Thread Galbreath, Mark
Heh-heh. I agree with you, though I started life with a Commie 64 and learned BASIC. My next machine was a Mac 512 and learned C on it and the college's Unix system (and I always hated HyperCard). I actually was using REXX on a Sequoia 6000 and JCL on an IBM 370 before I ever learned how to

RE: [Fwd: Re: [jetty-support] JBoss 3.2.0b and Jetty authentication]

2002-09-20 Thread Galbreath, Mark
Where did you lose it? Perhaps we can help you find it. -Original Message- From: kiuma [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 7:42 AM Please, does someone have the reply to this problem ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Re-using JSP pages

2002-09-20 Thread Charles McClain
Thank you, Will. I haven't even glanced at the new nested taglib yet -- I had too much else to learn -- but I understand what you're saying and will look into it as a solution. I recently adapted my app to use Struts templates, which mandates two JSPs (a template/header and another JSP with the

Re: [Fwd: Re: [jetty-support] JBoss 3.2.0b and Jetty authentication]

2002-09-20 Thread kiuma
Nothing, thank you , already solved :-D Galbreath, Mark wrote: Where did you lose it? Perhaps we can help you find it. -Original Message- From: kiuma [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 7:42 AM Please, does someone have the reply to this problem ? -- To

[kiuma ] LookupDispatchAction ...

2002-09-20 Thread Darren Hill
By the way ... If that is your actual code .. I have a few suggestions. 1) Create a plug-in that, on initilization, stores the JNDI context into either the Applciation or Session object. - rather the create it every time. 2) Make use of the EJBHomeFactory pattern when gaining access

RE: [42] Real Programmers

2002-09-20 Thread James Mitchell
While we are all reminiscingin the Tech news.Scott McNealy relates the obvious about who's left in the programming ballpark. http://news.com.com/ Click on the video titled McNealy: CFOs are a tough sell .the funniest part is who is sponsoring these cnet clips this monthLOL

Re: Struts with Jbuilder 6

2002-09-20 Thread Melissa L Kelley
On Fri, 20 Sep 2002, BARADAT Benoit wrote: Okay - to get started developing a Struts app with JBuilder 6 1. Go to http://jakarta.apache.org/struts/resources/index.html and look through the Tutorials. I know there were some in there for JBuilder5, and it there isn't much of a difference. 2.

Re: [kiuma ] LookupDispatchAction ...

2002-09-20 Thread kiuma
Do u use jboss + struts + postgres , under linux. If so I could share my code with you. I'm planning to do this. Part deploy undere lgpl (or similar) as a case study, Part as a commercial app (not yet implemented. Would you like to use jboss I can help you to start if you are not familiar

why is not recommended action chaing?

2002-09-20 Thread Gemes Tibor
And how can I avoid them? Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Newbie Question

2002-09-20 Thread Vinh Tran
Should all JSP pages be executed through the controller? Even those that are external to an application that requires a login? For example, if I had a website that has some external pages and a login page to an application, should the external pages also use action classes? Thanks.

RE: [FRIDAY] RE: [OT] Interesting Friday search....

2002-09-20 Thread Galbreath, Mark
That is precious!! -Original Message- From: Mazza, Glen R, PERSCOM [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 8:28 AM Yesterday the ServerSide web site mentioned something humorous that happens, when you type GO TO HELL, with quotes, in Google and hit the I'm Feeling

RE: Getting the current page's form name from within a JSP page?

2002-09-20 Thread Davide Bruzzone
If I have to do something like this: bean:struts id=form formBean=MyForm/ I don't really get anything more than if I did this (in my JavaScript code): document.forms(MyForm).submit(); i.e. I still have to hard-code the name of the form. This is what I'm trying to avoid. Thanks for the

RE: [kiuma ] LookupDispatchAction ...

2002-09-20 Thread Darren Hill
I'm trying to code with low coupling to anything .. but here's what I'm using. JBoss 3.0.2 w/Strits 1.1 with MS SQL 2000 as a back-end. The code I'm asking for would having nothing to do with this. Just a snippet from the sturts-config.xml and the jsp that utilizes LookupDispatchAction.

RE: Weekend in Jeopardy - -Not able to show Error Messages when the application is packages as ear :

2002-09-20 Thread Galbreath, Mark
You have to define 2 separate applications in the WLS Console - one for the EAR app and one for the exploded app. Have you done that? Mark -Original Message- From: Tarun Sainanee [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 8:48 AM To: Struts Users Mailing List Subject:

RE: Getting the current page's form name from within a JSP page?

2002-09-20 Thread Bartley, Chris P [PCS]
Something like this might work: bean:define id=actionMappingForThisScreen name=org.apache.struts.action.mapping.instance type=org.apache.struts.action.ActionMapping/ bean:define id=formName name=actionMappingForThisScreen property=name type=java.lang.String / bean:define id=formBean name=%=

[Darren ] LookupDispatchAction ...

2002-09-20 Thread kiuma
Ok, actually I, trynig to reset some form fields, but things don't work till, now. When I'm ready I'll post the config.xml. I also suggest to download the struts-console and looking at samples web apps. Darren Hill wrote: I'm trying to code with low coupling to anything .. but here's what

[Indexed Property][DynaActionForm] Why am I Receiving No indexed value for 'progress[0]' Error?

2002-09-20 Thread Corey Klaasmeyer
Version: Nightly Build 20020729 Config, JSP, and code which throws the exception are included below. I am attempting to use indexed properties with DynaActionForm, and receiving an error along the way: No indexed value for 'progress[0]'. The property progress is defined in the config file as an

RE: [FRIDAY] Quote of the Day

2002-09-20 Thread Andrew Hill
Well it was Friday here when he sent it, or is the net just running slow again? Way I see it, so long as its Friday somewhere, it counts! (And I have it on good authority from Elvis (who was actually kidnapped by martians) that on Mars its Friday every day! (which is why he never came back))

RE: Newbie Question

2002-09-20 Thread John Sherlock
Should all JSP pages be executed through the controller? Even those that are external to an application that requires a login? Even those that are external to an application that requires a login? hmmm, do you mean there are certain parts of your application that require a user to login in

RE: Newbie Question

2002-09-20 Thread Vinh Tran
Thanks John. That was a typo by the way. ...application that do not DO NOT require a login? I will check out the book. -Original Message- From: John Sherlock [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 10:27 AM To: 'Struts Users Mailing List' Subject: RE: Newbie

RE: Newbie Question

2002-09-20 Thread Galbreath, Mark
There are always exceptions, but the general rule is, yes, all JSP pages should be in an Action path. This maintains MVC integrity. Mark -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 10:00 AM Should all JSP pages be executed through the

RE: [FRIDAY] Quote of the Day

2002-09-20 Thread Galbreath, Mark
You know, that's pretty sound logic. In fact, it's about 4:30 PM in London right now...think I'll slip out to the pub Mark (in Baltimore) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 10:22 AM To: Struts Users Mailing List Subject:

RE: [FRIDAY] Quote of the Day

2002-09-20 Thread Stephen . Thompson
I think you are an hour out, it's about 3:30 PM (shame I know) Regards, Stephen (nr London) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: 20 September 2002 15:36 To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] Quote of the Day You know, that's

RE: [FRIDAY] Quote of the Day

2002-09-20 Thread Andrew Hill
22:30 here and still in the office (thanks to by Netscape/Mozilla and its inconvienient DOM model - had it working in M$ IE by 17:00 but of course Netscape has to do it differently...) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20,

[FRIDAY] WINDOWS 2000 TEXAS EDITION

2002-09-20 Thread James Mitchell
I can't believe I fell victim to that guy in trench coat selling Win2k for $5... Dear Consumers: It has come to our attention that a few copies of the WINDOWS 2000 TEXAS EDITION may have accidentally been shipped outside of the state of Texas.

Re: [42] Real Programmers

2002-09-20 Thread John Owen
Computer Science at Tulane University was under Engineering. When asked why we were learning FORTRAN at all in our accelerated first semester FORTRAN/Pascal class, the professor replied, You are not an engineer if you do not know FORTRAN. - Original Message - From: Galbreath, Mark [EMAIL

Q: ActionForms and BeanUtils.populate() functionality versus jsp:setProperty

2002-09-20 Thread Steve Wilkinson
I have a question regarding on the BeanUtils.populate() relative to jsp:setProperty within Tomcat 4.0.4. I didn't see anything on this within the mail-archive, so, if there is a prior thread discussing this please let me know how to access that thread. When using an HTML form that contains all

RE: [FRIDAY] Quote of the Day

2002-09-20 Thread Stephen . Thompson
Wasn't that the other way round?? Netscap came along first and then Microsoft built their own -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 20 September 2002 15:43 To: Struts Users Mailing List Subject: RE: [FRIDAY] Quote of the Day 22:30 here and still in

RE: [42] So you wanna be a REAL programmer, huh?

2002-09-20 Thread jsadove
Wow! Someone with almost the same history as me. Except I wrote disk and device I/O for the IBM 3630. Other long-forgotten exotics in my past: - PL/S (let you mix 360 Assembler code and macros with PL/1) available on 360 and Series1 (remember him?) - IBM A/S (A supposed 4GL) I still have not

RE: [FRIDAY] Quote of the Day

2002-09-20 Thread Andrew Hill
Well yes, but I find Netscape a right pain in the backside to work with, whereas things I do seem to magically work first time in the Micro$oft browser so its Netscape I cant stand... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002

Re: Using data-source with ActionForm

2002-09-20 Thread Vincent Berruchon
SHould I avoid to access database in the getXXX methods of an ActionForm to respect MVC2 model? Vincent Berruchon wrote: Hello, I'm a newbie with Struts, I'd like to know how I could smartly use data-source to fill things like select drop down combo in my forms. here what I'm trying

RE: [FRIDAY] Quote of the Day

2002-09-20 Thread Andrew Hill
For example the javascript function I wrote just now worked perfectly in IE, but crashed Netscape (as in crashed, dead, game over, must restart the whole browser already...) :-( -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 23:11 To:

RE: [42] Real Programmers

2002-09-20 Thread Galbreath, Mark
Come to think of it, I've known many engineers (especially EEs) who have learned to program, but no programmer who has learned engineering. Not being a mathematician, engineer nor CPA, I've always relied on the experts to give me the algorithms to implement. Mark (Ph.D. in American history)

Re: Struts with Jbuilder 6

2002-09-20 Thread Thomas T. Veldhouse
He was telling you to ask your question in a smart way. In otherwords, he was trying to act as list moderator. I find that more offensive than some of the things that document addresses. I didn't personally find anything in particular wrong with your question and a simple answer from somebody

RE: Using data-source with ActionForm

2002-09-20 Thread Galbreath, Mark
First, there's no such thing as MVC2 Model. It's MVC or, when applied to web apps, Model 2. This is clearly explained in the Struts' Introduction on the Jakarta website. Accessing the database from an ActionForm does not violate MVC, but it does violate standard usage of JavaBeans and is

[ANN] Expresso 4.1 (Release Candidate 2)

2002-09-20 Thread Sandra Cann
The open source Expresso Release 4.1 (RC2) is now onsite as well as an updated location demo. We are getting very close to a final Expresso 4.1 release. Expresso Release Candidate 2 files are available to download at: http://www.jcorporate.com/product/expresso.html Downloads link Location

RE: Weekend in Jeopardy - -Not able to show Error Messages when t heapplication is packages as ear :

2002-09-20 Thread Tarun Sainanee
nope i did not need to do that :) Regards, Tarun Sainanee TCS Delhi -- It is a capital mistake to theorize before one has data. Insensibly one begins to twist

RE: [42] So you wanna be a REAL programmer, huh?

2002-09-20 Thread Andrew Hill
Real Programmers don't need all these abstract concepts to get their jobs done-- they are perfectly happy with a keypunch, a Fortran IV compiler, and a beer. Having conducted extensive empirical research, I can say conclusively that of these items listed, only the last is in fact required.

RE: [FRIDAY] Quote of the Day

2002-09-20 Thread Tiago Nodari
I prefer coding JavaScript for Netscape (version 6), it implements more than IE :) The thing that IE is good is that it seems to ignore all the little mistakes in the html :)) At 11:13 PM 9/20/2002 +0800, you wrote: For example the javascript function I wrote just now

RE: Struts with Jbuilder 6

2002-09-20 Thread Galbreath, Mark
If you had actually read the document, Tom, you would know that its main thread is how to do research before asking questions that the asker has obviously done nothing to figure out on his own. If you find that offensive, you've got a screw loose. Give a man a fish and he'll eat for a day.

Re: [42] So you wanna be a REAL programmer, huh?

2002-09-20 Thread Brian Hickey
Wow! Someone who remebers IMS/DS/DC. So... could it be that you ever used SQL/DS? Brian (B.S.N.E.) - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, September 20, 2002 11:03 AM Subject: RE: [42] So you wanna be a REAL programmer,

Re: MVC and Struts

2002-09-20 Thread Kevin HaleBoyes
Jin, thank you very much for your help. A question based on something you said... Your Xform would do basic validation ie format/type checking. The business validation of the values would be done in Xmaintainence. I've actually not implemented the validate() method of the (struts) form

Using anchors with logic:iterate tag

2002-09-20 Thread jlhalbe
I am printing out a large list that is in alphabetical order using the logic:iterate tag. I want to have alphabet jump menu at the top of the page so that when users click on a letter, they will jump to that part of the list. How can I insert anchors into my list when I am using the

RE: message checking

2002-09-20 Thread Mark Silva
i think your visualization/interpretation of one will do it more justice than i can in words ;-) so whats the technique for doing this? thanks, mark -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 4:57 AM To: 'Struts Users Mailing

no action parameter defined

2002-09-20 Thread kiuma
Hello I have a jsp page connected to a LookupDispatchAction. when I press enter into a text box the server reports: HTTP ERROR: 500 Request[/listedCustomer] does not contain handler parameter named action What's the solution ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

Re-using JSP pages -- Follow-up

2002-09-20 Thread Charles McClain
All: This is a follow-up to my earlier post on the same topic. Although I received a response, I think it wasn't the response I needed because I didn't ask my question correctly. Boiled down -- and ignoring all the background of why I need it, which may have confused people -- I want: -- To

RE: Re-using JSP pages -- Follow-up

2002-09-20 Thread Bartley, Chris P [PCS]
Something like this might work: bean:define id=actionMappingForThisScreen name=org.apache.struts.action.mapping.instance type=org.apache.struts.action.ActionMapping/ bean:define id=formName name=actionMappingForThisScreen property=name type=java.lang.String / bean:define id=formBean name=%=

Q: My jspDestroy() overridden by message bean's jspDestroy()?

2002-09-20 Thread Tom Witmer
I've already found a workaround for this, but wondered how I might handle this in future if it should happen again. I have a JSP with its own jspInit() and jspDestroy() methods that started and stopped a background thread. This worked fine before converting the page to use Struts, but

RE: Using anchors with logic:iterate tag

2002-09-20 Thread Galbreath, Mark
Hmmm...interesting problem I assume by that part of the list, you mean when a user clicks on C, the first C word in the list is the target. First, just in case: http://developer.netscape.com/docs/manuals/htmlguid/tags7.htm#1227754 Second, Using the HTML anchor tag (as defined above) you

RE: message checking

2002-09-20 Thread Galbreath, Mark
Instead of using bean:message use a scriptlet: logic:equal parameter=%= session.getAtribute(key) % value=true You guessed right! You win an auomatic avocado peeler! /logic:equal Mark -Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 12:03

html:optionsCollection problem

2002-09-20 Thread Ralf Lorenz
Hi, I'm trying to use the html:optionsCollection - tag like it is done in the struts-exercise-taglib example. My ActionForm extends from DynaValidatorForm and is called ProjectCreationBean. All the getter/setter methods are correct. I fill this bean within an action and want to show a collection

Logic tag

2002-09-20 Thread Tejas Bavishi
Hi, I have a question on using logic tags. In the following example, mytaglib is the tag library developed by me. I am printing the value returned by the following tag on the JSP page. TD mytaglib:getvalue name=cost / /TD Now, I want to check that if the value returned by mytag is , then I

RE: no action parameter defined

2002-09-20 Thread Galbreath, Mark
3 parts Blue Sapphire, 1 part dry Martini Rossi, 1 green olive? -Original Message- From: kiuma [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 12:05 PM Hello I have a jsp page connected to a LookupDispatchAction. when I press enter into a text box the server reports:

RE: [42] Real Programmers

2002-09-20 Thread Joe Barefoot
I met a real programmer the other day in line at Macy's. He calculated my change faster than anybody I've ever seen. :) peace, Joe -Original Message- From: John Owen [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 7:49 AM To: Struts Users Mailing List Subject: Re:

RE: Logic tag

2002-09-20 Thread Galbreath, Mark
Use logic:isPresent instead. Mark -Original Message- From: Tejas Bavishi [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 11:55 AM To: '[EMAIL PROTECTED]' Subject: Logic tag Hi, I have a question on using logic tags. In the following example, mytaglib is the tag library

RE: [42] Real Programmers

2002-09-20 Thread Joe Barefoot
A-ha!!! He admits it, finally...get the torches and pitchforks everyone! ;) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 8:16 AM To: 'Struts Users Mailing List' Subject: RE: [42] Real Programmers Come to think of it,

RE: [42] Real Programmers

2002-09-20 Thread Galbreath, Mark
haha! You know us liberal arts types are the most creative thinkers, you Luddite! -Original Message- From: Joe Barefoot [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 12:42 PM A-ha!!! He admits it, finally...get the torches and pitchforks everyone! ;) -Original

[Newbie]: JSP-Formbean question

2002-09-20 Thread MULLAGIRI Madhavi
Hi, I need to display multiple records (results of a search), and in each record I want to set attribute A based on another attribute B from the same record. I have a taglib available for text fields where one of the properties accepts attribute B to facilitate the logic to set Attribute A

RE: Re-using JSP pages -- Follow-up

2002-09-20 Thread Charles McClain
Thanks, Chris: I tested your proposed solution very quickly -- just printing out the retrieved formName on my JSP -- and it does work. I'm surprised, though, that it isn't easier than that; it seems that the formName should be available via the bean:struts tag, or some similar tag. Now I have

RE: message checking

2002-09-20 Thread Mark Silva
this isn't what i want to do though i want to use a message in the ApplicationResources file to use as comparison. sort of a configuration parameter any way around it? -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 9:39 AM

RE: message checking

2002-09-20 Thread Bartley, Chris P [PCS]
A couple notes: * Mark's suggestion will only work if you've already put the message in the session under the key attribute. * The mix of double quotes in Mark's code probably won't work...i believe it should instead read: logic:equal parameter='%= session.getAtribute(key) %' value=true

  1   2   >