diff --git a/framework/common/widget/CommonScreens.xml b/framework/common/widget/CommonScreens.xml
index 356e55a012..4270768790 100644
--- a/framework/common/widget/CommonScreens.xml
+++ b/framework/common/widget/CommonScreens.xml
@@ -248,7 +248,14 @@ under the License.
-
+
@@ -270,70 +277,13 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/framework/example/widget/example/FormWidgetExampleLookupScreens.xml b/framework/example/widget/example/FormWidgetExampleLookupScreens.xml
index 9324036623..5d4d4af237 100644
--- a/framework/example/widget/example/FormWidgetExampleLookupScreens.xml
+++ b/framework/example/widget/example/FormWidgetExampleLookupScreens.xml
@@ -52,7 +52,7 @@ under the License.
-
+
@@ -92,7 +92,7 @@ under the License.
-
+
diff --git a/framework/images/webapp/images/fieldlookup.js b/framework/images/webapp/images/fieldlookup.js
index 05845aeb51..c5fcfd878b 100644
--- a/framework/images/webapp/images/fieldlookup.js
+++ b/framework/images/webapp/images/fieldlookup.js
@@ -343,6 +343,7 @@ var FieldLookupPopup = Class.create({
});
new Ajax.Request(this.viewName, {
+ parameters: { presentation : "layer" },
onSuccess: function (transport) {
var lookupContent = transport.responseText;
lookupDiv.appendChild(lookupCont);
@@ -678,6 +679,7 @@ function lookupPaginationAjaxRequest(navAction, form, type, lookupDiv) {
if (type == 'link') {
navAction = navAction.substring(0, navAction.length - 1);
}
+ navAction = navAction + "&presentation=layer";
new Ajax.Request(navAction, {
method: 'get',
requestHeaders: {
@@ -686,7 +688,7 @@ function lookupPaginationAjaxRequest(navAction, form, type, lookupDiv) {
onSuccess: function (transport) {
var formRequest = transport.responseText;
$('fieldLookupContent').remove();
- $('fieldLookup').insert({
+ lookupDiv.insert({
bottom: "" + formRequest + "
"
});
modifySubmitButton(lookupDiv);