Re: svn commit: r658281 - in /ofbiz/trunk/framework: base/src/base/org/ofbiz/base/util/string/ common/widget/ example/config/ example/webapp/example/WEB-INF/ example/widget/example/ images/webapp/images/ widget/dtd/ widget/src/org/ofbiz/widget/form/ widget...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r658281 - in /ofbiz/trunk/framework: base/src/base/org/ofbiz/base/util/string/ common/widget/ example/config/ example/webapp/example/WEB-INF/ example/widget/example/ images/webapp/images/ widget/dtd/ widget/src/org/ofbiz/widget/form/ widget...

Adrian Crum
My apologies for the FlexibleStringExpander.java changes - which have
nothing to do with this commit. That was part of another project. I'll
leave them in though.

-Adrian


[hidden email] wrote:

> Author: adrianc
> Date: Tue May 20 08:33:22 2008
> New Revision: 658281
>
> URL: http://svn.apache.org/viewvc?rev=658281&view=rev
> Log:
> Improved screen widget Ajax support.
>
> The original Ajax work was a great start, but there were limitations. These changes open things up a bit: 1) Ajax rendering falls back to plain HTML when the user has JavaScript disabled. 2) You can have more than one area updated during an event.
>
> IE7 updates only <div> elements, so be aware of that when using the Ajax feature.
>
> See the Example component for a demonstration.
>
> Modified:
>     ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/string/FlexibleStringExpander.java
>     ofbiz/trunk/framework/common/widget/CommonScreens.xml
>     ofbiz/trunk/framework/example/config/ExampleUiLabels.xml
>     ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml
>     ofbiz/trunk/framework/example/widget/example/ExampleAjaxScreens.xml
>     ofbiz/trunk/framework/example/widget/example/ExampleForms.xml
>     ofbiz/trunk/framework/images/webapp/images/selectall.js
>     ofbiz/trunk/framework/widget/dtd/widget-form.xsd
>     ofbiz/trunk/framework/widget/dtd/widget-screen.xsd
>     ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java
>     ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
>     ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java
>     ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenWidget.java
>
> Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/string/FlexibleStringExpander.java
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/string/FlexibleStringExpander.java?rev=658281&r1=658280&r2=658281&view=diff
> ==============================================================================
> --- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/string/FlexibleStringExpander.java (original)
> +++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/string/FlexibleStringExpander.java Tue May 20 08:33:22 2008
> @@ -19,8 +19,6 @@
>  package org.ofbiz.base.util.string;
>  
>  import java.io.Serializable;
> -import java.text.DateFormat;
> -import java.util.Iterator;
>  import java.util.LinkedList;
>  import java.util.List;
>  import java.util.Locale;
> @@ -30,7 +28,6 @@
>  import org.ofbiz.base.util.BshUtil;
>  import org.ofbiz.base.util.Debug;
>  import org.ofbiz.base.util.ObjectType;
> -import org.ofbiz.base.util.UtilDateTime;
>  import org.ofbiz.base.util.UtilValidate;
>  import org.ofbiz.base.util.collections.FlexibleMapAccessor;
>  import org.ofbiz.base.util.UtilFormatOut;
> @@ -48,6 +45,7 @@
>   * and specified (XXX) currency
>   *
>   */
> +@SuppressWarnings("serial")
>  public class FlexibleStringExpander implements Serializable {
>      
>      public static final String module = FlexibleStringExpander.class.getName();
>