RE: why no styleId for html-el:image?

2002-12-04 Thread Karr, David
Because I forgot to add it to html-el:image after I added it to html:image, even though I noted it was missing in the struts-html-el.xml file, that's why. I'll update that, hopefully today. -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED]] why does html-el:image not

RE: How does Struts handle arrays of fields?

2002-12-04 Thread Karr, David
If I'm seeing your problem correctly, you probably know by now that the EL only references bean properties, except when it's referencing collections :) . It checks whether something is a collection before it checks whether it is a bean, so creating a SUBCLASS of a collection class and adding bean

RE: why no styleId for html-el:image?

2002-12-04 Thread Karr, David
You'll find that humorous then, because all I did was add the attribute to the tld. It was already completely handled in the tag class, it just wasn't recognized by the JSP compiler. -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED]] Karr, David wrote: Because I

RE: How does Struts handle arrays of fields?

2002-12-04 Thread Karr, David
requires a String[]. Thanks, David From: Karr, David [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: How does Struts handle arrays of fields? Date: Wed, 4 Dec 2002 11:37:38 -0800 If I'm

RE: Emails

2002-12-03 Thread Karr, David
Use the standard JavaMail package. Look at http://java.sun.com/products/javamail/. -Original Message- From: Wendy Cameron [mailto:[EMAIL PROTECTED]] How do you send an email from inside a servlet using the struts framework? Does anyone know of some sample code etc? or a good

RE: question about findForward()

2002-12-03 Thread Karr, David
Do you just mean you want to do a redirect? If so, you can do this without changing your code, just change the forward definition (in your action, or global) to have 'redirect=true'. -Original Message- From: Kevin HaleBoyes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002

RE: Struts Form Beans Value Objects

2002-12-02 Thread Karr, David
Most likely, you will find good reasons to have value objects which are specific to your business logic layer, and value objects which are specific to your view layer, even if they have identical contents in many cases. There's a couple of reasons for this (other people may see others). Probably

RE: Comparing Bean Properties

2002-11-29 Thread Karr, David
The alternative is to move to using the Struts-EL library, along with the JSTL. This sort of thing is a little cleaner with that combination. For instance, a simple translation of this would look like this: logic-el:equal name=bean2 property=property2 value=${bean1.property1} ...

RE: should i learn Struts, JSF or both?

2002-11-29 Thread Karr, David
JavaServer Faces is only starting to appear on the horizon. There are no practical implementations of it yet. Learn Struts first, but pay attention to what's on the horizon. You should learn about the JSTL (JavaServer Pages Standard Tag Library) before you learn about JSF, as the JSTL is

RE: checking a empty list

2002-11-27 Thread Karr, David
Use logic:empty, not logic:present. -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Hi group! I wonder if it's possible with a logic tag, to check if a List in a form is empty. This doesn't work, it just checks if the attachmentsList is null:

RE: checking a empty list

2002-11-27 Thread Karr, David
Is there no doc yet for the 1.1-b2? -Ursprüngliche Nachricht- Von: Karr, David [mailto:[EMAIL PROTECTED]] Use logic:empty, not logic:present. -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Hi group! I wonder if it's possible with a logic tag

RE: Does an html:link could use a title parameter from a resource file??? (struts 1.0.2)

2002-11-26 Thread Karr, David
Much as I'd like to see Struts-EL solve every problem in the world :) , you can just use the titleKey attribute of html:link, like this: html:link href=# titleKey=prompt.toto/ However, I don't know whether this was available in Struts 1.0.2. From: [EMAIL PROTECTED] Reply-To: Struts Users

RE: Struts-el strange behav.

2002-11-26 Thread Karr, David
You need to provide the name of your form bean in the name attribute. -Original Message- From: kiuma [mailto:[EMAIL PROTECTED]] hello, I'm having the following problem (Furtunately I've found the solution). if i use html-el:hidden property='selectedCode'/ The container reply

RE: Using Struts Tags To Retrieve Map Entry

