ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jler...@apache.org
Subject svn commit: r917940 - in /ofbiz/trunk: framework/example/widget/example/ framework/images/webapp/images/ framework/widget/dtd/ framework/widget/src/org/ofbiz/widget/form/ framework/widget/templates/ themes/bizznesstime/webapp/bizznesstime/css/ themes/b...
Date Tue, 02 Mar 2010 10:02:05 GMT
Author: jleroux
Date: Tue Mar  2 10:02:04 2010
New Revision: 917940

URL: http://svn.apache.org/viewvc?rev=917940&view=rev
Log:
A slightly modified patch from Sascha Rodekamp " Some improvements for the layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3524)
- OFBIZ-3524

A flag was added to fade the background behind the layered lookup (ie all the screen but the
lookup) when a layer is opened.

Added:
    ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/images/faded_background.png   (with
props)
    ofbiz/trunk/themes/bluelight/webapp/bluelight/images/faded_background.png   (with props)
    ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/images/faded_background.png  
(with props)
    ofbiz/trunk/themes/flatgrey/webapp/flatgrey/faded_background.png   (with props)
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/faded_background.png   (with props)
Modified:
    ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml
    ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
    ofbiz/trunk/framework/widget/dtd/widget-form.xsd
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java
    ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl
    ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl
    ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
    ofbiz/trunk/framework/widget/templates/textFormMacroLibrary.ftl
    ofbiz/trunk/framework/widget/templates/xmlFormMacroLibrary.ftl
    ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css
    ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css
    ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css
    ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css
    ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css

Modified: ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml (original)
+++ ofbiz/trunk/framework/example/widget/example/FormWidgetExampleForms.xml Tue Mar  2 10:02:04
2010
@@ -285,7 +285,7 @@
         <!-- Standard LookupLayer -->
         <field name="partyIdFrom" position="1" title="${uiLabelMap.CommonPartyID} ${uiLabelMap.CommonFrom}"><lookup
target-form-name="LookupPartyExamplePopup" presentation="layer" position="normal"/></field>
         <!-- passes the name in one and the id in another field, the layer is centered
-->
-        <field name="partyIdTo" position="2" title="${uiLabelMap.CommonPartyID} ${uiLabelMap.CommonTo}"><lookup
target-form-name="LookupPartyExamplePopupByName" description-field-name="partyIdFrom" presentation="layer"
position="center" height="500px" width="600px"/></field>
+        <field name="partyIdTo" position="2" title="${uiLabelMap.CommonPartyID} ${uiLabelMap.CommonTo}"><lookup
target-form-name="LookupPartyExamplePopupByName" description-field-name="partyIdTo" presentation="layer"
position="center" height="500px" width="600px" fade-background="true"/></field>
     </form>
 
     <form name="SelectionBoxesExampleForm" type="single">

Modified: ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/fieldlookup.js?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/fieldlookup.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/fieldlookup.js Tue Mar  2 10:02:04 2010
@@ -45,7 +45,7 @@
     if (! viewheight) viewheight = 200;
     fieldLookup.popup(viewName, formName, viewWidth, viewheight);
 }
-function call_fieldlookupLayer(target, viewName, lookupWidth, lookupHeight, lookupPosition)
{
+function call_fieldlookupLayer(target, viewName, lookupWidth, lookupHeight, lookupPosition,
fadeBackground) {
     if (isEmpty(target) || isEmpty(viewName)) {
         return lookup_error("Lookup can't be created, one of these variables is missing:
target=" + target + " viewName=" + viewName);
     }
@@ -56,12 +56,12 @@
             return;
         }
     }
-    var fieldLookupPopup = new FieldLookupPopup(target, viewName, lookupWidth, lookupHeight,
lookupPosition);
+    var fieldLookupPopup = new FieldLookupPopup(target, viewName, lookupWidth, lookupHeight,
lookupPosition, fadeBackground);
     fieldLookupPopup.showLookup();
     this.target = target;
 }
 
