Good Struts books ??

2002-04-25 Thread Pradeep Sakre
Hi there I am new to struts and would like to know if there are any good books which gives me in out content of struts. I checked out the documentation but didn't find it too informative.. A line in reply is kindly appreciated. Regards, Pradeep Sakre.

RE: Good Struts books ??

2002-04-25 Thread Vikram Goyal01
There are no books devoted to Struts, yet. Orielly is bringing one out shortly. You can see some chapters from it on theserverside.com There are other books that devote one or two chapters to struts. Do a search on amazon. Rgs Vikram -Original Message- From: Pradeep Sakre

RE: Good Struts books ??

2002-04-25 Thread Sanjay, LR (GEA, BLR, L528550)
Look at theserverside.com for chapters on struts. Sanjay L R g GE GTS Senior Systems Analyst GE Appliances Information Technology, User L528550 Email: [EMAIL PROTECTED] Phone: (91) 080-652 8333 Extn 1253 -Original Message- From: Pradeep

IllegalStateException at x.x.ResponseFacade.getWriter()

2002-04-25 Thread Jack Frosch
I'm doing some testing to see the effect of a user navigating to a page using a bookmark instead of through the proper work flow. On one page, I'm getting an IllegalStateException at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.ja va:159). I understand this is caused

Action with null Form

2002-04-25 Thread Stranzenbach, Ralf
Hi, last week i've tried to build a small web-application using the struts framework. It has some sample Pages and two different Action. The first Action worked perfectly well but the second had some serious Problems. On activation of this action, it gets no From object. form-bean name and

Can Struts trim whitespace from the user's data?

2002-04-25 Thread John Holman
I want to strip leading and trailing spaces from the data entered by users in web forms. It would be convenient for Struts to have an option to do this, perhaps while populating a FormBean from the HTTP request parameters, but I can't find anything. Does anyone know whether there is support

ActionForm vs.ActionFormBean

2002-04-25 Thread @Basebeans.com
Subject: ActionForm vs.ActionFormBean From: Johannes Wolfgang Woger [EMAIL PROTECTED] === Hi, can somebody tell me what the differece between ActionForm and ActionFormBean is? What can I do with ActionForm what I cannot do with ActionFormBean? Can I have more ActionFormBean with one Action?

Re: ActionForm vs.ActionFormBean

2002-04-25 Thread emmanuel.boudrant
ActionFormBean is only used to encapsulate data from Struts config file and ActionForm is used by the Action classes. @see javadoc Emmanuel Struts Newsgroup [EMAIL PROTECTED] a écrit : Subject: ActionForm vs.ActionFormBean From: Johannes Wolfgang Woger === Hi, can somebody tell me what

RE: Handling long processes?

2002-04-25 Thread Jesse Alexander (KADA 12)
Hi, spawn of a thread doing the work. Then forward to a page containing the please wait-message and a refresh-tag (making the browser do another request, say every 15 seconds...). In the then called Action check for the state of the background thread and forward either to the result- or the

RE: Design Help...

2002-04-25 Thread Jesse Alexander (KADA 12)
Hi, the 100% pure Strust way could to write a index-page that automatically passes control (redirect-meta-tag) to an action, which could call the model to populate the collection, stuff it into the request and forward control to a suitable jsp-page. If you supply a link to start the app from

RE: Custom tag class/package naming conventions

2002-04-25 Thread Jesse Alexander (KADA 12)
I prefer to have 3 standard packages below the business-level and if necessary more levels below... com.business.control (- her go the actions, and servlets (if needed)) com.business.view(- all view-related stuff) com.business.view.taglib com.business.model (- model-related stuff) just

RE: Handling long processes?

2002-04-25 Thread emmanuel.boudrant
Or...I developpe a custom tag for long operationbut there is a constaint : the long operation must be in the JSP body, not in an Action. usage: xxx:loagingtag message=please wait LONG OPERATION /xxx:loagingtag available on http://www.mycgiserver.com/~eboudrant/#taglibs Emmanuel Jesse

RE: html:link with Map parameters generating amp; instead of

2002-04-25 Thread Jerome Jacobsen
The kludgy workaround I'm using is: str:replace replace=amp; with= html:link href=index.jsp name=summaryLinkParms inventory summary /html:link /str:replace That is, wrapping the html:link in a str:replace. Found str: is from Jakarta Taglibs String. -Original Message- From: Jerome