2002-11-26 Thread Karr, David
If you define a mapped property in your ActionForm, your Struts tags can specify the property notation for a mapped property using the supplied key. -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 12:44 PM To: [EMAIL PROTECTED] Subject:

RE: Easy Question

2002-11-26 Thread Karr, David
Do you have a valid action element in your struts-config.xml file specifying the editRecord.do action (assuming you're using extension mapping)? -Original Message- From: John Mattos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 2:29 PM To: [EMAIL PROTECTED] Subject:

RE: Easy Question

2002-11-26 Thread Karr, David
path=/prepareRecordsManagement.do/ forward name=success path=/prepareRecordsManagement.do/ /action and the class does exist inside a jar file that is referenced in the classpath explicitly Karr, David [EMAIL PROTECTED] wrote:Do you have a valid action element in your struts-config.xml

RE: Easy Question

2002-11-26 Thread Karr, David
be that it can't see the class files? Karr, David [EMAIL PROTECTED] wrote:What do you mean by inside a jar file that is referenced in the classpath explicitly? Aren't you putting your application classes in the WEB-INF/classes or WEB-INF/lib directory? You will always get into trouble if you try

RE: Easy Question

2002-11-26 Thread Karr, David
it can't find the classes!! Karr, David [EMAIL PROTECTED] wrote:So the indemand web application has this struts-config.xml file and all your relevant libs and classes? Does the error show an exception stack trace? If so, what is the root cause stack trace? -Original Message

RE: set a html:checkbox checked

2002-11-25 Thread Karr, David
In your Action class which forwards to the JSP, you have to have code which sets the property associated with the checkbox to either true, yes, on, or the value set in the value attribute. -Original Message- From: Mouratidis, Georg [mailto:[EMAIL PROTECTED]] Hi, Oliver did you

RE: Placing jsp tags within nested tags not working.

2002-11-25 Thread Karr, David
request-time scriptlet expressions have to be the ENTIRE attribute value, not just a portion of it. If you want to use a scriptlet, you'll have to concatenate strings together, something like this: onchange='%= makeEditDirty(\'hideOnEdit\',\'showOnEdit\',\' + chkBxId + \'); %' I have no idea

RE: html: field question

2002-11-25 Thread Karr, David
You can't nest JSP tags inside an attribute value of a JSP tag. You'll have to use a scriptlet expression for the readonly property. You might do it like this: bean:define id=roflag name=user property=userReadOnlyState/ html:text property=userID readonly=%= roflag %/. If you were using

RE: Question: Struts-EL Release

2002-11-25 Thread Karr, David
Normally the nightly build is pretty stable. Unfortunately, some unknown problem made the Struts-EL distribution disappear from the nightly builds between the 18th and the 24th of this month. The build on the 25th appears to have it. Yes, Struts-EL will be in the 1.1 release. With respect to

RE: Problem with pre-select html:select Tag

2002-11-22 Thread Karr, David
So your form bean associated with the action has a proper getter and setter for the selectCMP attribute? Their signatures would be like String getSelectCMP() and void setSelectCMP(String cmp). It might be worth setting a breakpoint in those two methods, or adding print statements to them, to

RE: getting select tag data from ActionForm

2002-11-21 Thread Karr, David
Make selectedCodes be either a String[] or Collection in your ActionForm. Make sure your accessors/setters reflect that. That will allow the ActionForm value to be automatically populated from the request parameters, and will fill in all the selected items when the view is rebuilt.

RE: Problem with html:option

2002-11-21 Thread Karr, David
Ah, you should be using html:options, to replace your logic:iterate, and the nested html:option and bean:write. It will handle all of that. Read the API description. You can also see some examples of this in the struts-exercise-taglib application in the Struts distribution. -Original

RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread Karr, David
-Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] One definite advantage Eclipse has over NetBeans is that Eclipse is built using SWT (Standard Widget Toolkit). That means that the IDE is written in Java, but the underlying framework uses native JNDI calls the

RE: Self reference in optionsCollection

2002-11-21 Thread Karr, David
There's no such notion of this in the standard tags. You specify exactly which bean you want to reference. -Original Message- From: David Morris [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 10:44 AM To: [EMAIL PROTECTED] Subject: Self reference in optionsCollection

RE: a html tag problem

2002-11-20 Thread Karr, David
The styleClass JSP attribute is translated to the class HTML attribute. The styleId JSP attribute is translated to the id HTML attribute. -Original Message- From: George Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 6:06 PM To: Struts Users Mailing List Subject: a

RE: Where can i get struts-el ???

2002-11-20 Thread Karr, David
If you download the nightly build, you'll see a contrib directory that contains a struts-el directory. Browse through that directory and you should find everything that you need. -Original Message- From: Andreas Langmann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002

RE: Change the src of Image dynamically

2002-11-20 Thread Karr, David
The parameters options on html:img are just to provide arguments to the URL specified as the src or path attribute. The src or path attributes specify the actual URL to the image. Use a scriptlet expression to specify the dynamic path to the image. -Original Message- From: Alireza

RE: Where can i get struts-el ???

2002-11-20 Thread Karr, David
No, I'm afraid you can't use the nightly strutsel.jar with the 1.1b2 struts.jar. There have been recent changes to struts.jar which the nightly strutsel.jar depends on. If you did try it (combining the 1.1b2 struts.jar with the nightly strutsel.jar), some tags might work, but others would likely

RE: html:submit value not found in request, version 1.02 beta

2002-11-20 Thread Karr, David
I would guess it can't find the button.view property in your properties file. If that was nonexistent, the value would be null. (Note that there is no 1.02 beta version. There's versions 1.02 and 1.1b2 (and the nightly).) -Original Message- From: Linnea Ahlbeck [mailto:[EMAIL

RE: Enabling debug levels - which way?

2002-11-20 Thread Karr, David
If you want more debug information from Struts, and you're using the default SimpleLog, then put a file named simplelog.properties in your WEB-INF/classes with the following contents: org.apache.commons.logging.simplelog.defaultlog = debug -Original Message- From: Richard Mixon

RE: JSTL Question (EL vs. RT + Struts)

2002-11-20 Thread Karr, David
There is none. JavaBeans. JavaBeans. JavaBeans. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] But what is the EL expression to get a constant like Constants.MY_KEY? David From: Craig R. McClanahan [EMAIL PROTECTED] On Wed, 20 Nov 2002, Hohlen, John

RE: JSTL Question (EL vs. RT + Struts)

2002-11-20 Thread Karr, David
: JSTL Question (EL vs. RT + Struts) I see, so I have to do constants.getMyKey(). I guess that's easy enough. David From: Karr, David [EMAIL PROTECTED] There is none. JavaBeans. JavaBeans. JavaBeans. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED

RE: JSTL equivalent of bean:message

2002-11-20 Thread Karr, David
I haven't tried this, but perhaps something like this: fmt:message key=xxx. bundle=applicationResources/ (where applicationResources is the name of your Struts application properties bundle.) -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED]] Someone claims on this

RE: JSTL Question (EL vs. RT + Struts)

2002-11-20 Thread Karr, David
It's a little more verbose, but you might also consider having a servlet context Hashmap attribute, called constants, perhaps, and your app setup would put all your constants into the map, so you would reference it like this: '${constants[MY_KEY]}' Actually, if you assume that all of your

RE: JSTL Question (EL vs. RT + Struts)

2002-11-20 Thread Karr, David
As long as we're experimenting here :) , you could even have a method that takes a hashmap and a class, and uses reflection to load up all the static final int constants into the hashmap. -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED]] It's a little more verbose

RE: html:errors/

2002-11-19 Thread Karr, David
It's been a few weeks since I've reviewed this, but I don't believe there's an easy way to get what you want. There is a bug on Bugzilla, #13565, where we've been hashing out some thoughts on this. If this is really an issue for you, please write a comment on the bug report with details of

RE: iterate tag - can you set an increment?

2002-11-19 Thread Karr, David
I don't believe there is a clean way to do that with logic:iterate. You might consider writing an enhancement request in Bugzilla for this, if it's important to you. Also, assuming you don't need indexed tags, I believe you could use the JSTL c:forEach tag for this, as it has a step attribute.

RE: iterate tag - can you set an increment?

2002-11-19 Thread Karr, David
Certainly. It's available as a scripting variable within the loop (and as a page-scoped attribute). -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED]] Is it possible to access the idx variable in a scriplet during iteration? -Original Message- From: Andy

RE: iterate tag - can you set an increment?

2002-11-19 Thread Karr, David
need JSTL for this)? -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED]] Certainly. It's available as a scripting variable within the loop (and as a page-scoped attribute). -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED

