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

How to retrieve or get records from DDLRecord in liferay 6.2

Hello guys To retrieve a record form DDLRecord in liferay 6.2 please follow the below given code. Here in below code I am retrieving records from DDLRecord according recordId. here recordId = 11207. List<DDLRecord> ddlRecords ...

An insight into the latest mobile OS by Google - Android Lollipop 5.0

Android Lollipop- 5.0 is latest operating system launched by Google for smart phones, tablets and smartwatches. The new nexus 6 and Nexus 9 Tablets will be among the first devices to run on it and before the end of this year (2014) it will be set...

Case Sensitive MYSQL select query

Case Sensitive SQL query A select query does not performs case-sensitive query which means if the user name is pravesh, Pravesh, PRAVESH then it will select all users using simple select. Below example of normal mysql select query - SELECT...

Two level or multilevel workflow for Liferay 6.2

Hello guys, many times developers got stuck into the issue that How to create Two level or multilevel workflow for Liferay 6.2. So here below I have created two level or multilevel workflow for liferay 6.2. In which first approver approve the ...

Configure the mail server settings in Liferay 6.2

How to configure mail in liferay 6.2 step 1. Click on control panel-->Server Administration--> Mail Step 2. Configure the mail server settings Incoming POP Server: pop.gmail.com Incoming Port:995 Use a Secure Network Connectio...

Rounded corner in XIB or storyboard

