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

How to handle multiple form request in Symfony2

Hello Friends, If you are using multiple forms in symfony2 web page and getting issue to fetch data from multiple form. Please review the code below and make the adjustment accordingly. In the below example I am using two forms 1) $Kickedform ...

Programmatically create Workflow Stages in SharePoint 2013 using CSOM

For creating Stages using CSOM, we have to use StageCreationInformation. 1. First of all, assign basic information to Stage. Microsoft.ProjectServer.Client.StageCreationInformation stageInfo = new Microsoft.ProjectServer.Client.StageCrea...

How does tuples represent recursive relationships type in OpenERP

In OpenERP, Tuple represents recursive relationship of type and the tuple models is a browsable model which start loading relationships type from and use it param ttypes which is a list of relationship types and follow 'one2many' and '...

How to Create a new res.users record for each email address in OpenERP?

A new res.users for email address is created for wizard_data. If users already exist then a new res.users will be ignored. New res.users also have a value for the password field, so that they can receive it by email and Returns the ids of the cre...

How to define Paging in Symfony2

Hello Friends, If you are looking to implement paging in Symfony2, please review the code below and adjust your code accordingly. $data = $this->get('app_cam_taxsetting.taxsetting_repository.taxsetting')->getUserList(); // app_ca...

java.util.Scanner Class

java.util.Scanner Class: It is used to read input from keyboard. It breaks the input provided into tokens using a delimeter (Whitespace). It extends Object  class and implements Iterator & Closeable interface. To use Scanner class we ...

UIAlertViewController with TextFiled in iOS

To Create a alertView with textField in Xcode 7.2 we can Use the the code below to handle the Yes and no action. and also get the text of the textField. You can show this on a viewController.   UIAlertController * alert= [UIAler...

Programmatically create Project documents in SharePoint 2013 using C#

Each project has its own documents in SharePoint. For creating the Project documents, first of all we have to create context by passing the projectSiteUrl. 1. Create context of projectSiteUrl using Microsoft.SharePoint.Client; context =...

How to fetch request variable in symfony2

Hello Friends, If you are looking to fetch request variable submitted through GET method in Symfony2. Suppose your URL :: http://www.abc.com/taxsetting/list?q=xyx You are looking to fetch q value in your controller, please review code below...

DIFFERENCE BETWEEN SESSION AND COOKIE

SESSION- A session contains user information on server side. When a user opens a page, then the information is first transferred to the server, then php will match that information to the server-side cookie. If the browser is closed once, a...

Image Crop in Android

Image cropping in Android, there is a support in some devices by default for cropping image but its not reliable, so here is some code to get rid of this problem. Step 1. Declare crop activity in your manifest like this :- <activity an...

Java Reflection and java.lang.Class class

Java Reflection The run time behaviour of a class can be examined and modified at run time,this process is called java reflection. To examine and change the run time behaviour of a class  java.lang.Class is used which provides many m...

javap tool in Java

 javap tool  javap is a command which when used with a classname, disassembles that class file. This command displays fields,methods and constructors information which are present in the class file with which javap command is us...

Magento - Ajax Add to Cart In Product View & List Page

Add to Cart Functionality using Ajax in MAGENTO : Hello Readers, In order to add Ajax add to cart feature in your product view page, first you should need to know how add to cart button is working. In magento add to cart button is a simple form s...

AngularJS - $interpolate, $compile and $parse

There are three useful services provided by AngularJS for view rendering and evaluating expression which it uses internally. $interpolate :- This service simply takes a string and is used to evaluate expressions. We can run the entire string...

How to fetch form post values in Symfony2

Hello Friends, If you are looking to fetch form posted values in symfony2. Please follow the below code and make adjustment accordingly: Open your controller function where you would like to fetch the values:: $VendorForm->handleReq...

How to create form in Symfony2

Hello Guys, If you are looking to create form in symfony2 the below code might help you: 1) Open your controller file and function where you would like to define form and add below code with require modification: //Define in Controller...

How to catch changing of View Pager slides

After creating a ViewPager (as I also described here ViewPager) we need to catch the changing of slides event. To do this we have a listener OnPageChangeListener i.e, ViewPager.OnPageChangeListener that invokes whenever we chance the page or i...

How to upload large apk size on play store using Expansion Library Tutorial

Its usage: To break the barrier of apk size to upload on Play Store Libraries needs to be installed: Google Play Licensing Library package            Google Play APK Expansio...

How to convert Javascript Arrays to Comma seperated values

The toString() method can be used to convert an array into a string. It returs a result containing string and it will seperate the different elements in the array with commas. var group = ['one','two','three','four']; var conv = group.toS...

How to develop application using Phonegap.

Phonegap is an open source framework that provides us to build mobile applications. It uses some web APIs for the different platforms like android, ios, windows, blackberry. We can add the specific platform in which we want to run the mobile appl...

INHERITANCE IN PHP

Inheritance is one of the most important concept of OOP. In inheritance one class works as a base class for one more than one class. In this derived class inherits all the properties and methods of base class. Inheritance makes our work easier...

How to define routing in Symfony2

Hello Friends, If you are looking to implement routing in symfony2, like I have created a new controller like "listAction" in my controller file and now want to run this on browser. My controller file look like <?php nam...

How to create OverShoot Image animation function in android

 In the below example I have created Overshoot animation function. Here I have added Button and ImageView in actvity_main.xml layout then I have created new directory (anim). In anim directory I have created overshoot.xml layout and In MainA...

How to create function to returns value of product name, unit price based on event in OpenERP?

In OpenERP first you have to create the product and price of the product and then relate both price and product to the event form and return the value of the product and validate it to database like as in param self and param cr. Param self ...