RE: RE : struggling with indexed/repeating input fields

2002-11-19 Thread Karr, David
I can see these mostly untested possibilities: 1. Set the value of the edit button to reflect the index value. 2. Implement a javascript event handler on each edit button, which will set the value of a hidden field to the loop index. When the request parameters are processed, you'll know which

RE: iterate tag - can you set an increment?

2002-11-19 Thread Karr, David
[mailto:[EMAIL PROTECTED]] Is logic-el in 1.1b2? Or do I need a more recent build? (and if I do, what is the most stable recent build :) - I'm mid-project and don't want to deal with finicky dev builds right now) -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED

RE: getting web app context name in Struts

2002-11-19 Thread Karr, David
Obviously, if you don't use Struts tags, then what you want is the non-Struts way to do this, but that's just semantics. In any case, if you need to prepend the context path, then just get the context path and do it. You get this with request.getContextPath(). Remember that if you need to use a

RE: How to build Multi-Lingual Web Site?

2002-11-19 Thread Karr, David
One option to consider, and there are several points which could eliminate this choice, is to just have multiple instances of each static HTML file, each one for each locale you want to support. You could either group all of your variations in a single directory, or have a locale directory

RE: Struts-el/JSTL/dynamic img

2002-11-18 Thread Karr, David
No, it's not disaster, but certain things will be quite annoying, even more than using normal scriptlets. Your calls to html:img will have to use scriptlets for the attribute values, and if your scriptlets need to reference variables created ONLY in JSTL tags, then scripting variables will not

