OT FRIDAY: Re: JavaServer Faces

2003-10-10 Thread Kito D. Mann
At 08:05 PM 10/9/2003 -0400, you wrote: Yes I too have worked on Microsoft Systems where you drag and drop components into a Frame and voila you have a functional web page. 1)First a general feeling if uneasiness about integrating the classic Monolithic Microsoft Component Structure into a working

Problem validating form manually in DispatchAction

2003-10-10 Thread Elie Medeiros
Hi there, am having a problem validating a form manually using the DynaValidatorForm.validate() function. For some reason, when validation is carried out this way it only seems to find errors in one of the form fields - however, if I set the validate=true property in the struts-module-config.xml

reloading of properties/resources file

2003-10-10 Thread Richard Raquepo
how can i force the reloading of my properties/resource file in struts? thanks.

RE: ejb's and tomcat

2003-10-10 Thread Mark Galbreath
Yeah, but the only reason I posted that msg was for baiting purposes...and apparently I caught a lot of fish... ;-P Mark -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 9:37 AM To: 'Struts Users Mailing List' Subject: RE: ejb's and

RE: ejb's and tomcat

2003-10-10 Thread Andrew Hill
Strangely enough I find most of your posts are decidedly fishy. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October 2003 18:51 To: Struts Users Mailing List Subject: RE: ejb's and tomcat Yeah, but the only reason I posted that msg was for baiting

RE: ejb's and tomcat

2003-10-10 Thread Mark Galbreath
I agree they scale well -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 6:56 AM Strangely enough I find most of your posts are decidedly fishy. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Friday, 10

[OT] Is Java Overkill?

2003-10-10 Thread Mark Galbreath
http://www.sys-con.com/Java/article.cfm?id=2257 Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: ejb's and tomcat

2003-10-10 Thread Brian McSweeney
Well congrats on a) wasting other people's time b) giving bad advice perhaps you should consider fishing elsewhere. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: 10 October 2003 10:51 To: Struts Users Mailing List Subject: RE: ejb's and tomcat Yeah, but the

[OT] JSTL Primer

2003-10-10 Thread Mark Galbreath
http://today.java.net/pub/a/today/2003/10/07/jstl1.html Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

redirect problem

2003-10-10 Thread koen boutsen
Hi If my httpsession is invalid, I want to send the user to the logon page. I tried it in different ways, but get an error everytime I tried it like this : (sessionIsValid is a attribute in the session. If this attribute is null, it means that my session does no longer exist).

RE: ejb's and tomcat

2003-10-10 Thread Mark Galbreath
Apparently more than 20 people believed it was important enough to spark a discussion of the issue, so if it was a waste of your time, perhaps you are just too important for this list? As far as bad advice goes, most of the people I know in the *real* world agree with my assessment: JBoss is not

RE: How to read contents of MANIFEST.MF