-function call_fieldlookupLayer3(target, target2, viewName, lookupWidth, lookupHeight, lookupPosition)
{
+function call_fieldlookupLayer3(target, target2, viewName, lookupWidth, lookupHeight, lookupPosition,
fadeBackground) {
     if (isEmpty(target) || isEmpty(target2) || isEmpty(viewName)) {
         return lookup_error("Lookup can't be created, one of these variables is missing:
target=" + target + " target2=" + target2 + " viewName=" + viewName);
     }
@@ -72,7 +72,7 @@
             return;
         }
     }
-    var fieldLookupPopup = new FieldLookupPopup(target, viewName, lookupWidth, lookupHeight,
lookupPosition);
+    var fieldLookupPopup = new FieldLookupPopup(target, viewName, lookupWidth, lookupHeight,
lookupPosition, fadeBackground);
     fieldLookupPopup.showLookup();
     this.target = target;
     this.target2 = target2;
@@ -185,13 +185,17 @@
 * position - normal (under the target field), center (layer is centered) [default: normal]
-- !work still in process
 */
 var FieldLookupPopup = Class.create({
-    initialize: function (target, viewName, lookupWidth, lookupHeight, position) {
+    initialize: function (target, viewName, lookupWidth, lookupHeight, position, fadeBackground)
{
 
         //removes a existing Lookup
         if (CURRENT_LOOKUP != null) {
             CURRENT_LOOKUP.removeLayer();
         }
 
+        //fade the background if the flag is set
+        if (fadeBackground) {
+            this.createFadedBackground();
+        }
         //set dimension isn't set, set default parameters
         if (isEmpty(lookupWidth)) {
             lookupWidth = '700px';
@@ -296,7 +300,23 @@
             }
         });
     },
+    
+    createFadedBackground: function(){
+        //remove the faded Background if exists
+        var fb = $('fadedBackground')
+        if (fb != null) {
+            fb.parentNode.removeChild(fb);
+        }
 
+        var pageSize = this.getPageSize();
+        var fadedBackground = new Element ('DIV', {
+            id: "fadedBackground",
+            style: "width: " + pageSize[0] + "px; height: " + pageSize[1] + "px;"
+            });
+
+        document.body.appendChild(fadedBackground);
+    },
+    
     setPosition: function (lookupDiv) {
         //set layer position
         var bdy = document.body;
@@ -384,8 +404,62 @@
         Element.stopObserving(document, "keypress");
         Element.stopObserving(document, "mousedown");
         CURRENT_LOOKUP.divRef.parentNode.removeChild(CURRENT_LOOKUP.divRef);
+        //remove the faded Background if exists
+        var fb = $('fadedBackground')
+        if (fb != null){
+            fb.parentNode.removeChild(fb);
+        }
         CURRENT_LOOKUP = null;
         this.target = null;
+    },
+    
+    getPageSize: function() {
+
+        var xScroll, yScroll;
+
+        if (window.innerHeight && window.scrollMaxY) {
+            xScroll = window.innerWidth + window.scrollMaxX;
+            yScroll = window.innerHeight + window.scrollMaxY;
+        } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but
Explorer Mac
+            xScroll = document.body.scrollWidth;
+            yScroll = document.body.scrollHeight;
+        } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
+            xScroll = document.body.offsetWidth;
+            yScroll = document.body.offsetHeight;
+        }
+
+        var windowWidth, windowHeight;
+
+        if (self.innerHeight) {    // all except Explorer
+            if (document.documentElement.clientWidth){
+                windowWidth = document.documentElement.clientWidth;
+            } else {
+                windowWidth = self.innerWidth;
+            }
+            windowHeight = self.innerHeight;
+        } else if (document.documentElement && document.documentElement.clientHeight)
{ // Explorer 6 Strict Mode
+            windowWidth = document.documentElement.clientWidth;
+            windowHeight = document.documentElement.clientHeight;
+        } else if (document.body) { // other Explorers
+            windowWidth = document.body.clientWidth;
+            windowHeight = document.body.clientHeight;
+        }
+
+        // for small pages with total height less then height of the viewport
+        if (yScroll < windowHeight){
+            pageHeight = windowHeight;
+        } else {
+            pageHeight = yScroll;
+        }
+
+        // for small pages with total width less then width of the viewport
+        if (xScroll < windowWidth){
+            pageWidth = xScroll;
+        } else {
+            pageWidth = windowWidth;
+        }
+
+        return [pageWidth,pageHeight];
     }
 });
 

Modified: ofbiz/trunk/framework/widget/dtd/widget-form.xsd
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/dtd/widget-form.xsd?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/dtd/widget-form.xsd (original)
+++ ofbiz/trunk/framework/widget/dtd/widget-form.xsd Tue Mar  2 10:02:04 2010
@@ -938,6 +938,15 @@
                 </xs:restriction>
             </xs:simpleType>
         </xs:attribute>
