Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

@Configuration class-centric use of XML with @ImportResource

Configure beans using @Configuration annotation in Spring Framework : Spring framework is a configuration base framework. In Spring Framework all configuration is done using xml files. But you know anybody can change the xml file, if change is...

Add, Search and Remove Items from Concurrent Dictionary

Concurrent dictionary is the advance version of dictionary that provides a big advantage over dictionary, that is Thread Safety. Concurrent dictionary allows multiple instances to access the object of concurrent dictionary. ConcurrentDictionary t...

ASP.NET Login Controls

Using Login control, we can have a ready to use interface. We integrate login controls with ASP.Net membership and form authenticate to automate user authentication for a website. When a user click on Login button of Login control, Control val...

LINQ

LINQ is used for Data querying in a type safe way. Data to be queried can be XML, SQL, and Object etc. Lets have a look at simple LINQ query: var items = from employee in db.Employee where Employee.Salary < 20000 ...

How to Send AJAX Request Using YAHOO User Interface Library?

If you want to send ajax request using yahoo user interface library, for that follow the below mentioned code step by step. First Import Yahoo libraries in page you want to access them Include namespace echo (reference path) YAHOO.namespac...

How to fix ctools_add_js() not working issue in ctools modal form in drupal 7.x

Hi All, I am sharing my recent experience with C-Tools modal form, I was adding custom js file in ctools modal form in Drupal 7.x using jQuery version 1.8 ctools_ad_js(); and add my code under document.ready(), but my code didn't...

Resuable Template in ASP.NET

Introduction In Visual Studio we have a built-in Web Form template to use, which we further change according to our need. But there may be case, when we want to have a custom template that we want to design as per our requirement and reuse it ...

Action Result And Return Type

Action Result And Return Type In ASP.NET MVC An ActionResult is return type of method/action defined in a controller. ActionResult is a class defined in namespace System.Web.Mvc. Result returned by action/method is called action result. We ca...

Content Place Holder and Master Page

Content Place Holder: As the name itself signifies that the Place Holder control is used to hold the content of another controls on the web page. It does not produce any visible output (it only acts as a container for other controls on the Web...

How to install Java in Linux ?

In this article I will show you how to install the Java on Linux or it's version like CentOS/RedHat 7/6/5 and Fedora. There are lots of article on this top but most of them are misleading and confusing. I will show you simple steps to download an...

Preventing Custom Error page passing the querystring "aspxerrorpath=" ?

Hii all... While working with Custom Error pages I found that Custom error page usually returns the path of the error causing page in the querystring called "aspxerrorpath". To prevent aspxerrorpath passed as a query string in asp.net error ...

How to resolve JQuery Lightbox session object access issue for iPhone ?

Hiii all... I have found something about iPhone and Jquery lightbox. It would be beneficial for those who are working with Jquery lightbox. If you are opening .aspx page in lightbox, and fetching few values from Session object in backend, ...

Script Manager Control

What is Script Manager? ScriptManager control is used to provide support for client-side features AJAX. It manages the client script for AJAX enabled web page. It support partial-page rendering. Features of script Manager 1. Handling Part...

Why Google is not Picking Correct Meta Title on Search Result?

Hello All, There are several blogs posted in the blog section of FindNerd.com and out of which some of the blogs are not indexed in the Google search results with the correct "Meta Title" which it was supposed to pick by the current title ...

View State and Performance

ASP.NET includes several State Management features. One of the feature is ViewState. ViewState is used to preserve values of page and controls between the round trips or the postbacks. It stores information of the specific page. When the user ...

How to import large .sql file to mysql via terminal

If you want to import large sql file to mysql via terminal, here are the steps: First go to terminal, for Linux (UBNTU) user can go directly by pressing Ctrl-Alt-t key. Now write down the following commands in Terminal. mysql -u <userna...

Arrays in C#

Array in C# works as it works in any other language except few differences. When we declare an array we must use a square bracket ([ ]) after the data type. int[ ] number Unlike c arrays, in c# size of array is not part of its type. This...

Asp.net Wizard control

Wizard Control in asp.net The Asp.net wizard is an elegant mechanism to perform set of operation to make our application ease for the end user and developer. It is a group of form to collect user information step by step .The navigation in wi...

Liferay Open URL in Popup Dialog

If you have requirement to open page in Popup Dialog instead of new page you can use following code. This look more professional and keep the user on same page. This is helpful in showing content like user details or payment records etc. In ...

Load Ballancing using Redis server for caching sessions

My last post was on installing Redis server... I found and interesting blog for practical use of Redis Server, Scaling Web applications. Read and enjoy... Load Balance Tomcat with Nginx and Store Sessions in Redis For some time, I w...

Away 3d - How to import md5mesh and anim into away builder ?

How to import md5mesh and anim into away builder ? Step 1 - File/ Import/ TF_CH_Mesh.md5mesh (3d md5mesh format) Step 2 - file/ Import/ TF_CH_NetGun_Animation.md5anim (animation) Step 3 - in Animation tab drag null(skeleton Clip Node...

Handling NSError in Objective

Error in Objective treated as Object and inherited NSObject. NSError object encapsulate three types of information 1) Code - Nsinteger value which give the errors unique identifier 2) Domain - NSString value having error domain 3)...

