we don't I will open one). Keep in mind this is a new feature and is
> Is there any other way to do what I want ? maybe josnp provided by dwr3 (
> lacking of doc makes developing a game of guessing )
>
> I just want it to be working could you please suggest any alternative
> solution !
>
>
> Jose Noheda wrote:
>
>> I haven't see the store working with a FilteringSelect. That's another
>> test
>> to add to the demo app. I recall something about the queryOptions error.
>> Could you open an issue? There are several bugs with the store API right
>> now
>> that I'll try to fix this week.
>>
>> On Sun, Jun 7, 2009 at 4:39 PM, Rami <
rami@...> wrote:
>>
>>
>>> Hello,
>>>
>>> I've been trying to implement the dwr.data.Store for exactly 44 hours :(
>>> and it's not working!
>>>
>>> HTML+JS CODE:
>>> ============
>>> <html>
>>> <head>
>>> <script type="text/javascript" src="js/dojolib/dojo/dojo.js"
>>> djConfig="parseOnLoad:true, isDebug:true ,modulePaths:{'dwr':
>>> '
http://localhost:8084/cars/dwr'}"></script>
>>>
>>> <link href="js/dojolib/dijit/themes/tundra/tundra.css"
>>> rel="stylesheet" type="text/css">
>>> <link href="js/dojolib/dojo/resources/dojo.css" rel="stylesheet"
>>> type="text/css">
>>>
>>> <script type="text/javascript">
>>> dojo.require("dwr.engine");
>>> dojo.require("dwr.util");
>>> dojo.require("dwr.data.Store");
>>> dojo.require("dwr.interface.Cars");
>>>
>>>
>>> dojo.require("dijit.form.FilteringSelect");
>>> var dwrStore ;
>>>
>>>
>>> var init = function(){
>>> Cars.wip();
>>> dwrStore=new dwr.data.Store("ServerData" ,{ subscribe:false});
>>>
>>> var sele = new dijit.form.FilteringSelect({id: "sele", store:
>>> dwrStore}, "carSelect");
>>>
>>> // dwr.engine.setActiveReverseAjax(true);
>>>
>>>
>>> }
>>> dojo.addOnLoad(init);
>>>
>>>
>>> </script>
>>>
>>> </head>
>>> <body class="tundra">
>>>
>>> <p<input id="carSelect"> </p>
>>> </body>
>>> </html>
>>>
>>>
>>>
>>> JAVA CODE (Cars class):
>>> ========
>>>
>>> public void wip()
>>> {
>>>
>>>
>>> Map<String ,CarInfo> data= new HashMap<String, CarInfo>(); //
>>> CarInfo is POJO set,get methods only
>>>
>>> CarInfo CI=new CarInfo();
>>> CI.setId("2");
>>> CI.setBrand("BMW");
>>> CI.setEngine("V8");
>>> CI.setGear("GGGG");
>>> CI.setMilage("280km");
>>> CI.setModel("650i");
>>> CI.setYear("2007");
>>> data.put("1", CI);
>>>
>>> MapStoreProvider provider = new MapStoreProvider(data,CarInfo.class);
>>> Directory.register("ServerData", provider);
>>> }
>>>
>>>
>>>
>>> Error:
>>> ====
>>>
>>> queryOptions is not currently supported by DwrStore
>>> dijit.form.ComboBox:[object Object]
>>>
>>>
>>>
>>>
>>>
>>> Please help ASAP I really can't avoid thinking of solving this issue
>>> BTW: I hate the grid example within dwr.jar ,specially , the story in
>>> the
>>> source tap !!
>>>
>>> --
>>> View this message in context:
>>>
http://n2.nabble.com/dijit.form.FilteringSelect-%2B-DWR-3-data.Store-tp3038769p3038769.html>>> Sent from the DWR - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:
users-unsubscribe@...
>>> For additional commands, e-mail:
users-help@...
>>>
>>>
>>>
>>
>
>