You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2015/11/03 22:04:03 UTC

svn commit: r1712411 - in /ofbiz/trunk: framework/widget/config/widget.properties specialpurpose/example/widget/example/FormWidgetExampleForms.xml

Author: jleroux
Date: Tue Nov  3 21:04:03 2015
New Revision: 1712411

URL: http://svn.apache.org/viewvc?rev=1712411&view=rev
Log:
Fixes https://issues.apache.org/jira/browse/OFBIZ-6673 "Form layered-modal is not respecting passed (default) width"

Actually this worked perfectly well, I just used size instead of height in the hyperlink definition. Better to not set anything and use default value which are committed uncommented here

Modified:
    ofbiz/trunk/framework/widget/config/widget.properties
    ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml

Modified: ofbiz/trunk/framework/widget/config/widget.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/config/widget.properties?rev=1712411&r1=1712410&r2=1712411&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/config/widget.properties (original)
+++ ofbiz/trunk/framework/widget/config/widget.properties Tue Nov  3 21:04:03 2015
@@ -58,8 +58,8 @@ widget.form.displayhelpText=Y
 widget.defaultNoConditionFind=N
 
 #Default size for layered modal windows  
-#widget.link.default.layered-modal.width=800
-#widget.link.default.layered-modal.height=600
+widget.link.default.layered-modal.width=800
+widget.link.default.layered-modal.height=600
 
 # Configurations for the Widget View Handlers implemented using the MacroScreenViewHandler
 #

Modified: ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml?rev=1712411&r1=1712410&r2=1712411&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml (original)
+++ ofbiz/trunk/specialpurpose/example/widget/example/FormWidgetExampleForms.xml Tue Nov  3 21:04:03 2015
@@ -400,7 +400,7 @@ under the License.
         <!-- ************************ -->
         <field name="emptyField0" title=" "><display/></field>
         <field name="newExample" title=" " widget-area-style="smallSubmit" position="1">
-            <hyperlink also-hidden="false" description="${uiLabelMap.ExampleNewExample} (Layered-modal)" target="EditExampleLayer" link-type="layered-modal" size="100" width="100"/>
+            <hyperlink also-hidden="false" description="${uiLabelMap.ExampleNewExample} (Layered-modal)" target="EditExampleLayer" link-type="layered-modal"/>
         </field>
     </form>
 </forms>