
Search In
Following code will help you to add or delete file from document directory.
-(NSString *)saveFileWithOldName:(NSString*)oldNameStr
{
NSArray *dirPaths;
NSString *docsDirs;
NSString *tempStr2;
dirPaths = NSSearchPathForDirectoriesInDo
You Can Use Below Code to Make A Simple Drop Down In HTML With The Help Of Jquery And CSS
***Jquery***
<script>
$(function(){
$('.DropDown > ul > li').on('click', function(){
$('.DropDown ul ul').slideUp();
$(thi
INTRODUCTION
An enum type in Java is a special data type that is defined whenever you need to define a variable with a set of predefined values such as Days of the Week, Months of the Year, items in a menu, etc.
KEY POINTS ABOUT ENUM
An enum typ
IBM recently launched the multitenant feature in SDK Java Technology Edition, Version 7 Release 1.
Each program issuing java command from the command prompt/shell or from GUI invokes an instance of the JVM, which contains resources and the area for
Sometime we need to migrate theme from one installation another. We can do this easily by following the below steps:
1). Create a new theme in Liferay 6.2 using this command.
./create.sh themename “ThemeDisplayName”
themename = The Name of your
Find value in all tables in a Database
Some times we know the value which is in our database, but we don't know the Database architecture and mapping with our code base. So if i want to know that where a particular value store, we can use below quer
Dear programmers,
There may many chances when you try to add external dependencies in your Maven project. Let's learn this how we can add our own jars or external jars in a project with an example.
There are many Maven plugins available, And one o
Hello, if you are using pagination with cakephp framework and want to change the view of pagination just like twitter bootsrap then you can do this by doing follow changes in you view and css.
We can do it by writing some custom classes in view and y
Hello Guys
Liferay allow to create custom portlet to write own business logic or controller code. Portlet is a small application of the liferay.
When we need to define rules on the custom portlet, So we need to add custom portlet in liferay contr
Hello Reader's If you want to print the alert messages in color, i.e. Red for danger and Green for success messages then Twitter Bootstrap offers you a good way to showing this.
Let's see the example as below:-
<!DOCTYPE html>
<html lang="
