RE: I have the same question but about Forms.

2003-02-11 Thread pantichd
Funny you should mention that book. I *just* got that book this morning. Plan to do some reading this week. Thanks!

select multiple=false == select multiple=true

2003-02-11 Thread Justin Ashworth
The documentation for html:select indicates that if the multiple attribute is specified with ANY non-null value, it will be rendered as a multiple select. However, it would be much more intuitive if this accepted a boolean value like, for instance, the disabled attribute of html:option. I

Nested Tags Problem .... Urgent

2003-02-11 Thread ashokd
Hi, I am facing problem with Nested Tags. I have a method in ActionForm private ArrayList mFormList = new ArrayList(); public Object[] getFormList() { return mFormList.toArray(); } public ArrayList getMyFormList() { return mFormList } public setMyFormList(ArrayList

RE: Is anyone using tomcat 4.1.18 with nested tags?

2003-02-11 Thread Jeff_Mychasiw
Thank you so much for the reply. We are still in construction and completed 3 of the 4 phases of our project. System testing on phases 1to 3 begin soon. We were hoping to start that process off on the newer tomcat but I guess not at this time. We will stick to 4.0.4 ... at least I can still

RE: Is anyone using tomcat 4.1.18 with nested tags?

2003-02-11 Thread David Morris
Sri Jeff, I have seen this inconsistent behavior and can duplicate it fairly painlessly. I found when testing for bug 15799 that in some cases the bean name property for a nested write was null. Going up the tree I couldn't find any unmatched resets for the bean name where a reset changed the

RE: Nested Tags Problem .... Urgent

2003-02-11 Thread Sri Sankaran
The code you have presented isn't very clear. Your Action, for example seems to declare the controlVO1 reference twice -- won't compile. Are you trying to say that you have a list of objects within the ActionForm? Is it being placed in the session/request under the key formList -- 'cos that's

Re: select multiple=false == select multiple=true

2003-02-11 Thread David Graham
Your point does make sense but changing the behavior would introduce backwards compatibility problems. I don't know why the decision was made to have null mean false and anything else mean true. David From: Justin Ashworth [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

How to access ApplicationProperties elements???

2003-02-11 Thread Pete Serafin
All, I am having trouble remembering how to get access to the ApplicationProperties.conf file from within my Action classes. I need to be able to get to some of the elements within this file for generating messages to be displayed in my view, but cant find any examples on how to do this. TIA

Re: select multiple=false == select multiple=true

2003-02-11 Thread Justin Ashworth
You are right, but backwards compatibility problems could be *nearly* eliminated depending on how it's implemented. If null and false were the only values that would not render a multiple select, then it would work in all cases except for those where people are using multiple=false to render a

Re: ResultsetDyna class

2003-02-11 Thread Craig R. McClanahan
On Tue, 11 Feb 2003, Vic Cekvenich wrote: I must say that I have been arguing for the RowSet against ResultSet a long time. You've also been arguing against copying for a long time :-). Now you can have it either way, depending on your requirements. Thanks. .V Criag

Re: does any one use castor? for java to XML mapping online pdf

2003-02-11 Thread Ashish Kulkarni
Hi, I came accross a pdf of a sample chapter from book Professional XML 2nd Edition if any body intrested can get it from here http://www.wrox.com/books/sample-chapters/SampleChapter_1861005059.pdf Ashish --- Jacky Kimmel [EMAIL PROTECTED] wrote: I used Castor for a similiar function a

Re: Sharing violation when editing JSP file

2003-02-11 Thread Craig R. McClanahan
On Tue, 11 Feb 2003, Martin Gross wrote: Date: Tue, 11 Feb 2003 16:36:08 +0100 From: Martin Gross [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], Martin Gross [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Sharing violation when

Re: select multiple=false == select multiple=true

2003-02-11 Thread David Graham
You could create an enhancement request for this but I don't know how the other committers will feel about it (even though the issue is quite small). David From: Justin Ashworth [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: How to access ApplicationProperties elements???

2003-02-11 Thread Craig R. McClanahan
On Tue, 11 Feb 2003, Pete Serafin wrote: Date: Tue, 11 Feb 2003 10:49:11 -0600 From: Pete Serafin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: How to access ApplicationProperties elements??? All, I am

[OT - Java] Need a recommendation on a Design Pattern class

2003-02-11 Thread Jerry Jalenak
Hi All, Sorry for the OT post, but I need a recommendation from all you guru's out there. I've been asked to find a 3 to 5 day class on Design Patterns with a Java slant. If anyone has attended something like this, and can recommend for (or against), I would appreciate it. You can reply via

how to Validate DATE?

2003-02-11 Thread michael . korolyov
Hello, my date validation doesn't work on client (jsp) side. I need validate date in MM/dd/yy format. in validation.xml : formset form name=financeChartForm field property=startDate depends=required,date arg0 key=prompt.startDate/

Example of using a nested exception

2003-02-11 Thread White, Joshua A (CASD, IT)
Hello, I am looking for an example of using a nested exception. I have started reading through Chuck Cavaness' Programming Jakarta Struts book. He creates a BaseException class which supports nested exceptions. So far, I have not found where he uses it. Does anyone use nested exceptions which

RE: Example of using a nested exception

2003-02-11 Thread Rao, Nagraj
Hello , There is something at : http://www.javaworld.com/javaworld/javatips/jw-javatip91.html AND http://java.sun.com/docs/books/tutorial/essential/exceptions/definition.html Which might serve as a very good pointer on why and how to implement nested Exceptions Peace, Naggi -Original

Question on embedding tags

2003-02-11 Thread mike . witt
I would like to get the following to work: html:text name=editList property=value size=bean:write name=editList property=fieldLength / / Unfortunately, I get a jsp.error.attribute.noequal error when I do this. I'm assuming that there is a way to delimit this properly, but I haven't found it.

RE: Question on embedding tags

2003-02-11 Thread Sri Sankaran
Here's one way: Define a bean called, say size as follows: bean:define id=size name=editList property=fieldLength/ Then use it in your html:text : html:text name=editList property=value size=%=size%/ Sri -Original Message- From: [EMAIL PROTECTED]

struts-layout + sslext

2003-02-11 Thread alexj
Does anyone know if it's possible to include sslext with struts-layout ? Both sslext and struts-layout use different form tag. Thanks in advance. -- Alexandre Jaquet - - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: JetSpeed VS. Liferay - to Craig

2003-02-11 Thread Mete Kural
Hi Craig, Good to hear from you in this thread. As you are a leading expert in the field, I would like to ask your opinion on portal servers. Would you use a portal server in your own applications? When do you think it is good to use a portal server like JetSpeed, Liferay, Epicentric or Plumtree

Re: select multiple=false == select multiple=true

2003-02-11 Thread James Mitchell
I agree that using multiple=false is the same as multiple=true is counter-intuitive (even in lieu of what the spec says), but I also agree (more so perhaps) that changing it will cause backward compatibility issues. I'm +1 for the enhancement request, and perhaps we could make this happen in 2.0

RE: [OT - Java] Need a recommendation on a Design Pattern class

2003-02-11 Thread Hookom, Jacob John
You can fly me to your offices and I will talk for 5 days on design patterns :-) -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tue 2/11/2003 11:35 AM To: '[EMAIL PROTECTED]' Cc: Subject: [OT - Java] Need a

Re: select multiple=false == select multiple=true

2003-02-11 Thread Justin Ashworth
Okay, I'll write up the enhancement request. - Original Message - From: James Mitchell [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 1:10 PM Subject: Re: select multiple=false == select multiple=true I agree that using multiple=false

Upcoming Conferences was: RE: Modeling tools

2003-02-11 Thread Craig R. McClanahan
On Tue, 11 Feb 2003, Durham David Cntr 805CSS/SCBE wrote: Craig, are you doing any seminars/presentations on struts. Is anyone? I submitted three Struts-focused talks for the O'Reilly Open Source Conference (July 7-11 in Portland). Their call for papers is still open through the 15th of

RE: Upcoming Conferences was: RE: Modeling tools

2003-02-11 Thread James Turner
On Tue, 11 Feb 2003, Durham David Cntr 805CSS/SCBE wrote: Craig, are you doing any seminars/presentations on struts. Is anyone? I'll be speaking tomorrow night at SoftPro Books in Burlington, MA on Struts. I'll also be doing BOF/Intro to Struts sessions at the Sams booth at the

RE: [OT - Java] Need a recommendation on a Design Pattern class

2003-02-11 Thread Assenza, Chris
The company that owns and runs TheServerSide.com seems to have some nice offerings that should satisfy your needs, though I've never attended their training so I can't vouch for it. :) http://www.middleware-company.com/training/trainingIndex.shtml

