Posts

Showing posts from July, 2010

Understanding futures and doall in Clojure -

i came across example on futures in clojure example (let [sleep-and-wait (map (fn [time] (future (thread/sleep time) (println (str "slept " time " sec" )))) [4000 5000])] (doall (map deref sleep-and-wait)) (println "done")) since map produces lazy sequence expect future not started, until call deref on it. deref expected block until future returns result. map elements sequentially, expected code run 9 sec, runs in 5. could explain why? clojure lazy-seqs make no promise maximally lazy. +user=> (take 1 (for [i (range 1000)] (doto (println " - printed")))) (0 - printed 1 - printed 2 - printed 3 - printed 4 - printed 5 - printed 6 - printed 7 - printed 8 - printed 9 - printed 10 - printed 11 - printed 12 - printed 13 - printed 14 - printed 15 - printed 16 - printed 17 - printed 18 - printed 19 - printed 20 - printed 21 - printed 2

json - When trying to Install NPM get an "npm ERR!" -

when i'm trying install: alphaunlimitedg@auns-pc:~/chatapplication$ npm install within terminal in ubuntu 16.04 lts. this btw chat application, working on: { "name":"chat", "version":"0.0.1", "private":"true", "dependencies": { "socket.io":"1.4.8", "express":"4.14.0", } } i error: alphaunlimitedg@auns-pc:~$ npm info socket.io version 1.4.8 alphaunlimitedg@auns-pc:~$ npm info express version 4.14.0 alphaunlimitedg@auns-pc:~$ cd chat application bash: cd: chat: no such file or directory alphaunlimitedg@auns-pc:~$ cd chat application bash: cd: chat: no such file or directory alphaunlimitedg@auns-pc:~$ cd /home/chat application bash: cd: /home/chat: no such file or directory alphaunlimitedg@auns-pc:~$ cd /home/chat application/ bash: cd: /home/chat: no such file or directory alphaunlimitedg@auns-pc:~$ pwd /home/alphaunlim

javascript - Ajax load percentage on page load -

i have many ajax call on page loads. have nested ajax calls. this function getall(){ $.when(http_get('url1')).then(function(response){ $.when(http_get('url2')).then(function(response){ $.when(http_get('url3')).then(function(response){ now how can overall ajax loading percentage show in preloader.

jquery - How to pass custom arguments to dataTables footerCallback -

i want add custom argument footercallback in jquery datatables. this part of code : otableclient = $('#tbl_client').datatable({ "footercallback": function(){ datatablefootercallback('client'); } }); function datatablefootercallback(type, row, data, start, end, display) { var api = this.api(), data; if (type == 'client') { data = api.column(6, {page: 'current'}).data(); } else { data = api.column(5, {page: 'current'}).data(); } } but getting error, typeerror: this.api not function var api = this.api(), data; where wrong? you trying access datatable api on this not exists. every datatable method or callback returns either api or api accessible through this context, have pass if want operate on this.api() in own function. can calling datatablefootercallback() apply() : footercallback: function() { datatablefootercallback.apply(this, arguments) } now h

javascript - Firefox: mouseover doesn't work while mouse button is pressed -

here i'm trying make: https://gfycat.com/validembarrassedhochstettersfrog i want highlight of <td> objects in <table> using mouse. video recorded on chrome, works perfectly. unfortunately doesn't on firefox. here how works: user clicks on first cell in table he drags mouse other cell cells being highlighted code: $("#productlist").on("mousedown", "td", function () { //save start } $("#productlist").on("mouseover mouseenter mouseover hover", "td", function () { //update highlighting, modify classes //this function isn't fired when click on 1 of <td> , drag mouse somewhere else } where #productlist <table> . while in chrome works expected, firefox seem not fire mouseenter event (and other tried). mouseover works on objects i've clicked on. seems firefox considers focused objects when drag using mouse. how can bypass it? edit: 1 important thing mention

c# - Dropdown value coming blank but still going in IF condition -

Image
while submitting form, not selecting value dropdownlist , checking condition as if (request.form["cmbnextuser"] != session["userid"].tostring() || request.form["cmbnextuser"] != null || request.form["cmbnextuser"] != "") { transfermail(); } so, while debugging value comes below. the value coming blank still going in if condition condition 1 causing since comparing value request.form["cmbnextuser"] != session["userid"].tostring() i.e "" != session["userid"].tostring() evaluated ture thats why it executing if block. change code this if (!string.isnullorempty(request.form["cmbnextuser"]) || request.form["cmbnextuser"] != session["userid"].tostring() ) { transfermail(); }

node.js - Ionic-2 Visual Code Project - Debugging/Buid Errors -

i new ionic 2 , beginning try out. have many problems using vs code ide. have installed vscode 1.2.0 , on 4 occasions using i. ionic start myapp --v2 blank ii. ionic start myapp --v2 tabs iii. ionic start myapp --v2 --ts blank iv. ionic start myapp --v2 --ts tabs. for these 4 projects, have different challenges extent none of 4 project have succesfully compile or been built without different errors when vs code. these projects run firing ionic serve in respective directories. in cases of i. & ii. import statements , @ statements had errors until added jsconfig.json file following details; { "compileroptions": { "emitdecoratormetadata": true, "experimentaldecorators": true, "module": "amd", "target": "es6" }, "files": [ "app/app.js" ], "exclude":

c# - Calling item methods on an array of different types -

my task simple: have create dynamic array (which means size can change during runtime) , fill (depends on user input, in runtime) objects of different types. moreover, should possible me access fields (and/or methods) of every object in array. obviously, fields different each type. simplified structure: public class point {} public class righttriangle:point { public double sidea, sideb; } public class circle:point { public double radius; } public class cone:circle { public double radius, height; } so, see: classes inherit 1 base class. , know, these structure kind of illogical, that's not choice. so, want code work: righttriangle rt1 = new righttriangle(); cone cn1 = new cone(); list<point> objs = new list<point>(); objs.add(rt1); sidea_tb.text = objs[0].sidea.tostring(); but doesn't. compiler says there no sidea in point . not work either: public class point { public double sidea, sideb, radius, height; } public class righttriangle:point { public new

javascript - Check if all input field lengths are 7 -

there multiple input fields common class. need check if length of fields 7. this tried, if length of fields 7, if (!lengthcheck) doesn't execute. var lengthcheck = $('.price').filter(function(){ return !$.trim($(this).val()).length != 7; }).length; if(!lengthcheck){ //go ahead } your issue because logic check reversed. need remove leading ! : return $.trim($(this).val()).length != 7; working example

c++ - AllocConsole Questions -

i read msdn documentation on allocconsole , not understand 1 word referring purpose. in minor dll tutorial attaches dll simple console application , in dll, allocconsole called. when remove dll code, nothing changes during runtime. i'm curious main purpose: case dll_process_attach: allocconsole(); printf("\ninjected successfully!"); msgbox(true); break; this has no difference during runtime when remove allocconsole. the msdn documentation allocconsole says: a process can associated 1 console, allocconsole function fails if calling process has console. process can use freeconsole function detach current console, can call allocconsole create new console or attachconsole attach console. so, call if process doesn't have console want have one. common example of might in windows (gui) application, not automatically create , display console. (unlike console application, does, making allocconsole rather useless.)

jquery - JavaScript Dynamic Updates Issue -

i have page works fine on desktop 2 elements give me problem on mobile browser. these svg object , timer. i have 30 second timer when completed animates svg file. this timer works flawlessly in desktop when trying same on mobile browser, the timer dynamically updates when touch , scroll screen or down. i tried using remote debugging chrome using guide: https://developer.chrome.com/devtools/docs/remote-debugging when tried touching screen in debugger error gets logged in console. deferred long-running timer task(s) improve scrolling smoothness. see crbug.com/574343. the timer gets it's value websocket, value being sent via server.js file. here how i'm displaying value in timer : if(data.type == "countdown") { $(window).unbind("beforeunload"); currentcountdown = (data.countdown-1); $("#countdown").text(currentcountdown.tofixed(2)); clearinterval(cdinterval); clearinterval(barinterval); if(originalcountdown <

node.js - how to do nodejs hot deployment in nodeclipse , enide studio, express server? -

i debugging application in nodeclispe/ enide studio. wish change js files on go while express server running, instead of doing server restart. how can that? since debugging application best can use module nodemon , module watches folder files change when file changes application automatically redeployed. to install nodemon use command, install globally: npm install nodemon -g to execute cli use nodemon --debug app.js ps: have in mind when redeployed memory of process flushed , not use nodemon under production environment.

Polymer key global variables undefined. Why? -

i've got strange set of errors load application polymer-micro.html:117 uncaught typeerror: cannot read property '_makeready' of undefined (anonymous function) @ polymer-micro.html:117 the indefined in first 1 polymer.renderstatus polymer.html:3417 uncaught typeerror: polymer.dom not function _findstylehost @ polymer.html:3417 _computestyleproperties @ polymer.html:3461 _applycustomproperties @ polymer.html:3652 fn @ polymer.html:3638 obviously polymer.dom ought function. why not? uncaught typeerror: cannot read property '_iseventbogus' of undefined _notifylistener @ polymer.html:2012 (anonymous function) @ polymer.html:1534 fire @ polymer.html:1277 _notifychange @ polymer.html:1372 _notifyeffect @ polymer.html:1553 _effecteffects @ polymer.html:1405 _propertysetter @ polymer.html:1389 setter @ polymer.html:1468q ueryhandler @ iron-media-query.html:116 this media query generat

sed - How to remove the decorate colors characters in bash output? -

a console program (translate-shell) has output colors , uses special decorate characters this: ^[[22m, ^[[24m, ^[[1m... , on. i'd remove them plain text. i tried tr -d "^[[22m" , sed 's/[\^[[22m]//g', removed number, not special character ^[ thanks. you have multiple options: https://unix.stackexchange.com/questions/14684/removing-control-chars-including-console-codes-colours-from-script-output http://www.commandlinefu.com/commands/view/3584/remove-color-codes-special-characters-with-sed and -no-ansi pointed out jens in other answer edit this command job pretty well: sed -r "s/\x1b\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|k]//g"

javascript - "this" as object membership instead of node reference on an event handler? -

i={};i.have={};i.have.a={};i.have.a.deep={};i.have.a.deep.deep={};i.have.a.deep.deep.deep={}; i.have.a.deep.deep.deep.niceobj = { init: function(){ document.getelementbyid('xx').addeventlistener('click', this.clickhandle) }, some: function(){}, other: function(){ // here can use *this* want this.some(); }, clickhandle: function(e) { // can't use *this* want becouse *this* reffers #xx this.some() // fails!!! // here have trick, realy don't want reffer // full qualified name i.have.a.deep.deep.deep.niceobj._clickhandle(e); }, _clickhandle: function(e) { // here again *this* works want this.some(); } the question is, how can omit use of full qualified object name, inside embedded event handler, occurs in clickhandle? you want bind function this want use. document.getelementbyid('xx').addeventlistener('click', this.clickhandle.bind(this)); this in object function refers caller

java - Whom is a twilio call from? -

for call made through api, how connect sip uri have on file twilio? whom, exactly, call "from"? call sid ca4759gfrjklg45jfgklj54klfsgjf0073a date 10:55:04 utc 2016-07-06 start time 10:55:04 utc 2016-07-06 end time 10:55:19 utc 2016-07-06 duration 15 secs cost $0.015 (202) 456-1111 direction outgoing api secure trunking disabled status completed i appreciate recorded message outgoing calls work, if don't? suppose have pony $ test outbound capability? if indeed making sip calls via rest api, to parameter sip uri want connect , from value used populate username portion of from header passed sip endpoint. may alphanumeric character, plus, minus, underscore, , period characters (+-_.). no spaces or other characters allowed. an example create basic sip dial in java: // install java helper library twilio.com/docs/java/install import com.twilio.sdk.twiliorestclient; import com.twilio.sdk.twiliorestexception;

meteor - MongoDB URL in MeteorD -

i trying use docker meteor application. following git hub instructions i've build docker image (i think) $ docker build -t thismustbedocker/meteorappgit . sending build context docker daemon 125.9 mb step 1 : meteorhacks/meteord:onbuild executing 2 build triggers... step 1 : copy ./ /app step 1 : run bash $meteord_dir/on_build.sh ---> running in eb6f7a698dbf downloading meteor distribution meteor 1.3.2.4 has been installed in home directory (~/.meteor). writing launcher script /usr/local/bin/meteor convenience. to started fast: $ meteor create ~/my_cool_app $ cd ~/my_cool_app $ meteor or see docs at: docs.meteor.com npm warn deprecated version of npm lacks support important features, npm warn deprecated such scoped packages, offered primary npm npm warn deprecated registry. consider upgrading @ least npm@2, if not npm warn deprecated latest stable version. upgrade npm@2, run: npm warn deprecated npm w

java - Kerberos Authentication Error - When loading Hadoop Config Files from SharedPath -

i developing java application , application saving result data hdfs. java application should run in windows machine. we using kerberos authentication , placed keytab file in nas drive. , saved hadoop config files in same nas drive. my issues when load hadoop config files nas drive, throwing me authetication error, application running fine if load config files local file system (i saved config files inside c:\hadoop) below working code snippet. (keytab file in nas, hadoop config files in local file system) static string keytabpath = "\\\\path\\2\\keytabfile\\name.keytab" configuration config = new configuration(); config.set("fs.defaultfs", "hdfs://xxx.xx.xx.com:8020"); config.addresource(new path("c:\\hadoop\\core-site.xml")); config.addresource(new path("c:\\hadoop\\hdfs-site.xml")); config.addresource(new path("c:\\hadoop\\mapred-site.xml")); config.addresource(new path(&

Android tabs in fragment with collapsing toolbar -

i have collapsing toolbar in app. use navigationdrawer , switch between items different fragments, while replacing framelayout , , leaving toolbar across app. one of fragments has tab layout. when show fragment shown underneath toolbar , toolbar shadow overlapping it. want on same level toolbar, , , act in same appbarlayout . also, want make tabs transparent when toolbar expanded. how reorganize layouts work? here xml: main xml: <android.support.v4.widget.drawerlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="right" android:clickable="true" android:layoutdirection="rtl" android:fitssystemwindows="true" android:id="@+id/dra

php - Mysqli dynamic query bind_results -

i wrote 1 databasse class use , used mysqli.i wanted write pdo slow (it not ip connection :) ),and website huge , pdo little slowness big problem,that's why choosed difficult way --mysqli--.i wrote dynamic class bind params dynamicly , usage this: db::getinstance()->query(sql,'ss',array($a,$b)); this useful untill today.i wanted result , count values discover reaally big problem when use num_rows mysqli get_result not work,when use get_result num rows never work,also when use get_result , if want use again same query second 1 not work .also get_result not function because support mysqlid.then have tried bind result useless because every select query should write bind_result(params) not other developers on company also.what should do?pdo slow , website slow,mysqli not developers increase development time.how can bind results dinamicly query?i want write sql statement , bind result should column names dinamicly bind them aoutomaticly , write fetch() , write column

angularjs - Access a directives scope variable from another directive -

i have directive function , access function @ click of button. want access $scope variable function directive , use in directive's view here code directive has function defined in it: $scope.footerlinkclicked = function (item2) { $scope.myvalue = true; console.log("parameter received :" ); $scope.item1 = item2; console.log($scope.item1); $rootscope.$broadcast('item1',$scope.item1); } in other directive's view want like <div class="panel panel-primary" ng-show="myvalue"> now, want acces myvalue variable in directive. way ? thanks in advance! its better 2 use object instead of primitive variable. <one-d my-value="objval"></one-d> <two-d my-value="objval"></two-d> in directive script should use this return { scope: { myvalue: '=' }, link: function(scope, ele, attr) { scope.footerlinkclicked = function(item

python - How to print string and list on same row without square brackets -

l = [1, 2] print "my numbers are:", l this gives me my numbers are: [1, 2] but want my numbers are: 1, 2 i have seen ','.join(l) don't know how print out on same line. for .join work have change every element str : print ', '.join(map(str, l))

Exception thrown error in c -

i'm trying make one-dimension array 89401 elements in c: double **a = (double**)malloc(89401*sizeof(double*)); (i = 0; i<89401; i++) a[i] = (double*)malloc(89401*sizeof(double)); but keep getting error: exception thrown @ 0x003f61e0 in final project 2.exe: 0xc0000005: access violation writing location 0x00000000. i can't figure out what's problem. searched site asked questions none of them contributed me. if there handler exception, program may safely continued. you have made 2 mistakes. first is, said, try create "1d array in size of 89401". in fact try allocate 89401*89401 doubles, seems 2d array. @mikecat wrote huge number, 89401*89401*8 bytes, if have 8 byte doubles. second not handle when memory allocation malloc not successful, i.e. when result null.

How to have certain solutions/projects always show up on start page of Visual Studio 2013? -

Image
i have situation want show 2 solution files @ top on visual studio 2013 start page show in screen shot below, since these solutions critical development. not work these solutions on daily/frequent basis. if open other solutions these 2 solutions moved out of list shown on start page. question : possible have these solutions show on start page , if yes, how it? as hover on recent project there should option pin item recent projects list . move top , there every time start vs

ruby on rails - Nested form fields not showing in polymorphic association -

hi have polymorphic association document model storing document uploads. i'm trying submit document attributes nested attribute via associated model. however, when load form, nested field not show. missing? schema: create_table "documents", force: :cascade |t| t.json "links" t.integer "linkable_id" t.string "linkable_type" t.datetime "created_at" t.datetime "updated_at" end add_index "documents", ["linkable_type", "linkable_id"], name: "index_documents_on_linkable_type_and_linkable_id", using: :btree models: class document < activerecord::base belongs_to :linkable, polymorphic: true belongs_to :user belongs_to :company mount_uploaders :links, docuploader end class customerplan < activerecord::base has_many :documents, as: :linkable accepts_nested_attributes_for :documents end controller: class customerplancon

javascript - store mail id's in to an array using regular expression -

i have html dom string below <div><p>hello,</p> <p>for following campaign: </p> <div style="margin-left:50px"> <strong>account:</strong> blt+ digital [id: 11641] <br> <strong>advertiser:</strong> own [id: 23512576] <br> <strong>campaign:</strong> greenleaf [id: 43551067]</div> <p></p> <p>...the following creatives have been published qa , ready review:</p> <div style="margin-left:50px"><p> <strong>creative:</strong>own_greenleaf_970x250_ros [id: 43588775] <br> <strong>format/dimensions:</strong> inpage[970x250] <br> <strong>mode: </strong> html5</p></div> <p><strong>publisher:</strong> <a>fanaya@bltomato.com</a></p> <p><strong>cced:</strong> <a>drm-support-us@google.com</a>, <a>fanaya.blt@gmail.com</

C++ Bitflaged enum to string -

Image
i'm trying intellisense in visual studio when hover on bitwise-enum (or it's called) variable (while debugging), taking enum , converting string. for example: #include <iostream> enum color { white = 0x0000, red = 0x0001, green = 0x0002, blue = 0x0004, }; int main() { color yellow = color(green | blue); std::cout << yellow << std::endl; return 0; } if hover on yellow you'll see: so want able call like: std::cout << bitwiseenumtostring(yellow) << std::endl; and have output print: green | blue . i wrote following tries provide generic way of printing enum: #include <string> #include <functional> #include <sstream> const char* colortostring(color color) { switch (color) { case white: return "white"; case red: return "red"; case green: return "green"; case blue: return "blue"; de

r - Given an element of a list, how do I recover its index inside the list? -

my problem this: i have list, l, each element matrix of same dimension. need multiply each matrix inside list corresponding element in outside vector h, , sum matrices. set.seed(101) l <- replicate(3,matrix(rnorm(4),2),simplify=false) h <- 2:4 # need l[[1]]*h[1] + l[[2]]*h[2] +l[[3]]*h[3] given need experiment different number of matrices, , have bunch of them, i've got in smart way. idea was l1 <- lapply(l, function(x) x*h[x]) l2 <- reduce('+', l1) where "h[x]" indexing vector h index of matrix x inside list l, get l1 = list(l[[1]]*h[1], l[[2]]*h[2], l[[3]]*h[3]) so, question is, how index of element in list using element itself? h[l[[m1]]] h[1]. or, if got other way of solving problem, how do it? i think you're looking mapply() / map() ( map easier here because doesn't try simplify results): ?map : ‘map’ applies function corresponding elements of given vectors ... ‘map’ simple wrapper ‘mapply’ not attem

c# - WMI .NET Invalid query -

i keep getting "invalid query" exception when trying execute following query: managementobjectsearcher searcher = new managementobjectsearcher("select * win32_diskquota quotavolume.deviceid = 'c:'"); managementobjectcollection quotacollection = searcher.get(); however works: "select * win32_diskquota". according msdn: for uses of class descriptors in clause, wmi flags query invalid , returns error. however, use dot (.) operator properties of type object in wmi. example, following query valid if prop valid property of myclass , type object: select * myclass prop.embedprop = 5 does mean works if prop declared object? here exception details: system.management.managementexception unhandled hresult=-2146233087 message=invalid query source=system.management stacktrace: в system.management.managementexception.throwwithextendedinfo(managementstatus errorcode) в system.management.managementobjectcol

html - white-space: nowrap breaks flexbox layout -

this question has answer here: why doesn't flex item shrink past content size? 1 answer i have created responsive layout app using flexbox. layout calls collapsible menu on left, block header , body in middle , toggleable help-pane on right (there's more that's basic structure). the left menu has 2 states: 180px wide or 80 px wide. pane either hidden, or takes 180px. middle box takes rest of space. flexbox works charm. the trouble starts when make scrolling div using white-space: nowrap . have bunch of items need displayed in horizontal scroller, have list div items, set overflow:auto , white-space: nowrap . usually works charm, breaks flex layout. instead of taking width of parent (flex) div, scroller makes div wider, in turn pushes help-pane out of bounds. the following fiddle illustrates issue: http://jsfiddle.net/piebie/6y291fud/ you ca

javascript - Hide parent li element if the child span element is empty -

i want build jquery supported way hide (li) parent element if child (span) element empty. build such question have no idea why isn´t working. <li data-column="3" class=„parent“> <span class=„childtitle">lorem ipsum</span>: <span class="childvalue"><!—child value--><!—child value--></span> </li> i tried build if question: $( document ).ready(function() { if ($('span.childvalue').is(':empty')){ $(this).parents().hide(); } }); i tried build simple function: $("span.childvalue:empty").parent().hide(); but either dosn´t work. finished code shall build in wordpress child theme javascript. tried different ways none of had result. once fix weird quotes in example code can use this: $('span.childvalue').each(function() { if ($(this).is(':empty')) $(this).parent().hide(); }) jsfiddle example note want use parent() , not parents() hid

Is it better to save multiple documents or less documents with large objects in mongodb? -

i'm using mongodb storing analytics multiple websites. sites have millions of visits day thousands of different urls per day. count number of visits each url has. right i'll need each day data of previous day. is better store each url in it's own document or urls under 1 object in 1 document? multiple documents or less documents large objects inevitably, uses mongodb has choose between using multiple collections id references or embedded documents. both solutions have strengths , weaknesses. learn use both : use separate collections db.posts.find(); {_id: 1, title: 'unicorns awesome', ...} db.comments.find(); {_id: 1, post_id: 1, title: 'i agree', ...} {_id: 2, post_id: 1, title: 'they kill vampires too!', ...} or - use embedded documents db.posts.find(); {_id: 1, title: 'unicorns awesome', ..., comments: [ {title: 'i agree', ...}, {title: 'they kill vampires too!', ...} ]} separate coll

c++ - Behavior of post increment in cout -

this question has answer here: why these constructs (using ++) undefined behavior? 13 answers #include <iostream> using namespace std; main(){ int = 5; cout << i++ << i--<< ++i << --i << << endl; } the above program compiled g++ gives output : 45555 while following program: int x=20,y=35; x =y++ + y + x++ + y++; cout << x<< endl << y; gives result 126 37 can please explain output. cout << i++ << i-- is semantically equivalent to operator<<(operator<<(cout, i++), i--); <------arg1--------->, <-arg2-> $1.9/15- "when calling function (whether or not function inline), every value computation , side effect associated argument expression, or postfix expression designating called function, sequenced before ex

jsf - Updating partial element submits the whole form -

this question has answer here: how decrease request payload of p:ajax during e.g. p:datatable pagination 1 answer i facing such problem. want refresh 1 internal element of h:form , p:datalist , , in order have <p:remotecommand name="updateset" update="import-statuses-admin-list" process="import-statuses-admin-list"/> function updateset called in every 5 seconds. thing that, there other elements in form , sent, eg. <h:selectonemenu value="#{importxmlmanagementbean.statusfilter}" id="statusfilter"> i'd rather have list p:datalist submitted, without sending form. normal behaviour or missing something? add remotecommand attribute update id of datalist want update, , in process specify same.