2003-10-10 Thread Mark Galbreath
1. the META-INF directory should be under the webapp root, not a WEB-INF subdirectory; 2. read the file into an action class with java.io.FileReader, set the object in some scope, and display it in a JSP with a bean:write/. Mark -Original Message- From: Martin Gross [mailto:[EMAIL

Struts and Tomcat JDBC Realms

2003-10-10 Thread Michel Bertrand
Hi all ! I was woundering about using Struts in Tomcat with JDBC Realms. I found lots of topics about Strunts and Realms but using policy files and I did not find any question or topic involving struts and JDBC Reals. Does struts support the use of JDBC Realms in Tomcat ? I don't intent to use

Re: How to read contents of MANIFEST.MF

2003-10-10 Thread Kris Schneider
Will this do? import java.util.jar.Manifest; ... ServletContext ctx = ...; InputStream in = ctx.getResourceAsStream(/META-INF/MANIFEST.MF); if (in != null) { Manifest mfst = new Manifest(in); ... in.close(); } Quoting Martin Gross [EMAIL PROTECTED]: I would like to read the content of

Correction: DynaValidatorForm.validate() does not seemt o validate Integers when called from DispatchAction [Re: Problem validating form manually in DispatchAction]

2003-10-10 Thread Elie Medeiros
In reference to the problem below, it actually seems that the DynaValidatorForm.validate() method does validate Strings, but not Integers any clues appreciated Elie Hi there, am having a problem validating a form manually using the DynaValidatorForm.validate() function. For some

RE: How to read contents of MANIFEST.MF

2003-10-10 Thread Mark Galbreath
Where did you get this from? -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 7:50 AM import java.util.jar.Manifest; - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: How to read contents of MANIFEST.MF

2003-10-10 Thread Kris Schneider
It's not mine, I'm just holding onto it for a friend. Quoting Mark Galbreath [EMAIL PROTECTED]: Where did you get this from? -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 7:50 AM import java.util.jar.Manifest; -- Kris

RE: redirect problem

2003-10-10 Thread Carlos Sanchez
You can extend RequestProcessor using a intercepting filter pattern for preprocessing (http://java.sun.com/blueprints/patterns/InterceptingFilter.html), so you don't have to check the session in every jsp. public class MyRequestProcessor extends RequestProcessor { PreProcessingFilter

RE: contains(String, String) in DynaActionForm

2003-10-10 Thread Horky Adam G A1C 805 CSPTS/SCBE
key is a reference to a value in the Application.resources file -Original Message- From: Marc Dugger [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 5:14 PM To: [EMAIL PROTECTED] Subject: contains(String, String) in DynaActionForm Can someone explain the parameters of this

Re[2]: How to read contents of MANIFEST.MF

2003-10-10 Thread Martin Gross
That is what I was looking for. Thanks a lot. Will this do? import java.util.jar.Manifest; ... ServletContext ctx = ...; InputStream in = ctx.getResourceAsStream(/META-INF/MANIFEST.MF); if (in != null) { Manifest mfst = new Manifest(in); ... in.close(); } Quoting Martin Gross

RE: redirect problem

2003-10-10 Thread koen boutsen
So,I have to write my session control in the doProcess() method ? How do I have to configure my application so that every request goes through this filter ? -- - Original Message - DATE: Fri, 10 Oct 2003 13:58:40 From: Carlos Sanchez [EMAIL PROTECTED] To: 'Struts Users Mailing

problem with forwarding to input from the method validate

2003-10-10 Thread Raphaël di Cicco
Hi, I'm working with Struts 1.1 and tiles. It seems like the validate() can't forward to my tiles page when an ActionErrors occurs. Here is my struts-config.xml file : action path=/EditDossCEAction type=com.atosorigin.agrippa.web.communs.doss.EditDossCEAction scope=request name=EditDossCEForm

RE: ejb's and tomcat

2003-10-10 Thread harm
As far as bad advice goes, most of the people I know in the *real* world agree with my assessment: JBoss is not worth the trouble. In short, it's crap. You must be joking, right? I certainly live in the real world. And in my 'real' world we realy use JBoss. We use it for development and even

RE: redirect problem

2003-10-10 Thread Carlos Sanchez
In struts-config.xml controller processorClass=blah.blah.MyRequestProcessor/ My authentication filter used an atribute authenticationRequired in the action mapping (note that this is not an elegant solution because it doesn't follows the DTD specification) action-mappings

RE: defaullt selection of radio button

2003-10-10 Thread muzammil shahbaz
The bean parameter which are using to store the value for this radio button after form submission; just initialize that to the value which you want to be checked by default when page renders. e.g. in form-bean, you have: int param = 1; // initializing with the no. that you want to be checked

Please help with this error ???en_US.errors.required???

2003-10-10 Thread Chen, Vivien
I have a login.jsp which I use DynaValidatorForm. Both the username and password are required fields. When I submited the page without entering these data, I got ???en_US.errors.required??? and ???en_US.errors.required???. It looks like the validation was peformed because I got two

Re: Please help with this error ???en_US.errors.required???

2003-10-10 Thread Daniel H. F. e Silva
Hi Vivien, Take a look at your web.xml. Maybe you copied it from Struts dist and message-resources was already configured there. As settings in web.xml will override settings in struts-config.xml, classloader can't find resource to be loaded and then you get that messages. Hope i helped

Re: Tools for Testing

2003-10-10 Thread Mike Kienenberger
Martin Gainty [EMAIL PROTECTED] wrote: Modify Artur's TestCase generator http://wttools.sourceforge.net/unittestsgen/package.html to handle StrutsTestCase and this could be automated... beautiful, Funny you should bring this up. I just spent Wednesday working with StrutsTestCase and

Help with Tiles matching a checkbox

2003-10-10 Thread Mick Knutson
I am trying to have a Tile replace an html checkbox with an image. But I can't seem to get this to work. tiles:useAttribute id=beanName name=property classname=java.lang.String ignore=true / tiles:importAttribute name=bean / bean:define id=checkbox name=bean property='%= beanName %'

[OT]Keel

2003-10-10 Thread Butt, Dudley
Hi anyone tried Keel out yet? Reason why I'm asking here is because this mailing list is so active... NOTICE: This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or

Re: [OT]Keel

2003-10-10 Thread Mick Knutson
What is the url? --- Thanks Mick Knutson The world is a playground...Play Hard, Play Smart. Visit http://www.YourSoS.com to learn how our Personal Emergency Alert Contact System can help you Play Smart. +00 1 (708) 570-2772 Fax MSN: mickknutson ICQ: 316498480 ICQ URL:

RE: Tools for Testing

2003-10-10 Thread Jayaraman Dorai
If the struts example could come with examples on how test cases could be written, that will help novices like us. Will having test cases within struts example be beyond the scope? -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003

Re: [OT] Is Java Overkill?

2003-10-10 Thread Adam Hardy
On 10/10/2003 01:18 PM Mark Galbreath wrote: http://www.sys-con.com/Java/article.cfm?id=2257 Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] He must have been turned down by

How to use tiles for Error Pages?

2003-10-10 Thread Fenderbosch, Eric
I've been able to use tiles for most of my pages, but how can I use it for an error page, like 404.jsp or 500.jsp? For my normal pages, I've declared them in my tiles-config.xml and then the JSP is quite simple, and that is all working fine. Since I need to define my error pages in my

[Really OT] Fw: Error in my DBUnit import syntax

2003-10-10 Thread Mick Knutson
I am very sorry for this off topic posting, but after a week, there is just no response, nor much traffic on the DBUnit site to help with this. Maybe someone here is using DBUnit and could help me figure out this issue. I am getting an error importing my DB.xml file. I export it, then try to

Re: Struts and Tomcat JDBC Realms

2003-10-10 Thread Adam Hardy
On 10/10/2003 01:46 PM Michel Bertrand wrote: Hi all ! I was woundering about using Struts in Tomcat with JDBC Realms. I found lots of topics about Strunts and Realms but using policy files and I did not find any question or topic involving struts and JDBC Reals. Does struts support the use of

RE: How to use tiles for Error Pages?

2003-10-10 Thread David G Friedman
Eric, If the page isn't accessed through a struts action, you need to insert the tiles definition before your tiles:insert commands like so: tiles:insert definition=track.default/ Regads, David -Original Message- From: Fenderbosch, Eric [mailto:[EMAIL PROTECTED] Sent: Friday, October

RE: [OT]Keel

2003-10-10 Thread Butt, Dudley
http://www.keelframework.org -Original Message- From: Butt, Dudley Sent: Friday, October 10, 2003 4:32 PM To: '[EMAIL PROTECTED]' Subject: [OT]Keel Hi anyone tried Keel out yet? Reason why I'm asking here is because this mailing list is so active... NOTICE: This message contains

help with requiredIf validation

2003-10-10 Thread Mick Knutson
I have the following requiredIf that does not seem to actually work: field property=phone1 depends=required,minlength,maxlength arg0 key=form.phone1/ arg1 name=maxlength key=${var:maxlength} resource=false/ var

RE: How to use tiles for Error Pages? [SOLVED]

2003-10-10 Thread Fenderbosch, Eric
Thanks! This works: %@ page language=java% %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles % tiles:insert definition=track.default tiles:put name=titleKey value=title.404/

Cannot find BEAN in any scope

2003-10-10 Thread Pat Young
I get this error when trying to use a bean write tag... Cannot find bean org.apache.struts.taglib.html.BEAN in any scope org.apache.jasper.JasperException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope at

Processing a 'POST' from the JSP Page for an ArrayList?

2003-10-10 Thread Michael Blair
I'm new to struts and so far love it, but this piece is killing me. I have a jsp, form bean, view, action. I am ok with loading an arraylist and embedding it into the jsp page using the iterate. Now, I want to make changes to the table in the browser which is represented as an iterator, and then I

RE: Cannot find BEAN in any scope

2003-10-10 Thread Mainguy, Mike
Generally this means you did not specify the name properly i.e. bean:write name=MyForm property=whatever/ Where MyForm= your formbean name property (or any bean stuffed in your request for that matter) -Original Message- From: Pat Young [mailto:[EMAIL PROTECTED] Sent: Friday, October

force download on excel file when clicked on

2003-10-10 Thread Joseph Sze
Is there a way to foce download when a linked is click to download a excel file rather than opening into the current browser window. For zip or exe it will automatically force a download of the type. I tried changing the mime types but didn't seem to work. Thanks for any information.

[ot] Time format and time picking?

2003-10-10 Thread Mick Knutson
I need the ability to have a user choose their own Time. But, I can only seem to get 24 hour time to work. So, Either I need to find a JavaScript Time Chooser, or I need help to figure out how to convert the time (8:56PM) to the Military time. Any help on this? --- Thanks Mick Knutson The

Re: force download on excel file when clicked on

2003-10-10 Thread Andy Engle
Joseph Sze [EMAIL PROTECTED] wrote: Is there a way to foce download when a linked is click to download a excel file rather than opening into the current browser window. For zip or exe it will automatically force a download of the type. I tried changing the mime types but didn't seem to

HashMap with options

2003-10-10 Thread Manav Gupta
Hi Can i use HashMap with options? something like: bean:define id=statusFilters property=statusFilters type=java.util.HashMap / html:options collection=statusFilters property=key labelProperty=value/ such that the option value is the key and the labelProperty is the value? thanks M

Re: defaullt selection of radio button

2003-10-10 Thread mohamed ebrahim faisal
HI You will be assigning values for every radio butttons right, give one of those values as the iniatilization parameter for the property you have assosciated with the radio button in the bean. I mean String prop = x; html:radio property=prop value=y / html:radio property=prop value=x/ after

Re: [ot] Time format and time picking?

2003-10-10 Thread Mick Knutson
No, I understand how to get the time correct, I am just hoping someone has a utility that will help me do this, as well as convert it back to 12 hour formatted time. Just so I don't have to re-invent the wheel. --- Thanks Mick Knutson The world is a playground...Play Hard, Play Smart. Visit

Re: [ot] Time format and time picking?

2003-10-10 Thread James Mitchell
I don't recall any handy dandy utilities for time. Sure, there are plenty for dates, but I don't seem to recall that being requested very often or I just have missed it since it hasn't been a requirement in any of my latest projects. -- James Mitchell Software Engineer / Struts Evangelist

Re: Cannot find BEAN in any scope

2003-10-10 Thread Shawn . Rummel
If you add the actionForm to the session this will disappear. I would be interested if this is the best practice. I do it because it works. Does any one have a better way of handling this or is this the correct way? Shawn

Re: reloading of properties/resources file

2003-10-10 Thread James Mitchell
You can't. This subject gets beaten to death about once a month. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 770.822.3359 AIM:jmitchtx - Original Message - From: Richard Raquepo [EMAIL PROTECTED] To: Struts Users Mailing List

RES: Struts and Tomcat JDBC Realms

2003-10-10 Thread Michel Bertrand
Hi ! Tks for your answer. Now I understood what's happing (I hope so) ... I have a multipart/form-data and it has in its action a forward to a common text form, like: forward name=List redirect=true path=/list.do/ I believe when it reaches the redirect=true, Struts clear the request attributes

RE: Please help with this error ???en_US.errors.required???

2003-10-10 Thread Chen, Vivien
Thanks for your tips which gave me some idea what to look for. My web.xml is fine. The problem is I have the following in my struts-config.xml, which I copied/pasted from the strust-config.xml in the Struts tiles_documentation examples. Will my application, which uses tiles, breaks at some

Re: JavaServer Faces

2003-10-10 Thread Craig R. McClanahan
Chen, Gin wrote: Since JSF is *supposed* to replace Struts, so to speak, This statement is *not* a correct understanding of what is happening! Anyone who claims that doesn't get it. You should absolutely, positively plan on evaluating the use of JavaServer Faces components instead of the

Odd Behavior with c:forEach

2003-10-10 Thread Barry Volpe
This creates a menu of 1 - 10 /html-el:select html-el:option value=yearyear/html-el:option c:forEach begin=1 end=10 varStatus=status html-el:option value=${status.count} c:out value=${status.count} / /html-el:option /c:forEach /html-el:select

Odd Behavior with c:forEach

2003-10-10 Thread Barry Volpe
This creates a menu of 1 - 10 /html-el:select html-el:option value=yearyear/html-el:option c:forEach begin=1 end=10 varStatus=status html-el:option value=${status.count} c:out value=${status.count} / /html-el:option /c:forEach /html-el:select

Re: Odd Behavior with c:forEach

2003-10-10 Thread Kris Schneider
Try ${status.index} Quoting Barry Volpe [EMAIL PROTECTED]: This creates a menu of 1 - 10 /html-el:select html-el:option value=yearyear/html-el:option c:forEach begin=1 end=10 varStatus=status html-el:option value=${status.count} c:out

RE: [ot] Time format and time picking?

2003-10-10 Thread Paananen, Tero
I don't recall any handy dandy utilities for time. Sure, there are plenty for dates, but I don't seem to recall that being requested very often or I just have missed it since it hasn't been a requirement in any of my latest projects. Wouldn't a combination of java.util.Calendar (for

RE: Odd Behavior with c:forEach

2003-10-10 Thread Chen, Gin
Not status.index you need to add a var='foo' and do: c:out value='${foo}'/ Also, If you want 11-20 you should have begin as 11 not 10. -Tim -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 2:54 PM To: Struts Users Mailing List Subject:

Re: [OT] Is Java Overkill?

2003-10-10 Thread Christian Bollmeyer
Am Freitag, 10. Oktober 2003 13:18 schrieb Mark Galbreath: Am I right this MIT 'technology guru' recommends Visual Basic in favor of Java because 'J2EE is much too complex' and JDBC binding variables have to be accessed by their ordinal position in PreparedStatements? Hm. But then, how does the

RE: JavaServer Faces

2003-10-10 Thread Chen, Gin
See.. Anyone reason that this should be kept public is to correct our understanding of what JSF is really about. ;) With the talks of JSF and it's UI/Action like capabilities it is no wonder that we think of it as a possible alternative to Struts. To use it with Struts seems to me as saying that

RE: JavaServer Faces

2003-10-10 Thread Chen, Gin
If I culod sepll this mghit mkae snese. -Teem -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 3:09 PM To: 'Struts Users Mailing List' Subject: RE: JavaServer Faces See.. Anyone reason that this should be kept public is to correct our

RE: Please help with this error ???en_US.errors.required???

2003-10-10 Thread Daniel H. F. e Silva
Hi Vivien, I think it depends on Struts version you are using. I use 1.1 and everything works fine. Your message-resources/ config tells Struts to look for your resources at package org.apache.struts.webapp.tiles.dev1-1. So, you should have, for instance, this: WEB-INF -- | |---

Re: force download on excel file when clicked on

2003-10-10 Thread Christian Bollmeyer
Am Freitag, 10. Oktober 2003 17:48 schrieb Joseph Sze: Still, it's the MIME type that determines how things are handled. If it helps, I once developed a simple Servlet for solving another guys problem with GZip streams on JSP-INTEREST. For experimental purposes, I added options for overriding the

Re: Odd Behavior with c:forEach

2003-10-10 Thread Barry Volpe
Yes that worked. Thanks Barry - Original Message - From: Chen, Gin [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, October 10, 2003 12:02 PM Subject: RE: Odd Behavior with c:forEach Not status.index you need to add a var='foo' and do: c:out

Struts 1.2 - When?

2003-10-10 Thread David Farell
When we can expect Struts 1.2 Beta? (other then when it’s ready, can we guess a month?) Thank You, David __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com

Re: JavaServer Faces

2003-10-10 Thread Ted Husted
Craig R. McClanahan wrote: There is a functionality overlap in the core controller role, and for some people JavaServer Faces will be sufficient by itself. over-simplification It's not unlike the situation with the JSTL SQL tags. For very simple Model 1 applications, these can be sufficient

Re: Struts 1.2 - When?

2003-10-10 Thread Ted Husted
I believe there's an issue with some of the tests right now. Once those are resolved, I believe someone might cut a 1.2.0 release to promote the latest release of the Commons Validator. -Ted. David Farell wrote: When we can expect Struts 1.2 Beta? (other then when its ready, can we guess a

RE: Struts 1.2 - When?

2003-10-10 Thread Fenderbosch, Eric
*waits patiently for validWhen* -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 16:07 To: Struts Users Mailing List Subject: Re: Struts 1.2 - When? I believe there's an issue with some of the tests right now. Once those are resolved, I

ugly ugly ugly

2003-10-10 Thread Fenderbosch, Eric
The whole use-a-named-property-for-everything is great so that marketing can change the text/copy without involving a HTML/JSP developer, as well as the future ability to I18N a site down the road. However some things just get ugly. Example: Old line of HTML: The FedEx Custom Critical a

Re: JavaServer Faces

2003-10-10 Thread Susan Bradeen
Thank you, Craig, for the umpteenth time for saying this. Why are so many people still talking about throwing in the Struts towel?! This is open source, is it not? Is it not the job of open source to keep ahead of the standards with great ideas that continue to make our jobs easier, more

Re: ugly ugly ugly

2003-10-10 Thread Evan Schnell
David Graham wrote: --- Fenderbosch, Eric [EMAIL PROTECTED] wrote: The whole use-a-named-property-for-everything is great so that marketing can change the text/copy without involving a HTML/JSP developer, as well as the future ability to I18N a site down the road. However some things just get

Re: Struts 1.2 - When?

2003-10-10 Thread Ted Husted
Fenderbosch, Eric wrote: *waits patiently for validWhen* Why be patient? Pitch in: http://jakarta.apache.org/struts/faqs/helping.html http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsJobJar And, under the Apache Software License, any interested party can roll a release:

Re: JavaServer Faces

2003-10-10 Thread Ted Husted
Craig R. McClanahan wrote: Craig (who notes that it took Struts nearly three years to get a wide breadth of tools support) Though, the Struts tool explosion coincided with the more general Java tool explosion. If we have GUIs like today's Eclipse and IntelliJ three years ago, we would have seen

Re: [OT] Is Java Overkill?

2003-10-10 Thread Ted Husted
I have to admit, there are days when I would tend to agree : MIT is a place where they take pride in trying to invent the future. Something we should all keep in mind is that our world is still young. We've only scratched the surface, and there's a lot of future left to invent. No matter how

RE: ugly ugly ugly

2003-10-10 Thread Derek Richardson
Is fmt:message a complete replacement for b:message? What do I have to know to use it? -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 4:35 PM To: Struts Users Mailing List Subject: Re: ugly ugly ugly ... That's what I would do except use

Re: JavaServer Faces

2003-10-10 Thread Kito D. Mann
I think the main point is that JSF is primarily about standard re-usable user interface components. It has basic controller functionality, but the UI component side of things is the real focus. Many existing frameworks -- Struts, UIX (Oracle's framework), and others, will continue to add a

RE: ugly ugly ugly

2003-10-10 Thread David Graham
--- Derek Richardson [EMAIL PROTECTED] wrote: Is fmt:message a complete replacement for b:message? What do I have to know to use it? Yes. fmt:message is part of the JSTL http://java.sun.com/products/jsp/jstl/ David -Original Message- From: David Graham [mailto:[EMAIL

Re: JavaServer Faces

2003-10-10 Thread Christian Bollmeyer
Am Freitag, 10. Oktober 2003 21:09 schrieb Chen, Gin: If I also may share my thoughts about this all here: Well, I'm doing not only Java or J2EE, but was alo forced upon the role of chief developer for our 'main' product (which is a traditional C/S application written in Delphi) some time ago.

RE: ugly ugly ugly

2003-10-10 Thread Derek Richardson
Do I still declare my properties files in struts-config and associate them with keys? Knew it is a part of the JSTL, didn't know it's a drop-in replacement for b:message. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 5:48 PM To: Struts

No getter method error

2003-10-10 Thread Dennis Dunn
Hello, I am working on my first Struts application and I've run into a problem with reading bean properties with the taglibs. I am using the NetBeans IDE w/j2sdk 1.4.2 and Struts 1.1. OK, this is what I see in my browser: [ServletException in:/tiles/timesheet_viewer.jsp] No getter method for

RE: ugly ugly ugly

2003-10-10 Thread David Graham
--- Derek Richardson [EMAIL PROTECTED] wrote: Do I still declare my properties files in struts-config and associate them with keys? Yes, and add this to you web.xml file so fmt:message will also know where to find your messages: context-param

OT - book on Java patterns

2003-10-10 Thread Sasha Borodin
All this talk lately of various official patterns has my brain hurting from the Unknown again. Can anyone recommend a good book on *patterns* - business delegate, visitor, dao, etc. etc. etc. Thanks, -Sasha - To unsubscribe,

RE: OT - book on Java patterns

2003-10-10 Thread Mark, Scott
I think this is a good J2EE-oriented one; has some very practical examples if you are new to patterns. Core J2EE Patterns: Best Practices and Design Strategies by Deepak Alur (Author), John Crupi (Author), Dan Malks (Author)

HTTP Status 404 After Inserting security-constraint In The web.xml

2003-10-10 Thread Caroline Jen
I think this is more of a problem in the area of Servlets/JSPs. Nonetheless, it happened when I ran my Struts application and I decided to give a try at this forum. My application worked well with login-config auth-methodFORM/auth-method form-login-config

Keeping Actions clean - separating actions from business model from persistence

2003-10-10 Thread Sasha Borodin
Ted, Matt, Joe, and all the other helpful folks that chimed in earlier on persistence mechanisms: In trying to keep with best practices, I've managed to remove all model related code (business logic, and persistence) out of the Actions' execute() method. Now I'd like to take it one step further

Re: how to keep developing time as short a possible?

2003-10-10 Thread Vic Cekvenich
I think I have a good practice: Point Resin (or container) to your project where IDE is: web-app id='/' document-directory='\jasic\bPproj\bP' Cany changes to Java or JSP, you do not need to restart resin. (changes to xml files, you do). I also recomend dual mointors, resin console and browser on

Re: Keeping Actions clean - separating actions from business modelfrom persistence

2003-10-10 Thread Sgarlata Matt
I use my own framework because I don't know any better. I am using Torque as my underlying persistence mechanism, and I have introduced a very simple level of indirection that I think should keep me independent of Torque in the future (I plan to swap in Hibernate or OJB on the next app I work

Re: JavaServer Faces

2003-10-10 Thread Craig R. McClanahan
Susan Bradeen wrote: Thank you, Craig, for the umpteenth time for saying this. Why are so many people still talking about throwing in the Struts towel?! This is open source, is it not? Is it not the job of open source to keep ahead of the standards with great ideas that continue to make our

Re: JavaServer Faces

2003-10-10 Thread Vic Cekvenich
Frank Maritato wrote: So, displaytag is a pretty interesting taglib. It is very nice, I use it a lot! Does it need to have the entire dataset, or can it use an action/controller to lazy load the information from a datasource (or ejb, or web service, etc.) ? View layer does not deal with data

Re: Keeping Actions clean - separating actions from business model from persistence

2003-10-10 Thread Sasha Borodin
Matt, thanks for your quick feedback. I use my own framework because I don't know any better. public abstract class DaoManager { public abstract IRecordDao createDao(Connection conn, String daoClassName) throws DaoException; Which tier calls your DaoManager? It seems from your code that

RE: Keeping Actions clean - separating actions from business mode l from persistence

2003-10-10 Thread Mahesh Joshi
Hi I have generally have done the following: In the Action: Use a DTO(data transfer object) to transform the ActionForm to a business layer data object Instantiate the business logic class of interest Call a method on the business logic passing the DTO object

How To Work Out This Action Mapping?

2003-10-10 Thread Caroline Jen
Because there is such a statement (shown below) in my signinForm.jsp: html:form action=j_security_check method=post focus=j_username I put action name=j_security_check path=/do/admin/Menu/ in my struts-config.xml file. When I ran the application, I got:

Re: Keeping Actions clean - separating actions from businessmodel from persistence

2003-10-10 Thread Sgarlata Matt
- Original Message - From: Sasha Borodin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 10, 2003 8:33 PM Subject: Re: Keeping Actions clean - separating actions from businessmodel from persistence Matt, thanks for your quick feedback. I use

Re: HashMap with options

2003-10-10 Thread Sgarlata Matt
You might want to investigate using a List of LabelValueBean objects instead. Matt - Original Message - From: Manav Gupta [EMAIL PROTECTED] To: Struts Developers (E-mail) [EMAIL PROTECTED] Sent: Friday, October 10, 2003 12:24 PM Subject: HashMap with options Hi Can i use HashMap

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Sasha Borodin
I think you may be doing two things wrong: 1. j_security_check is a special URL. If you have a security realm defined in your web application, and authentication method specified as FORM, then the container will automatically forward any requests for protected resources to a configurable login

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Caroline Jen
Thank you for your reply. I am using container managed authentication. My problem is how to go from j_security_check back to my Struts framework. I have my Tomcat JDBCRealm configured and users, user_roles tables prepared in the database. In my struts-config.xml file, I did this forward when

Re: HashMap with options

2003-10-10 Thread Michael D. Norman
Manav wrote: Can i use HashMap with options? something like: bean:define id=statusFilters property=statusFilters type=java.util.HashMap / html:options collection=statusFilters property=key labelProperty=value/ Manav, Yes, you should be able to use any Map as the collection, with the

Re: How To Work Out This Action Mapping?

2003-10-10 Thread Craig R. McClanahan
Caroline Jen wrote: Thank you for your reply. I am using container managed authentication. My problem is how to go from j_security_check back to my Struts framework. That turns out to not be your problem ... that is the container's problem. The key thing to remember is that the user should

  1   2   >