need Help, I have been struggling for days. (collections andhtml:select)

2003-02-11 Thread Scott Power
I am trying to do something I have done many times before I have a collection of objects which I want to use in a drop down menu for the user. I have a vector that contains (int ids,Object ) In the object bean I have methods that get/set the values, for example public String

RE: [OT - Java] Need a recommendation on a Design Pattern class

2003-02-11 Thread Jim Krygowski
You might want to peruse the discussion forums on theserverside before signing up for a middleware company class. I can't provide links, but I do recall posts on theserverside that were critical of the middleware company and its courses. As in all things, and especially with online forms, caveat

RE: need Help, I have been struggling for days. (collections andhtml:select)

2003-02-11 Thread Kandi Potter
I am new to struts but when I used the select with options tag I created 2 equal size vectors (labels, values)the jsp was td html:select name=incidentForm property=selectedUnsafe html:options name=incidentForm property=unsafeValues labelName=incidentForm

LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
I am new to Struts and am trying to use the LookupDispatchAction class to display a page for the first time (i.e. the user is being navigated to this page from another page). I have everything setup fine in my struts_config.xml and Struts attempts to display my page, but was giving the

RE: [OT - Java] Need a recommendation on a Design Pattern class

2003-02-11 Thread Michael Cardon
I took a week long class from Bruce Eckel a couple of years ago that I would recommend. http://www.BruceEckel.com -Original Message- From: Hookom, Jacob John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 10:34 AM To: Struts Users Mailing List Subject: RE: [OT - Java] Need a