Best practices Quality Engineers should follow for executing PDLC in a successful way

On executing PDLC a QA engineer should follow this practice: First know the technology Always Learn from your past experiences Ensure sufficient coverage of feature- It includes the following points: (a) Write Use cases (b) Create T...

Form view and element events- (onchange events)

Views in OpenErp:- Two type of views in openerp 1- From Views 2- Tree Views 1- From Views:- In OpenErp Form Views follow many point like as By default, each field is preceded by a label, with its name. Fields are placed in screen right t...

Classes and implementing methods in Objective C

Hello Guys In this blog, I have declared HomeViewController class and explained how to implement methods in class. HOMEVIEWCONROLLER.H #import <UIKit/UIKit.h> @interface HomeViewController : UIViewController // With the help of int...

Self Or Super Keywords in iPhone

The Self and Super Keyword in IOS are important and one should know why and how they are used in objective c. One should always access the instance variables directly from or within an initialization method. Because at the time when property is ...

alloc and init methods in objc

In Objective C we create objects wherever we want. NSObject class is the root class which holds alloc and init methods. Here is an example to understand the concept in details. id Object = [NSObject new]; // Creates and returns an initialize...

Programmatic Caching

The first thing we need to understand is the need of caching. This can be understood by a very simple and most common usage of search functionality. For example we need to search all products that come under furniture by typing in one of the furn...

How to make simple Overlay popup ?

Hello readers! Here is Example of Overlay popup. It is very simple and responsive. Hope it will helps you somewhere. Html:- <div class="container-popup"></div> <div class="popup"> <span id="close">...

Basic openerp module directory structure and _init_.py

Basic openerp module directory structure:- In OpenErp all module of openerp server are located in the server/addons directory, to create all new module in openerp follow this step:- first step is create a subdirectory in the server/addons...

How to connect to icloud calendar?

Hello coder's world, To connect to icloud calendar is not easy task at all. The reason behind this is, iclound does not provide any APIs to connect with it (Click on the link to read more http://blog.sunrise.am/post/74146344289/about-icloud) f...

How to call a function from string in Javascript

Hi, Generally, there are two methods to call a function from a string. Using eval. Using window object. First solution is using **eval**. It is easy to use but generally real programmers avoid to use this. Example 1 without arg...

Form Views Default Rules

Default Rules of Form Views- Form Views shows how each object is displayed in openerp browser. The field disposition in a form view always follows the same principle. Fields are placed on the screen from left to right, and from top to bo...

Setup Push Notification with PhoneGap and Android

