Changes between Version 2 and Version 3 of Release/1.1/Notes


Ignore:
Timestamp:
12/12/11 22:44:47 (6 years ago)
Author:
ahocevar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Release/1.1/Notes

    v2 v3  
    1818
    1919 In 1.0 and before {{{GeoExt.form.toFilter}}} always returns a logical filter ({{{OpenLayers.Filter.Logical}}}), even if there's only one field in the form. In 1.1, if there's only one field in the form (and if {{{logicalOp}}} isn't {{{OpenLayers.Filter.Logical.NOT}}}) then {{{GeoExt.form.toFilter}}} doesn't return a logical filter, it directly returns the comparison filter associated with the field.
     20
     21 * {{{GeoExt.data.PrintProvider}}} #399
     22
     23 If application devs still want to propose "inline" pdf display, they should do it using the PrintProvider::beforedownload event. The following is an example:
     24 {{{
     25beforedownload: function(pp, url) {
     26    if (Ext.isIE) {
     27        new Ext.Window({
     28            width: 150,
     29            html: '<button onclick="javascript:window.open(\'' + url +  '\')">Click me!</button>'
     30        }).show();
     31        return false;
     32    }
     33}
     34}}}