How to create function of open event registration and send email to user in OpenERP

In OpenERP, first we create registration in event form and then pass the param ids like as list of event registration's IDs and also mapp to the standard dictionary for contextual values than we create email for users and validate to the even...

How to create linear Image animation function in android

In the below example I have created linear animation function. Here I have added Button and ImageView in actvity_main.xml layout then I have created new directory (anim). In anim directory I have created linear.xml layout and In MainActivity I ha...

Create Color Scheme with Blend Tool in Adobe Illustrator

Hi Guys!! As a graphic designer i know that while working on a project in Illustrator, sometime you definitely want to use the same colors which you are already using but in different tones (as per requirements ) for different objects or illus...

How to add title, subtitle and Image in List View

In the below example I have created  a  ListView in ListView I have added title, subtitle and image. Here first I have added ListView in activity_main.xml layout, then I have created new list_item.xml layout here I have created Relative...

How to add new bundle in Symfony2

Hello Friends, If you are looking to create a new module in Symfony2 and want to integrate this with new bundle. Please follow the below steps:   1) Create your bundle folder under your_project_name/src/App/your_bundle_name like ...

How to use __Call magic function in PHP

Hellow Reader's !, Before going to Discuss about __Call Function in PHP u should know about Magic Function in PHP. If you have ever looked at the source code of open source PHP projects, you might have noticed object methods that begin with a...

How to create module in magento ?

Before we create magento custom module, let’s have a look on code directory structure of magento where we create custom module. Here is only code folder structure. - app (contains code pools, design, configuration, localization and Mage....

Art of Influencing

Completing things and excelling in your association is about utilizing the resources you have available to you to influence partners and influence outcomes. With the right mindset and abilities the task of influencing gets to be easy, with the wr...

Methods to Explode Your Business

Rush to judge but slow to act. Might that be an awesome logic for effective businesses? Ask yourself, does something should be changed? Rush to judge that changes should be made. On the other hand, be slow to act until you get adequate informatio...

What? Me a Leader?

Leadership. The word itself automatically evokes pictures of gallant/heroic figures, solid and capable, and a large portion of us don't see ourselves fitting all the necessary qualities. What does it truly mean to be a leader? Have you...

Angular $q,promises and deferred.

Promises are logics that are executed after any function is completed.  In AngularJS, promises are provided by the in-built $q service. It executes asynchronous functions by registering them with the promise object.   Deferred helps ...

Program of Autoboxing where boxing beats varargs.

varargs varangs is variable arguments. varangs as name suggest allows a method to have 0 or mutiple argument. Autoboxing Autoboxing is converting primitive data type into it's equivalent wrapper type class automatically in Java....

How to create cycle Image animation function in android

In the below example I have created cycle animation function. Here I have added Button and ImageView in actvity_main.xml layout then I have created new directory (anim). In anim directory I have created cycle.xml layout and In MainActivity I have...

Sorting an Array ios

Hello Readers, To sort an array in ios you may use the following code snippet: // Name of the key on basis of which you want to sort NSSortDescriptor *dateDescriptor = [NSSortDescriptor sor...

How To Import Excel files into MySQL with PHP

Hellow Reader's ! In This Blog we are going to import excel file into MySql table using PHP. If you have Excel files that need to be imported into MySQL, you can import them easily with PHP. First you need to download Excel reader File. In th...

Program of Autoboxing where widening beats varargs

Widening Widening in Java can be defined as converting a variable of a particular type into wider type. E.g: short is converted int primitive type. varargs varangs is variable arguments. varangs as name suggest allows a method ...

Program of Autoboxing where widening beats boxing.

Autoboxing Autoboxing is converts primitive data type into it's equivalent wrapper type class automatically in Java. E.g: int primitive type is converted to Integer Wrapper class in autoboxing. Widening Widening in Java can be define...

Autoboxing and Unboxing in Java

Autoboxing Autoboxing is a feature introduced in Java 5 and can be defined as converting primitive data type into it's equivalent wrapper type automatically. In Java,for every primitive type there is a corresponding class of reference...

How to add, remove and check the class using angularJS

We can add, remove or check classes through our angular code: The following is the syntax for adding a class and the corresponding CSS related to that class:   HTML: <div ng-app="addRemove" ng-controller="myCtrl"&g...

IllustratorCC : Touch Type Tool

Hey Guys!! Here I want to talk about a new feature in Adobe Illustrator CC, which is new but a great & very much handy tool & its called  the "Touch Type Tool". Using this tool you can easily select a character from a lin...

How can used volley library & volley methods in android app

In the below example I have created simple demo app used with volley library. First I have added volley support library in build.gradle file, Then I have added Button and Listview in activity_main.xml. I have created a new list_view.xml layout an...

String Function in PHP

String Functions String functions are the part of core PHP. These are used to manipulate string data. Following are some commonly used string functions used in PHP. These are: addslashes  : Adds slashes to specified char...

How user clicks the selection's icon in the web client in OpenERP

In OpenERP for clicking the selection's icon in the web client, first create the users and check all rights of the users and than click the selection icon in web client and compose a default action for the model in the user's selecti...

How to create wizard resource and return the action in OpenERP

In OpenERP when creating the wizard resource than the action of form is returned so agian we have to create the users and relate it to wizard resourse and also clicks the init icon in the web client than retrieve translated version of wizard'...

Validating Captcha code using php

Captcha verification includes: should be a combination of alphanumeric characters. should be case-sensitive fresh captcha is to be displayed whenever a webpage is refreshed. should be refreshed when user enters incorrect value. &...
1 117 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: