Re: BAction modification
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
...or provide an unlock button like this...
<input type="reset" name="unlockforcartoons" value="Unlock"
onclick="unlockFormControls(this.form);return false;" />
function unlockFormControls(objForm) {
for (i = 0; i < objForm.elements.length; i++) {
if (objForm.elements[i].type == 'submit' ||
objForm.elements[i].type == 'button' || objForm.elements[i].type == 'image') {
if (objForm.elements[i].disabled) {
objForm.elements[i].disabled = false;
}
}
}
}
But, I agree, it is probably a good feature to have access to via BAction.
Jake
At 03:25 PM 8/26/2003 -0600, you wrote:
>Just an fyi...
>
>csc_082603_4 - Another patch, this time to BAction, adding a new
>setDisableFormLocking(), hich makes it possible to keep the component from
>using the doSubmitAndLock() call (it will use the doSubmitAndNoLock() call
>instead). This is needed when the target action for the form is showing up
>in another window and not writing over existing window's contents.
>Previously, this scenario was eaving the submit button locked. Thanks to
>Shawn Wilson for this patch.
>
>Just thought everyone should know about this...
>
>Holler if you have questions.
>
>Christian
>
>(PS - just as a further fyi, I'm out of the office for the rest of the week
>while I travel from MT back to PA...so if you email me and I'm slow in
>responding, now you know why ;-)
>----------------------------------------------
>Christian Cryder
>Internet Architect, ATMReports.com
>Project Chair, BarracudaMVC - http://barracudamvc.org
>----------------------------------------------
>"Coffee? I could quit anytime, just not today"
>
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://barracudamvc.org/lists/listinfo/barracuda