Flash Arrays: Possible on Struts with WEB-INF?

2002-05-01 Thread Micael Padraig Og mac Grene
Can Flash .swf array files access photo1.swf, photo2.swf, etc., Flash element files in the same directory with relative file URLs? You don't have to tell me how to do it, I just want to know if it is possible. This is fhe fourth time I have asked this question. It seems to me to be a

How to map form data to a HIERARCHY of domain objects

2002-05-01 Thread Mike Hogan
Hi, I want to map data posted from a form to a hierarchy of domain objects. For exampe, my form includes the following information: Person first name Person last name Company name Company address I would like a javabean hierarchy, whose root is an object of type Person, and which allows me do

RE: Need Help: Please do help me

2002-05-01 Thread David Cypers
for page validation, i use the filter-mechanism from the servlet 2.3 api. just write a filter which checks the parameters in your request, validates them against an internal table , and forwards the filter chain to 1) the page OR 2) an error page indicating that the user is not validated for the

RE: Bean Bug?

2002-05-01 Thread Peter Pilgrim
(1) Use BigDecimal for all financial currency amounts (2) Write your own Custom Tag to print out monetary data. It is easy to subclass org.apache.struts.taglib.bean.WriteTag to provide a custom tag similar to acme:numberFormat format=#,###.00(#,###.00) name=obj property=moneyAttr / --

Re: How to map form data to a HIERARCHY of domain objects

2002-05-01 Thread Victor Hadianto
Hi, I want to map data posted from a form to a hierarchy of domain objects. http://jakarta.apache.org/struts/struts-nested.html -- Victor Hadianto --- That's the thing about people who think they hate computers. What they really hate is lousy programmers. - Larry Niven and

Struts 1.1 RequestProcessor subclassing

2002-05-01 Thread John Reid
Hi Guys I am trying to override requestPreprocess to do some authentication checking. I see that the RequestProcessor is held in a field in the ActionServlet. What is the correct way to change the RequestProcessor instance? I have tried subclassing the ActionServlet and setting the field to an

RE: Bean Bug?

2002-05-01 Thread Galbreath, Mark
I see your point, but aren't you incurring unnecessary formatting overhead in the presentation tier (to say nothing of ongoing maintenance)? Any Struts tag that writes to the presentation tier should take such formatting issues into consideration. For example, the formatting tag that Chandras

atction-mappings and default action path

2002-05-01 Thread Rainer Jünger
Hi, we would like to have a default action at the end of our mappings. So if none of the other paths matched that the last or default one would be executed. As far as I know ther is basically no fist or last. But still there must be a solouton something like: action-mappings .

Need help, by using select tag correctly

2002-05-01 Thread Björn Blum
Hello, I've got a little Problem in how using the struts select - tag correctly. I'm new to Struts and have read the mails correspondig to the select-tag in this mailing-list, but i'm not able to run my select tag. Scenario: In my action class a list of planningperiods is generated. the select

RE: Struts 1.1 RequestProcessor subclassing

2002-05-01 Thread David Wilkinson
John You don't need to subclass ActionServlet all you need to do is tell the controller which class to use to override the RequestProcessor. This is done by adding a line into your struts-config.xml as follows controller processorClass=foo.bar.RequestProcessor/ where foo.bar.RequestProcessor

RE: Struts bean usage

2002-05-01 Thread Galbreath, Mark
Because the bean is not reportsForm, it's ReportsForm. Change the name= parameter. And why are you casting a ListArray() to a Collection in its constructor? Mark -Original Message- From: Villegas, Courtney [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 8:09 PM To: 'Struts

RE: Need some votes for improved Javascript support in Link Tag

2002-05-01 Thread Galbreath, Mark
Absolutely. Can you make that tag available now? Mark -Original Message- From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 12:26 AM To: Struts User List Subject: Need some votes for improved Javascript support in Link Tag Hey all, I submitted an

RE: ideal method to set the sessionid in struts?

