Access SessionBean

2003-02-10 Thread Stephen Ting
Whenever i try to access a session beans deploy on JBoss from the struts application deploy on Tomcat in seperate machine the following errors occured. If i deploy the struts based application in Tomcat bundle in JBoss there are no problems. Could anyone please help? Regards, Stephen

Threading issues

2003-02-10 Thread Alok Rajkumar Gupta
In case of Action Objects what are the threading issues expected. Regards Alok Gupta -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 12:56 PM To: Kashinath Cc: Struts Users Mailing List Subject: Re: Model and Controller Components

Re: user customizing

2003-02-10 Thread Simon Kelly
Oh sweet mother of God. Someone at HP has come out of the dark ages and is going to use an open-source product. RUN FOR THE HILLS BOYS AND GIRLS!!! Simon Extremely disgrunteled ex-HP employee Kelly - Original Message - From: LUCERO,DENNIS (HP-Boise,ex1) [EMAIL PROTECTED] To: [EMAIL

Re: Rendering alternate rows of a table in Struts

2003-02-10 Thread Simon Kelly
I really need to move to the states and get me some of that blunt action! - Original Message - From: Mark Galbreath [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, February 07, 2003 9:18 PM Subject: RE: Rendering alternate rows of a table in Struts

Re: Newbie Question on Performance

2003-02-10 Thread Davor Cengija
Craig R. McClanahan wrote: On Mon, 10 Feb 2003, Peder Jakobsen wrote: Has anyone had to abandon struts because it was not performant? Does anyone out there serve A LOT of requests? (We run 12 load balanced quad Xeons and we can barely keep up! We have about 1 million users on our

Documents on Struts

2003-02-10 Thread Thomas Mammen
Can anyone suggest me a good book for Struts .Also links from which i can reffer to more on Struts.Thanks in Advance. Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Documents on Struts

2003-02-10 Thread Simon Kelly
If you are one of those Just the facts type people like me, then Programming Jakata Struts from O'Reilly is a damn good read. I've had a flick through some of the others, but nothing really caught my eye. ISBN 0-596-00328-5 $39.95 for the O'Reilly one. Cheers - Original Message - From:

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: Show stopping validator problem.

2003-02-10 Thread Vic Cekvenich
Just last night a had a similar problem for a while. In my case the resource properties files had a typo in struts-config. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal/portlets/proj/TasksZoomTile.jsp has the setup file, and same place has a validator working, look at

Re: Show stopping validator problem.

2003-02-10 Thread Ray
Thanks Vic. In the end I just wiped the whole tomcat work directory and restarted and it started working. I have a feeling it may have been because I had the resources file open in an editor, so it may not have been reading it in or something ... --- Vic Cekvenich [EMAIL PROTECTED] wrote: Just

Re: Documents on Struts

2003-02-10 Thread alexj
The best book you will find about Struts is Struts in action. sunrise premiumsurf - ne vous contentez pas du minimum! http://internet.sunrise.ch/fr/internet/int_sps.asp - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Documents on Struts

2003-02-10 Thread Hunziker Dennis
I'am reading Struts Kickstart (www.strutskickstart.com) and i like it. -Original Message- From: Thomas Mammen [mailto:[EMAIL PROTECTED]] Sent: Montag, 10. Februar 2003 09:22 To: Struts Users Mailing List Subject: Documents on Struts Can anyone suggest me a good book for Struts .Also

RE: JetSpeed VS. Liferay - Comparison

2003-02-10 Thread ROSSEL Olivier
JetSpeed: - Apache project - Based on Turbine - Uses Torque for persistence layer Liferay: - Based on Struts - Uses Castor for persistence layer - Comes with more than 20 pre-built portlets from Online Shopping, Message Boards, Email to Wiki. - Personalization available like Yahoo! -

those ace logic jsp tags

2003-02-10 Thread Caoilte O'Connor
Hi, I've been using the if/else/case/switch tags for a while and love them. Is there any chance that they'll ever be incorporated into Struts proper? I've also found one slightly annoying bug. In most languages you can do an, if X and X.Y then where X.Y doesn't get evaluated if X fails (thinks

RE: RequestProcessor with test conditions

2003-02-10 Thread Heligon Sandra
The method processActionPerform indeed seems to solve my problem. I had read in the book of Chuck which one could overload processPreprocess to make of the authentification. That's why I used the processPreprocess method. Are there limits or disavanatges to use processActionPerfomr rather than

How to re-direct from within and ActionForm

2003-02-10 Thread Karim Saloojee
Hi How would one re-direct to an error page from within the validate method of an ActionForm - this would be done when one encounters a serious exception within the form? TIA, Karim - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Model and Controller Components

2003-02-10 Thread mech
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Montag, 10. Februar 2003 08:26 To: Kashinath Cc: Struts Users Mailing List Subject: Re: Model and Controller Components If you find documentation in Struts that talks about form beans being model

newbie question - usebean

2003-02-10 Thread Diego
I have a jsp page being called by an action that passes a user type in the request. the jsp has the following code: tr tdbean:message key=prompt.username /: /td tdhtml:text property=username size=50 maxlength=50 //td /tr tr

Re: newbie question - usebean

2003-02-10 Thread Nicolas De Loof
Your code doesn't show any html:form tag. This tag is used by struts to set the targeted action, and so the associated bean in some scope. You can use html:text without html:form by setting it's name attribute (name=user in your case). But if your HTML form has to be commited to a Struts action,

RE: Rendering alternate rows of a table in Struts

2003-02-10 Thread Mohan Radhakrishnan
Hi, We use this. logic:iterate id=datalist name=table1 indexId=index offset=1 % if ( index.intValue() % 2 == 0 ){ % tr

RE: Rendering alternate rows of a table in Struts

2003-02-10 Thread Mohan Radhakrishnan
Hi, I found this from the archives. logic:iterate ... indexId=resultNo bean:define id=remainder value=%= Integer.toString(resultNo.intValue() % 2) %/ logic:equal name=remainder value=0 tr bgcolor=#ff /logic:equal logic:notEqual name=remainder value=0

RE: How to re-direct from within and ActionForm

2003-02-10 Thread Robert Taylor
Karim, the default behavior for validating user input is to forward the user back to the URI where they were entering the data so they can make the appropriate corrections. You can modify this behavior by overriding RequestProcessor.processValidate(). robert -Original Message- From:

Re: Newbie Question on Performance

2003-02-10 Thread Sundar Narasimhan
From: Peder Jakobsen [EMAIL PROTECTED] I'm new to Struts, and so far I'm very happy with what I see. But I have some suspicion that it'll be dead slow. What leads you to this suspicion? There's no way to respond to such a FUD-sounding :-) comment without specifics. Craig: While this is

Re: those ace logic jsp tags

2003-02-10 Thread Taylor Cowan
there any chance that they'll ever be incorporated into Struts proper? The direction for struts seems to be conformance/reliance on the JSTL as much as possible, therefore, you'd use the JSTL tags with matching functionality. Taylor Cowan

RE: Newbie Question on Performance

2003-02-10 Thread Mark Galbreath
We built the T-Mobile ecommerce with Struts 1.0.2 with EJBs and an Oracle 9i database ( http://shop.t-mobile.com http://shop.t-mobile.com) and get about 15,000 hits/day on a 2-platform multiprocessor cluster of Compaq servers using BEA WebLogic 6.1SP2. We have had no problems with overloading or

RE: newbie question - usebean

2003-02-10 Thread Diego Bursztyn
I do have html:form action=action/editUser in the code I just did not included in the email. I also have the following in my jsp: jsp:useBean id=user scope=request class=com.basf.plasticsportal.data.User jsp:setProperty name=user property=* / /jsp:useBean thanks, Diego. -Original

requiredif

2003-02-10 Thread Dinesh Samson J
Greetings, My required if condition in validation.xml is not working. The following is the code in my validation.xml file. field property=lastName depends=requiredif arg0 key=label.lastName/ var var-namefield/var-name

Help for Tiles horizontal menu

2003-02-10 Thread Heligon Sandra
I am always in the search of an example of Struts application using horizontal Tiles menu. Some orders of the menu are composed of sub-menu. If somebody carried out this kind of menu thanks in advance to make me share your experiment. I have a beginning of code

Re: those ace logic jsp tags

2003-02-10 Thread Caoilte O'Connor
On Monday 10 February 2003 1:03 pm, Taylor Cowan wrote: there any chance that they'll ever be incorporated into Struts proper? The direction for struts seems to be conformance/reliance on the JSTL as much as possible, therefore, you'd use the JSTL tags with matching functionality. eh?

RE: Documents on Struts

2003-02-10 Thread Mark Galbreath
Struts in Action by Ted Husted (Manning 2002) is a very good reference but it is not a complete. You ought to get Programming Jakarta Struts by Chuck Cavaness (O'Reilly 2003) and Mastering Jakarta Struts by James Goodwill (Wiley 2002) (James also authored the very good Apache Jakarta-Tomcat (A!

Associate an identifier to a tag

2003-02-10 Thread BARADAT Benoit
Hi, I want to associate an id to a tag (to manipulate the value with _javascript_) In HTML I use the word "id" to associate an HTML identifier: input id="abc" type="hidden" name="doAction" value="Assure" What is the equivalent in Struts for this tag:? html:hidden property="doAction" /

Re: href

2003-02-10 Thread Michael Burke
Michael Burke wrote: I've got a jsp page that iterates through a list of web links, I can t figure out how to use just the link without it being appended to http://localhost... Here's the page in question: %@ taglib uri=/bean prefix=bean % %@ taglib uri=/html prefix=html % %@ taglib uri=/logic

RE: RE: Validator won't kick-in

2003-02-10 Thread Robert Morse
Have you gotten anywhere with this? I'm seeing the exact problem, and I'm not using a DynaValidatorForm. No errors are displayed, no exceptions thrown. It's as though the validator just isn't getting invoked. On Wed, 2003-02-05 at 07:57, otisg wrote: Yes, I have that, too: plug-in

data acquisition and control

2003-02-10 Thread Jason Vinson
Hi folks, I am having a few issues this morning determining the proper way to control the data of my current web application. From what I have read, I see that the proper place to acquire data from the system is in the Action class. This data should be put on the request (correct?) and

Re: newbie question - usebean

2003-02-10 Thread Nicolas De Loof
I do have html:form action=action/editUser in the code I just did not included in the email. I also have the following in my jsp: jsp:useBean id=user scope=request class=com.basf.plasticsportal.data.User jsp:setProperty name=user property=* / /jsp:useBean thanks, Diego. You don't

Re: href

2003-02-10 Thread Michael Burke
Michael Burke wrote: I've got a jsp page that iterates through a list of web links, I can t figure out how to use just the link without it being appended to http://localhost... Here's the page in question: %@ taglib uri=/bean prefix=bean % %@ taglib uri=/html prefix=html % %@ taglib uri=/logic

RE: [OT] dummy data tool

2003-02-10 Thread Chappell, Simon P
It is a funny comment. But then I got thinking, that's a pretty fine sub-project idea. A data generating tool. Have to search freshmeat and sourceforge to see what's already out there, but if the offerings were too thin, I could quite fancy tackling that one. Simon P.S. Of course, it wouldn't

ActionForm methods Naming Conventions - Urgent

2003-02-10 Thread ashokd
Hi, Their is any naming conventions for ActionForm methods ? I got a problem with this. First I used like below then I got the problem(NumberFormatException: getTName() setTName() Later I changed to getTableName(); setTableName(); By using above two method names the exception gone. Any one

[OT] Modeling tools

2003-02-10 Thread Durham David Cntr 805CSS/SCBE
Wondering what kind of modeling tools you would recommended. I'm looking for alternatives to Rational Rose and Poseidon. Thanks. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

AW: [OT] dummy data tool

2003-02-10 Thread s . frank
You may have a look at dbunit: http://dbunit.sourceforge.net/ they provide a framework that allows you to set your database into a defined state before the execution of a unit-test and to compare them after running your tests with the desired values. It uses xml-files to load the databasealso

RE: Where to repopulate dynamic lists ?

2003-02-10 Thread Joseph Fifield
This topic seems to keep coming up, and with no real good solutions (IMHO). One point that seems to be made frequently though, is that the logic to repopulate the lists really doesn't belong in the ActionForm, yet that seems to be the most convenient place to put it. I know I would really like

Re: href

2003-02-10 Thread Nicolas De Loof
bean:write name=links property=url//a bean:write only print your bean property value in JSP outputStream. You should look at data type used for your url property, and it's toString() method. Nico. - To unsubscribe,

RE: [OT] Modeling tools

2003-02-10 Thread Mark Galbreath
There is no alternative to Rose. Mark Galbreath Principal Consultant, Workflow Process Engineering and Systems Integration http://www.QAT.com 410-703-367 / 800-799-8545 Never attribute to malice that which can be adequately explained by stupidity. ~Hanlon's Razor -Original Message-

Re: ActionForm methods Naming Conventions - Urgent

2003-02-10 Thread Iris
When you have String getTName() void setTName(String tName) in your ActionForm, you use them in your JSP like html:text property=tName . This help you ? Iris ashokd wrote: Hi, Their is any naming conventions for ActionForm methods ? I got a problem with this. First I used like below

Re: [OT] Modeling tools

2003-02-10 Thread Robert McIntosh
If you have the money, Together/J (www.togethersoft) is my favorite. It's round trip synch with the source code is absolutely wonderful. If you want something less expensive, and you use Eclipse 2.0+, try Omondo UML (http://www.omondo.com/). They have free versions and a commercial license. It

RE: [OT] dummy data tool

2003-02-10 Thread Mark Galbreath
Stop it! You are making me thirsty. It's hard enough to concentrate after getting 8 inches of snow over the weekend and it just started snowing - hard - again. We are supposed to get hit again Thursday and Friday. Man! I am definitely going boarding with my wife and boys this weekend!! Mark

RE: newbie question - usebean

2003-02-10 Thread Diego Bursztyn
Thanks Nico, but I had all that in place. The problem was that I originally started building the app implementing a model 2 pattern without using struts. When I converted the app to struts, my UserBO and UserDAO classes worked with the User bean and I had created a UserForm ActionForm. The html:

Difference between Tiles and Templates ?

2003-02-10 Thread Rao, Nagraj
Is there any difference between teh template tags and the Tiles tag lbraries ? They seem to be very similar in their usage. Cheers, Naggi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: those ace logic jsp tags

2003-02-10 Thread Craig R. McClanahan
On Mon, 10 Feb 2003, Caoilte O'Connor wrote: Date: Mon, 10 Feb 2003 10:27:58 + From: Caoilte O'Connor [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: those ace logic jsp tags Hi,

RE: [OT] Modeling tools

2003-02-10 Thread Chappell, Simon P
It's called a whiteboard (or greaseboard if you fixate about not refering to colours when describing inanimate objects) and it does a better job of what I use Rose for than Rose does. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 9:30

TilesRequestProcessor problem

2003-02-10 Thread Heligon Sandra
I have overriden the TilesRequestProcessor class and more precisely the init() method but I have two problems: - I have deprecated warning about ApplicationConfig in the init method: public void init(ActionServlet servlet, ApplicationConfig appConfig)

RE: ActionForm methods Naming Conventions - Urgent

2003-02-10 Thread Sri Sankaran
I don't see how the *name* of a method can lead to an exception. Secondly why are you getting a *NumberFormatException*. Aren't all your ActionForm properties String types? (Refer to the countless discussions on this subject for its virtues) All that being said, remember that unless

looking for code generators X2J ...

2003-02-10 Thread Martins Stephane
Hello, I match a thread about X2J from objectwave. X2J is also mentionned in Struts in action. I can't access the site http://www.objectwave.com/html/Main.html these early days and I wonder if they are still alive ... I'm desesperately looking for X2J (freeware). Do you know where can I find a

Re: Difference between Tiles and Templates ?

2003-02-10 Thread Nicolas De Loof
Is there any difference between teh template tags and the Tiles tag lbraries ? They seem to be very similar in their usage. Cheers, Naggi They're is a major difference IMHO : you will find more support for Tiles on this list than for template ! Nico.

RE: Difference between Tiles and Templates ?

2003-02-10 Thread Míguel Ángel Mulero Martínez
Tiles is the new versión of Templates. -Mensaje original- De: Rao, Nagraj [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 10 de febrero de 2003 16:39 Para: 'Struts Users Mailing List' Asunto: Difference between Tiles and Templates ? Is there any difference between teh template tags and

RE: Difference between Tiles and Templates ?

2003-02-10 Thread Rao, Nagraj
Thanks ! Thats a good enough reason to use Tiles I suppose !! :) Cheers, Naggi -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 10:57 AM To: Struts Users Mailing List Subject: Re: Difference between Tiles and Templates ? Is

RE: Difference between Tiles and Templates ?

2003-02-10 Thread David Graham
Is there any difference between teh template tags and the Tiles tag libraries? The template taglib is deprecated in 1.1 in favor of Tiles. You should be able to use Tiles like templates by replacing template:* with tiles:* in your JSPs. Cheers, Naggi David

RE: [OT] Modeling tools

2003-02-10 Thread Durham David Cntr 805CSS/SCBE
Thank you. -Dave -Original Message- From: Robert McIntosh [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 9:36 AM To: Struts Users Mailing List Subject: Re: [OT] Modeling tools If you have the money, Together/J (www.togethersoft) is my favorite. It's round trip

Re: Validator won't kick-in

2003-02-10 Thread Evan Schnell
Robert Morse wrote: Have you gotten anywhere with this? I'm seeing the exact problem, and I'm not using a DynaValidatorForm. No errors are displayed, no exceptions thrown. It's as though the validator just isn't getting invoked. Some versions of the validator, I wish I understood this

newbie question: what to use for non-form data population?

2003-02-10 Thread Jason Vinson
If i want to use logic:iterate (or something similar) to populate a table that is not part of a form, I shouldn't be using a class that extends the ActionForm class correct? What should I use in it's place? TIA, Jason - To

Re: Documents on Struts

2003-02-10 Thread Craig R. McClanahan
On Mon, 10 Feb 2003, Thomas Mammen wrote: Date: Mon, 10 Feb 2003 13:51:49 +0530 From: Thomas Mammen [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Documents on Struts Can anyone suggest me a good book for

How to handle Collections (List,Map etc.)

2003-02-10 Thread Scot Rob
Hi, I am not sure how can i pass a collection of beans from my action class to jsp? In my Action class, if i set a session attribute with a list/Map Object. Which struts tags can i use on jsp side? Please help ? Scot __ Do you Yahoo!? Yahoo!

RE: newbie question - usebean

2003-02-10 Thread Diego Bursztyn
Thanks Nico, but I had all that in place. The problem was that I originally started building the app implementing a model 2 pattern without using struts. When I converted the app to struts, my UserBO and UserDAO classes worked with the User bean and I had created a UserForm ActionForm. The html:

RE: How to handle Collections (List,Map etc.)

2003-02-10 Thread Pani, Gourav
set them to the request. then you can use the bean tag to get information with scope=request/ -Original Message- From: Scot Rob [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 11:15 AM To: [EMAIL PROTECTED] Subject: How to handle Collections (List,Map etc.) Hi, I am not

Re: newbie question: what to use for non-form data population?

2003-02-10 Thread Nicolas De Loof
You can iterate over any Collection (or javaBean that as a property that is a Collection) stored in some scope (request / session / application). For example I used to put List in application scope for allowed values of select inputs. Nico. If i want to use logic:iterate (or something

RE: [OT] Modeling tools

2003-02-10 Thread Mark Galbreath
You got me on that one, Simon. Truly! There is NO substitute for a large whiteboard! Mark Galbreath Principal Consultant Workflow Process Engineering and Systems Integration http://www.QAT.com 410-703-367 / 800-799-8545 Never attribute to malice that which can be adequately explained by

Re: those ace logic jsp tags

2003-02-10 Thread Craig R. McClanahan
On Mon, 10 Feb 2003, Caoilte O'Connor wrote: Date: Mon, 10 Feb 2003 12:38:43 + From: Caoilte O'Connor [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: those ace logic jsp tags On Monday 10 February

Re: [OT] Modeling tools

2003-02-10 Thread Robert McIntosh
You're very welcome. Oh yea, there is MagicDraw too :-) - Robert Durham David Cntr 805CSS/SCBE wrote: Thank you. -Dave -Original Message- From: Robert McIntosh [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 9:36 AM To: Struts Users Mailing List Subject: Re: [OT]

html:select problems

2003-02-10 Thread Mike Ash
If I do something like this html:select property=value(selectedDistributor) name=distributors html:optionsCollection name=distributors property=dependent label=value(description) property=value(distributorId) / /html:select I get an error that the iterator can't

RE: newbie question: what to use for non-form data population?

2003-02-10 Thread Mark Galbreath
Why don't you want to place the table in a form? That's the easiest way you are going to get/set its values. Mark Galbreath Principal Consultant Workflow Process Engineering and Systems Integration http://www.QAT.com 410-703-367 / 800-799-8545 Never attribute to malice that which can be

Re: [OT] Modeling tools

2003-02-10 Thread Nicolas De Loof
Perhaps Rational XDE ? ;) Nico. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 9:30 AM There is no alternative to Rose. -Original Message- From: Durham David Cntr 805CSS/SCBE Sent: Monday, February 10, 2003 10:04 AM

RE: Difference between Tiles and Templates ?

2003-02-10 Thread Jarrod M. Lugo
I have tried replacing template:* with tiles:*, and some of my apps do not work properly. I am at a loss as to how to nest tiles tags, because I used to do it with templates, but I can't with tiles... I posted messages before about this issue, but didn't get any responses. Any help would be

difference between class with static method and singleton pattern

2003-02-10 Thread Ashish Kulkarni
Hi, If I have a class with a static synchronized method and a class with singleton pattern doing the same function, wont the 2 be same, what may be the performance issue, what should we use in programs, The method i want to use is synchronized, so that no 2 classes can access it a time, and hence

RE: [OT] Modeling tools

2003-02-10 Thread Hookom, Jacob John
I like Together much better than Rational for UML and sequence diagrams. For lazy programmers, Together will take your jar and do all your diagrams for you, if you ask it nicely. -Jacob -Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]]

Re: How to handle Collections (List,Map etc.)

2003-02-10 Thread Nicolas De Loof
logic:interate http://jakarta.apache.org/struts/doc-1.0.2/struts-logic.html#iterate - An array of Java objects (but not primitive data types such as int) - An implementation of java.util.Collection, including ArrayList and Vector. - An implementation of java.util.Enumeration. - An implementation

Re: [OT] Modeling tools

2003-02-10 Thread Robert McIntosh
I agree, especially for collaboration. A whiteboard is a good developer's best friend (short of a good beer)... - Robert Chappell, Simon P wrote: It's called a whiteboard (or greaseboard if you fixate about not refering to colours when describing inanimate objects) and it does a better job of

Re: [OT] Modeling tools

2003-02-10 Thread Nicolas De Loof
And http://www.objecteering.com/ (Not tried myseld, but a colleague of mine tells us since 6 months it's great) Nico. You're very welcome. Oh yea, there is MagicDraw too :-) - Robert Durham David Cntr 805CSS/SCBE wrote: Thank you. -Dave -Original Message- From:

How to reject missing taglibs?

2003-02-10 Thread Luiz-Otavio Zorzella
If I use a JSP tag in a jsp without importing the taglib before, no error message will be displayed, and all it will happen is that the tag will have no effect. Since I do pre-compilation of the pages, is there a way to make the JSP compiler reject pages that use tags it does not know about?

How do you let your client edit Application.properties?

2003-02-10 Thread Marc Guillemot
Hi, has someone a great way to suggest to allow non developers to edit the different localisations of Application.properties in a nice form? I had the idea to developp something (Excel macro or java program) to generate my different Application.properties files from an excel spreadsheet allowing

RE: How to handle Collections (List,Map etc.)

2003-02-10 Thread Mark Galbreath
Put the List or Map in the ActionForm associated with the JSP and have an empty reset() method. If you want to wrap them in a session object, you can do that, too. On the JSP side, use nested logic:iterate tags to extract the Collections. Mark Galbreath Principal Consultant Workflow Process

RE: [OT] Modeling tools

2003-02-10 Thread Chappell, Simon P
And we all know that in the U.S. that there is no such thing as a good beer! :-P -Original Message- From: Robert McIntosh [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 10:27 AM To: Struts Users Mailing List Subject: Re: [OT] Modeling tools I agree, especially for

Q: Struts 1.1 Validator - Error in ORO with what should be a valid regexpr.....

2003-02-10 Thread Mark Wald
Folks, I am getting an error using the Validator which implies a malformed reguolar expression, however the regular expression should be ok and the validation actually works correctly except for the error message which appears any ideas on eliminating the error message or fixing the

Re: [OT] Modeling tools

2003-02-10 Thread Ashish Kulkarni
Visit this site, has some good info about UML and tools http://www.jguru.com/faq/printablefaq.jsp?topic=UML --- Nicolas De Loof [EMAIL PROTECTED] wrote: And http://www.objecteering.com/ (Not tried myseld, but a colleague of mine tells us since 6 months it's great) Nico. You're

Re: How to reject missing taglibs?

2003-02-10 Thread William W
Hi Luiz, How the compiler will know if it is a simple text or a tag-lib that you defined ? I think that it is not possible. William. From: Luiz-Otavio Zorzella [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: How

Re: RE: newbie question: what to use for non-form data population?

2003-02-10 Thread Jason Vinson
well, i think i have a grasp on how to handle this problem. Correct me if i am wrong, but here's my logic: I am trying to get a listing of items with multiple properties to display to the user. They will populate a table, and one element of each row will have a hyperlink to a more detailed

RE: How to handle Collections (List,Map etc.)

2003-02-10 Thread Hookom, Jacob John
request.setAttribute(collection, employeeList); return new ActionForward(hello.jsp); STRUTS: logic:iterate id=employee name=collection Employee Name: bean:write name=employee property=name/ /logic:iterate JSTL (Preferred): c:forEach var=employee items=${collection} Employee Name:

Re: How to re-direct from within and ActionForm

2003-02-10 Thread Davor Cengija
Karim Saloojee wrote: Hi How would one re-direct to an error page from within the validate method of an ActionForm - this would be done when one encounters a serious exception within the form? Hmmm... Call form.validate() explicitly, catch the exception and forward to error page. E.g.

Re: [OT] Modeling tools

2003-02-10 Thread Robert McIntosh
That is essentially Rose plugged into Eclipse/WSAD 5. Together/J has a plugin as well for those. - Robert Nicolas De Loof wrote: Perhaps Rational XDE ? ;) Nico. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 9:30 AM There is no

Re: difference between class with static method and singletonpattern

2003-02-10 Thread Rick Reumann
On Mon, 10 Feb 2003 08:24:52 -0800 (PST) Ashish Kulkarni [EMAIL PROTECTED] wrote: The method i want to use is synchronized, so that no 2 classes can access it a time, and hence create some weird results. If you keep everything inside your local block of code in the method and use the local

form submit via link

2003-02-10 Thread struts
I have a form I have defined in struts-config.xml and I want to modify the form's ACTION URL to point to a different action should a user select LINK 1 versus selecting LINK 2. I am using the onClick for the LINK to alter the form's action URL. From what I gather, all this is working; however

Re: Validator won't kick-in

2003-02-10 Thread Robert Leland
Evan Schnell wrote: Robert Morse wrote: Have you gotten anywhere with this? I'm seeing the exact problem, and I'm not using a DynaValidatorForm. No errors are displayed, no exceptions thrown. It's as though the validator just isn't getting invoked. The failure to log consistently means that

RE: html:select problems

2003-02-10 Thread Mike Ash
Never mind i was being stupid -Original Message- From: Mike Ash [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 10:22 AM To: Struts-User (E-mail) Subject: html:select problems If I do something like this html:select property=value(selectedDistributor)

Nesting forms

2003-02-10 Thread Jacky Kimmel
I need to display data from the database in a jsp. In order to do this I have created a form in the struts-config.xml. My question is on how to nest forms. I have the main form, then a lineItem form with item info (there may be mulitiple line Items), then two address forms: shipping and

Re: How do you let your client edit Application.properties?

2003-02-10 Thread Davor Cengija
Marc Guillemot wrote: Hi, has someone a great way to suggest to allow non developers to edit the different localisations of Application.properties in a nice form? I had the idea to developp something (Excel macro or java program) to generate my different Application.properties files from

Re: difference between class with static method and singleton pattern

2003-02-10 Thread Davor Cengija
Ashish Kulkarni wrote: Hi, If I have a class with a static synchronized method and a class with singleton pattern doing the same function, wont the 2 be same, what may be the performance issue, what should we use in programs, The method i want to use is synchronized, so that no 2 classes

Re: Problem with struts, taglibs and i18n

2003-02-10 Thread Tom Ziemer
Thanks a lot. That solved the problem. Got it up and running now! Regards, Tom Craig R. McClanahan wrote: Sounds like you should modify your myDesign tag to take a key attribute and look up the corresponding message, like bean:message does. You could look at the source of that tag class

RE: [OT] Modeling tools

2003-02-10 Thread Mark Galbreath
Woah, mon ami! I'm a homebrewer and I make some very tasty beverages! Mark Galbreath Principal Consultant Workflow Process Engineering and Systems Integration http://www.QAT.com 410-703-367 / 800-799-8545 Never attribute to malice that which can be adequately explained by stupidity.

Using Tiles 101

2003-02-10 Thread Patrick Peak
Hi all, Based on some of the discussions floating around the struts list and some blogs, I've posted a getting started with Tiles article on my blog. It's at http://blogs.browsermedia.com/patrick if anyone is interested. Thanks, Patrick Peak Chief Technical Officer, Browsermedia [EMAIL

html:errors / trouble

2003-02-10 Thread alexj
Hi I can't figure what I've missed into my code : here is my login.jsp %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean% %@ taglib uri=/WEB-INF/struts-html.tld prefix=html% html body center img border=0 src=images/soft-intro.gif width=368 height=321 html:form action=/login table width=45%

Re: Nesting forms

2003-02-10 Thread JONATHAN PHILIP HOLLOWAY
You don't actually need to create three forms. All you need to do is to create one action form for your top level form, in your case LineItem. The other two are standard Java classes, just make sure they implement Serializable. You can just refer to these in your main form in the following way

  1   2   3   >