امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبVote count: 0 Im using AlloyUI 3.0. I used the code above: YUI().use( 'aui-datatable', function(Y) { var columns = [ {label: 'ID', key: 'id'}, {label: 'Project Name', key: 'name'}, {label: 'Created At', key: 'created_at'} ], data = []; var myDataTable = new Y.DataTable({ plugins: [ { cfg: { selectRow: true }, fn: Y.Plugin.DataTableSelection }, { cfg: { highlightRange: false, type: 'rows' }, fn: Y.Plugin.DataTableHighlight } ], columns: columns, data: data }) .render("#myDataTable"); } ); How to get the selected row data? How to define the selection event, click, double click, etc? asked 2 mins agoFolken Laccour Fan...
ادامه مطلبVote count: 0 My desktop has a NVIDIA GeForce GTX 745 with 4GB DDR3 and I plan on upgrading to an NVIDIA GeForce GTX 1070 with 8GB DDR3, I have read mixed reviews online and it seems as though too slow of a dedicated PHYSX dedicated graphics card would actually decrease your frame rate. Seeing as the 745 would sell for very cheap and I would feel bad not using all of my hardware, will I see an improvement in performance? Is there any way that I could utilize my old graphics card? asked 42 secs agoCHouse95 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I created an application in Symfony 2.7 allows to retu a set of data in tables. So I tested the variable that I sent to my view twig: description data here Looking how to access such data "array 2 => 0 => ReponsesQues" in the template engine twig. thank you for helping me. asked 37 secs agoCros Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have a ViewHolder Class. class VHHeader extends RecyclerView.ViewHolder{ TextView txtTitle; RecyclerView recyclerView; public VHHeader(View itemView) { super(itemView); this.txtTitle = (TextView)itemView.findViewById(R.id.txtHeader); this.recyclerView =(RecyclerView)itemView.findViewById(R.id.recyclerView); } } Now I want to access this View Holders recycler view in some different method in same adapter class . Public void useRecyclerView(){ } How to use the element of View Holder in this method. asked 41 secs agostack Leaer Let's block ads! بخوانید...
ادامه مطلبVote count: 0 This is my code Template.contactus.events({ 'submit #contactForm': function (e, t) { e.preventDefault(); // Session.set('toAddr', "myEmail"); // Session.set('subject', t.find('#subject').value); // Session.set('fromAddr', t.find('#email').value); // Session.set('content', t.find('#message').value); // Metoer.call('sendEmailF', Session.get('toAddr'), Session.get('fromAddr'), Session.get('subject'), Session.get('content')); Router.go('/aboutus'); } }); I commented out the code to test the Router.go() function, and all what it does is refreshing the current page instead of directing me to aboutus page. What am I doing wrong here? asked 1 min agoBehrouz Riahi Let's block ads! بخوان...
ادامه مطلبVote count: 0 I'm trying to bootstrap my Angular 2 RC5 application following this guide https://angular.io/docs/ts/latest/guide/ngmodule.html Below is my code import { AppModuleNgFactory } from './app.module.ngfactory'; import {platformBrowser} from "@angular/platform-browser"; platformBrowser().bootstrapModuleFactory(AppModuleNgFactory); However , when I tried to compile typescript code, I got the following error appmain.ts(1,36): error TS2307: Caot find module './app.module.ngfactory'. How can I generate the app.module.ngfactory file? Which tool should I use? asked 1 min agoToan Nguyen Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am accessing an Azure Database via MS SQL Server 2014 Management Studio. I do not own the Azure database that I am coecting to. I have coected to this database in the past (with occasional difficulties) but for some reason when I now use the Coect to Server I get the following error: The odd thing is that IP referred to in the error message is my router's IP address as opposed to the IP addressed assigned to me (I checked my IP address using ipchicken(IPCHICKEN). Does anyone know what is happening? asked 28 secs agouser918967 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am building an angular site and using UI-Router, if I click a link to go to a route it works fine but whenever I refresh the page, or if I type the url in manually I get 'Caot GET /find-a-vendor. I have this in my routes file: $stateProvider .state('home', { url: '/', templateUrl: 'views/home.html' }) .state('find', { url: '/find-a-vendor', templateUrl: 'views/find.html' }) I also have $locationProvider.html5Mode(true); in my routes file as well. and in my index I have in the header, is there something I'm missing? asked 39 secs agojmona789 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am having trouble with my Angular JS ui-router and every question I have found on here shows a solutions I have already tried. In my ui-view-tag my actual template is not displayed. This is my app.js angular.module('myApp', ['ui.router']) .config(['$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) { $stateProvider .state('home', { url: '/', templateUrl: 'home.html', controller: 'MainCtrl' }) $urlRouterProvider.otherwise('home'); }]) Thank you very much everybody, I would really appreciate a short feedback on that. asked 46 secs agopatrick Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am trying to lea the UI-Routing in AngularJS I have two views. 1> The default and 2> When a button is clicked. I have edited my code to use multiple views, however that doesn't seem to work. I am sure the code is not perfect but I cant find it. Any help will be appreciated. Code: HTML(index) I have stacked all of my business in a single controller for the time being. Chaels...
ادامه مطلبVote count: 0 I'm a little confused by this error on the server. Exception while invoking method 'slingshotUploadFile' TypeError: Object [object Object] has no method 'getParam' The error appears to be related to var id = FlowRouter.getParam('id'); however when I console.log(id) it prints the correct id. Is FlowRouter.getParam('id'); not suppose to be used in a method? Meteor.methods({ slingshotUploadFile: function( url ) { check(url, String); var id = FlowRouter.getParam('id'); try { Files.insert({ url: url, userId: id, added: new Date() }); } catch( exception ) { retu exception; } } }); asked 22 secs agobp123 This entry passed through the Full-Text RSS service - if this is your content and...
ادامه مطلبVote count: 0 I thought I had iron router nailed but for some reason I'm ruing into issues with it not displaying additional views beyond the root default template - and it used to work fine. Basically I have a default layout template for the main view. Then I have a dynamic route that essentially displays different user lists. you can see this here: placelist.meteorapp.com - main placelist.meteorapp.com/cmeelater - dynamic user lists The main view is totally fine (has a logged in and logged out state) but the template for the sub routes (/) isn't displaying - instead it's displaying the default template. It was working before but now I'm a slightly lost. Any help would be super appreciated....
ادامه مطلبVote count: 0 I try to mix Meteor 1.3 and FlowRouter with OnsenUI 2 Vanilla JS. I want add transition animation for route change. OnsenUI has this feature as this: https://onsen.io/v2/docs/js/navigation.html But I don't now what is the best place for start mix OnsenUI and FlowRouter. Maybe a good point to start is a onAfterAction hook or something like this so I decide to use FlowRouter global triggers based on this: https://github.com/kadirahq/flow-router#triggers This is my layout with navigator: {{> Template.dynamic template=main}} this is my router.js: FlowRouter.triggers.enter([enterPage]); FlowRouter.triggers.exit([exitPage]); function enterPage(context) { // context is the output of `...
ادامه مطلبVote count: 0 I have the following topology: Home broadband coection (mostly for TV and wireless devices) Home Office broadband coection in an adjacent building (mostly wired coections for servers, workstations and printers) I want each building to use its own coection, but I want to be able to use office resources from the house. My initial thought was to have have a subnet for each and coect the two routers together. However, all attempt so far have resulted in all the traffic going through the office coection. Is there a simple solution like subnetting a Class C network? asked 1 min agoAndrew Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I'm trying to get the current route name in my app.component so that I can use the route name as a page class around a wrapper div. I'm trying to figure out the best way to handle this. Previously I was subscribing the the router changes property like I have listed below, but it seems like is no longer available with @angular/router 3.0.0-alpha.3. If anyone has any thoughts or suggestions I would be most grateful. this.router.changes.subscribe((val) => { var path = this._location.path(); if (path.indexOf('page-name') !== -1) { this.pageClass = 'page-name'; } }) asked 57 secs agoRyan Robison Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I'm taking my first steps with react-router. I'm currently using the hashHistory for development purposes and I'm performing 'manual' navigation. That is to say, I'm not using Link and I'm invoking history.push('/some/route'); in order to navigate (in response to plain old clicks on anchor tags). What I'm noticing is that, even when I'm already on the target route, react-router will re-render the relevant target component every time history.push('/target/route'); is invoked: On every push('/target/route'): the fragment part of the URL remains #/target/route the query string part of the URL changes to ?_k=somethingRandom the target component re-renders I would like for that re-r...
ادامه مطلبVote count: 0 I am getting NSMutableArray as response from Smart Router after Association (, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ) According to the Android team I need to avoid the first 4 data. I need to convert it to NSString of (ASCII) like below {"mac":"kanok","pass":"kanok","passphrase":"root1234","ssid":"aplsh90","user":"kanok"} I can convert it using this website I know I have to use Convert hex to nsstring or Convert Hex to NSSting and stringByReplacingOccurrencesOfString How Can I convert? asked 2 mins agoShuvo Joseph Let's block ads! بخوانید...
ادامه مطلب