+        <xs:attribute name="fade-background" default="false">
+            <xs:annotation><xs:documentation>True = The Background will be faded.</xs:documentation></xs:annotation>
+            <xs:simpleType>
+                <xs:restriction base="xs:string">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="password" substitutionGroup="AllFields">
         <xs:complexType>

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java Tue Mar
 2 10:02:04 2010
@@ -1953,6 +1953,11 @@
             lookupPosition = "";
         }
 
+        String fadeBackground = lookupField.getFadeBackground();
+        if (UtilValidate.isEmpty(fadeBackground)){
+            fadeBackground = "false";
+        }
+
         StringWriter sr = new StringWriter();
         sr.append("<@renderLookupField ");
         sr.append(" className=\"");
@@ -2004,6 +2009,8 @@
         sr.append(lookupWidth);
         sr.append("\" lookupPosition=\"");
         sr.append(lookupPosition);
+        sr.append("\" fadeBackground=\"");
+        sr.append(fadeBackground);
         sr.append("\" />");
         executeMacro(sr.toString());
 

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java Tue Mar  2
10:02:04 2010
@@ -3475,6 +3475,7 @@
         protected String lookupWidth;
         protected String lookupHeight;
         protected String lookupPosition;
+        protected String fadeBackground;
 
         public LookupField(Element element, ModelFormField modelFormField) {
             super(element, modelFormField);
@@ -3485,6 +3486,7 @@
             this.lookupHeight = element.getAttribute("height");
             this.lookupWidth = element.getAttribute("width");
             this.lookupPosition = element.getAttribute("position");
+            this.fadeBackground = element.getAttribute("fade-background");
 
             Element subHyperlinkElement = UtilXml.firstChildElement(element, "sub-hyperlink");
             if (subHyperlinkElement != null) {
@@ -3564,6 +3566,14 @@
         public void setLookupPosition(String str) {
             this.lookupPosition = str;
         }
+
+        public String getFadeBackground() {
+            return this.fadeBackground;
+        }
+
+        public void setFadeBackground(String str) {
+            this.fadeBackground = str;
+        }
     }
 
     public static class FileField extends TextField {

Modified: ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/csvFormMacroLibrary.ftl Tue Mar  2 10:02:04 2010
@@ -103,7 +103,7 @@
 <@renderField value />
 </#macro>
 
-<#macro renderLookupField className alert name value size maxlength id event action disabled
autocomplete descriptionFieldName formName lookupFieldFormName targetParameterIter imgSrc
ajaxUrl ajaxEnabled lookupPresentation lookupWidth lookupHeight lookupPosition></#macro>
+<#macro renderLookupField className alert name value size maxlength id event action disabled
autocomplete descriptionFieldName formName lookupFieldFormName targetParameterIter imgSrc
ajaxUrl ajaxEnabled lookupPresentation lookupWidth lookupHeight lookupPosition fadeBackground></#macro>
 <#macro renderNextPrev paginateStyle paginateFirstStyle viewIndex highIndex listSize viewSize
ajaxEnabled javaScriptEnabled ajaxFirstUrl firstUrl paginateFirstLabel paginatePreviousStyle
ajaxPreviousUrl previousUrl paginatePreviousLabel pageLabel ajaxSelectUrl selectUrl ajaxSelectSizeUrl
selectSizeUrl commonDisplaying paginateNextStyle ajaxNextUrl nextUrl paginateNextLabel paginateLastStyle
ajaxLastUrl lastUrl paginateLastLabel paginateViewSizeLabel></#macro>
 <#macro renderFileField className alert name value size maxlength autocomplete><@renderField
value /></#macro>
 <#macro renderPasswordField className alert name value size maxlength id autocomplete></#macro>

Modified: ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/foFormMacroLibrary.ftl Tue Mar  2 10:02:04 2010
@@ -122,7 +122,7 @@
 <@makeBlock className value />
 </#macro>
 
-<#macro renderLookupField className alert name value size maxlength id event action disabled
autocomplete descriptionFieldName formName lookupFieldFormName targetParameterIter imgSrc
ajaxUrl ajaxEnabled lookupPresentation lookupWidth lookupHeight lookupPosition></#macro>
+<#macro renderLookupField className alert name value size maxlength id event action disabled
autocomplete descriptionFieldName formName lookupFieldFormName targetParameterIter imgSrc
ajaxUrl ajaxEnabled lookupPresentation lookupWidth lookupHeight lookupPosition fadeBackground></#macro>
 <#macro renderNextPrev paginateStyle paginateFirstStyle viewIndex highIndex listSize viewSize
ajaxEnabled javaScriptEnabled ajaxFirstUrl firstUrl paginateFirstLabel paginatePreviousStyle
ajaxPreviousUrl previousUrl paginatePreviousLabel pageLabel ajaxSelectUrl selectUrl ajaxSelectSizeUrl
selectSizeUrl commonDisplaying paginateNextStyle ajaxNextUrl nextUrl paginateNextLabel paginateLastStyle
ajaxLastUrl lastUrl paginateLastLabel paginateViewSizeLabel></#macro>
 <#macro renderFileField className alert name value size maxlength autocomplete><@makeBlock
className value /></#macro>
 <#macro renderPasswordField className alert name value size maxlength id autocomplete><@makeBlock
className "" /></#macro>

Modified: ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl Tue Mar  2 10:02:04 2010
@@ -431,11 +431,11 @@
 </#if>
 </#macro>
 
-<#macro renderLookupField className alert name value size maxlength id event action disabled
autocomplete descriptionFieldName formName lookupFieldFormName targetParameterIter imgSrc
ajaxUrl ajaxEnabled lookupPresentation lookupWidth lookupHeight lookupPosition>
+<#macro renderLookupField className alert name value size maxlength id event action disabled
autocomplete descriptionFieldName formName lookupFieldFormName targetParameterIter imgSrc
ajaxUrl ajaxEnabled lookupPresentation lookupWidth lookupHeight lookupPosition fadeBackground>
 <div class="field-lookup"><ul>
 <#if size?has_content && size="0"><li><input type="hidden" <#if
name?has_content> name="${name}"/></#if></li><#else><li><input
type="text" <@renderClass className alert /><#if name?has_content> name="${name}"</#if><#if
value?has_content> value="${value}"</#if><#if size?has_content> size="${size}"</#if><#if
maxlength?has_content> maxlength="${maxlength}"</#if><#if id?has_content> id="${id}"</#if><#rt/><#if
disabled?has_content && disabled> disabled="disabled"</#if><#rt/><#if
event?has_content && action?has_content> ${event}="${action}"</#if><#rt/><#if
autocomplete?has_content> autocomplete="off"</#if>/><#rt/></li></#if>
 <li><#if lookupPresentation?has_content && descriptionFieldName?has_content
&& lookupPresentation == "layer">
- <a href="javascript:call_fieldlookupLayer3(document.${formName?html}.${name?html}, document.${formName?html}.${descriptionFieldName},'${lookupFieldFormName}','${lookupWidth}','${lookupHeight}','${lookupPosition}'<#rt/>
+ <a href="javascript:call_fieldlookupLayer3(document.${formName?html}.${name?html}, document.${formName?html}.${descriptionFieldName},'${lookupFieldFormName}','${lookupWidth}','${lookupHeight}','${lookupPosition}',
'${fadeBackground}'<#rt/>
 <#elseif lookupPresentation?has_content && lookupPresentation == "layer">
  <a href="javascript:call_fieldlookupLayer(document.${formName?html}.${name?html},'${lookupFieldFormName}','${lookupWidth}','${lookupHeight}','${lookupPosition}'<#rt/>
 <#elseif descriptionFieldName?has_content>

Modified: ofbiz/trunk/framework/widget/templates/textFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/textFormMacroLibrary.ftl?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/textFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/textFormMacroLibrary.ftl Tue Mar  2 10:02:04 2010
@@ -103,7 +103,7 @@
 <@renderField value />
 </#macro>
 
-<#macro renderLookupField className alert name value size maxlength id event action disabled
autocomplete descriptionFieldName formName lookupFieldFormName targetParameterIter imgSrc
ajaxUrl ajaxEnabled lookupPresentation lookupWidth lookupHeight lookupPosition><@renderField
value /></#macro>
+<#macro renderLookupField className alert name value size maxlength id event action disabled
autocomplete descriptionFieldName formName lookupFieldFormName targetParameterIter imgSrc
ajaxUrl ajaxEnabled lookupPresentation lookupWidth lookupHeight lookupPosition fadeBackground><@renderField
value /></#macro>
 <#macro renderNextPrev paginateStyle paginateFirstStyle viewIndex highIndex listSize viewSize
ajaxEnabled javaScriptEnabled ajaxFirstUrl firstUrl paginateFirstLabel paginatePreviousStyle
ajaxPreviousUrl previousUrl paginatePreviousLabel pageLabel ajaxSelectUrl selectUrl ajaxSelectSizeUrl
selectSizeUrl commonDisplaying paginateNextStyle ajaxNextUrl nextUrl paginateNextLabel paginateLastStyle
ajaxLastUrl lastUrl paginateLastLabel paginateViewSizeLabel></#macro>
 <#macro renderFileField className alert name value size maxlength autocomplete><@renderField
value /></#macro>
 <#macro renderPasswordField className alert name value size maxlength id autocomplete></#macro>

Modified: ofbiz/trunk/framework/widget/templates/xmlFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/xmlFormMacroLibrary.ftl?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/xmlFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/xmlFormMacroLibrary.ftl Tue Mar  2 10:02:04 2010
@@ -96,7 +96,7 @@
 <#macro renderRangeFindField className alert name value size maxlength autocomplete titleStyle
defaultOptionFrom opEquals opGreaterThan opGreaterThanEquals opLessThan opLessThanEquals value2
defaultOptionThru>
 </#macro>
 
-<#macro renderLookupField className alert name value size maxlength id event action disabled
autocomplete descriptionFieldName formName lookupFieldFormName targetParameterIter imgSrc
ajaxUrl ajaxEnabled lookupPresentation lookupWidth lookupHeight lookupPosition></#macro>
+<#macro renderLookupField className alert name value size maxlength id event action disabled
autocomplete descriptionFieldName formName lookupFieldFormName targetParameterIter imgSrc
ajaxUrl ajaxEnabled lookupPresentation lookupWidth lookupHeight lookupPosition fadeBackground></#macro>
 <#macro renderNextPrev paginateStyle paginateFirstStyle viewIndex highIndex listSize viewSize
ajaxEnabled javaScriptEnabled ajaxFirstUrl firstUrl paginateFirstLabel paginatePreviousStyle
ajaxPreviousUrl previousUrl paginatePreviousLabel pageLabel ajaxSelectUrl selectUrl ajaxSelectSizeUrl
selectSizeUrl commonDisplaying paginateNextStyle ajaxNextUrl nextUrl paginateNextLabel paginateLastStyle
ajaxLastUrl lastUrl paginateLastLabel paginateViewSizeLabel></#macro>
 <#macro renderFileField className alert name value size maxlength autocomplete></#macro>
 <#macro renderPasswordField className alert name value size maxlength id autocomplete></#macro>

Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css (original)
+++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css Tue Mar  2 10:02:04
2010
@@ -1454,23 +1454,21 @@
 Lookups
 ***********************************************/
  .fieldLookup{
-    background: #ffffff;
+    background-color: #ffffff;
     border-right: 2px solid #999;
     border-left: 2px solid #999;
     border-bottom: 3px solid #999;
     position: absolute;
     padding: 3px 1 1 1;
     overflow: visible;
-    z-index: 1000;
+    z-index: 110000;
     visibility: visible;
  }
 
  .fieldLookupHeader{
     border-bottom: 1px solid #aaa;
     border-top: 1px solid #999;
-    margin: 0;
     height: 18px;
-    font-size: 12px;
     padding: 3px 0;
     color: #333;
     background-image: url(../images/header_bg.gif);
@@ -1491,9 +1489,6 @@
 
  #fieldLookupContent{
      background-color: #ffffff;
-     margin: 0;
-     padding: 0;
-     border: 0;
      overflow: auto;
      width:100%;
      height:95%;
@@ -1520,3 +1515,13 @@
  #findScreenlet{
      margin-top: 0;
  }
+
+ #fadedBackground {
+     background: url(../images/faded_background.png);
+     position: absolute;
+     overflow: visible;
+     z-index: 109999;
+     visibility: visible;
+     left: 0px;
+     top: 0px;
+ }

Added: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/images/faded_background.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/images/faded_background.png?rev=917940&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/images/faded_background.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/themes/bluelight/webapp/bluelight/images/faded_background.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/images/faded_background.png?rev=917940&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/themes/bluelight/webapp/bluelight/images/faded_background.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css (original)
+++ ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css Tue Mar  2 10:02:04 2010
@@ -2200,14 +2200,13 @@
     position: absolute;
     padding: 3px 1 1 1;
     overflow: visible;
-    z-index: 1000;
+    z-index: 110000;
     visibility: visible;
  }
 
  .fieldLookupHeader{
     border-bottom: 1px solid #aaa;
     border-top: 1px solid #999;
-    margin: 0;
     height: 18px;
     font-size: 12px;
     padding: 3px 0;
@@ -2230,9 +2229,6 @@
 
  #fieldLookupContent{
      background-color: #ffffff;
-     margin: 0;
-     padding: 0;
-     border: 0;
      overflow: auto;
      width:100%;
      height:95%;
@@ -2256,3 +2252,13 @@
  #findScreenlet{
      margin-top: 0;
  }
