Re: Error working with MessageFormat as per Ted's tips...(Ted...?)

2003-06-28 Thread Prashanth.S
hi mick, Try giving message=true or messages=true and check out. Cheers Prashanth Mick Knutson [EMAIL PROTECTED] wrote: I can't get this to work in my JSP: (java.util.Date)registrationForm.getCreationDate() % key=form.reg.creationDate I keep getting this error: [ServletException

Re: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died

2003-06-28 Thread Arron Bates
You're talking of one of the greatest books of all time... Red Dwarf. Lister bought the cat to annoy Rimmer. Cat dies eventually of old age in the cargo hold before starting the race of cats which brought on the Cat character we all know and really dig. If you say it's not, you're lying or

Using html:options/ tag with multiple=true

2003-06-28 Thread Eva Murray
Can someone tell me what I'm doing wrong? I have a JSP page with a form that I would like to display. I want the form to be prepopulated with the data which I retrieved from the database, and those items previously selected by the user highlighted . I am unable to do this for the multi-select

Re: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died

2003-06-28 Thread Micael
If you go to google and put in Sadly the cat dies. you will see our beloved Ted is a truth teller. LOL. I am unaware of Red Dwarf. Sounds interesting. That is high enough praise to get a person interested all right. At 07:49 AM 6/28/03 -0600, you wrote: You're talking of one of the greatest

RE: Using html:options/ tag with multiple=true

2003-06-28 Thread Wendy Smoak
Eva wrote: I want the form to be prepopulated with the data which I retrieved from the database, and those items previously selected by the user highlighted . I am unable to do this for the multi-select drop down lists. I vote for the old type of get and set methods do not match problem:

RE: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died

2003-06-28 Thread Carl Fyffe
Pixel never dies. He was badly hurt, but he never dies. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 1:28 PM To: 'Struts Users Mailing List' Subject: Re: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died This author, like the fabled

Sending a Redirect Directly from an Action Class

2003-06-28 Thread Mike Duffy
What are your thoughts on sending a redirect directly from an Action class: response.sendRedirect(/somePage.jsp?); return null; There is a setRedirect(boolean redirect) in the ActionForward class that could be used for the same purpose (with a few extra lines of code and an entry in the

JSTL- el - nested beans from a map used in a form?

2003-06-28 Thread Rick Reumann
Ok this has me stumped... the down and dirty: formBean has HashMap called fooMap fooMap has keys that bring back beans of type BarBean BarBean has properties someCode , someDescrip Now I want to iterate over this map and create the properties based on the properties in BarBean and be able to

RE: jgs Quartz error

2003-06-28 Thread Holman, Cal
Do you have the jgs-struts-0.1d.jar in your classpath? jgs-quartz-0.1d.jar needs it. Cal http://www.calandva.com/Last update 04/26/03 ??Email: [EMAIL PROTECTED] ??Phone:706 322-4963 ??Snail Mail: 1001 Brookwood Ave Columbus, GA 31906 -Original

Re: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Jing Zhou
I have the following concerns whenever the redirect is used: * The statement response.sendRedirect(/somePage.jsp) will bind the codes statically to the underlying file system structures. So if someone moves the somePage.jsp to a different location, the codes are broken. * The JSP page

nested bean parameters

2003-06-28 Thread Mick Knutson
I have a Collection of AlertDto's. Each AlertDto has a method called getStartingLocation() that returns a LocationDto. That LocationDto has a method called getLocationTitle(). How, in a JSP can I get the locationTitle? I have tried: logic:iterate id=alert name=alertListForm

RE: jgs Quartz error

2003-06-28 Thread Mick Knutson
I have all 3 jar files within my WAR. I have not added them anywhere else. I have an EAR with a common.jar, ejbs.jar and yoursos.war. All 3 jars in the war. Should I be adding them in the classpath somewhere else? If so, where do I add them, and why is having them in the WAR not good enough.

Re: JSTL- el - nested beans from a map used in a form?

2003-06-28 Thread Dan Tran
see this link http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt -Dan - Original Message - From: Rick Reumann [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 9:35 AM Subject: JSTL- el - nested beans from a map used in a form?

RE: jgs Quartz error

2003-06-28 Thread Joe Germuska
At 10:37 -0700 6/28/03, Mick Knutson wrote: I have all 3 jar files within my WAR. I have not added them anywhere else. I have an EAR with a common.jar, ejbs.jar and yoursos.war. All 3 jars in the war. Should I be adding them in the classpath somewhere else? If so, where do I add them, and why is

RE: jgs Quartz error

2003-06-28 Thread Joe Germuska
Does JBoss provide a common lib directory for JARs? If you were using Tomcat, I'd suggest you just put all the jars in $CATALINA_HOME/common/lib/ as an experiment to see if that straightens things out -- if JBoss has something similar, it might help. I should clarify -- it might help get

Re: JSTL- el - nested beans from a map used in a form?

2003-06-28 Thread Rick Reumann
On Sat, 2003-06-28 at 13:51, Dan Tran wrote: see this link http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt Thanks Dan. I looked at the presentation above, but it's not helping me much. I probably do still need the indexed=true to make the properties indexed, but I still don't

RE: jgs Quartz error

2003-06-28 Thread Mick Knutson
I tried the first way I posted back in May, but the class was wrong in the declaration: plug-in className=com.jgsullivan.quartz.QuartzPlugIn set-property property=configPath value=/WEB-INF/quartz-config.xml/ /plug-in Then I tried to move all 3 jars into my JBoss lib directory and

Submiting a form through a link

2003-06-28 Thread Cristiano Moreira Silva
Hello. I'm trying to submit a html:form through a html:link. When I click the link, on the onclick event, I call a javascript function and execute: document.forms[0].submit() Then nothing happens. Can someone send me a simple example (or a URL to it) of submiting a html:form through html:link?

Re: nested bean parameters

2003-06-28 Thread Rick Reumann
On Sat, 2003-06-28 at 13:31, Mick Knutson wrote: I have a Collection of AlertDto's. Each AlertDto has a method called getStartingLocation() that returns a LocationDto. That LocationDto has a method called getLocationTitle(). How, in a JSP can I get the locationTitle? I have tried:

Re: nested bean parameters

2003-06-28 Thread Mick Knutson
In AlertDto: public com.baselogic.yoursos.location.LocationDto getStartingLocation() { return this.StartingLocation; } In LocationDto: public java.lang.String getLocationId() { return this.locationId; } --- Thanks... Mick Knutson --- From: Rick Reumann [EMAIL

Re: nested bean parameters

2003-06-28 Thread Rick Reumann
On Sat, 2003-06-28 at 15:10, Mick Knutson wrote: In AlertDto: public com.baselogic.yoursos.location.LocationDto getStartingLocation() { return this.StartingLocation; } StartingLocation should be startingLocation (lowercase s) -- Rick

Re: A question on Tiles and Frames

2003-06-28 Thread K.C. Baltz
Overflow is actually a standard CSS feature that IE only partially supports. In Mozilla, you can do this with a lot more elements including tables where the header remains fixed while the data scrolls. K.C. Mike Jasnowski wrote: Well, depending on the web client you are using, IE has a

RE: jgs Quartz error

2003-06-28 Thread Joe Germuska
At 11:51 -0700 6/28/03, Mick Knutson wrote: I tried the first way I posted back in May, but the class was wrong in the declaration: plug-in className=com.jgsullivan.quartz.QuartzPlugIn set-property property=configPath value=/WEB-INF/quartz-config.xml/ /plug-in Then I tried to move

Re: nested bean parameters

2003-06-28 Thread Mick Knutson
I actually changed the JSP: bean:write name=alert property=StartingLocation.locationId / but also tried: bean:write name=alert property=StartingLocation.LocationId / but I got the same errors. --- Thanks... Mick Knutson --- From: Rick Reumann [EMAIL PROTECTED] Reply-To: Struts Users

RE: jgs Quartz error

2003-06-28 Thread Mick Knutson
OK, closer, but still no bannana... I moved the quartz jars (3) to the EAR instead of the WAR. I added this into the Manifest.mf for the WAR: Manifest-Version: 1.0 Class-Path: yoursos-beans.jar common.jar junit-3.8.1.jar strutstest-2.0.0.jar aspectjrt-1.0.5.jar cactus-1.4.1.jar

RE: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Steve Raeburn
-Original Message- From: Jing Zhou [mailto:[EMAIL PROTECTED] Sent: June 28, 2003 10:28 AM To: Struts Users Mailing List Subject: Re: Sending a Redirect Directly from an Action Class I have the following concerns whenever the redirect is used: * The statement

RE: Submiting a form through a link

2003-06-28 Thread Steve Raeburn
a href= onclick=document.forms[0].submit();return false;Click here/a (or the equivalent using Struts html:link tag.) html:form action=/path html:hidden property=action value=MyAction/ /html:form The above code works for me. Not sure if the return false; has any impact - probably does

Re: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Jing Zhou
- Original Message - From: Steve Raeburn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 4:17 PM Subject: RE: Sending a Redirect Directly from an Action Class -Original Message- From: Jing Zhou [mailto:[EMAIL PROTECTED]

Re: JSTL- el - nested beans from a map used in a form?

2003-06-28 Thread Jason Lea
Hi Rick, Here are some ideas, I haven't tested them so they could be horribly wrong :) The html-el:text tag are just like the html:text tag, but I can evaluate EL expressions. What you want to generate is something like this: someCode: input type=text name=fooMap['aCode'].someCode

Re: JSTL- el - nested beans from a map used in a form?

2003-06-28 Thread Rick Reumann
On Sat, 2003-06-28 at 19:00, Jason Lea wrote: Here are some ideas, I haven't tested them so they could be horribly wrong :) The html-el:text tag are just like the html:text tag, but I can evaluate EL expressions. What you want to generate is something like this: someCode: input

Re: JSTL- el - nested beans from a map used in a form?

2003-06-28 Thread Jason Lea
Hi Rick, Rick Reumann wrote: On Sat, 2003-06-28 at 19:00, Jason Lea wrote: Here are some ideas, I haven't tested them so they could be horribly wrong :) The html-el:text tag are just like the html:text tag, but I can evaluate EL expressions. What you want to generate is something like

Re: Using html:options/ tag with multiple=true

2003-06-28 Thread Eva Murray
Hi Wendy, Thanks so very much for your reply. It was in fact a big help, and in the end, helped me to find the solution. It turned out that the problem was actually with how I was populating the form jurisdiction field. Apparently the s.getJurisdictionF() method was returning an array which had

RE: jgs Quartz error

2003-06-28 Thread Holman, Cal
I had a problem until I added all three to WEB-INF/lib in my .war. I have a simple web app in a war under tomcat. Sorry no help Cal -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Saturday, June 28, 2003 13:38 To: [EMAIL PROTECTED] Subject: RE: jgs Quartz error

RE: jgs Quartz error

2003-06-28 Thread Mick Knutson
Sorry, I ment to say they are all 3 in my Web-Inf/lib directory. But now they are also in my EAR also. But then I still get this error. --- Thanks... Mick Knutson --- From: Holman, Cal [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List

Re: nested bean parameters

2003-06-28 Thread K.C. Baltz
What kind of output are you getting? It is possible something is wrong with the logic:iterate rather than the bean:write? Mick Knutson wrote: I have a Collection of AlertDto's. Each AlertDto has a method called getStartingLocation() that returns a LocationDto. That LocationDto has a method

RE: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Steve Raeburn
-Original Message- From: Jing Zhou [mailto:[EMAIL PROTECTED] Sent: June 28, 2003 3:46 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Sending a Redirect Directly from an Action Class If you means the new redirected request to the page /somePage.jsp is subject to

Re: nested bean parameters

2003-06-28 Thread Mick Knutson
I tried it with an uppercase LocationId, and got this error: [ServletException in:/WEB-INF/default/body/alert.list.jsp] No getter method for property StartingLocation.LocationId of bean alert' javax.servlet.jsp.JspException: No getter method for property StartingLocation.LocationId of bean

Re: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Jing Zhou
- Original Message - From: Steve Raeburn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 9:45 PM Subject: RE: Sending a Redirect Directly from an Action Class -Original Message- From: Jing Zhou [mailto:[EMAIL PROTECTED]

RE: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Steve Raeburn
If you mean the page /somePage.jsp can be put under a security constraint in web.xml and you can redirect to it, that is not going to work in theory. This is the original point why the page can not be protected by the security constraint when the method response.sendRedirect(/somePage.jsp) is

Re: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Jing Zhou
- Original Message - From: Steve Raeburn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 11:42 PM Subject: RE: Sending a Redirect Directly from an Action Class If you mean the page /somePage.jsp can be put under a security constraint

RE: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Steve Raeburn
When you said This is not true. to the original concerns regarding response.sendRedirect(/somePage.jsp) method (which implies a direct call to the JSP page) and now you are not calling JSP directly, I don't get you. Of course, we know the security contraints can protect any thing. The

Re: Sending a Redirect Directly from an Action Class

2003-06-28 Thread Jing Zhou
- Original Message - From: Steve Raeburn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, June 29, 2003 12:33 AM Subject: RE: Sending a Redirect Directly from an Action Class When you said This is not true. to the original concerns regarding