RE: How to make a SELECT list readonly? If set disabled, loses the value when submit.

2006-11-02 Thread Dean, Michael
MJ, This is slightly tangential...but I faced a similar problem in trying to prevent "double-submit"... Below is the solution jsp code...refer embedded comments... . . . The narrative: when the user selects the submit button, the onsubmit() method (defined in some external javasc

struts issue...

2006-09-14 Thread Dean, Michael
Interesting problem... I have a submit button which includes a property = "method" with value="Save"...the enclosing form is submitted to a Struts DispatchAction sub-class which is configured to rely on the "method" parameter for delegation. In order to prevent a double-submit, in my onSu

problem with DispatchAction in ActionForward Path

2006-08-08 Thread Dean, Michael
I have the following def in my struts-config: However, when this forward is called in the code, it doesn't invoke the showView() I put a break point in both showView() and unspecified() in DayViewAction.j

RE: Problem with map-based property in ActionForm

2006-07-21 Thread Dean, Michael
Scott: See: http://struts.apache.org/1.2.9/faqs/indexedprops.html I think it remains for you to provide a method a la: public Object getKey(String key) { return values.get(key); } Regards, M -Original Message- From: Scott Van Wart [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2

re: Struts and Ajax

2006-04-06 Thread Dean, Michael
Madhav: I think the idea IS: Once your data stream (drop-down content) is returned to the page (onReadyStateChange()), you'll have a JavasScript handler in place to refresh your drop-down (you manipulate and re-render the DOM node using Javascript). It is all done on the front-end... See

LookupDispatchAction and html:image tag

2005-05-17 Thread Dean, Michael
I've been reading the API docu...trying to figure out how implement LDA where one of my "submit" buttons is an html:image tag...when I dump the request for the standard "html:submit" tag, I can see "method=year" (where property="method" in tag)...of course, when I dump the request for html:image, I