+
+ #fadedBackground {
+     background: url(images/faded_background.png);
+     position: absolute;
+     overflow: visible;
+     z-index: 109999;
+     visibility: visible;
+     left: 0px;
+     top: 0px;
+ }

Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css (original)
+++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css Tue Mar  2 10:02:04
2010
@@ -2182,19 +2182,18 @@
     position: absolute;
     padding: 3px 1 1 1;
     overflow: visible;
-    z-index: 1000;
+    z-index: 110000;
     visibility: visible;
  }
 
  .fieldLookupHeader{
     border-bottom: 1px solid #aaa;
     border-top: 1px solid #999;
-    margin: 0;
     height: 18px;
     font-size: 12px;
     padding: 3px 0;
     color: #333;
-    background-image: url(../images/header_bg.gif);
+    background-image: url(../images/header_top_bg.gif);
     cursor: move;
  }
 
@@ -2212,9 +2211,6 @@
 
  #fieldLookupContent{
      background-color: #ffffff;
-     margin: 0;
-     padding: 0;
-     border: 0;
      overflow: auto;
      width:100%;
      height:95%;
@@ -2238,4 +2234,14 @@
 /* overwrite*/
  #findScreenlet{
      margin-top: 0;
+ }
+
+ #fadedBackground {
+     background: url(../images/faded_background.png);
+     position: absolute;
+     overflow: visible;
+     z-index: 109999;
+     visibility: visible;
+     left: 0px;
+     top: 0px;
  }
