
Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Validation states
Validation states
We can denote the state of a form through visual,color-based indications.This can be done through using classes as .control-label, .form-control, and .help-block.These are the validation styles for warning, error and success ...
SEVERE: Exception unloading sessions to persistent storage
While making changes in jsp pages in eclipse IDE, i was continously getiing error:
java.io.FileNotFoundException:/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/work/Catalina/localhost/_/SESSIONS.ser
SEVERE: Exception unloading sessions ...
Git Basic WorkFlow
Previous Git Blogs
Intialize git repostiory
First Commit
Two tree architecture and Three tree architecture
Best basic practices for writing commit messages
Viewing the commit logs
To keep things simple I am using only one file...
How to start an Activity with Shared Element Transition Animation
A view that moves from one activity to another in a smooth motion is possible with the help of Shared Element Transition. Its a type of animation when user clicks on certain view in one activity the view smoothly expands to the next activity. Whe...
How to install Laravel 5.0
Laravel 5 is the latest version of Laravel. If we want to install Laravel 5 in our system then we have to write simple command to run the project.
composer create-project laravel/laravel test-laravel-5-project --prefer-dist
Here test-lar...
How to get oldest cache time in point of sale module in openerp
To achieve the oldest cache time first you have to install point of sale module and inherit the pos_config class in your own module and fetch cache ids in pos_config class and then use this function in your own module.
@api.depends('cach...
Understanding The Global Object
The global object is a JavaScript's regular object that serves as a very important purpose: the properties of this object are the globally defined symbols that are available to a JavaScript program.
When the JavaScript execution starts, it creat...
Two tree architecture and Three tree architecture
Two-tree architecture
Is used by lot of other version control systems . In this we have a
repository and a working copy, our working copy begins with the top of our project directory and
below of that might be one or thousands of fil...
How to make TextSwitcher in android
TextSwitcher is useful to animate a label on screen. TextSwitcher animates the current text out and animates the new text. In below example Frist I have created a main layout, In main layout I have added TextSwitcher attributes. See the below exa...
How to Merge Google+ Brand Page With Local Page
When you are working as a social media marketer for Google Plus and have just created a brand page on Google plus account for promoting your product or service then you may have encounte...
How to set a Cookie in Liferay portlet?
Hello Guys
Liferay is an EMS portal to develop java based web appliction and having portlets to write business logics. We can set cookies in liferay portlet without heavily modifying the Liferay portal itself, The best way to set the portlet...
What are various methods to make ajax request in jQuery?
Hello Readers,
Using below jQuery methods, you can make ajax calls.
load(): It's a jquery method and simple method in jquery and the most powerful AJAX method.Load method load the data from the server and returned the data and this return...
How to fetch twitter user feeds using PHP
If you want to display twitter user feeds then use the below code of flow.
First of all for user timeline json you have to visit below twitter link.
http://dev.twitter.com/doc/get/statuses/user_timeline
For detail parameter please visit....
How to use AJAX in WP
If you are looking to use AJAX in WP. Please follow the below example.
var stateName = $('#state').val();
$.ajax({
type: "POST",
url: "<!--?php echo admin_url( 'admin-ajax.php' ); ?-->",
data: { 'action':'custom_d...
Different activities in Risk Management?
Activities in risk management are as follows:-
1.) Risk identification,
2.) Risk prioritization and
3.) Risk treatment
1.) Risk identification:- Risk identification is majorly dependent on the project scope.
It is often carried forward...
How to use HTML5 Local Storage
HTML5 Local Storage(Web Storage) mechanisms provides you the facility to store data much more easy way than cookies. Local storage save the data more secure then cookies, where cookie only can store data up to 5mb, local storage capacity is far l...
Extract Zip File Using PHP
If we do not have access to shell and we want to extract a zip file then just put the below php piece of code and run.
$zipObj = new ZipArchive;
$file = $zipObj->open(zip_file_name.zip);
if ($file == TRUE) {
$zipObj->extractTo('ex...
How to create custom module in joomla
A module is light weight extension which pulls information from database or from joomla components.It can be placed in any predefined module position within joomla template.
For Creating any custom module we need to create four basic files w...
Viewing the commit logs
Previous Blogs
Intialize git repostiory
First Commit
Now viewing our past commit logs we do with git log, and this will show us the log of commits that have taken place till now.
naveen@naveen:/var/www/html/RND/symfony_sites/s...
Cakephp ajax pagination using jquery
Using default pagination helper in cakephp.
<div class="paginator">
<?php echo $paginator->first(' First ', null, null, array('class' => 'disabled')); ?>
<?php echo $paginator->prev('Previous ', null,...
Risk Management?
Risk management is the recognition, analysis, and prioritization/arrangement of risks (defined in ISO 31000 as the effect of uncertainty on objectives) . It is trailed by coordinated/synchronize and low-budget application of resources to reduce, ...
Replace or override function on a Liferay native portlet
Liferay have several ways to modify the functionality of a native Liferay portlet and you can extend the functionality.
Liferay provide most hooked functionality is described by using the liferay-hook.xml file located in /docroot/WEB-INF directo...
Difference between view and task in joomla component
view stands for component view in joomla any component have multiple views for e.g default component. like- com_users have multiple views(register,profile) inside user component. so we can call any view using below url.
index.php?option=co...
Upload File using Aajx
Sometime you need to upload the image without refreshing the page , in that case you can upload the image with the help of ajx using FormData Objects .
To achieve this lets create a form in HTML to upload the file.
<div class="control...
How to create error log in cakephp
For write error in a file we use error log. In cakephp we can create error by using keyword CakeLog. For example
try {
//code here
} catch(Exception $e) {
CakeLog::write('error1', $e->getMessage());
...
How to send email using joomla
We can easily send email in joomla using $mailer = JFactory::getMailer(); which invoke jMail class. It returns a reference to the JMail object.Below is the code which define how to send an email in joomla.
-Invoke JMail Class
$mailer = JFa...
Program in c to print 1 to 100 without using loop
in this program of C language we are not using the any king of loop,we are printing the numbers without loop.
#include
int main(){
int num = 1;
print(num); //it is a function which is calling the value of pri...
Deploy project on tomcat start without project name
When we deploy project in tomcat, by default its run as
http://<ip>:8080/warname/index.jsp
But when we use domain name and wants that on running tomcat automatically the projects main page is opened, we simply need to add following...
How to use Callback Function in jQuery ?
Welcome to FindNerd,
Today we are going to discuss on Callback Function in jQuery.
Firstly let know what is the use of Callback Function ?
This function is executed after the current effect is finished.
In simple way we can say that cal...
Kaleo workflow in custom portlet
Liferay provide default workflow for inbuild portlets but we can use our custom portlets also.
So, I here for you to implement workflow in our custom portlets and make assist of the activity.
Add entity in portlet service.xml regarding your w...
How to convert string to int without using library functions in c
here we are converting string values to the integer without using library functions.
#include
int stringToInt(char[] );
int main(){
char str[10];
int intValue;
printf("Enter any integer as a string:...
How to create Zoom-In & Zoom-Out function in android
If you want to create Zoom-In and Zoom-out of an image using Touch events function check my below example. In below example First I have created a main layout named xml.layout then in xml.layout I have added 2 attributes, first is FrameLayout att...
Using AJAX in ASP.NET
Ajax Calls in ASP.NET
For removing postback in web page you use
1 Update Panels
Update Panels are used when there is partial postback of page can happen.
2 Ajax Calls
If you want to minimize postbacks to the extent Ajax c...
Business Requirement
What Is Business Requirement ?
In the software development lifecycle, business requirements is a stage in which simplifies the requirements or demands of the ultimate consumer. This is very helpful for the designer to design the software or ...
lastIndexOf() method in JavaScript String
JavaScript String lastIndexOf() method : The lastIndexOf() method returns the index of specified value where it last occurred. If no value is matched then this method returns the -1. As it is string the index starts from 0.
Syntax of lastInde...
Slide menu application in iOS.
Hi Friends,
I know there are several applications which are using Slide Menu option. You can find several libraries or classes in Objc to build an app like that.
Here is the most easy and customizable class to get it. Its name is SKSlideVie...
indexOf() method in JavaScript String
JavaScript String indexOf() method : The indexOf() method is used to return the index value of specified string. It will give the index of string comes first from the start. We can also start searching by skipping the number of characters. If val...
Add nested portlets through code in liferay
Hello Guys
We can add nested portlets through code in liferay. Liferay provide this funcationlity, for complete example I will assume that you want to add nested portlet to current page using another portlets action handler.
Add these meth...
How to load module within a component in joomla
This method is really useful when any user want to add module inside component.There must be situation where user need to display specific module for component below is the code which will works:
$position = 'typemoduleposition';
$modu...
How to use stop() method in jQuery ?
Welcome to findnerd, today we are going to discuss on stop() method in jQuery.
Firstly let know what is the use of stop() method ?
So basicaly stop() method is used for stoping animations or effects before it is finished.
syntex of stop(...
How to fetch data from database in php ?
Welcome to findnerd, today we are going to discuss fetch data from database in php .
In this blog you can fetch data from database .
Firstly establish a database connection
Use the mysqli( ) function to established connection to the MySQ...
How to use Intent to send data from one Activity to another in Android
Below I have written the code for how to send data using Intent in Android from one Activity to another.
Intent i = new Intent(getActivity(), UploadWeldService.class);
i.putExtra("mCapturedImagePath", mCapturedImagePath);
...
How to use Ext.define in ExtJS 4
Ext.Define function is a part of EXTJs. ExtJS is a advance javascript framework, It used to create java class and their method by using javascript.
I write the Ext.define method below :
Ext.define ( String className, Object data, Func...
Servlet request processing by Web Server and Servlet container
1. Web Server
A web server is basically used to give the response to the request specified by the browser (user). It basically uses HTTP protocol for the transmission of data. eg. A user can request for some page by entering the web addres...
Validation in PHP?
Validation basically meant for test or check the input values which are submitted by the any user while processing any form or process.
PHP allow us two kind of validation there.
Client-Side Validation These Validation we performed on ...
Client Side and Server Side Controls
In .NET Framework we have two types of controls:
1 Client Side
2 Server Side
Client side controls are HTML controls usually used for client end.
Ex : <input type="button" />
Server Side controls ...
How to use slideToggle() Method in jQuery ?
Welcome to findnerd, today we are going to discuss on slideToggle() method in jQuery.
Firstly let know what use of slideToggle() method ?
The jQuery slideToggle() method toggles between the slideDown() and slideUp() methods.
syntex of sl...
Writing a file in PHP
File handling in php allow us to make operation to write in a file .So we can write a new file or we can append text to an already existing file.For this we have fwrite() function in PHP.
Syntax is : -
fwrite(file,string,length);
pa...
How to use prepend() method in jQuery ?
Welcome to findnerd, today we are going to discuss on prepend() method in jQuery.
Firstly let know what use of prepend() method ?
prepend() method is used for inserting at the beginning of the selected elements in jQuery
you can see b...
natsort php
Welcome to FindNerd. Today we are going to discuss the function natsort. There are many sorting function available for different types of sorting like usort,asort etc.
natsort uses natural order algorithm. It is nothing but to sequence element a...
