Author: julien(a)jboss.com
Date: 2007-04-19 08:40:30 -0400 (Thu, 19 Apr 2007)
New Revision: 7014
Modified:
trunk/theme/src/bin/portal-ajax-war/dyna/dyna.js
trunk/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaRenderOptions.java
Log:
for now partial refresh is blocking (in order to make test case somewhat reliable)
Modified: trunk/theme/src/bin/portal-ajax-war/dyna/dyna.js
===================================================================
--- trunk/theme/src/bin/portal-ajax-war/dyna/dyna.js 2007-04-19 12:36:17 UTC (rev 7013)
+++ trunk/theme/src/bin/portal-ajax-war/dyna/dyna.js 2007-04-19 12:40:30 UTC (rev 7014)
@@ -60,7 +60,7 @@
options.method = "get"
// We don't block
- options.asynchronous = true;
+ options.asynchronous = false;
}
else if (source.nodeName == "INPUT" && source.type ==
"submit")
{
Modified:
trunk/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaRenderOptions.java
===================================================================
---
trunk/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaRenderOptions.java 2007-04-19
12:36:17 UTC (rev 7013)
+++
trunk/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaRenderOptions.java 2007-04-19
12:40:30 UTC (rev 7014)
@@ -36,11 +36,11 @@
/** Drag and drop. */
public static final String DND_ENABLED = "theme.dyna.dnd_enabled";
- /** Partial refreshing. */
+ /** Partial refresh. */
public static final String PARTIAL_REFRESH_ENABLED =
"theme.dyna.partial_refresh_enabled";
- /** Whether or not gets are async. */
- public static final String ASYNC_ASYNC_GET =
"theme.dyna.async_get_enabled";
+ /** Blocking HTTP GET (to do). */
+ public static final String BLOCKING_HTTP_GET_ENABLED =
"theme.dyna.blocking_http_get_enabled";
/**
* Flyweight pattern.
@@ -112,9 +112,6 @@
/** . */
private final Boolean partialRefresh;
- /** . */
-// private final Boolean asyncGet;
-
private DynaRenderOptions(Boolean dnd, Boolean partialRefresh)
{
this.dnd = dnd;
Show replies by date