\ No newline at end of file

Added: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/images/faded_background.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/images/faded_background.png?rev=917940&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/images/faded_background.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/faded_background.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/faded_background.png?rev=917940&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/faded_background.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css (original)
+++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css Tue Mar  2 10:02:04 2010
@@ -2228,14 +2228,13 @@
     position: absolute;
     padding: 3px 1 1 1;
     overflow: visible;
-    z-index: 1000;
+    z-index: 110000;
     visibility: visible;
  }
 
  .fieldLookupHeader{
     border-bottom: 1px solid #aaa;
     border-top: 1px solid #999;
-    margin: 0;
     height: 18px;
     font-size: 12px;
     padding: 3px 0;
@@ -2258,9 +2257,6 @@
 
  #fieldLookupContent{
      background-color: #ffffff;
-     margin: 0;
-     padding: 0;
-     border: 0;
      overflow: auto;
      width:100%;
      height:95%;
@@ -2270,7 +2266,6 @@
  #fieldLookupContent ul li a{
      display: inherit;
      padding: 2px 3px 2px 3px;
-     margin: 0;
      cursor: pointer;
      height: auto;
      width: auto;
@@ -2287,3 +2282,13 @@
  #findScreenlet{
      margin-top: 0;
  }
+
+ #fadedBackground {
+     background: url(faded_background.png);
+     position: absolute;
+     overflow: visible;
+     z-index: 109999;
+     visibility: visible;
+     left: 0px;
+     top: 0px;
+ }

Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css?rev=917940&r1=917939&r2=917940&view=diff
==============================================================================
--- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css (original)
+++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css Tue Mar  2 10:02:04 2010
@@ -2382,14 +2382,13 @@
 position: absolute;
 padding: 3px 1 1 1;
 overflow: visible;
-z-index: 1000;
+z-index: 110000;
 visibility: visible;
 }
 
 .fieldLookupHeader {
 border-bottom: 1px solid #aaa;
 border-top: 1px solid #000;
-margin: 0;
 height: 18px;
 font-size: 12px;
 padding: 3px 0;
@@ -2412,9 +2411,6 @@
 
 #fieldLookupContent {
 background-color: #ffffff;
-margin: 0;
-padding: 0;
-border: 0;
 overflow: auto;
 width:100%;
 height:95%;
@@ -2439,6 +2435,16 @@
 margin-top: 0;
 }
 
+#fadedBackground {
+background: url(../images/faded_background.png);
+position: absolute;
+overflow: visible;
+z-index: 109999;
+visibility: visible;
+left: 0px;
+top: 0px;
+}
+
 .row-level-one.alternate-row {
 background-color:#81817F;
 }

Added: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/faded_background.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/faded_background.png?rev=917940&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/images/faded_background.png
------------------------------------------------------------------------------
    svn:mime-type = image/png



Mime
View raw message