2002-05-01 Thread Galbreath, Mark
No. -Original Message- From: jfc100 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 6:43 AM I think I can assume that calling 'request.getSession()' explicitly will always return an existing session. Is that correct? Joe -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

RE: ideal method to set the sessionid in struts?

2002-05-01 Thread Galbreath, Mark
Great rhetorical answer! You guys are learning ;-) Mark -Original Message- From: James Mitchell Sent: Wednesday, May 01, 2002 6:43 AM What exactly is your question? Errwell did you answer your own question? If I am understanding what you are saying: taking-a-poke-at-it If

RE: ideal method to set the sessionid in struts?

2002-05-01 Thread Vikram Goyal01
It will create and return a session if none exists. If session exists it will return that. V -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 5:20 PM To: 'Struts Users Mailing List' Subject: RE: ideal method to set the sessionid in

RE: atction-mappings and default action path

2002-05-01 Thread Galbreath, Mark
Why? (really) Mark -Original Message- From: Rainer Jünger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 6:35 AM we would like to have a default action at the end of our mappings. So if none of the other paths matched that the last or default one would be executed. As far as

RE: ideal method to set the sessionid in struts?

2002-05-01 Thread Galbreath, Mark
No it won't. -Original Message- From: Vikram Goyal01 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 7:52 AM To: Struts Users Mailing List Subject: RE: ideal method to set the sessionid in struts? It will create and return a session if none exists. If session exists it will

RE: Need help, by using select tag correctly

2002-05-01 Thread Hogan, John
The PlaningPeriodHelper class needs to be an attribute of your ActionForm class. The jsp then uses this form bean. -Original Message- From: Björn Blum [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 7:21 AM To: Struts Users Mailing List Subject: Need help, by using select tag

RE: ideal method to set the sessionid in struts?

2002-05-01 Thread Galbreath, Mark
Oops, sorry...finger slipped off the ' key and hit return. No, it won't if the method parameter is getSession( false); With getSession() or getSession( true), an existing session will be returned IF IT EXISTS, else a new session for the request will be created. Mark -Original

Re[2]: atction-mappings and default action path

2002-05-01 Thread Dariusz Wojtas
we would like to have a default action at the end of our mappings. So if none of the other paths matched that the last or default one would be executed. As far as I know ther is basically no fist or last. But still there must be a solouton something like: action-mappings .

RE: ideal method to set the sessionid in struts?

2002-05-01 Thread Vikram Goyal01
copy-paste-javadoc getSession public HttpSession getSession() Returns the current session associated with this request, or if the request does not have a session, creates one. /copy-paste-javadoc V -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: ideal method to set the sessionid in struts?

2002-05-01 Thread Vikram Goyal01
Exactly my point... :) V -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 5:29 PM To: 'Struts Users Mailing List' Subject: RE: ideal method to set the sessionid in struts? Oops, sorry...finger slipped off the ' key and hit return. No,

RE: ideal method to set the sessionid in struts?

2002-05-01 Thread Galbreath, Mark
Right, I just wanted to give him the options, since it appears he doesn't understand session persistence mechanisms. Mark -Original Message- From: Vikram Goyal01 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 8:06 AM To: Struts Users Mailing List Subject: RE: ideal method to

Re: atction-mappings and default action path

2002-05-01 Thread Rainer Jünger
Hi Mark, Why? (really) We need to integrate an old own designed MVC architecure into Struts but do not wont to rewrite have of it. The old ActionServelt (controller) or dispatcher is getting his forward paths out of a databasebean and it just works fine. But for new interaction with

Need some votes for improved Javascript support in Link Tag

2002-05-01 Thread Phase Web and Multimedia
Hey all, I submitted an enhancement to struts. Read the following and if it sounds worth having in struts give me a vote on the developer's list or make some noise for some of the gurus to see. The code is at the following url in zip format: Here is the info on the tag:

Re: Need help, by using select tag correctly