RE: Handling long processes?

2002-04-25 Thread Frederico Schuh
I don't think that works... if another thread forwards to a please wait page and the page is displayed on the client side, the original thread will not be able to forward again because the connection will already be closed... --- emmanuel.boudrant [EMAIL PROTECTED] escreveu: Or...I

Re: DynaActionForm problem with non-string objects

2002-04-25 Thread Chuck Cavaness
I think that you'll have to extend the framework. The initial value is really designed to be a primitive or one of the wrappers around it. The ConvertUtils convert method is used and it's not really capable of doing what you want it to do. I think you might take a look at extending the

Re: Struts 1.1 b1 and how to set form-property initial value for java.util.List

2002-04-25 Thread Chuck Cavaness
I don't really think the framework is setup to do what you want it to do. The initial attribute is really designed to be a primitive. The ConvertUtils convert method is not really capable of doing what you want it to do. You'll probably have to extend the FormPropertyConfig class and override

RE: Handling long processes?

2002-04-25 Thread emmanuel.boudrant
Why using another Thread ? For the moment, this tag is usefull only if the long operation is coded in the JSP, so after the forward call. Frederico Schuh [EMAIL PROTECTED] a écrit : I don't think that works... if another thread forwards to a please wait page and the page is displayed on the

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

2002-04-25 Thread Otavio C. Decio
Hi Steve, We rolled our own data access layer, instead of using BC4J. We are being successful on building a Struts-based application using JDeveloper although we are still unable to have our project compile JSP's with the newer versions of Struts, mainly the Beta1.1. It would be very helpful if

RE: Good Struts books ??

2002-04-25 Thread Kevin . Bedell
http://www.amazon.com/exec/obidos/ASIN/0672323095/qid=1019736410/sr=1-2/ref=sr_1_2/002-3917434-1867230 Here's a book on JSP that has some decent info on Struts. Vikram Goyal01 [EMAIL PROTECTED] on 04/25/2002 02:48:41 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED]

RE: Anyone Using Struts with JDeveloper9i and/or BC4J?

2002-04-25 Thread Voytek . Jarnot
Are you using Ant to build? If so, here's an Ant target that will pre-compile your JSPs using the OC4J compiler. If everything compiles correctly, it deletes the files. PRE !-- JSP precompile classpath -- path id=precompile.class.path pathelement

RE: Design Help...

2002-04-25 Thread Witbeck, Shane
This is a similar approach that I have used alot in ColdFusion. The methodology is called Fusebox. Basically there is an analogy to the electrical fusebox in your house. You can read more at http://www.fusebox.org. Although this methodology is centered around the CF community, there has been

File-Upload - empty after validation

2002-04-25 Thread Rooms, Christoph
Hi, I have a html:file tag in my form. The user selects a file, press submit ... And because of validation errors he will see the form to re-edit it. BUT the file field is empty. I know this has got something to do with Internet Explore because you can see the file refence in the htmlcode.

Select box in logic:iterate

2002-04-25 Thread Raghavendra Anahosur
Hi, I want create a screen whose rows will be dynamically generated and each row contains text boxes and select boxes. I am facing problem in writing the property attribute for select box within the logic:iterate. Could someone tell me where I can get help from? Thanks in advance, Raghu.

RE: NEWBIE HELP

2002-04-25 Thread Rajeshwar Rao V
You are absolutely right Mark.. Harpreet:- read Mark's message carefully...otherwise it looks arrogant... John:- If at all you face simple problems like this...search mailing lists archive or look at product documentation... otherwise you see more Mark Galbreaths'..:-)just kidding..

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

2002-04-25 Thread Otavio C. Decio
I was trying to do just that. I couldn't figure out how to call Jspc from a java task, I even tried to use Apply to no avail. Thanks, this was very helpful! Otavio - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 25, 2002 8:19 AM Subject: RE:

tiles component definition multi-app

2002-04-25 Thread @Basebeans.com
Subject: tiles component definition multi-app From: Torgeir Veimo [EMAIL PROTECTED] === Do anyone have docs on using tiles defined in config files with sub applications? It seems that since the component definition file is specified in web.xml, that it is not sub-application aware? --

RE: File-Upload - empty after validation

