tags:

views:

44

answers:

0

I'm using QueryReadStore as data and displaying the widget using the declarative way.

My store looks like this:

<div style="display:none" jsId="role_store" url="some/url/here" 
    requestMethod="post"   dojoType="dojox.data.QueryReadStore"></div>

My widget is like this:

<input dojoType="dijit.form.FilteringSelect"
    id="role_id"
    name="role_name"
    required="false"
    store="role_store"
    value="100"
    searchAttr="description">

Scenario:

  • store is declared inside the HTML page.
  • widget is loaded using parse.parse in the javascript.

Issue:

At first click no displayed value on the widget. But at the second click, values are displayed right.