2002-05-01 Thread Björn Blum
Hello, The PlaningPeriodHelper class needs to be an attribute of your ActionForm class. The jsp then uses this form bean. no, it doesn't work. The same error comes up. I added the attribute PlanningPeriodHelper with getter- and setter Method in the ActionForm which is associated with the

RE: atction-mappings and default action path

2002-05-01 Thread Bill Page
Haven't tried this but you could probably make a global forward named default and instead of (not checking my syntax here) return (_mapping.findForward(ForwardName)); use ActionForward forward = _mapping.findForward(ForwardName); if(forward == null) reutrn

RE: atction-mappings and default action path

2002-05-01 Thread Galbreath, Mark
Well, AFAIK (as far as I know), Struts does not provide a default action forward in the sense that if an action form doesn't declare an action, the action servlet will choose one for it (is this what you want to happen?). We did something similar (though I disagree with the rationale) by sub

RE: atction-mappings and default action path

2002-05-01 Thread Galbreath, Mark
Sounds doablein theory. ;-) -Original Message- From: Bill Page [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 8:37 AM Haven't tried this but you could probably make a global forward named default and instead of (not checking my syntax here) return

Re: atction-mappings and default action path

2002-05-01 Thread Rainer Jünger
Hi Mark, retrofitting most times just ends up being a kludge. you are feeding my doubts! R. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: ideal method to set the sessionid in struts?

2002-05-01 Thread jfc100
Galbreath, Mark wrote: Right, I just wanted to give him the options, since it appears he doesn't understand session persistence mechanisms. Mark -Original Message- From: Vikram Goyal01 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 8:06 AM To: Struts Users Mailing List

Simple Scope Question (I Hope)

2002-05-01 Thread Tim Sawyer
Hi, I would like to put an object in application scope rather than session scope, from an action handler, but I can't find out how. To put it in session scope I do: theSession.setAttribute(makeList, lMakeBean); What's the equivalent for application scope? I'm trying to share an object

RE: Simple Scope Question (I Hope)

2002-05-01 Thread Galbreath, Mark
ServletContext context = getServletContext(); context.setAttribute( makeList, lMakeBean); Mark -Original Message- From: Tim Sawyer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 9:23 AM To: [EMAIL PROTECTED] Cc: Tim Sawyer Subject: Simple Scope Question (I Hope) Hi, I would

Converting application that was using jsp:useBean to Struts...

2002-05-01 Thread Alex Paransky
I am trying to convert an application that was using jsp:useBean to Struts. In typical Struts pattern, I created a xxxLoad.do for different type of beans that I was putting into the request context. For simple pages, I can simply execute a single xxxLoad.do and forward to the desired

RE: How to map form data to a HIERARCHY of domain objects

2002-05-01 Thread Alex Paransky
Struts does this by default, name=person property=firstName name=person property=lastName name=person property=company.name name=person property=company.addresss.line1 name=person property=company.addresss.line2 name=person property=company.addresss.line3 -AP_ http://www.alexparansky.com

RE: Flash Arrays: Possible on Struts with WEB-INF?

2002-05-01 Thread Alex Paransky
I am not familiar with the way Flash .swf array works, however, if it embeds a reference to the file and then executes an http GET to actually download the file, then putting image just like any other picture on the page should work (assuming you are not using user logins, and require

jsp:include tag invalid...

2002-05-01 Thread Jean Fotovat
hello community, this is surely a request not closed to our mail list, but. i've this error when trying to run a jsp file under jbuilder : index.jsp : Invalid jsp:include tag at... could someone help me please ? thanks jean fotovat

Re: Form based security

2002-05-01 Thread Larry Meadors
Pete, You sound like you are on the same path I am. The last application used a custom model that was written in-house, based on jsp tags and struts action servlets. With the current project, we are using TC to provide the security (via LDAP to a Novell NDS tree). So far, the only

table creation using Iterate

2002-05-01 Thread Hari Menon
Hi I have been getting helped out with couple of struts users. I have a question on the table population using Iterate tags. When I use Iterate all I obtain is the table populated with different rows. Is there any way to get the length of the bean so that I can have three columns and as

Struts enhydra problems

2002-05-01 Thread Karim Qazi
I am getting this error: Root cause: java.lang.IllegalArgumentException: cant remove Attributes from request scope at org.apache.jasper.runtime.PageContextImpl.removeAttribute(PageContextImpl.ja va:230) at org.apache.struts.taglib.html.FormTag.doEndTag(FormTag.java:591) at

html:select help!

2002-05-01 Thread Muthukumar
Title: Message Hi How to make one or more option of select object bold. Thanks and Regards Muthukumar .S Mysore. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

atction-mappings and default action path

2002-05-01 Thread rainer jünger
Hi, we would like to have a default action at the end of our mappings. So if none of the other paths matched that the last or default one would be executed. As far as I know ther is basically no fist or last. But still there must be a solouton something like: action-mappings .

Question about select multiple='true' ...

2002-05-01 Thread Larry Meadors
OK, I have this html: select name='unt' multiple='yes' disabled='yes' size='5' option value='MAINE'Maine/option option value='FLTHD'Flathead/option option value='CLRWT'Clearwater/option option value='RKYPR'Rockies Purchased Logs/option option value='WNFLD'Winnfield/option option

RE: Struts bean usage

2002-05-01 Thread Alex Paransky
Well, the documentation of the define tag states: Retrieve the value of a specified bean property, and define it as an attribute (in the scope specified by the toScope property) accessible to the remainder of the current page So, the bean reportsForm must already be present in the scope at

RE: Converting simple report app to struts.

2002-05-01 Thread Sandra Cann
Suggestions welcome, or pointers to good examples of a simple report display application using struts. If it makes a difference, this will be run under the Oracle 9iAS server using OC4J J2EE container - I think this is more simply called the Orion server. eContent at www.jcorporate.com

Databases and JNDI resource problem

2002-05-01 Thread @Basebeans.com
Subject: Databases and JNDI resource problem From: guido schnider [EMAIL PROTECTED] === While trying to connect a mysql DB with Tomcat 4.0.4-b1 ant struts 1.1 b1 as described in the Tomcat manual under JNDI Resources HOW-TO I get the following error. It looks like that he is still looking for

RE: table creation using Iterate

2002-05-01 Thread Alex Paransky
Well, there is a size tag you can use to get the size of a collection. What you do with it, or how you use it to layout your table is up to you. -AP_ http://www.alexparansky.com Java/J2EE Architect/Consultant http://www.myprofiles.com/member/profile/apara_personal -Original Message-

RE: Converting simple report app to struts.

2002-05-01 Thread Alex Paransky
Start by creating an action that would replace your servlet. If the user enters any parameters for the report then create a Form. The action attribute of the form would be your new action to execute the report. The action would define a FORWARD to the proper presentation .JSP page. Once the

RE: Simple Scope Question (I Hope)

2002-05-01 Thread Tim Sawyer
Cheers Mark. I had to do ServletContext lContext = this.getServlet().getServletContext(); to get it to work from an action though. (I'm using 1.0.2) ta, Tim. Galbreath, Mark [EMAIL PROTECTED] wrote : ServletContext context = getServletContext(); context.setAttribute( makeList,

RE: table creation using Iterate

2002-05-01 Thread Galbreath, Mark
I am probably oversimplify your question, but do you mean something like table tr tdbean:write name=MyBean property=prop1/td tdbean:write name=MyBean property=prop2/td tdbean:write name=MyBean property=prop3/td /tr tr ... ? -Original Message- From: Hari Menon [mailto:[EMAIL PROTECTED]]

RE: Question about select multiple='true' ...

2002-05-01 Thread Galbreath, Mark
First, I don't know how you are getting anything with disabled='yes.' Second, a select sends only its value(s); you are (apparently) expecting the options' index position and text in your first mutator. Mark -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED]] Sent:

RE: include tag invalid...

2002-05-01 Thread Galbreath, Mark
Not without seeing the offending code. Mark -Original Message- From: Jean Fotovat [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 11:38 AM To: [EMAIL PROTECTED] Subject: jsp:include tag invalid... hello community, this is surely a request not closed to our mail list, but.

RE: html:select help!

2002-05-01 Thread Galbreath, Mark
You can't. -Original Message- From: Muthukumar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 5:45 AM To: [EMAIL PROTECTED] Subject: html:select help! Hi How to make one or more option of select object bold. Thanks and Regards Muthukumar .S Mysore.

RE: Flash Arrays: Possible on Struts with WEB-INF?

2002-05-01 Thread James Mitchell
To answer your question suppressing-annoyance for the ?th time. What do Flash files (.swf) have to do with struts? Its a simple document request. Whether you choose to put you jsp files (I said jsp not all content ) under WEB-INF is up to you. Whether you choose to make it: relative to the

RE: html:select help!

2002-05-01 Thread James Mitchell
Muthukumar, you are kidding right? Choices 1. Write your own applet in Java 2. Write your own Web Control in VC++ or VB 3. Submit a request to Microsoft to have this added as a patch to IE4, IE5, and IE6. Be sure to copy Netscape on it so they can add it also. Oh and don't forget the

RE: html:select help!

2002-05-01 Thread Hardee, Tony
Not sure how this applies to the html:select tag, but in html: select name=country option selected style=background-color:#FFAA00; font-style:italic; color:blue value=us United States of America /option option

James Mitchell is Rude and Ignorant

2002-05-01 Thread Micael Padraig Og mac Grene
James, You don't know what you are talking about. I know all about what you are speaking about. I am talking about Flash ARRAYS. Get it? If you don't know the question, don't try the answer. The question is not so simple as you blithely ASSUME. Plus, your advice s$cks. Micael At 11:18

RE: html:select help!

2002-05-01 Thread Mannem, Taati
Muthu, its possible by the style sheet but as Jim pointed out it might affect ur look and feel of the listbox. Create a styleclass and give the following property font-weight: bold and refer top t his style class using this syntax in ur html:select tag html:select

RE: Need help, by using select tag correctly

2002-05-01 Thread Hogan, John
Do you have an appropriate form class declaration and an associated action class mapping in your struts-config.xml? -Original Message- From: Björn Blum [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 8:23 AM To: Struts Users Mailing List Subject: Re: Need help, by using select

RE: html:select help!

2002-05-01 Thread Mannem, Taati
An addendum The code that Is en was for the whole select ..We do not have the style class fo options.. Regards, Taati -Original Message- From: Mannem, Taati Sent: Wednesday, May 01, 2002 11:34 AM To: 'Struts Users Mailing List' Subject: RE: html:select help! Muthu,

RE: James Mitchell is Rude and Ignorant

2002-05-01 Thread James Mitchell
Apparently I'm not an expert on Flash. Oh SH##, I'm sorry. I meant to send that reply to the [EMAIL PROTECTED] Please accept my apologies. JM -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 11:29 AM To: Struts Users

Re: James Mitchell is Rude and Ignorant

2002-05-01 Thread Micael Padraig Og mac Grene
The thing this question has to do with STRUTS is that it is an application which generates and AUTOMATIC relative reference within a SWF file that is NOT controlled in STRUTS. So, if STRUTS cannot accommodate that, then there is a significant functionality out there that is inconsistent with

James Mitchell Continues His Faux Pax's

2002-05-01 Thread Micael Padraig Og mac Grene
You should have thought again, James. It is a STRUTS problem because some people MIGHT WANT TO USE A FLASH ARRAY WITH STRUTS AND THEY AUTOMATE RELATIVE IMAGE INCLUDES. Catching on? Micael At 11:41 AM 5/1/02 -0400, you wrote: Apparently I'm not an expert on Flash. Oh SH##, I'm sorry. I

RE: html:select help!

2002-05-01 Thread Galbreath, Mark
Two problems: 1. It doesn't work correctly with Netscape; probably not for many other browsers as well. 2. What would be the point even with IE for a Struts select with an iterator? All the options' styles would be the same. Mark -Original Message- From: Hardee, Tony [mailto:[EMAIL

Help with Struts1.1b and IPlanet 6.0 SP1

2002-05-01 Thread Vlad Levin
Some help would be greatly appreciated for the following problem: We cannot get an application developed using struts 1.1 (milestone release) working with IPlanet 6.0 Service Pack 1. If we use Struts 1.0, we can get things running. It seems as though there is a problem loading the

RE: James Mitchell is Rude and Ignorant

2002-05-01 Thread Galbreath, Mark
Extensive discussions regarding Flash and servlets have been held on servlet-interest. Check out its archive at java.sun.com/products/servlet. There was a French guy on their about a year ago who was an expert. It's possible that he's lurking. Mark -Original Message- From: Micael

RE: html:select help!

2002-05-01 Thread Leonardo Maciel
For your number 2. Inside the iterator you can have something like this html:select property=result logic:iterate id=cType name=cList logic:equal name=cType value=USA option selected style=background-color:#FFAA00; font-style:italic; color:blue value=bean:write name=cType/

Re: table creation using Iterate

2002-05-01 Thread Eddie Bush
To do things such as this, I think most folks typically have a bean that models one row of data and then stuff them all into a Vector. You can then iterate over your Vector and use jsp property-getter tags to retrieve the values for the current column from the bean. If that's as clear as mud to

RE: html:select help!

2002-05-01 Thread Galbreath, Mark
Does this actually work (at least in IE)? -Original Message- From: Leonardo Maciel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 11:58 AM For your number 2. Inside the iterator you can have something like this html:select property=result logic:iterate id=cType

Session Attributes Lost!!

2002-05-01 Thread KIRKLAND,BRIAN (HP-PaloAlto,ex1)
Hi, I am using the latest version of struts and noticing a very weird issue. Please let me know if you have any ideas or have seen this before On the first JSP page I add click a link and initiate an action (A). This action puts the user key into the session attributes. On success, the

RE: html:select help!

2002-05-01 Thread Leonardo Maciel
works at least in IE. But what I have is a multiple dropdown box with pre-selected options copy-paste-from-working-code html:select property=contactTypesResult multiple=true size=5 style=font-size:12px; onchange=updateCounter() logic:iterate id=cType name=ContactForm

Re: Help with Struts1.1b and IPlanet 6.0 SP1

2002-05-01 Thread ajTreece
Vlad... Not sure I can help with your problem, but on the Apache web site it states that the recommended iPlanet version is sp2. You may or may not be able to move to that release, but I just wanted to let you know that I am running Struts v1.1 (latest nightly build) on sp2 and the only thing

RE: html:select help!

2002-05-01 Thread Galbreath, Mark
That's pretty cool! It never occurred to me to use logic:equal inside an interator on an html:select. Just goes to further prove that TAMTOWTDI (old Perl saying). Mark -Original Message- From: Leonardo Maciel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 12:36 PM works at

Repost: Where did it go?!

2002-05-01 Thread dhay
Just been contacted privately about this problem, and still haven't been able to fix it (since last July)! Has anyone else encountered the problem (I now know at least one other has!). But more importantly, does anyone know why this is happening, and have a fix for it? Seems like when I

RE: Session Attributes Lost!! (UPDATE)

2002-05-01 Thread KIRKLAND,BRIAN (HP-PaloAlto,ex1)
Ok. So I wanted to eliminate the user-error variable so I ported my web-app to Tomcat. The issue is not there on Tomcat. Yet again, another BV bug. Anyone out there use struts on BV? This is the 3rd bug I have had to face. 1. BV does not return correct info from getServletContext() = worked

James Mitchell is a kind and generous person

2002-05-01 Thread James Mitchell
I'll be done with my rebuttal shortly. JM -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Help required on Digester class

2002-05-01 Thread Stefan Arentz
On Tuesday, April 30, 2002, at 05:24 PM, Craig R. McClanahan wrote: On Tue, 30 Apr 2002, Vijay Arokayaraj wrote: Date: Tue, 30 Apr 2002 05:18:39 -0700 From: Vijay Arokayaraj [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL

RE: James Mitchell is Rude and Ignorant

2002-05-01 Thread Micael Padraig Og mac Grene
Mark, You don't get it either. This is a STRUTS specific question. Thanks for trying to help, however. Micael At 11:56 AM 5/1/02 -0400, you wrote: Extensive discussions regarding Flash and servlets have been held on servlet-interest. Check out its archive at java.sun.com/products/servlet.

How do I pass an ActionForward's path into a button's onclick() h andler

2002-05-01 Thread lindsay . hamoudi
I have a form and it has a 'confirm' and a 'cancel' button. The 'confirm' button submits to the Action class. I'd like the 'cancel' button to redirect user to another Action, which has a global-forward named 'home'. Here's what I'm attempting... html:submit property=irrelevant value=Cancel

RE: How do I pass an ActionForward's path into a button's onclick() h andler

2002-05-01 Thread Bill Page
you could just detect the kind of submit in your action and then if it's a cancel, forward to the other action. But if I understand what you're saying, you could just check the submit type and global forward from the first action. bp -Original Message- From: [EMAIL PROTECTED]

RE: Bean Bug?

2002-05-01 Thread Richard Yee
Mark, Regardless of how the number is formatted, there will always be a problem when handling currency amounts as floating numbers. Multiplication and division operations will introduce rounding errors. I have found that it is best to store currency amounts as ints and then have code in the

Re: Session Attributes Lost!! (UPDATE)

2002-05-01 Thread Eddie Bush
Tomcat is free you know ... - Original Message - From: KIRKLAND,BRIAN (HP-PaloAlto,ex1) [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 12:16 PM Subject: RE: Session Attributes Lost!! (UPDATE) Ok. So I wanted to eliminate the

Re: James Mitchell is a kind and generous person

2002-05-01 Thread Eddie Bush
LMAO! =D - Original Message - From: James Mitchell [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 12:20 PM Subject: James Mitchell is a kind and generous person I'll be done with my rebuttal shortly. JM -- To unsubscribe, e-mail:

Re: James Mitchell is a kind and generous person

2002-05-01 Thread Eddie Bush
Friday - not a day of the week, but a state of mind =) - Original Message - From: James Mitchell [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 12:20 PM Subject: James Mitchell is a kind and generous person I'll be done with my rebuttal

RE: Bean Bug?

2002-05-01 Thread Jakkampudi, ChandraseKhar
I would think (hope, rather) that calculations are not being performed in the form beans. While you are correct about rounding errors, this has nothing to do with display beans(for want of a better word) For example, reading a float/double value from a database and displaying it requires this

RE: How do I pass an ActionForward's path into a button's onclick () h andler

2002-05-01 Thread lindsay . hamoudi
I have tried detecting what type of submit (e.g. cancel) in the action and then dealing with it from there (i.e. go back to another action). But when you do such detection in all your actions, then (unless you redirect) the parameter is still there when you reach your forwarded-to action - and

RE: James Mitchell is a kind and generous person

2002-05-01 Thread Joseph Barefoot
I'll drink to that. 'Course, I'm aiming for a state of Zen-like bliss in which I code by sheer intuition. :) -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 10:37 AM To: Struts Users Mailing List Subject: Re: James Mitchell is a kind

Installing Apps into WAS 4.0

2002-05-01 Thread Thigpen, David
I recently got two Struts apps (NoosApp, and StrutsExample) working = within the Test Environment in Visual Age 4.0. I was able to get the = StrutsExample installed into a WebSphere 4.0 server (WAS) OK, but can't = seem to get NoosApp to do the same. I think it's dieing when it tries = to

RE: Bean Bug?

2002-05-01 Thread Richard Yee
Chandra, I think the point I am trying to make is that if you store amounts as integers in the database, you can avoid a lot of problems with rounding errors and the code that is necessary to avoid them in your business logic. I have had to add a lot of code to deal with the removal of

RE: James Mitchell is a kind and generous person

2002-05-01 Thread James Mitchell
Hmmmapparently I have made someone (no names) feel insecure about their abilities and/or knowledge of struts (hence the vicious personal attack) My intentions were not to piss anyone off. I just don't think they understand what's really happening. **DISCLAIMER** If you don't read this

RE: html:select help!

2002-05-01 Thread Richard Yee
It also works in Netscape. I just tried it. -Richard At 12:36 PM 5/1/2002 -0400, you wrote: works at least in IE. But what I have is a multiple dropdown box with pre-selected options copy-paste-from-working-code html:select property=contactTypesResult multiple=true size=5

RE: James Mitchell is a kind and generous person

2002-05-01 Thread Galbreath, Mark
Oh, well. My philosophy has always been, Joke 'em if they can't take a f*ck. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 2:02 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: James Mitchell is a kind and generous

RE: html:select help!

2002-05-01 Thread Galbreath, Mark
I tested it with 6.2 and the style is not apparent until after a select is made first. Oh well, I'm already using it for an IE-centric app I'm writing now. :-) -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 2:04 PM It also works in

RE: Bean Bug?

2002-05-01 Thread Galbreath, Mark
The java.math.BigDecimal class gives its user complete control over rounding behavior. Mark -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 1:57 PM To: Struts Users Mailing List Subject: RE: Bean Bug? Chandra, I think the point I am trying

RE: How do I pass an ActionForward's path into a button's onclick () handler

2002-05-01 Thread Raffy_Lata
Hi, Why don't you just put the action class' name in the href= instead of doing an html:rewrite? I do this in my code and it works html:button property=doesNotMatter value=Cancel onclick=javascript: document.location.href = 'goToNextAction.do?' / [EMAIL PROTECTED] on 05/01/2002

Q: data/control flow diagram - where

2002-05-01 Thread Malcolm Dew-Jones
When I first examined the struts web site, I almost immediately came across a good diagram that illustrated the flow of control and data through a struts application. I am looking for that diagram, but can't find it now. Would anyone have any idea which diagram I might have seen and where to

RE: James Mitchell is a kind and generous person

2002-05-01 Thread Micael Padraig Og mac Grene
The fact is that both of you typically shoot your mouths off before you understand the issues. In this case, there is a struts issue and you both assumed that it was something else. The issue is not joking, it is that you both are impossible puerile. At 02:08 PM 5/1/02 -0400, you wrote: Oh,

Re: Help required on Digester class

2002-05-01 Thread Craig R. McClanahan
On Wed, 1 May 2002, Stefan Arentz wrote: Date: Wed, 1 May 2002 19:20:48 +0200 From: Stefan Arentz [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Help required on Digester class On Tuesday, April 30,

RE: James Mitchell is a kind and generous person

2002-05-01 Thread James Mitchell
Ok. So now you know where we are coming from. Why don't you refactor your question so that someone on list understands what you are asking? I think that by the lack of response and your 4th time asking should clue you into the fact that nobody (apparently) understands your question. My

RE: James Mitchell is a kind and generous person

2002-05-01 Thread SUPRIYA MISRA
Mark is a kind and generous person From: Galbreath, Mark [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: James Mitchell is a kind and generous person Date: Wed, 1 May 2002 14:08:18 -0400 Oh, well. My

  1   2   >