Tomcat 4.1.18 / nested tags

2003-02-11 Thread Becky Norum
I had problems with nested tags on Tomcat 4.1.18 as well, particularly trying to implement an adaptation of Arron Bates' tree recursion design (which is great, by the way!). I went back down to Tomcat 4.0.6 and things are working beautifully. Thanks to Sri and Arron, by the way, for many

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
I would suggest you read up on the usage of the LookupDispatchAction again. It was not designed to to be used in the way you are trying to use them. Take a look at this site http://husted.com/struts/index.html. It has some good suggestions on the correct usage of the action classes that come with

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
I looked at that site. That is where I found out about LookupDispatchAction. But there is nothing that I can find that tells me how to initially display a page that will subsequently use a dispatch action. In fact, I can't figure out how to do it in Struts at all without either having a plain

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
Okay can you please tell me what exactly it is you're trying to accomplish??? I don't quite get what your ultimate goal is. Thanks -Original Message- From: Avexus Incorporated [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:01 PM To: Struts Users Mailing List Subject: RE:

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
U, I'm not sure from your message what you are doing. It sounds like you are forwarding to a page that contains a form and requires some initialization. In that case you would use the [parameterName]= to call the unspecified method. In your LookupDispatchAction there is an unspecified method

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
After the user logs on they are supposed to go to a lookup page. This page will have no data on it when it is first displayed. This page, which is a JSP of course, will have a form and more than 1 submit button. The problem is that the page can't even be displayed because when Struts calls my

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
simple... in your execute method check to see if the mapping.getParameter is null. If it is null then have it call a method that performs some initialization (if needed) and returns an ActionForward to your jsp page. If you want code... I have done this many times. Brandon Goodin Phase Web and

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
OK, so if I don't have a value for the dispatch parameter I can simply do the following?: return unspecified(actionMapping, actionForm, httpServletRequest, httpServletResponse); Brandon Goodin [EMAIL PROTECTED] wrote: U, I'm not sure from your message what you are doing. It

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
yes, i need some code. I don't understand how I can forward to my .jsp page -- won't this put me in a loop? Won't Struts just call my Action class again after looking up the .jsp page's mapping? Brandon Goodin [EMAIL PROTECTED] wrote:simple... in your execute method check to see if the

RE: Question on embedding tags

2003-02-11 Thread mike . witt
Sri, Thanks for the idea. I think I need to add a type attribute to the bean:define to make it a string. Mike -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:00 PM To: Struts Users Mailing List Subject: RE: Question on embedding tags

AW: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
also if your parameter is not null then call the super.execute(mapping,form,request,response) so that the lookup does it's work as normal. The key is to override the execute method of the LookupDispatch and pass control to it only if the paramter exists in the query/request. Brandon Goodin Phase

RE: need Help, I have been struggling for days. (collectionsandhtml:select)

2003-02-11 Thread Scott Power
Thanks for your reply, but I guess I forgot to mention that my drop menus work and the info in the collection shows up, but on submit it says that the bean can not be found. I figure its pretty strange since the info is taken from the same bean on form creation. Got any more ideas, I'd love to

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
Okay this is one way of doing this: Your login action in this case should not be a LookupDispatchAction. It should be a sub-class of the struts Action class. LookupDispatchAction has another intended usage. When your user is authenticated (from the login action), you will forward to the jsp

Re: Tomcat 4.1.18 / nested tags

2003-02-11 Thread Jeff_Mychasiw
Thanks Becky. So I guess the answer to my original question: Is anyone using Tomcat 4.1.18 with Nested Tags is: No. We have done some inital tests With JBoss/TC 4.0.6 and things seem OK. Becky Norum [EMAIL PROTECTED] on 02/11/2003 01:49:25 PM Please respond to Struts Users

Re: Question on embedding tags

2003-02-11 Thread James Mitchell
or: size=%=size.toString()%/ ^^^ -- James Mitchell - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 3:17 PM Subject: RE: Question on embedding tags Sri, Thanks for the idea. I think I need

Re: AW: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
Yes, I've got that part down. The part I don't understand is what to do if the parameter IS null. I don't understand how I can return an ActionForward since I don't want to forward anywhere, I just want Struts to display the same .jsp associated with the current Action. Brandon Goodin

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
That is correct... here is a code sample. public ActionForward execute(mapping,form,request,response) { if (mapping.getParamter() == null) { // this avoids an exception from happening // when no parameter exists return uspecified(mapping,form,request,response); } else {

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
My login IS NOT a LookupDispatchAction. It is an Action. It is the page that login forwards to that is a LookupDispatchAction. But that page never displays because there is no value for the submit parameter in this case. Alvarado, Juan (c) [EMAIL PROTECTED] wrote:Okay this is one way of

Re: Strange Validator Problem

2003-02-11 Thread Robert Morse
It was 1.4.1_01, but I have switched to 1.4.0_03-b04 and the problem is still present. I appreciate your help; do you have any other suggestion? Thanks! On Tue, 2003-02-11 at 02:09, Iris wrote: What is your version of java ? I had the same problem with j2sdk1.4.1_01 but I work fine with

[OT] - ServletContextListener

2003-02-11 Thread John Espey
Does anybody know if the container should be setting the contextClassLoader on the current thread when it loads the various listeners configured in web.xml? The particular behavior we're seeing is that the contextClassLoader for the thread launching our listeners (both context and session) is

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
Can you show me the snippet of code you are using to forward to the JSP from the login action. -Original Message- From: Avexus Incorporated [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:25 PM To: Struts Users Mailing List Subject: RE: LookupDispatchAction Question My

Re: Reset button.

2003-02-11 Thread Gus Delgado
This work thanks, here is the code for anyone else who is interested. script language=JavaScript1.2 function resetForm(myForm) { for(i=0, n=myForm.elements.length; i n; i++) { var theElement = myForm.elements[i]; if (theElement.type == 'text') { theElement.value = '';

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
I would like to say that the LookupDispatchAction is used to handle the organization and grouping of Actions into methods that work in concert. It is mainly organizational. It sounds to me that Mr. Avexus Incorporated ;) is using it quite within it's means. But, he is quite vague in his

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
:-D :-D :-D Juan was right. Why are you forwarding to another action from an action. I'll get out of this discussion cuz I think Juan has got it. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From:

Re: RE: need Help, I have been struggling for days. (collectionsandhtml:select

2003-02-11 Thread cjeness
Scott, Have you verified that your struts-config file is correct. In particular, does the action associated with the submit have the correct form bean name and also that the scope is the same as the scope used in the action which displayed the form. Cindy Jeness From: Scott Power [EMAIL

[OT] Resin 2.1.6 doesn't like resource-env-ref

2003-02-11 Thread Sri Sankaran
I am having trouble deploying to Resin 2.1.6. When I try to access the application URL, I get the response: 500 Servlet Exception C:\resin-2.1.6\webapps\qs\WEB-INF\web.xml:102: unknown element unknown element `resource-env-ref' in web-app I checked the web-app_2_3.dtd and resource-env-ref

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
If I code the following: public class LookupAction extends LookupDispatchAction { public ActionForward execute(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception

Re: RE: need Help, I have been struggling for days.(collectionsandhtml:select

2003-02-11 Thread Scott Power
Thanks to everyone, I found the problem, I had my forward going to a jsp and not my action. Thanks everyone. Scott [EMAIL PROTECTED] 02/11/03 04:43PM Scott, Have you verified that your struts-config file is correct. In particular, does the action associated with the submit have the correct

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
should be nothing wrong with that. i do that all the time, except this is the first time that i've tried to use LookupDispatchAction as I just came across it. Brandon Goodin [EMAIL PROTECTED] wrote::-D :-D :-D Juan was right. Why are you forwarding to another action from an action. I'll get

Adding a new object to a collection in an actionform

2003-02-11 Thread JONATHAN PHILIP HOLLOWAY
Does anybody know how to add a new Object to a collection that exists in an ActionForm. public class MonkeyForm extends Actionform { public ArrayList bananas; ... ... public void setAddBananaForMonkey(Banana newBanana) { bananas.add(newBanana) } } I know I can

Re: [OT] - ServletContextListener

2003-02-11 Thread Craig R. McClanahan
On Tue, 11 Feb 2003, John Espey wrote: Date: Tue, 11 Feb 2003 14:25:58 -0600 From: John Espey [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: [OT] - ServletContextListener Does anybody know if the

RE: Question on embedding tags

2003-02-11 Thread mike . witt
Thanks, worked perfectly and it was easier than adding an attribute to my domain layer bean. Mike -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:22 PM To: Struts Users Mailing List Subject: Re: Question on embedding tags or:

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
From a design point of view, forwarding from one action to another action should be examined closely. It should be the exception rather than the rule. I would suggest you do the following. From your login action just forward to your JSP; don't forward to the LookupDispatchAction. This should

Tag for non box text area on jsp

2003-02-11 Thread Jacky Kimmel
What is the correct tag to be used to create a text line on a jsp without diplaying a box? the html:text puts a box out. - Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day

RE: LookupDispatchAction Question

2003-02-11 Thread Chen, Gin
Okay from what I got: Login - Lookup Login is an Action. Lookup is a LookupDispatchAction. The problem is that it is forwarding to ur LookupDispatchAction class and not to you lookup page. If this is wrong then stop reading ur wasting ur time and I've already wasted mine. So I'm assuming that

RE: Tag for non box text area on jsp

2003-02-11 Thread Chen, Gin
If you mean that you just want to display the text and not offer the option to edit it then just use JSTL c:out or Struts' bean:write -Tim -Original Message- From: Jacky Kimmel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:54 PM To: [EMAIL PROTECTED] Subject: Tag for non

Re: Tag for non box text area on jsp

2003-02-11 Thread Justin Ashworth
You mean like bean:write? bean:write will output static text if that's what you're looking for. - Original Message - From: Jacky Kimmel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 3:54 PM Subject: Tag for non box text area on jsp What is the correct tag to

RE: Nested Tags Problem .... Urgent

2003-02-11 Thread Chen, Gin
not name .. property name: The name of the JSP bean containing the collection to be iterated (if property is not specified), or the JSP bean whose property getter returns the collection to be iterated (if property is specified). property: Name of the property, of the JSP bean specified by name,

Accessing Properties of DynaValidatorForm from a JSP

2003-02-11 Thread Scott W. Hill
I'm a realtive Struts newbie, and am now retrofitting my first project with Validator and dynamic action forms. On one page, I need to compare a property from the action form object with a value in another bean. I had been using JSTL like this: c:if test=${category.id ==

bean:define concatenation

2003-02-11 Thread Balakrishnan, Vijay
HI, I have used the following: bean:define id=medKey name=searchResult property=lastName / I want to be able to concatenate 2 of these properties from the bean into the medKey. i.e. combine last name and firstname into medKey' with a bean:define and then use the variable. bean:define id=medKey

Re: LookupDispatchAction Question

2003-02-11 Thread Vic Cekvenich
Alvarado, Juan (c) wrote: From a design point of view, forwarding from one action to another action should be examined closely. It should be the exception rather than the rule. -1. You allways do that, like I have processed this page, go to another page. .V I would suggest you do the

Re: bean:define concatenation

2003-02-11 Thread James Mitchell
Have you tried? bean:define id=medKey bean:write name=searchResult property=lastName/ bean:write name=searchResult property=lastName/ /bean:define -- James Mitchell - Original Message - From: Balakrishnan, Vijay [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL

RE: Accessing Properties of DynaValidatorForm from a JSP

2003-02-11 Thread James Turner
From: Scott W. Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 4:02 PM To: [EMAIL PROTECTED] Subject: Accessing Properties of DynaValidatorForm from a JSP I had been using JSTL like this: c:if test=${category.id == editArticleForm.category} But this fails now

RES: [OT] Resin 2.1.6 doesn't like resource-env-ref

2003-02-11 Thread Marcelo Aita Riss
Hi Sri, I'm having the same trouble here. Seems to me that it's a resin problem. I have tried to search some help to fix this problem at www.caucho.com, but have found nothing until now. You are right about web-app_2_3.dtd, but I have a web-app_2_2.dtd copy that do not have any reference to a

Indexed properties and form

2003-02-11 Thread Samir Shah
Hi, I have a JSP page that outputs data using a Collection using the following section logic:iterate id=lifeBenefit name=lifeBenefits type=com.quote.dao.BenefitLineItem indexId=classNum tr valign=middle class=bg2 td height=28 bgcolor=#FF table border=0 cellspacing=0

RE: bean:define concatenation

2003-02-11 Thread Balakrishnan, Vijay
That worked like a charm. Thanks. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:12 PM To: Struts Users Mailing List Subject: Re: bean:define concatenation Have you tried? bean:define id=medKey bean:write name=searchResult

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
-1. You allways do that, like I have processed this page, go to another page. .V What exactly do you mean by this comment Vic. -Juan -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 4:11 PM To: [EMAIL PROTECTED] Subject: Re:

Re: Accessing Properties of DynaValidatorForm from a JSP

2003-02-11 Thread Scott W. Hill
Excellent! Thanks! On Tuesday, February 11, 2003, at 01:19 PM, James Turner wrote: You need to do: c:if test=${category.id == editArticleForm.map.category} James --Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Indexed properties and form

2003-02-11 Thread Evan Schnell
Samir Shah wrote: Hi, I have a JSP page that outputs data using a Collection using the following section logic:iterate id=lifeBenefit name=lifeBenefits type=com.quote.dao.BenefitLineItem indexId=classNum Where do you declare i? I think you need to use td class=formtext %=classNum %/td

RE: [OT] - ServletContextListener

2003-02-11 Thread John Espey
Craig, Upon further inspection, it appears that the Thread initializing our Listeners has the wrong contextClassLoader, but the thread invoking each method DOES have the correct loader. Is there a logical reason you can think of to explain why BEA did it this way? This still seems like a bug to

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
He means that you should NEVER chain actions. This is an ongoing debate that usually results in everyone giving room for exceptional cases. Personally, I have never chained actions and have found no need too. I use more standard ways to accomplish processing chains in the biz logic. But, there are

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
Yeah I've never chained them either. But it looks like our friend at Avexus Inc. has plenty of use for it. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 4:51 PM To: Struts Users Mailing List Subject: RE: LookupDispatchAction Question

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
:-D Juan, You were quite preceptive in reading what the anonymous Mr Avexus was trying to accomplish before he clearly explained it. Do you do psychic readings? JUAN THE PSYCHIC PROGRAMMER. You could market yourself as the consultant who knows what you need before you ask. Brandon Goodin

convertNull problems

2003-02-11 Thread Ben Sion
I am try trying to use the convertNull parameter of ActionServlet, so that when the user does not enter a value into a field that is mapped to an attribute of type Long in my form, the attribute = null rather than 0. However I am getting conversion errors. The excerpt from my sevlet log: Feb 12

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
I wasn't 100% sure but after thinking about it, that's the only thing I could come up with. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 5:00 PM To: Struts Users Mailing List Subject: RE: LookupDispatchAction Question :-D Juan, You

Re: convertNull problems

2003-02-11 Thread James Mitchell
What version of Struts are you using? -- James Mitchell - Original Message - From: Ben Sion [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 5:08 PM Subject: convertNull problems I am try trying to use the convertNull parameter of ActionServlet, so that

RE: [OT] - ServletContextListener

2003-02-11 Thread Craig R. McClanahan
On Tue, 11 Feb 2003, John Espey wrote: Date: Tue, 11 Feb 2003 15:44:09 -0600 From: John Espey [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [OT] - ServletContextListener Craig, Upon further

Re: RES: [OT] Resin 2.1.6 doesn't like resource-env-ref

2003-02-11 Thread Craig R. McClanahan
On Tue, 11 Feb 2003, Marcelo Aita Riss wrote: Date: Tue, 11 Feb 2003 19:19:08 -0300 From: Marcelo Aita Riss [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RES: [OT] Resin 2.1.6 doesn't like resource-env-ref

Exception loading sessions from persistent storage

2003-02-11 Thread Scot Rob
Due to this strange exception i am getting, i can't access my beans/forms in jsps. I will appreciate any help/clues. Many Thanks, Scot 2003-02-11 21:53:35 StandardManager[/strutsvom] IOException while loading persisted sessions: java.io.WriteAbortedException: Writing aborted by exception;

Re: convertNull problems

2003-02-11 Thread Brian Lee
Did you set convertNull=true for the ActionServlet in the web.xml. BAL From: Ben Sion [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: convertNull problems Date: Wed, 12 Feb 2003 11:08:43 +1300 I am try trying to use the convertNull

Re: Logging and log4j?

2003-02-11 Thread Emmanuel
Bjørn T Johansen wrote: I was just wondering what is the pro's and con's for using Commons-Logging contra log4j? Goods materials on this topic (pro log4j) : http://www.qos.ch/logging/thinkAgain.html ___ Do You Yahoo!? -- Une adresse

RE: Exception loading sessions from persistent storage

2003-02-11 Thread John Espey
It looks like there is a non-Serializable object on your session. I believe that whatever you put on the session must implement (directly or indirectly) Serializable or else be declared transient. -Original Message- From: Scot Rob [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11,

RE: [OT] Modeling tools (way OT)

2003-02-11 Thread Todd Pierce
Aussies send it all up here. You guys still pissed about 1783? 1815? 1840? When did you get your own country, anyway? Well, technically it isn't their's. They are members of the British Commonwealth, so all Whoa, Trigger. Time for some Australia 101 We may share a figurehead but is

DynaForm and ActionForm subclassing

2003-02-11 Thread Christoph Rooms
Hi, For certain actions I subclass my own version of the ActionForm. So I implement MyActionForm. This is the base of a number of my forms. (for example, I have an MultilanguageForm that handles forms which stores multilanguage data). How can I do this with DynaForms ? Do I have to subclass

Re: ResultsetDyna class

2003-02-11 Thread Luiz-Otavio Zorzella
Craig, I, actually, require a third semantic (that I'm willing to implement myself, btw): I want, like in the a ResultSetDynaClass, a structure that does not copy the elements, from which I can get an Iterator. Now, once I getNext() from the Iterator, I want to get a copy of the object, so

RE: [OT] Modeling tools (way OT)

2003-02-11 Thread Mark Galbreath
Well, what kinda bloody government DO you have? -Original Message- From: Todd Pierce [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 5:58 PM Aussies send it all up here. You guys still pissed about 1783? 1815? 1840? When did you get your own country, anyway? Well,

RE: still wondering Re: Where to repopulate dynamic lists ?

2003-02-11 Thread Mitchell Morris
What? You're going over my head? Fine. Be that way. I'm now going to charge you double for my free advice and unsolicited opinion :) [snip-and-rearrange] Yes, actually I never did put the list into the form bean but had initially put the list in request scope. Now we've come full circle:)

  1   2   >