Hello All, If you want to setup a push notifications with PhoneGap and Android, here below I am providing the guidelines, you only have to follow the steps one by one- So first of all you have to install push plugin for PhoneGap. The plugi...

osv.osv object in OpenERP

osv.osv object in OpenERP:- OSV is a openerp descriptor class which must inherit all the class modules for openerp development. In other words we can say that, In openerp osv.osv object is actually an orm.Model class and define a new object, ...

Example to demonstrate UI-Routing in AngularJS

What is UI-Route? It is a framework which provide routing for AngularJS. It is completely different from ngRoute, in angularjs you can changes your application views based on state of the application and not just the route URL. With this appr...

Understanding Directives in AngularJS

Directives are the important components of any Angular JS application. Although there are many directives built in angularjs, we often need to create application specific directives i.e. Custom directives. AngularJS directives are extended HTML a...

IBM Bluemix is an ideal platform for building applications

IBM Bluemix is the cloud platform that helps developers rapidly build, manage and run web and mobile applications. I found this interesting tutorial on using Bluemix. Create a coupon-finding app by combining Yelp, Google Maps, Twitter, and ...

How to create XML File in Java using DOM parser?

To create XML file in Java,here we are using DOM parser. By using the below code you can easily create XML file. Write the below Java class to create a XML file: CreateXMLFile.java package com.babita; import java.io.File; import jav...

Remove current label or input field in jquery

Hello, I am writing the code through which we can remove particular label or input field on the click of delete button.It is mostly used when we have three or more forms user interface in our page. To execute the piece of code please add j...

How to create CSV file in java?

Sometime we need to generate CSV from data as per requirement. You can easily create CSV file by following the below steps: Write the following Maven configuration in pom.xml file in your project: <dependency> <groupid>net....

Creating Web Services with PHP and SOAP

What is SOAP?? SOAP stands for Simple Object Access Protocol. SOAP uses HTTP request for intraction between programs. Because of HTTP request is supported by all servers and browsers, that's why it is a best way to communicate between applicat...

Inherit OpenERP Models

Inherit OpenERP Models: There are two ways of Inheritance in openerp:- 1-Object Inheritance - _inherit 2-view inheritance 1-Object Inheritance - Objects may be inherited in some custom or specific modules. It is better to inherit an object...

Basic OpenERP Object Attributes and Different Field Types

An object attributes is defined by declaring some fields with predefined names in the class. Two of them which are required (_name and _columns). The predefined fields are: _auto: Determines whether a corresponding PostgreSQL table must be ...

Create Update, Delete and Insert Functions

Hello, Here I am writing the code to create update, insert and delete functions so that we can use it the same functions anywhere in the project. <?php // function to insert data function insert($table = "", $fieldsArray = array()) {...

Solr integration in CakePHP with solarium client

Hi, Before using Solr in CakePHP, we need to decide which Solr client we are going to use. After doing lots of search I finalized Solarium which is up to date and easy to use. For Installing Solr, I used following link: http://www.shayande...

How to download file in liferay 6.2 ?

Hello Guy's Below code will help you to download file from server using liferay 6.2. Here I am writing a portlet to download file. For better understanding create portlet in your eclipse and follow below steps : Step: 1 Edit view.jsp an...

Special fields in OpenERP

Openerp contain different types of fields and these Fields are divided into three different categories, they are simple fields, relation fields and functional fields. So lets discuss this one by one- 1. Simple Fields- The simple types are integ...

Function fields in OpenERP

Function fields in OpenERP: A functional field is a field whose value is calculated by a function and Fields that do not directly store into the DB but compute their value instead Parameters: fnct, arg=None, fnct_inv=None, fnc...

Liferay: Checking logged in user role in JSP

Many a time we face the requirement where we have to check if the logged in user have Admin role or not on JSP. To do so, it is quite easy and can be done in just simple steps. Let's see how can one know if the logged in user is ...
1 267 292
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: