Re: No validation when html:cancel is clicked

2004-09-07 Thread Dean A. Hoover
Andy, Why would you want to validate on cancel? If you really want to do that, use html:submit instead and just label the button Cancel and process accordingly in your action (forward?) Dean Hoover andy wix wrote: Hi, I have a form with 2 buttons (one html:submit, the other html:cancel) and have

site shutdown best practice?

2004-09-07 Thread Dean A. Hoover
. Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JSP tag in a tag

2004-09-03 Thread Dean A. Hoover
the variable in the html:link attribute. Am I on the right track? How would you go about it? Thanks. Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSP tag in a tag

2004-09-03 Thread Dean A. Hoover
Thanks. Is that equivalent to: c:set var=mouseOver ddrivetip('fmt:message key=editEmail.tooltip.deleteAttachment/'); /c:set ?? Dean Hoover Bill Siggelkow wrote: You are on the right track, Dean. Do something like the following: bean:define id=mouseOver ddrivetip('fmt:message key

Re: What happended to Ted Husteds Struts pages?

2004-08-23 Thread Dean A. Hoover
Is it? Why can't I get there either? What's the URL you are using? Dean Hoover Nathan Maves wrote: Yeah I know what happenedIt's still there :) Nathan On Aug 23, 2004, at 3:01 PM, David Evans wrote: Anyone know what happened to the website that used to live here: http://husted.com/struts

Re: image button for file upload

2004-08-22 Thread Dean A. Hoover
) javax.servlet.http.HttpServlet.service(HttpServlet.java:763) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) Maybe this is just some configuration thing I need to do, don't know yet. Dean Hoover Michael McGrady wrote: So far I have this, Erik, which works in IE but not in Mozilla. Anyone have any other ideas

Re: image button for file upload

2004-08-22 Thread Dean A. Hoover
request for teaming up. I'll do what I can. Can you share what you've discovered so far? Dean Hoover Michael McGrady wrote: Dean A. Hoover wrote: Wow, you've been busy. Just getting back to look at what has been suggested. I did a little poking around on the internet and found: If you want to do

Re: image button for file upload

2004-08-22 Thread Dean A. Hoover
Michael McGrady wrote: Hi, Dean, I am a pretty meat and potatoes kind of genius. I need to solve one thing at a time. So, right now I am going to stick with only the image deal with file uploads. I have the following which works okay with IE but not with Mozilla. form method='get'

Re: image button for file upload

2004-08-22 Thread Dean A. Hoover
to make sense to me, but if its true, its disappointing since its probably the only button we can't replace with an image. Dean Michael McGrady wrote: Dean A. Hoover wrote: Michael McGrady wrote: Hi, Dean, I am a pretty meat and potatoes kind of genius. I need to solve one thing at a time. So

Re: image button for file upload

2004-08-22 Thread Dean A. Hoover
you've done cross browser, if you can't upload it was a waste of time. Why don't you try making it actually upload on IE? If you can get that to work, I'll stand corrected, and will try to get the same working on Mozilla. Dean Michael McGrady wrote: Dean A. Hoover wrote: Michael, I'm still researching

image button for file upload

2004-08-21 Thread Dean A. Hoover
, as in: html:form method=POST enctype=multipart/form-data html:file property=theFile/ html:submit value=Upload/ /html:form Any ideas? Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

logic:present jstl equivalent?

2004-08-18 Thread Dean A. Hoover
I am attempting to change my application to use jstl wherever possible. Is there an equivalent in jstl for the logic:present tag? For example, I use: logic:present scope=session name=user is there some way to do this in jstl? Thanks. Dean Hoover

passing fmt:message as argument

2004-08-17 Thread Dean A. Hoover
height=10 alt=[foo] onmouseover=ddrivetip('This is some text.'); onmouseout=hideddrivetip();/ What do I need to do to the img tag to use the message in applications.resource? Thanks. Dean Hoover - To unsubscribe, e-mail: [EMAIL

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
ideas? Dean Hoover --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
be useful to you anyway in its current form). But it should encourage you that it can be done. From a quick read of his web page, Niall's Lazy stuff looks very promising. If I were starting again, I might have a look to see if that would fit. Good luck, Kev -Original Message- From: Dean

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
- From: Dean A. Hoover [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, August 06, 2004 4:49 PM Subject: Re: very dynamic forms Thanks. I am looking at Niall's Lazy stuff, but I like your idea. I will add it to my list of investigations and experiments. I've

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
it was very painless and although there aren't lots of big killer features - there are IMO lots of little ones that make this a good upgrade. Niall - Original Message - From: Dean A. Hoover To: Struts Users Mailing List Sent: Friday, August 06, 2004 4:49 PM Subject: Re

very dynamic forms

2004-08-05 Thread Dean A. Hoover
and this is the first time this sort of requirement has come up. I've used DynaActionForm and ActionForm, but do not see how this sort of thing fits either model. Any ideas? Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: very dynamic forms

2004-08-05 Thread Dean A. Hoover
to configuration stuff stored in a database, that can change. Is that more understandable? Dean Michael McGrady wrote: I cannot quite tell what your problem or question is, Dean Hoover. I don't see, further, what struts/tiles has to do with building a dynamic form. You have a form in a file and that form

Re: very dynamic forms

2004-08-05 Thread Dean A. Hoover
Thanks, that looks very cool. Have you used it before? Niall Pemberton wrote: How about Lazy DynaBeans: http://www.niallp.pwp.blueyonder.co.uk/#lazydynabean Niall - Original Message - From: Dean A. Hoover [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday

Re: very dynamic forms

2004-08-05 Thread Dean A. Hoover
oops, you wrote it! my bad Niall Pemberton wrote: How about Lazy DynaBeans: http://www.niallp.pwp.blueyonder.co.uk/#lazydynabean Niall - Original Message - From: Dean A. Hoover [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, August 06, 2004 1:17 AM

Re: Recommendations for a JavaScript date picker

2004-07-26 Thread Dean A. Hoover
http://dynarch.com/mishoo/calendar.epl Brown, James wrote: Any recommendations for a JavaScript date picker? I have taken a quick look at struts:layout but I do not need all that it has to offer nor the overhead. Integration into struts (and struts validation) would be beneficial, but not

HTTP header for dynamic pdf and IE6

2004-06-04 Thread Dean A. Hoover
to this: 1) What is the magic in the HTTP header that allows this to work? 2) How can one create such a header in java? Thanks. Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Dean A. Hoover
() + \.pdf could fix it. On 4 Jun 2004, at 14:37, Dean A. Hoover wrote: Sorry if this is inappropriate for this list, but I really don't know where else to turn. I figured someone on this list may have solved it. I have a java web application that allows an end-user in their browser to download a file

Re: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Dean A. Hoover
earlier, I am missing something. Hope that helps! Frank From: Dean A. Hoover [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: HTTP header for dynamic pdf and IE6 Date: Fri, 04 Jun 2004 08:37:45 -0400 Sorry if this is inappropriate for this list

Re: form processing

2004-05-21 Thread Dean A. Hoover
. The other set of checkboxes comes up as it was just before I deselected and submitted. I don't understand why they work differently. Any ideas? Dean Hoover Wendy Smoak wrote: From: Dean A. Hoover [mailto:[EMAIL PROTECTED] I don't quite understand how DynaActionForm gets populated when a form

form processing

2004-05-19 Thread Dean A. Hoover
=tiles.editSeriesProps parameter=method forward name=success path=/EditSeries.do/ forward name=failure path=/editSeriesProps.do/ forward name=cancel path=/EditSeries.do/ /action Any ideas why categoryIds is *not* empty? Dean Hoover

Re: R: Struts Taglib recommendations

2004-05-18 Thread Dean A. Hoover
Do you have URLs for them? Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Date Time field validation

2004-05-17 Thread Dean A. Hoover
I'm not sure if this will help but how about escaping the forward slashes; ^\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}$ you may have to escape the backslashes as well (you have to do this when constructing a RE in C: ^\\d{2}\\/\\d{2}\\/\\d{4} \\d{2}:\\d{2}$ don't know about javascript... just a thought. Dean

getting a collection

2004-05-10 Thread Dean A. Hoover
I apologize if this is the wrong place to ask, but I am having trouble solving this problem. I have written a custom JSP tag for use in a struts 1.1 application I am implementing. I have a domain object called Series which has a method getCategoryIds that returns a HashSet of Integers. A Series

Re: upgrading to jstl

2004-05-09 Thread Dean A. Hoover
and I ordered JSTL in Action. I just think it would be nice if I could look somewhere on the struts site and see before and after examples of these various tags. For example, logic:notPresent is replaced by, bean:message is replaced by... with actual simple examples. Thanks. Dean Hoover Niall

upgrading to jstl

2004-05-07 Thread Dean A. Hoover
=forgotPassword.heading/ How *should* I do this? Also, what about other struts tags, like logic:notPresent, etc., etc. Is there an upgrade HOWTO someplace? When I need to use struts tags, should they be the EL versions? Dean Hoover

inserting delimiters

2004-05-05 Thread Dean A. Hoover
would treat the first pass through the loop as a special case. I'm not sure how to do this with the logic or JSTL tags. Thanks. Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: inserting delimiters

2004-05-05 Thread Dean A. Hoover
}//c:if c:out value=$item/ /c:forEach robert -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 8:02 AM To: [EMAIL PROTECTED] Subject: inserting delimiters I have a Collection of Strings that I want to render with delimiters. Suppose The Strings

Re: inserting delimiters

2004-05-05 Thread Dean A. Hoover
}//c:if c:out value=$(seriesCat}/ /c:forEach /c:forEach should produce something like: AAA/BBB/CCCbrDDD/EEE/FFF etc... BTW, this code is untested, but it should work. robert -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 8:01 PM

Re: html:link forward + hard coded parameter

2004-05-04 Thread Dean A. Hoover
version of the html:link tag? Dean Hoover Dean A. Hoover wrote: I want to use a forward I have defined when the user clicks on one of several on a page. A parameter indicates which one the user clicked on. In html, it might look like this: a href=http://abc.com?x=1;One/a a href=http://abc.com?x=2

html:link forward + hard coded parameter

2004-05-03 Thread Dean A. Hoover
this using the html:link tag. Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

detecting session timeout

2004-04-19 Thread Dean A. Hoover
indicating that they took too long to register. I need this same basic session in a number of places, so I really need a general solution. Any ideas? Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: tiles and custom RequestProcessor

2004-04-17 Thread Dean A. Hoover
(ThreadPool.java:688) java.lang.Thread.run(Thread.java:536) Dean A. Hoover wrote: I am using tiles *and* I want to use a custom RequestProcessor to handle HttpSession stuff. It seems that tiles uses its own request processor. I wrote a simple subclass of RequestPorcessor and configured

Re: struts 1.1 and session handling

2004-04-15 Thread Dean A. Hoover
I'll research that, thanks. Doug wrote: How about servlet filters instead? We've started using them for things we want to handle for all URLs, outside of the normal application logic, including session timeout. Dean A. Hoover wrote: I am using struts 1.1 and tomcat 5 for an application. I

Re: Connection Pooling (How i use...)

2004-04-07 Thread Dean A. Hoover
So, are there implied catches in there for SQLException (I assume there are)? In the innermost try block, does the catch rethrow the SQLException so that it cascades to the outer blocks? Just trying to understand the model. Dean Hoover Larry Meadors wrote: Yes. You really might want

tiles confusion

2004-04-06 Thread Dean A. Hoover
in application.properties. Is this possible? Or does the file that is going to be inserted into needs to know the nature of the insertion? Also, I frankly still do not understand the difference between tiles:insert and tiles:get. Dean Hoover

checking tiles-defs.xml

2004-03-31 Thread Dean A. Hoover
? Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: string substitution in tiles

2004-03-29 Thread Dean A. Hoover
Avinash, Where can I download the *-el stuff from? I see a struts-el overview page but I don't see any downloads. Where is this stuff? Thanks. Dean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: