Posts

javascript - type=number formatting, jquery validate -

i have gotten requirement customer wants numbers seperated space thousands. ex: 1000000 becomes 1 000 000. my application built .net mvc5 , using jquery validate front end validation. i tried format inputs user types, validation wouldn't work. example interprated "8 000" "8". i tried change type=number inputs type=text, numeric validation jquery validate stopped working, html5 features of input=number min/max validation etc. does have idea on how solve this? can imagine solution hidden fields containing actual data, , other fields displaying formatted data, feel hacky, hard maintain , not reliable.

matlab - how to dlmwrite a file from array -

Image
how write cell below in text file(my_data.out)? http_only = cell2mat(http_only) dlmwrite('my_data.out',http_only) i error below:(i have tried solve still return me error) here full code: want generate text file each of data store 'http_only' check meet word in split_url. %data = importdata('data/url/training_url') data = importdata('data/url/testing_url') domain_url = regexp(data,'\w*://[^/]*','match','once') no_http_url = regexp(domain_url,'https?://(?:www\.)?(.*)','tokens','once'); no_http_url = vertcat(no_http_url{:}); split_url = regexp(no_http_url,'[:/.]*','split') [sizedata b] = size(split_url); = 1:100 a7_data = split_url{i}; data2=fopen(strcat('data\webpage_source\testing_data\',int2str(i),'.htm'),'r') chardata = fread(data2, '*char')'; %read text file , store data in chardata fclose(data2); img_only = regex...

Unable to Undo Hijack with IBM Clear Case Eclipse Plugin 7.6.2 and Clear Case 8.0.0.6 -

i have problem, team->undo hijack function doesn't work ibm clear case eclipse plugin 7.6.2 , clear case 8.0.0.6. icon of file changes normal, file still hijacked. in clear case explorer, file still marked hijacked, it's possible undo hijack file clear case explorer. last clear case version 7.x, function worked perfectly. did know problem? thanks , greetings the first check need cleartool ls in parent folder of hijacked file. that confirm status (hijacked, after "undo hijacked") then, recommend closing many apps, , files within eclipse workspace, before attempting again "undo hijacked". possible eclipse keeps handle on resource (file) attempt "undo hijack".

subdomain - Auto login web app through url in Lotus Domino 6.5.4? -

in domino 6.5.4, possible assign newly registered account user new subdomain under our domain (eg. accountid.abc.net) , related database(eg. accountid.nsf); once user opens url(accountid.abc.net) through our email notification, automatically login server , database accountid.nsf opened? yes, possible. unfortunately redirection- documents need applied after http restart, might not best solution you. might find iwaredir- template useful without subdomain, depends on want achieve. but: stackoverflow not there "consulting" best solution quite "generic" topic, concrete questions concrete code issues. so might not best platform question.

java - Decript Jasypt encrypted information -

i encrypting object below entry using spring , hibernate. have salt , password possible decryption information plain text? <bean id="hibernatestringencryptor" class="org.jasypt.hibernate.encryptor.hibernatepbestringencryptor"> <property name="registeredname" value="hibernatestringencryptor" /> <property name="password" value="1234" /> <property name="saltgenerator"> <bean class="org.jasypt.salt.fixedstringsaltgenerator"> <property name="salt" value="1" /> </bean> </property> </bean> @entity @table(name = "bride") @typedef(name = "encryptedstring", typeclass = org.jasypt.hibernate.type.encryptedstringtype.class, parameters = { @parameter(name = "encryptorregisteredname", value = "hibernatestringencryptor") }) public class bridedetails { /...

c# - SharePoint 2010 Web Part Error - Exception from HRESULT: 0x80131904 -

a client of ours encountered problem web part wrote while back. web part advanced search returns results based on information entered text box , criteria selected drop down. web part has been functional on other customer sites , error encountered 1 client not replicated, after extensive testing on our development environment. error appears when search column lookup field , works expected on other field type. have looked around web find resolution specific problem, majority of cases refer sql error of content database being out of space, don't believe case in instance. below full stack trace message receive. resolve problem appreciated! exception hresult: 0x80131904 @ microsoft.sharepoint.spglobal.handlecomexception(comexception comex) @ microsoft.sharepoint.library.sprequest.getlistitemdatawithcallback2(ilistitemsqlclient psqlclient, string bstrurl, string bstrlistname, string bstrviewname, string bstrviewxml, safearrayflags fsafearrayflags, isp2dsafearraywrite...

javascript - tinymce 4 init button -

question tinymce 4-th version. when add button editor.addbutton('cut_tag', { type: 'button', text: '<cut>', name: 'cut_tag', id: 'cut_tag', icon: false, tooltip: 'Вставить cut', onclick: function(e){ editor.insertcontent('[cut]'); this.disabled(true); editor.cut_tag_button = this; // hack - store object in var object var later } }); and want execute code when initializing button, tried 'oninit', 'oncreate', 'setup', etc. no effect. please advice, thank you. you need move onclick event outside add button object. editor.addbutton(...); editor.on('click', function(e) { alert('insert logic here'); }); the syntax has changed little. tinymce migration guide might expla...