2002-04-25 Thread Witbeck, Shane
A good alternative to the struts file upload servlet is the one from servlets.com: http://servlets.com/cos/index.html I am currently using it in a project to upload images and it works great. Sincerely, Shane Witbeck __ Developer, Bank of America email:

AW: File-Upload - empty after validation

2002-04-25 Thread Hans-Joachim Matheus
Hi Christoph Von: Rooms, Christoph [mailto:[EMAIL PROTECTED]] I have a html:file tag in my form. The user selects a file, press submit ... And because of validation errors he will see the form to re-edit it. BUT the file field is empty. There is no workaround. The local file path

Re: Struts Actions are Singletons?

2002-04-25 Thread Adolfo Miguelez
Pertainig to the paragraf below extracted from the Craig response, I wonder a question. What happens in clustered environments, where the VM can be swap in a per request basis? State is not lost if it is maintained in session since, as far as I know, server is able to serialize the session

RE: Multiple error pages for a single action mapping

2002-04-25 Thread Schmidt, Carl
I'm sorry, but I'm not quite sure I understand the response. I don't know what the item is that I need to include on this single error page you refer to. Also, I'm not sure I understand what the criteria is . What I _think_ you mean is that I'm to include all error reporting from what would be

Controller behaviour in tiles:insert controllerClass=/

2002-04-25 Thread Antony
Hi: I`m rather enjoying programming with tiles framework(thanks Cedric), however I (still) have some questions that needs clarification: 1. How does Controller acts in a composite view scenario? One important factor of controller is that it dispatch requests to several view

RE: html:select how to use it?

2002-04-25 Thread Roshan Paiva
Hi Mark, Jim.. I used the html:select tag like you asked me to but it throws me this exception.. What am I doing wrong..? java.lang.Error: Fatal Error: missing resource: java.util.PropertyResourceBundle at org.apache.jasper.Constants.getString(Constants.java:218) at

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

2002-04-25 Thread Eddie Bush
Suggestion: Be sure to use a StringBuffer for your appends - it sounds like you're using a lot of '+', which can hinder performance a great deal. So far as sending HTML mail goes, I use the mailer taglib. I'm not sure I understand your problem entirely, but the mailer taglib lets your send

Beta Error: Parsing error processing resource path /WEB-INF/struts-config.xml

2002-04-25 Thread Joe Osowski
I tried to upgrade to the new beta and I get the following error when initializing. I figured before I attempt to debug the problem, I would ask if anyone had run into this yet. Begin event threw exception java.lang.NullPointerException at

RE: Struts Actions are Singletons?

2002-04-25 Thread Ken . Horn
The local variables mentioned below, are method scope. They have no baring on sessions. For session held objects, yes, a cluster would need to replicate them (hence they need to be Serializable). However, the servlet spec mandates that all requests for a session, should go to the same VM. Only

Re: Struts Actions are Singletons?

2002-04-25 Thread Kevin . Bedell
Regarding Action Instances: They are stored in HashMap (FastHashMap actually) that is kept by the primary ActionServlet. This ActionServlet is the same one as is defined as a startup servlet in the web.xml of each web application running struts in a particular servlet container instance.

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

2002-04-25 Thread dhay
Does it have any struts support at the moment? Dave Steve Muench [EMAIL PROTECTED] on 04/24/2002 11:25:49 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Anyone

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

2002-04-25 Thread James Holmes
I have developed a JDeveloper Addin that allows the Struts Console to be plugged into JDeveloper. http://www.jamesholmes.com/struts/ -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- [EMAIL PROTECTED] wrote: Does it have any struts support at the moment? Dave

Re: Struts Actions are Singletons?

2002-04-25 Thread Craig R. McClanahan
On Thu, 25 Apr 2002, Adolfo Miguelez wrote: Date: Thu, 25 Apr 2002 13:36:23 + From: Adolfo Miguelez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Struts Actions are Singletons? Pertainig to the paragraf below extracted

RE: html:select how to use it?

2002-04-25 Thread Galbreath, Mark
Are you importing java.util.PropertyResourceBundle? Mark -Original Message- From: Roshan Paiva [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 11:15 AM To: 'Struts Users Mailing List' Subject: RE: html:select how to use it? Hi Mark, Jim.. I used the html:select tag like you

Re: Struts Actions are Singletons?

2002-04-25 Thread Craig R. McClanahan
On Thu, 25 Apr 2002 [EMAIL PROTECTED] wrote: Date: Thu, 25 Apr 2002 09:59:29 -0400 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Struts Actions are Singletons? Regarding Action Instances:

RE: File-Upload - empty after validation

2002-04-25 Thread dhay
Doesn't, by any chance allow you to upload multiple files at once, does it? Still trying to figure that one out Dave Witbeck, Shane [EMAIL PROTECTED] on 04/25/2002 09:38:22 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc:

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

2002-04-25 Thread dhay
Yeah, but any tag support? Dave James Holmes [EMAIL PROTECTED] on 04/25/2002 11:12:48 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Re: Anyone Using Struts with

Re: Select box in logic:iterate

2002-04-25 Thread dhay
I do this. Do you want to create the options from your beans, or are they like yes and no? To create them from beans, you will need a collection of beans, each of which has the properties for the text fields, a property for the *selected* option, and a collection for the options. Then you

RE: html:select how to use it?

2002-04-25 Thread Galbreath, Mark
ClassCastException, but you know what? This turned out to be a JRun problem and I fixed it for another problem I was having. I wonder if it fixed it for the Collections iterator of options as well? I'll test and let you know. Mark -Original Message- From: [EMAIL PROTECTED]

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

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

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

2002-04-25 Thread Juan Alvarado \(Struts List\)
I briefly used JDeveloper 9i and it did have tag support for Struts. Take a look at the documentation, it shouldn't be too hard to use. I stopped using it because the thing is a memory hog and it runs to slow. I'm back to VAJ 4.0 ** Juan Alvarado

RE: MVC specification Request

2002-04-25 Thread Sandra Cann
Craig I concur that the web application architecture space is approaching maturity where it makes sense to start thinking about standardization. Furthering your point that the view part is already being take care of between JSTL and Faces in the Java standards world; there is all the more reason

Re: DynaActionForm problem with non-string objects

2002-04-25 Thread Peter Pilgrim
Chuck Cavaness // Check and see if the pin number is missing if(pinNumber == null || pinNumber.length() == 0) { String pinNumberLabel = resources.getMessage( label.pinnumber ); // Create an error message for the missing pingNumber value ActionError newError

Re: Tab Libraries? Bah!

2002-04-25 Thread adam
Well, %= % doesn't really clutter your code Actually, what I personally prefer, after all the custom tags are said and done, is to do this: % String myValue = request.getAttribuiteaksjhdkjahsd); % html stuff a href=%= myValue %/link.htmlCool Link/a However, all this is beside the point

Re: logic:iterate question

2002-04-25 Thread Nicolas De Loof
logic:iterate id='element' name='attribute' scope='page' type='java.lang.String' indexId='index' bean:write name='MAP_STATE_KEY' property='mapController.dataConnection.attributeNames[%= index %]' scope='session'/ Correct your bean:write tag

Re: DynaActionForm problem with non-string objects

2002-04-25 Thread Craig R. McClanahan
On Thu, 25 Apr 2002, Chuck Cavaness wrote: Date: Thu, 25 Apr 2002 07:41:19 -0400 From: Chuck Cavaness [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: DynaActionForm problem with non-string objects I

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

2002-04-25 Thread adam
1.Create a jsp that Generates your email. 2.Find out the name of the class that your JSP compiler creates. You can force this with most JSP compilers. 3. Create an instance of that class and pass a custom request and response object to its get method. The response object will contain the

Re: form bean with ArrayList

2002-04-25 Thread Nicolas De Loof
That's pretty weird, considering an ArrayList has an initial capacity of 10 and grows automatically. Are you sure you are re-instantiating the List after (I assume) dereferencing it in reset()? This grows automatically part is something that I think is not completely right. If you

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

2002-04-25 Thread Edward Muller
All of the form data is in a form been and I don't know of any way to pass that to a URLConnection. Also ... I don't want to email the form. I am emailing something that looks like the form, but instead of a textarea and the like ... I need to put the results of the form. On Wed, 2002-04-24 at

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

2002-04-25 Thread Edward Muller
You still end up writing HTML in the servlet, which is what I want to avoid. On Thu, 2002-04-25 at 00:20, Rick Reumann wrote: On Wednesday, April 24, 2002, 9:13:17 PM, Edward Muller wrote: EM I have an internal application that needs to send a html email EM (management choice, not mine).

RE: form bean with ArrayList

2002-04-25 Thread Greg Nyberg
Thanks for looking in to this and for your response. From my experimentation, you actually have to loop through and create empty elements in the ArrayList sufficient to hold the data being posted. Neither: control = new ArrayList(31); nor: control = new ArrayList();

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

2002-04-25 Thread Edward Muller
I've used the mailer taglib before (actually this app started out as one large jsp using the mailer taglib). I still needed to stuff all of my html into a String (or StringBuffer ... thanks for the tip) and then use that string in the taglib ... like this... Oh dammit ... I just realized I

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

2002-04-25 Thread Steve Muench
| | Does it have any struts support at the moment? | It has generic support for any JSP 1.1 tag library, including tablib-driven tag insight for helping use the tags. It has good J2EE application support, including deployment and editors for the different *.xml descriptors you need to edit

Get Session Information in an Action Form

2002-04-25 Thread @Basebeans.com
Subject: Get Session Information in an Action Form From: Ken Holzer [EMAIL PROTECTED] === I would like to retrieve some information I have stored in Session in an Action Form Bean. So that I can use it within the form. I have stored user information in session and need to know the user id to

Struts reflection can't find getters on form bean

2002-04-25 Thread David . A . Ventimiglia
Hello, I'm having the weirdest problem with Struts. When rendering a JSP using the html: custom tags, Struts can't find some of the getters on the form bean. In particular, it's when using html:radio. In my form bean wireTransferForm, which corresponds to the Java class WireTransferForm, I

Problems setting form properties

2002-04-25 Thread Schmidt, Carl
I have an inital page, called ResetPasswordActionForm.jsp. It has a hidden form field called submitFlag, which is hardcoded to true. The form is submitted to action path : /ResetPasswordUserName. In the action class I set the the submitFlag to false, and forward directly to another action

puzzled with id

2002-04-25 Thread Emmanuel Bridonneau
hi all, Like all developers, I am trying to figure out why things aren't happening. my jsp uses an iterate tag. logic:iterate id=item name=submitForm property=goods td valign=topbgood description:bean:write name=item property=good.description//b /logic:iterate I assume item is a local variable

Re: DynaActionForm problem with non-string objects

2002-04-25 Thread chuckcavaness
I replied to Peter directly, but let me copy the relevant parts to the group so that everyone sees the response. I'm using a message from the resource bundle That looks like this: The {0} is required for login The substitution parameter {0} can be anything you want and you can pass it

RE: Struts (MVC) Shortcomings?

2002-04-25 Thread Phase Web and Multimedia
Sorry about the misspellings and unclear descriptions. I was in a hurry. I hope you get the jist of what I am saying. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Phase Web and Multimedia

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread David . A . Ventimiglia
To add insult to injury, on this same form I have a html:text tag which fails to find its property unless I supply the value attribute, as in html:text property=usDollarEquivalent value=/. What the heck is going on here? Is value a required attribute? And why would it have anything to do with

RE: puzzled with id

2002-04-25 Thread Emmanuel Bridonneau
Good point but that is the intended behavior. Good is a composite bean that holds the good itself and other stuff hence the description another level deep as in item[0].getGood().getDescription() as you pointed out correctly. I tried your suggestion anyhow with the same result. I also tried to

RE: Struts (MVC) Shortcomings?

2002-04-25 Thread Jason Chaffee
I have been working on extending struts mappings to allow me to pass in information through the action mappings, but I always use on generic action class. Struts is extensible, so you should be able to accomplish what you want with a minimal amount of effort. -Original

RE: Get Session Information in an Action Form

2002-04-25 Thread Galbreath, Mark
Well, one way to do it: 1. Retrieve the user id from the request object in, e.g., LoginAction: Integer userId = new Integer( request.getAttribute( userId)); (The userId should be an int corresponding to a primary key in your user database table.) 2. Use the userId to pull the user data from

Running websphere sample apps

2002-04-25 Thread Bhaskar Gopalan
Hi, I'm new to websphere. Can someone tell me how to run the sample examples of appserver4.0? Thnx, Bhaskar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Struts reflection can't find getters on form bean

2002-04-25 Thread Edward Muller
Your WireTransferForm bean should look something like... import org.apache.struts.action.ActionForm; public WireTransferForm extends ActionForm { private String routingCode = ; public String getRoutingCode() { return this.routingCode; }

RE: puzzled with id

2002-04-25 Thread Emmanuel Bridonneau
Apologies to the community. The %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % was missing. On the other hand, it is an ugly issue that is raised here: How much encapsulation should one provide? In this case, how come a lack of declaration, as in not importing a whole library, does not

RE: Running websphere sample apps

2002-04-25 Thread Galbreath, Mark
Boy, I could really jump on this one, but I'm still bruised from yesterday :-) -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 3:35 PM To: Struts Group (E-mail) Subject: Running websphere sample apps Hi, I'm new to websphere. Can

RE: Running websphere sample apps

2002-04-25 Thread Kevin . Bedell
I can appreciate that! Take a breather and come out swinging next round... K. Galbreath, Mark [EMAIL PROTECTED] on 04/25/2002 03:46:56 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject: RE: Running

RE: Struts (MVC) Shortcomings?

2002-04-25 Thread Phase Web and Multimedia
Title: Struts (MVC) Shortcomings? That is the very thing I want to avoid for the long term. I most definetly can extend struts no doubt. But, the problem arises when I extend struts and then I find another set of classes that are useful and then I extend it again and ... onand on. I have

RE: Running websphere sample apps

2002-04-25 Thread Kevin . Bedell
Gosh. Meant to reply directly to Mark... Sometimes I guess I just look like an idiot. This must be one of those times! FWIW - Kevin [EMAIL PROTECTED] on 04/25/2002 03:42:03 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread Pedone, Tim
Don't html:radio tags expect boolean values? I know my html:checkbox values all use booleans not Strings. Worth a try. Tim -Original Message- From: Edward Muller [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 12:41 PM To: Struts Users Mailing List Subject: Re: Struts

Re: File-Upload - empty after validation

2002-04-25 Thread matt_raible
This *would* be possible using cookies and javascript if you could set the value of an input type=file element, but this is against the rules of the html-spec, so no go. I'm sure there is a way to workaround it, like setting the filepath as a cookie and then rendering an input type=text - but

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread David . A . Ventimiglia
Yup. Have that. If I didn't then the form definitely wouldn't render even with the html:text tag. The problem is that it renders with html:text, but doesn't with html:radio -Original Message- From: Edward Muller [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 12:41 PM To:

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread David . A . Ventimiglia
There's a WARNING in the Struts docs reminding the user that html:checkbox must be used with a boolean, but no such comment form html:radio. Anway, aren't radio buttons used to select from a number of options like red, green, blue, etc.? -Original Message- From: Pedone, Tim

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread David . A . Ventimiglia
Hmmm. I tried setting the name attribute as you suggest, but got an error about not being able to find the bean in scope null. That's a problem, since html:text doesn't have a scope attribute. Nevertheless, it acts as if it finds the bean, but doesn't find the property. -Original

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread Pedone, Tim
According to the docs, the value property is required for radio tags but not for text tags so if your tag does not have the value property, then changing the type from radio to text would work, changing from text to radio would not. Tim -Original Message- From: [EMAIL PROTECTED]

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread Pedone, Tim
Are you sure that the getter/setter is getting called for your usDollarEquivalent attribute. If Struts can't find the getter, it just silently uses the value from the value tag. This is probably a case issue. If your getter is getUSDollarEquivalent() then your property should be

Re: Tab Libraries? Bah!

2002-04-25 Thread Jeffrey Bonevich
Arron - I think you are precisely right that this is why JSP is the way it is, power and f**ked-upedness and all. And JSP is a fine alternative to ASP, but it is just ASP for Java. This does not justify the way it was done, it's just an excuse for why it is the way it is. (Sorry, gotta

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread Pedone, Tim
That explains why it works as a text tag because it will use the value in value even if it can't find the appropriate getter. I just tried this in my own app. Changed my property from firstName to firstName2 but put a value=test attribute in the tag and the page came up fine (with test in the

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread Ajay Chitre
David, Do you have jsp:useBean... that maps to your WireTransferForm? In addition to name=wireTransferForm. -- Original Message -- Reply-To: Struts Users Mailing List [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Struts reflection can't find getters on form

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread David . A . Ventimiglia
Hi Ajay, No, I've no jsp:useBean tags anywhere. 'name=wireTransferForm' is in my action-mapping in struts-config.xml, and I've no name attribute in my form element in the JSP. Cheers, David P.S. I knew an Ajay Chitre who worket at MoganStanley.com. Are you the same? -Original

Struts Improvement Proposal: Logic Extensibility

2002-04-25 Thread Phase Web and Multimedia
Okay here is the idea I proposed earlier (Struts (MVC) Shortcomings?) in more solid thought. My hope in this is to provide an non-hard-coding mechanism to take advantage of reusable logic without having to forward around to a bunch of Action classes (which doesn't work anyways). Here is my

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread Ajay Chitre
Well here's some additional information that might help! The doStartTag() in RadioTag.java is little bit more picky than the one in TextTag.java. It does a few more checks as follows; public int doStartTag() throws JspException { // Acquire the current value of the appropriate

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

2002-04-25 Thread pducuron \(kgb\)
Would this be an option ? : - write your html file with hidden tags - parse the html and replace the hidden tags with your form fields - send the message using javamail Pablo. - Original Message - From: Edward Muller [EMAIL PROTECTED] To: Rick Reumann [EMAIL PROTECTED] Cc: Struts

Re: Struts Improvement Proposal: Logic Extensibility

2002-04-25 Thread James A. Hillyerd
Would this process chain completely replace the Action, or would there still always be an Action. If so, am I correct in thinking the process chain executes first, then passes control to the Action? If the chain completely replaces an action, how would the ActionForward value be determined?

RE: logic:iterate question

2002-04-25 Thread Ida Dørum
I have not used the indexId property before myself, but I have experienced with other properties/tags that names you define in the tag itself is not available from scriptlets. So the snippet %= index% will return an empty string or fail. ida -Original Message- From: Graham Lounder

Action + Session Beans + JMS

2002-04-25 Thread David Daley
Hey all, I have a design question and I'm looking for the best practice in handling it. I am using a customer login for a proof of concept with regards to the architecture, here is the current architecture. I have a logon jsp that invokes a logonAction. This action takes the login

RE: Struts Improvement Proposal: Logic Extensibility

2002-04-25 Thread Phase Web and Multimedia
My thoughts are that the processing could be specified as post or pre. It would not replace the Action. The function of the process would be to prepare common data preparation operations... not take the control from the Action class. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F

RE: Struts reflection can't find getters on form bean

2002-04-25 Thread David . A . Ventimiglia
That helps some, Tim, thanks. In the case of my html:radio tags I always knew my getter/setters weren't being found or called. This indicates that perhaps the getters/setters aren't being called on my html:text tags either, but that this fact is concealed because Struts silently uses the value

off topic - ARGO UML - URGENT

2002-04-25 Thread Jefferson Rodrigues de Oliveira e Silva
Sorry about this question, but I really need some help here. How can I make a constructor using ARGO UML ? If I just add a method with the same name as the class, the tool puts a void ?? ClassName() How can I take the void ?? out ? Thanks Jefferson -- To unsubscribe, e-mail:

RE: off topic - ARGO UML - URGENT

2002-04-25 Thread Brett Porter
putting off topic in the subject doesn't excuse you to ask whatever you want ;) I have no idea, but I think that Argo UML has a list of its own... I'm sure they can give a better answer -Original Message- From: Jefferson Rodrigues de Oliveira e Silva [mailto:[EMAIL PROTECTED]] Sent:

Struts (MVC) Shortcomings?

2002-04-25 Thread Phase Web and Multimedia
I am throwing this post out there in the hopes that it will either spawn a solid answer or at least discussion towards addressing these issues that I am facing with MVC/Struts. So, here I go... It is an issue I think is kind of addressed with Plugins but gives no inline processing options. The

RE: Struts Improvement Proposal: Logic Extensibility

2002-04-25 Thread Phase Web and Multimedia
An Additional thought is that forward name=auth path=/apage.jsp redirect=falseset-property property=processor value=processa //forward can also be used to call the processor at redirection time. I am not sure how the set-property for the forward tag is accessed. But it's food for thougth. This

Re: Problems setting form properties

2002-04-25 Thread Jim Crossley
The second action is doing exactly what the first action did, which is what every action does: it sets the associated formbean property to the corresponding value from the *request*. Schmidt, Carl [EMAIL PROTECTED] writes: I have an inital page, called ResetPasswordActionForm.jsp. It has a

  1   2   >