Hi, I am writing for the first time on FindNerd. Many times we need to make buttons, labels, imageview, view to have rounded corner. and we write code as below to perform it. [redButton.layer setCornerRadius:15.0f]; [redButton.laye...

what is clearfix?

Hello readers ! Today We will discuss about clearfix If you have any floating div inside a container and want to clear the floats normally you may are using clear:both class because this is simplest and most common way to solve this. But it...

Getting the connected Wi-Fi name in Android.

If you need to display the connected Wi-Fi name in your application than you just have put this method getConnectedWiFiName in your utility class and call it whenever you need the Wi-Fi network name. public static String getConnectedWiFiName...

Entity FrameWork

Entity Framework Before going through this blog you must be familiar with basic of Asp.net application and Linq expressions. What is Entity Framework? Entity framework is ORM(Object Relational Mapping) which allows to create object and ...

Constraint Error While Creating Customer Invoice

When we are creating a new Customer invoice, than on validating(Clik on validate button) the invoice, we got a " 'Constraint Error': Invoice Number Should be unique " To resolve this error Simply go to settings >> Configurations >&...

Web API's MVC

Web API's Asp.net web Api's is a framework to build http services for web servers and browsers. It gathers definitions, procedures and protocols to help the communication between different computer softwares. HTTP services for example, is b...

***Latest features introduced with C# 4.0 and above versions***

Latest features introduced with C# 4.0 and above versions C# 4.0 is a version of the C# programming language that was released on April 11, 2010. Microsoft released the 4.0 runtime and development environment Visual Studio 2010. Microsoft ...

Getting the signal strength of WI-FI in percentage in android devices.

If you need to display WI-FI signal strength in percentage than you just have put this method getWifiStrengthPercentage in your utility class and call it whenever you need the Signal information. public static int getWifiStrengthPercentage(Co...

Calculate Pay Slip automatically

If we enter employee name in the Pay slip sheet All the information regarding the attendance, leaves and basic sal-expenses should be displayed . First, You need to install hr_payroll module for this. This is the flow you need to follow: ...

How to create scheduler in OpenERP

A Scheduler helps to identify the necessary task, assigns a logical sequence to these tasks and monitor their execution. The main purpose of Scheduler is to identify tasks are on time.(Note: Tag is only used for the next Line). There are two way...

quick run commands for Windows XP.

here are some useful commands which we can use to run the application quickly . Description Command Administrative Tools control.exe admintools Device Managerdevmgmt.msc Direct X Control Panel directx.cpl Auto...

Installation OpenERP 6.1 on Ubuntu

Step 1. Build your server you can install the openssh-server during the install procedure or install subsequently depending on your preference. <pre>sudo apt-get install openssh-server denyhosts</pre> Now make sure you are ...

Divide image in equal parts wrt number of row and number of column.

With the help of following code you can divide UIImage into equal parts w.r.t number of row and number of column. Create a category of UIImageView and UImage and write the following method respectively in them. -(NSArray *)divideImageViewIn...

Enable CakePHP with multilingual support and create PO file using cakephp-script

Enabling multilingual support and creating po locale files are very easy with cakephp-script. We can use cakephp console framework for this. There are few simple steps to create po files first: 1: Navigate to you app folder: cd /path/to/cake...

Change the collation of database, tables and columns

If we have added wrong collation name of the database and its columns the we can get some problem with other languages and special character. All other languages and characters will appear as ????? So we can alter collation of database and tabl...

Web Worker

Introduction A web worker in html5 is a simple JavaScript file. Html5 have an extended functionality to create thread that continues to work on there own in the background without making any compromise in the performance speed of the...

Encript and Decript Data Using with BASE64Encoder and BASE64Decoder

Below written code will be Encrypt and Decrypt Data.This program having used Base64 Encoding which is commonly used in a number of applications including email via MIME, and storing complex data in XML. import java.net.URLDecoder; import ...

Making use of selectize.js for rich user experience

Ever needed something like tagging in your project if yes then we have the latest and most optimised jQuery based library which helps you in tagging, contact lists, country selectors, and so on. The goal of this library is to provide with an e...

Problem with responsive Google AdSense ads

If you are planning to add responsive Google ads then we need to take care of the size of the parent container of the Ads. This is compulsory that size should be in percentage(%). I tried to use this setting and set container's size as 50% in a ...

SVG Shapes

Hello Readers, Today's topic is how to create a SVG?- Every shapes in SVG are based on coordinates (x and y axis). So if you want to edit ,create and script, you have to know about coordinates. SVG has pre define shape like, 1) Circle ...

Reading CSV File from Apache Commons IO Library

Apache FileUtils class provides General file manipulation utilities, All the methods in this class that read a stream are buffered internally. This means that there is no cause to use a BufferedInputStream or BufferedReader. Below written code...

Localization of a module in DotNetNuke

Introduction While creating a website to reach more and more people irrespective of their language, it becomes the need of the time to make the website a multi-lingual application. DNN achieves localization through the use of resource files....

How to use SVG in html

Hello Readers! In this blog we will discuss about SVG. Scalable Vector Graphics (SVG)? is a type of image format, which is based on XML. SVG makes a vector graphic quality in such a way that the graphic quality will not become dull if you zo...

Regex for website.

                   Regular expressions(abbreviated regex or regexp) are the sequence of characters to match different set of patterns ,strings or inpu...

Sticky footer using pure css

Hello folks! The below code is an example of sticky footer using pure CSS. There are other sticky footer methods, which people use but the problem arises that they do not work with all browsers so the method I am providing below will work with...

Ajax Call In MVC

Ajax Call In MVC In my previous blog I had explained Ajax Call in Asp.Net. Now I will explain Ajax Call in MVC. Here, I will explain how to set value of textboxes in model's property and how to set property's value in textboxes. Under M...

HTML5 Page Structure

Hello readers! Here is demo of HTML5 page structure. In this structure we are using semantic elements, so its also called Semantic HTML5 Page Layout. Semantic Elements :- In many website we see html write like shown below- <div class...

Useful Short Hand and CSS Rule Set

Hello readers, Below is some useful example of css rule set and css shorthand. By using css shorthand you can save your time. CSS rule set- Rule set for font declaration:- body {font: italic small-caps normal 13px/150% Arial, Helvetica...

SQL Joins and it's Uses

In SQL **joins** are used when we want to select data and information from two or more tables on the basis of some relationships between one or more columns in tables. SQL Joins are used to relate information in different tables. Thus,we ca...

To Make a Preloader Using HTML and CSS

Hello readers, If you want to make a preloader using HTML and CSS follow the below code: Html <div class="circle"> <div class="inner"> <div class="spot"></div> </div> </div> <...

Ajax Call in ASP.NET

Ajax Call (Asynchronous JavaScript and XML Call) In Asp.Net Ajax Call is used to refresh portion of a webpage without reloading whole page. Ajax Calls are used to create fast web pages as they refreshes only a portion of web page instead of...

How to make simple calculator with the help of Angulor JS

This Script will helpful to make a simple 'addition' 'subtraction' 'multiplication' 'division' calculator with the help of Angular JS. <!DOCTYPE html > <html> <head> <title>Angulor Calculator</title> &...

Hadoop Mapper Utility Class

In example I am going to demonstrate how to load a file from Hadoop Distributed Cache. Here I am writing Mapper and Driver class, inside of Mapper class we have define input type key vale pairs and output type key value pairs. Inside driver c...

What is MDM?

MDM (Master Data Management), it has the object to provide data processing, data collection, matching information, data consolidation, data quality assuring and distribution data throughout organisation and have proper control on data maintenance...

Consuming RESTFul service using .NET

Asp.net provides a client application call by making HTTP requests across the Web. Asp.net enables to create custom Web services or WCF services.Such type architectural style consuming services is called RESTful serviecs. RESTful serv...

Quick Select Set

Hey peeps, You might have found yourself struggling with the selections in maya specially during the process of unwrapping . You make selection and it just disappears and you don't know how to bring it back without using undo command. Heres a...

Types of Mask in Photoshop (part 5)

Welcome back to "Part 5 - Types on Mask in Photoshop". Hello Guys !! In this Blog iam gonna tell you about Adjustment Layer Mask. OK Let's get started. Question 1: How to apply Adjustment Layer Mask? Adjustment Layer Mask is an another ...

Blend Shapes in Autodesk MAYA

Hey fellas, I am back with another article, this time on the very useful option of BLEND SHAPES in Autodesk MAYA. Yaa, I know you all are eager to know what we can do with blend shapes and where can we use them but before that, let me ask y...

Use of Box Sizing

What is box-sizing ? Box-sizing is a css3 property. It is used to tell browser that width padding border should include the object according to size, which is define by user. For example, you have a text area with 100% widt...

Cross Language Interoperability

.Net Framework contains a large library and support for cross language interoperability (i.e., the ability through which each and every language can use code written in other languages) across several programming languages. It also support th...

Use of css Property calc()

Hello readers ! In this blog we will discuss on a css property named calc(). What is calc() ? This is a way to change simply any numeric value in CSS automatically. like height, width, margin, padding, font-size, background-position etc ...

Foundation-5 Cheat sheet

Hello Friends, In the era of new HTML Concepts or platforms like- Bootstrap, Foundation. We are using these platform to make our HTML more elegant and in a responsive Form. Today I am adding something for Foundation CSS platform. L...

Monkey Testing and it's Characteristics

What is Monkey Testing? Monkey Testing is a form of Ad hoc software testing technique in which software is tested by inputting random data. In Monkey Testing, testing is performed on random basis. Characteristics of Monkey Testing: Fol...

Crosstab Query Sample

To convert the rows to column in MySQL Sample query: select column1, count((case when (column2 = 'M') then 0 end)) AS `males`, count((case when (column2 = 'F') then 0 end)) AS `females`,count(0) AS `Total` from table_name group by ...

Linux basics

Here is some basic information about Linux. Linux is basically a UNIX operating system, it is a open source OS which is easily available in market, Linux is made with only one thought in mind :- Everything is a file. Means almost everything y...
1 247 269
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: