Mail Archive Home | barracuda-commits List | June 2003 Index
| <-- Date Index | <-- Thread Index |
CVSROOT: /var/cvs
Module name: Barracuda
Repository: Barracuda/src/org/enhydra/barracuda/core/comp/scripting/
Changes by: jacobk@xxxxxxxxxxxxxxxxx(none) 03/06/23 23:09:09
Modified files:
Barracuda/src/org/enhydra/barracuda/: A_Changes_History.java
Barracuda/src/org/enhydra/barracuda/core/comp/renderer/html/:
HTMLActionRenderer.java
Barracuda/src/org/enhydra/barracuda/core/comp/scripting/:
BScriptResource.java
Log message:
* <p><b>jrk_20030624.1</b> - Update HTMLActionRenderer to behave
better with input elements
* or button elements of type "button" when javascript
isn't allowed (eg... the client
* is not registered with Barracuda as supporting javascript,
javascript is disabled on a
* client that normally supports javascript, or the render
strategy has been intentionally set
* to not allow scripting). Instead of throwing an exception,
modify these elements by setting
* their "type" attribute to "submit".
However, if the pre-existing type
* is something other than "submit" or
"button", then throw the exception,
* otherwise we'd be overstepping our bounds.</p>
* <p>Also updated BScriptResource to contain static constants for
references to existing Barracuda
* scripts so we don't have to write the full path to those
scripts all the time. Besides being
* cleaner, this is less error prone. Modified HTMLActionRenderer
to use these constants.</p>
* <p>Also cleaned up HTMLActionRenderer and consolidated some
common code. Added new
* private static utility method clientScriptingAllowed() to
encapsulate logic for determining
* if scripting is enabled/allowed. Updated some of the Javadoc
comments as well. Still more to
* do such as fix it so that if scripting is disabled on the
client, we actually see that and
* modify the render strategy to that of flagging scripting not
allowed. Also, may need to figure
* out how to deal with null form elements.</p>
Jake
===================================================================
File: no file A_Changes_History.java Status: Unknown
Working revision: No entry for A_Changes_History.java
Repository revision: No revision control file
===================================================================
File: no file HTMLActionRenderer.java Status: Unknown
Working revision: No entry for HTMLActionRenderer.java
Repository revision: No revision control file
===================================================================
File: no file BScriptResource.java Status: Needs Checkout
Working revision: 1.6 Tue Jun 24 05:09:09 2003
Repository revision: 1.6
/var/cvs/Barracuda/src/org/enhydra/barracuda/core/comp/scripting/BScriptResource.java,v
Existing Tags:
Barracuda_1_2_0 (revision: 1.5)
jrk_20030217 (revision: 1.5)
jrk_20030203 (revision: 1.5)
csc_122702_2 (revision: 1.4)
BARRACUDA_PRE_REFACTORING (revision: 1.3)
Barracuda_1_1_1 (revision: 1.3)
Barracuda_1_1_0 (revision: 1.3)
| <-- Date Index | <-- Thread Index |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.