RE: [OT] Looking for HTML filter code

2002-11-18 Thread Karr, David
There is a filter tag on bean:write, but that might not do what you want. It might help if you were clearer on exactly what you are trying to achieve. You're trying to put HTML tags inside HTML comment markers? Why would you want to do this? -Original Message- From: Emmanuel

RE: (Newbie Question) How to use java code as attributes in struts tags

2002-11-18 Thread Karr, David
If you get an exception, and you don't show us anything about the exception or much of your code or configuration, you're not likely going to get very useful help. Nevertheless, you might try properly quoting your attribute values. -Original Message- From: Anthony J. Merolla

RE: Commons-logging and JDK 1.4 Logger

2002-11-18 Thread Karr, David
One way is to store a file named commons-logging.properties in your WEB-INF/classes directory, with the following approximate contents: org.apache.commons.logging.Log = org.apache.commons.logging.impl.SimpleLog This example sets the logger in use to the SimpleLog, but you can also use these

RE: Another newbie question

2002-11-18 Thread Karr, David
It might look like this: logic:iterate id=userTeam name=IQSideMenuForm property=userTeams logic:equal name=toDoIssue property=teamId value=%= userTeam.getTeamId() % /logic:equal /logic:iterate Alternatively, if you used the Struts-EL library, it would look like this: logic-el:iterate

RE: logic-match/compare multiple values

2002-11-14 Thread Karr, David
Actually, you don't have to use struts-el for this, your c:if expression should work, but you might try changing the and to lt and gt. -Original Message- From: Mohan Radhakrishnan [mailto:MohanR;hclcomnet.co.in] Sent: Thursday, November 14, 2002 1:38 AM To: 'Struts Users Mailing

RE: Using Javascript submit(), how can I tell what did the submit in an action?

2002-11-14 Thread Karr, David
I see several strategies for this: 1. Design your page and your Action so you don't need to know. Your request parameters will indicate the current settings. This will allow your page to work even if javascript is disabled (an unfortunate consideration). 2. Put each drop down into its own

RE: Struts Tags vs. JSTL

2002-11-14 Thread Karr, David
The indexed tags feature, for one. I don't remember what else. -Original Message- From: Hohlen, John [mailto:JHohlen;erac.com] Sent: Thursday, November 14, 2002 9:23 AM To: 'Struts Users Mailing List' Subject: RE: Struts Tags vs. JSTL I'm still getting up to speed with the

RE: JSP Debug / IDE's

2002-11-14 Thread Karr, David
I've been able to use Netbeans to debug web applications in Tomcat, simply by using the remote debugger feature, allowing me to attach to a java process started with the correct parameters to assume remote debugging. I just mount my source trees and set breakpoints. This will work with other

RE: Struts Tags vs. JSTL

2002-11-14 Thread Karr, David
Actually, I added logic-el:present and logic-el:notPresent after the initial checkin of the library (a month later). -Original Message- From: Madel,Kurt [mailto:kmadel;csmi.com] Sent: Thursday, November 14, 2002 10:45 AM To: 'Struts Users Mailing List' Subject: RE: Struts Tags vs.

RE: Struts Tags vs. JSTL

2002-11-14 Thread Karr, David
I sincerely doubt it. All of the tag classes are subclasses of the Struts tag classes, and they use getters and setters from the base class. You'll have numerous mismatches, just from that. -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Can Struts-EL be used

RE: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1

2002-11-14 Thread Karr, David
Step through the getPropertyDescriptor() method, which is called just before that check. That's what makes the decision on what type to return. What is the value of name? -Original Message- From: Jim Krygowski [mailto:james.krygowski;shaws.com] Sent: Thursday, November 14, 2002

RE: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1

2002-11-14 Thread Karr, David
attribute of the PropertyDescriptor is ArrayList for the displaySections node. Given this new info, what do you think is going on here? -Original Message- From: Karr, David [mailto:david.karr;attws.com] Sent: Thursday, November 14, 2002 2:03 PM To: Struts Users Mailing List

RE: FormBean creation...

2002-11-14 Thread Karr, David
Actually, I believe the default Struts logger is the SimpleLog, not log4j. Therefore, if you put a file named simplelog.properties in your WEB-INF/classes directory, with the following contents, you should get that debug output (untested): org.apache.commons.logging.simplelog.defaultlog = debug

RE: FormBean creation...

2002-11-14 Thread Karr, David
of this year (from the logs). I'll submit a documentation bug report for commons-logging. -Original Message- From: Craig R. McClanahan [mailto:craigmcc;apache.org] On Thu, 14 Nov 2002, Karr, David wrote: Date: Thu, 14 Nov 2002 11:54:25 -0800 From: Karr, David [EMAIL PROTECTED] Reply

RE: am i doing right?

2002-11-14 Thread Karr, David
If they went to the same list as this one, yes. Posting doesn't guarantee you'll get an answer. Make sure your subject line is clear, and you show all your relevant code and error messages. -Original Message- From: Manoj, Mathew [mailto:Manoj.Mathew;principal.com] Sent: Thursday,

RE: FormBean creation...

