left over session

2004-03-18 Thread LUCERO,DENNIS (HP-Boise,ex1)
I am getting a left over session after a user logs out. The last thing done in the logout Action class is to call the invalidate method on the session. Then this request goes to the forward forward name = success path = /goodbye.jsp/ this jsp has the page session = false thingy but

upgrading

2003-10-21 Thread LUCERO,DENNIS (HP-Boise,ex1)
Hello, I am upgrading an existing app from struts 1.0 to struts 1.1 Can anyone point me two a guide for this. thanks We come from the land of the ice and snow With the midnight sun, where the hot springs glow The hammer of the gods, will drive our ships to new lands Fight the horde, Sing and

RE: iterator tag

2003-09-08 Thread LUCERO,DENNIS (HP-Boise,ex1)
. Hope this helps. -Original Message- From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] Sent: September 6, 2003 2:34 PM To: ' ([EMAIL PROTECTED])' Subject: iterator tag What is the correct behavior of the logic:iterator tag when given a collection of size zero (when

iterator tag

2003-09-06 Thread LUCERO,DENNIS (HP-Boise,ex1)
What is the correct behavior of the logic:iterator tag when given a collection of size zero (when the named collection is a brand new linkedList this tag causes a page to crash??) We come from the land of the ice and snow With the midnight sun, where the hot springs glow The hammer of

RE: two forms

2003-09-06 Thread LUCERO,DENNIS (HP-Boise,ex1)
I have done stuff like that. In my case I had two action entries in struts.xml each one defining a form. Both of these mapped to the same action class. Just make sure they have unique paths We come from the land of the ice and snow With the midnight sun, where the hot springs glow The

RE: two actionForms for one action class?

2003-09-06 Thread LUCERO,DENNIS (HP-Boise,ex1)
I have done stuff like that. In my case I had two action entries in struts.xml each one defining a form. Both of these mapped to the same action class. Just make sure they have unique paths -Original Message- From: Rick Col [mailto:[EMAIL PROTECTED] Sent: Saturday, September 06, 2003

variable in tag

2003-08-28 Thread LUCERO,DENNIS (HP-Boise,ex1)
Is there any way to do this: html:button property = %=variable% blah/html:button thanks We come from the land of the ice and snow With the midnight sun, where the hot springs glow The hammer of the gods, will drive our ships to new lands Fight the horde, Sing and cry Valhalla I am coming

javascript problem

2003-03-13 Thread LUCERO,DENNIS (HP-Boise,ex1)
Hello I am trying to do this: html:button property= someButton onClick=doSomething(%=somedynamicvariable%) Do Something /html:button Basically trying to pass a dynamic variable as arg to java script function within the struts html:button tag. I know I can build up the string in

select multiple

2003-02-25 Thread LUCERO,DENNIS (HP-Boise,ex1)
When using html:select the fields that do not use the multiple = true attribute are correctly populated from the form bean during a round trip to the server but the fields using multiple = true are not. The getter and setter methods are getting called (sys out showing up), and the array type is

RE: select multiple

2003-02-25 Thread LUCERO,DENNIS (HP-Boise,ex1)
: Re: select multiple I just went through this. - Original Message - From: LUCERO,DENNIS (HP-Boise,ex1) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 1:56 PM Subject: select multiple When using html:select the fields that do not use the multiple = true attribute

user customizing

2003-02-07 Thread LUCERO,DENNIS (HP-Boise,ex1)
Hello, I am looking for resources that would help me to provide the ability for a user to customize their home page. Both informational and functional resources would be of help. thanks We come from the land of the ice and snow With the midnight sun, where the hot springs glow The hammer of

submit using enter key

2003-01-31 Thread LUCERO,DENNIS (HP-Boise,ex1)
I have a form, that cannot have a submit button (unless there is some way to have it be hidden) How to I get that form to submit when the enter key is pressed. thanks We come from the land of the ice and snow With the midnight sun, where the hot springs glow The hammer of the gods, will drive

RE: submit using enter key

2003-01-31 Thread LUCERO,DENNIS (HP-Boise,ex1)
this: document.onkeypress = documentKeypress; function documentKeypress(e){ var key = general_getEventKeyCode(e); if(key == 13){ search();//js action that calls document.formName.submit(); } } LUCERO,DENNIS (HP-Boise,ex1) [EMAIL PROTECTED] on 01/31/2003

using javascript

2003-01-13 Thread LUCERO,DENNIS (HP-Boise,ex1)
Hello, I am trying to call a java script function and it is not working, are there any known issues with this sort of thing. Here is some code: html:form action = SomeAction html:select property = someProp onchange = reset() html:options collection=aCollection property=key

RE: using javascript

2003-01-13 Thread LUCERO,DENNIS (HP-Boise,ex1)
is that there is a built-in javascript reset() method that's overriding your custom reset(). Try calling your method doReset() or something else. BAL From: LUCERO,DENNIS (HP-Boise,ex1) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: ' ([EMAIL PROTECTED])' [EMAIL PROTECTED] Subject

RE: nested tags

2003-01-08 Thread LUCERO,DENNIS (HP-Boise,ex1)
Thanks Mark, I don't know how I missed that tag. Melonie, if I understand you correctly, I am not using hidden fields and I get back the key value pair in the form associated with the action class, The collection I am referencing is separate from the form. The form does not contain a list

form scope

2003-01-07 Thread LUCERO,DENNIS (HP-Boise,ex1)
OK, yea it appears from some of the responses that there is some confusion, I am doing something that is really simple. Here is the form from the jsp-- dropdown.jsp: html:form action = DropDownAction name = dropDownFormBean type = somePath.DropDownFormBean html:select property =

RE: form scope

2003-01-07 Thread LUCERO,DENNIS (HP-Boise,ex1)
-Original Message- From: Damm, Gary [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 10:31 AM To: Struts Users Mailing List Subject: RE: form scope gary wrote: Try setting the form scope in your struts-config to request. I believe by default it is set to session. When I

form scope

2003-01-07 Thread LUCERO,DENNIS (HP-Boise,ex1)
I fixed it. thanks gary you got me thinking about the scope the form tag was searching in: I set the scope of the form on the JSP PAGE to request and everything works as expected. Thanks everyone, We come from the land of the ice and snow With the midnight sun, where the hot springs

RE: form scope

2003-01-07 Thread LUCERO,DENNIS (HP-Boise,ex1)
- From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 9:49 AM To: ' ([EMAIL PROTECTED])' Subject: form scope I fixed it. thanks gary you got me thinking about the scope the form tag was searching in: I set the scope of the form on the JSP

nested tags

2003-01-07 Thread LUCERO,DENNIS (HP-Boise,ex1)
I am trying something like this: html:select property = whatever logic:iterate id = item name = someArray html:option value = thisIsMyProblem %=item% /html:option /logic:iterate /htmlselect I need the vaule of item to go where thisIsMyProblem is similar to the use of

scope

2003-01-06 Thread LUCERO,DENNIS (HP-Boise,ex1)
I am using the html:option tag I must set the scope of the parent form to session for the tag to generate the correct selected = selected Html on the page when the form is submitted (it is bouncing back to the same page) Why is this? The request hits the server with the values in it The

RE: scope

2003-01-06 Thread LUCERO,DENNIS (HP-Boise,ex1)
-Original Message- From: Joe Barefoot [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 5:18 PM To: Struts Users Mailing List Subject: RE: scope LDHBe The jsp containing the html:option tag is the last thing the request is LDHBe forwarded to The forwarded page does not

RE: scope

2003-01-06 Thread LUCERO,DENNIS (HP-Boise,ex1)
to session, but this is without diving into the tag lib code. -Original Message- From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 6:02 PM To: 'Struts Users Mailing List' Subject: RE: scope -Original Message- From: Joe Barefoot [mailto

bean:include

2002-12-09 Thread LUCERO,DENNIS (HP-Boise,ex1)
If this is not the correct forum for tag-lib questions someone let me know. Does anyone know of issues when using the bean:include tag with https The call: bean:include id = myInclude page = /includeTest.jsp / the error: Cannot create include URL: java.net.MalformedURLException: unknown

message-resources

2002-12-05 Thread LUCERO,DENNIS (HP-Boise,ex1)
Hi, I have a jsp with the struts bean taglib defined and the following line : bean:message key=index.title / In struts-config.xml I have the following : message-resources parameter=MyAppResources / And I put MyAppResources.properties in tomcat/webapps/applicationName/WEB-INF/classes when

action-mapping

2002-12-04 Thread LUCERO,DENNIS (HP-Boise,ex1)
I am a newbie but I am a little confused about the following. In the struts api it states the following about the forward property of the action mapping class Exactly one of the forward, include, or type properties must be specified. But, in the examples I downloaded with the struts package