<html><head><base href="x-msg://19367/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><div>On Sep 13, 2011, at 9:19 AM, Tito, Joseph wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Charles,<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Were you passing the viewparams like I am through javascript? Would you be able to show me your javascript code and the sqlview you created? Maybe I’m missing something small?</span></div></div></div></blockquote><div><br></div>My javascript boils down to </div><div><br></div><div><pre id="line1">var viewparams = 'ids:1\\,2\\,3';
store.load({
<span class="Apple-tab-span" style="white-space: pre; ">        </span>...
        params: {
        <span class="Apple-tab-span" style="white-space: pre; ">        </span>...
        <span class="Apple-tab-span" style="white-space: pre; ">        </span>viewparams: viewparams
        }
});        </pre><div><br></div><div>Where my store is a <span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">GeoExt.data.FeatureStore with a </span><span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">OpenLayers.Layer.Vector layer</span></div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><br></span></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">hth</span></font></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;">charles</span></font></div><div><br></div></div><br></body></html>