2002-11-14 Thread Karr, David
:? Internal On Thu, 14 Nov 2002, Karr, David wrote: Date: Thu, 14 Nov 2002 11:54:25 -0800 From: Karr, David [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: FormBean creation... Actually, I

RE: How stable is Struts-el?

2002-11-14 Thread Karr, David
If it generated a call to setDisabled() instead of setDisabledExpr() then JRun is broken. There is a BeanInfo class that makes the setter for the disabled property to be setDisabledExpr(). -Original Message- From: Dan Tran [mailto:danttran;hotmail.com] Sent: Thursday, November 14,

RE: Help! logic:iterate Incrementing the indexId property?

2002-11-14 Thread Karr, David
You just add the indexId attribute to the tag, with a value being the name of the bean you want to use for your counter. You just reference that inside your iterate loop, as either a page-scoped attribute or a scriptlet. It's an Integer object, and yes, you can compare it with logic:equal.

RE: Dynamic select menu in JSP - Struts-Menu1.1

2002-11-14 Thread Karr, David
I noticed the same problem when I tried this casually a couple of days ago. I haven't had the chance to get any more detailed information, or debug it. I'm using Tomcat 4.1.12. -Original Message- From: Jeff Born [mailto:jborn;gr.com] Sounds interesting to me also. I am

RE: How stable is Struts-el?

2002-11-14 Thread Karr, David
know how to map to the correct call? Is it via the .tld file? -Dan - Original Message - From: Karr, David [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 2:22 PM Subject: RE: How stable is Struts-el? If it generated a call

RE: How stable is Struts-el?

2002-11-14 Thread Karr, David
Please report back when you get some information. I'd like to know when that will be fixed. -Original Message- From: Dan Tran [mailto:danttran;hotmail.com] Thank you both Craig and Karr, I now have enough ammunition to talk to JRUN support -- To unsubscribe, e-mail:

RE: Disabling jsessionid parameter in Struts forms

2002-11-14 Thread Karr, David
My understanding (and I'd be pleased to be wrong) is that with non-customized Struts, imposing a rule like this and keeping the jsessionid always out of the URL is not possible. This seems restrictive, and perhaps should be re-evaluated. This is so easy to implement yourself it

RE: How stable is Struts-el? - seek more info

2002-11-14 Thread Karr, David
Read the JavaBeans specification that Craig pointed you to. Find section 8.6, Explicit Specification using a BeanInfo class. In short, all I do is make the class available, and introspection uses the class. -Original Message- From: Dan Tran [mailto:danttran;hotmail.com] Hi Karr

RE: Re: user manually changing local

2002-11-13 Thread Karr, David
You have several problems, none of which have anything to do with Struts. First, your SetLocalForm class appears to be not defined. I would guess it's not in the same package as your SetLocalAction class. Second, you can't do: String localString = (SetLocalForm)form.getLocal(); Because the

RE: indexed properties and form help needed

2002-11-13 Thread Karr, David
At end. -Original Message- From: Andy Kriger [mailto:akriger;greaterthanone.com] I have a DynaActionForm collecting credit card info. A user can enter up to 3 credit cards on the form. I want to collect this info in the text fields and create new CreditCard objects

RE: From old JSP and Servlets to STRUTS

2002-11-12 Thread Karr, David
Show us some examples of why you think you can't remove the scriptlets. Some of those cases are probably easily fixable. However, you should probably first understand the model and framework before trying to fix your JSP pages. This is because you'll find that anything resembling business

RE: How do I split struts-config.xml without using subapps

2002-11-12 Thread Karr, David
I don't believe so. One approach that might help is to use the Struts Console application, which lets you get the big picture without having to see the entire file at once. -Original Message- From: Christopher Cheng [mailto:mailing-list;chrisshare.net] My struts-config.xml is

RE: Need scriptlet to substitute bean:message result to a custom tag param value

2002-11-12 Thread Karr, David
Blank? I'm surprised it got that far. You might try something like this (untested): display:table name=lotSummaryList bean:define id=lotIdPrompt bean:message key=prompt.lotId/ /bean:define display:column property=lotId title=%= lotIdPrompt % / display:column property=partNo /

RE: Struts Installation

2002-11-12 Thread Karr, David
You don't install Struts (except for storing the binary distribution on disk), you install a web application that uses Struts. Using Struts in your web application is reasonably well-defined in the Struts online documentation. Using it mostly consists of putting the struts.jar file in the

RE: ClientSide Validation Javascript Password field

2002-11-12 Thread Karr, David
I suggest you submit a bug report for this, and attach your patch to the report. -Original Message- From: Mark Ayad [mailto:mark;javamark.com] Sent: Tuesday, November 12, 2002 4:08 PM To: Struts Users Mailing List Subject: Re: ClientSide Validation Javascript Password field If

RE: ClientSide Validation Javascript Password field

2002-11-12 Thread Karr, David
You don't do any formatting validation when they are attempting to authenticate, only when they are creating their record. It's at that point that you enforce password constraints, and you should do that on the server side. -Original Message- From: Mark Ayad

RE: bean:define problem in nested tags

2002-11-11 Thread Karr, David
-Original Message- From: Vinod Kotnala, Noida [mailto:vkotnala;noida.hcltech.com] Sent: Monday, November 11, 2002 7:10 AM Ah.. What I find is that if any of the property has a blank value, the the exception occurs !! i.e if bean:write name=nameList property=name/

RE: Why would disabled=... not take a runtime expression? The docs say that it should...

2002-11-11 Thread Karr, David
Does this fail whether deny is true or not? I would think that, since the default scope for bean:define is page, if deny is not true, then readOnly will not be defined. If this is the problem, then I would put your bean:define outside of the if-like tag, and have the body of that tag set the

RE: nested JSTL and Struts tags...

2002-11-08 Thread Karr, David
-Original Message- From: petra staub [mailto:calc42;hotmail.com] Sent: Friday, November 08, 2002 5:07 AM How is it possible to do the following: I open a page, sending the parameter id='us'. I want now to create a form, where the id parameter is used to create an indexed input

RE: How can I access the FormBean from a logic:iterate tag?

2002-11-08 Thread Karr, David
-Original Message- From: Thorbjørn Ravn Andersen [mailto:tra;biobase.dk] Sent: Friday, November 08, 2002 7:45 AM I am trying to get into Collections inside the FormBean but I stumbled on this: html:password property=password/ passwordp ul logic:iterate id=i name=col where

RE: resource properties not found

2002-11-07 Thread Karr, David
The properties files should be stored in the WEB-INF/classes directory of your WAR file, according to the package path you specified. The param-value element should just specify the base name of the properties file. So, you should have just VCSCResources as your param-value value.

RE: need help with indexed properties

2002-11-07 Thread Karr, David
-Original Message- From: Kevin HaleBoyes [mailto:kzboyes;yahoo.com] Sent: Thursday, November 07, 2002 12:49 PM I have a Forms Bean public class IndexedForm { private String items[] = new String[] {one, two}; public String[] getItems() { return items; } public

RE: Don't want the ActionForm to refill my form.

2002-11-05 Thread Karr, David
Is your action scope set to session or request? I would guess it's set to session. I believe if you set it to request, your form bean will be created on each request. -Original Message- From: Marcus Biel [mailto:Marcus.Biel;bmw.de] Sent: Tuesday, November 05, 2002 6:25 AM To: [EMAIL

RE: How do I search this newsgroup with google.

2002-11-05 Thread Karr, David
This isn't a newsgroup, it's a mailing list. You can go to the following URL to search the mailing list archive. http://www.mail-archive.com/struts-user%40jakarta.apache.org/ -Original Message- From: Darren Hill [mailto:dhill;724.com] Sent: Tuesday, November 05, 2002 8:21 AM

RE: html:option - is there a selected option attribute?

2002-11-04 Thread Karr, David
-Original Message- From: Greg Roll [mailto:groll;ServiceIntelligence.com] Sent: Monday, November 04, 2002 1:26 PM I am generating a dropdown list using the following code: form:select property=groupId onchange=submit(); logic:iterate id=tmpGroup

RE: html:link with multiple parameters

2002-11-04 Thread Karr, David
-Original Message- From: Cindy Horn at SF x4874 [mailto:CHorn;matson.com] Sent: Monday, November 04, 2002 3:10 PM Maybe a better way to solve my issue is to have different actions... I'm trying to use one action for all navigation requests. Either way, I would still like to

RE: Time out in tomcat

2002-11-01 Thread Karr, David
If you're using a Servlet 2.3 container, you can configure an HttpSessionListener in your web.xml. This class will be notified when a session is invalidated. -Original Message- From: Brandon Chee [mailto:brandon_chee;imedia-tech.com] Sent: Friday, November 01, 2002 12:44 PM To:

RE: [OT] Run Java App as a Web Service

2002-11-01 Thread Karr, David
Let's see. First of all, this question is only barely relevant to this mailing list. Second, your subject line talks about something completely different from what you describe in your note. A web service has nothing to do with running a Windows application as a service. Assuming you really

RE: Basic logic:equals question

2002-10-31 Thread Karr, David
-Original Message- From: Affan Qureshi [mailto:quereshi;etilize.com] Sent: Thursday, October 31, 2002 4:20 AM A rather basic question. I want to accomplish in my JSP: if((request.getParameter(ext)!=null)||(request.getParameter( ext).equals( 0))) { /* do Something */ }

RE: [OT] Getting a Collection's size in JSTL

2002-10-30 Thread Karr, David
-Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Wednesday, October 30, 2002 8:14 AM Sorry for the OT post but the java forum was unresponsive. How do you get the size of a collection class in the JSTL EL? You can do it with jsp expressions like:

RE: [OT] Getting a Collection's size in JSTL

2002-10-30 Thread Karr, David
you really think I'm not using struts :-) ? Dave From: Karr, David [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: [OT] Getting a Collection's size in JSTL Date: Wed, 30 Oct 2002 11:18:48 -0500

RE: Nice labels for inputs.

2002-10-29 Thread Karr, David
Use the styleId attribute. That's exactly what it does. -Original Message- From: Josh Berry [mailto:josh.berry;usa.net] Sent: Tuesday, October 29, 2002 1:32 PM To: 'Struts Users Mailing List' Subject: Nice labels for inputs. I am not real sure of what to call what I am trying

RE: Can format strings be used with html:text input fields

2002-10-29 Thread Karr, David
Just thinking out loud, for future's sake, but would it be useful if the input tags could optionally take their value from the body content? If value was set, it would use that, but if not set, it would use the body content. That would allow something like this: html:text

RE: [JSTL] c:out and DynaBeanClass

2002-10-28 Thread Karr, David
-Original Message- From: flare [mailto:flare;flare.it] Sent: Monday, October 28, 2002 1:26 PM To: Struts Users Mailing List Subject: Re: [JSTL] c:out and DynaBeanClass Note that DynaBeans aren't strictly JavaBeans (I believe), so it might be difficult to patch them into the

RE: Stop the auto fill in html:password

2002-10-25 Thread Karr, David
I don't see how. The browser user can control this behavior. I can't envision any way the generated HTML page could defeat this behavior. -Original Message- From: Kwok Ng [mailto:kwokng;earthlink.net] Sent: Friday, October 25, 2002 9:53 AM To: [EMAIL PROTECTED] Subject: Stop the

RE: embedding email address in html:link

2002-10-24 Thread Karr, David
-Original Message- From: Scott Hodson [mailto:scott;ubero.com] Sent: Thursday, October 24, 2002 12:54 PM That doesn't work, I already tried it. For starters, you'll get errors because you're using double-quotes both in the a tag and the embedded bean:write tag. Once you fix

RE: embedding email address in html:link

2002-10-24 Thread Karr, David
-Original Message- From: Scott Hodson [mailto:scott;ubero.com] Sent: Thursday, October 24, 2002 11:19 AM logic:notEmpty name=contact property=email html:link href=mailto:%=contact.getEmail()% bean:write name=contact property=email filter=true / /html:link /logic:notEmpty

RE: Printing User Guide

2002-10-24 Thread Karr, David
It's not something you've done wrong. I don't believe that anyone has spent the time to implement a Printable Page feature in the manual set. You might try printing it in landscape mode, but that has its own annoyances. -Original Message- From: Bradley G Smith

<    1   2   3   4   >