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

Search In

How to achieve Document Version Contorl in Liferay?

Liferay provides very rich environment to create versions for the Uploaded documents. You can achieve Document Version Control very easily in Liferay by using the below code. Create the object of ServiceContext as below: ServiceContext serviceConte

Restore a Snapshot

As explained on post how to archive a snapshot, Now to restore a snapshot from created archive, use the following sequence of commands: lvcreate --size 1G --name mdb-new vg0 gzip -d -c snap_db-01.gz | dd of=/dev/vg0/mdb-new mount /dev/vg0/mdb-new /s

How to create global variables in CakePHP?

The majority of the developers, develop skepticism in which, what's the correct place/Page in which they should declare the constant variable in cakephp. Previous going to variable declaration, we must consider that any of us will work over a MVC pl

How to create Events managment in OpenERP(Odoo)?

If you want to create Events management in OpenERP (Odoo) follow the below mentioned steps:- Step-1 Install marketing_campaign module Step-2 Go to marketing Menu ->Events ->Events As shown in below screen-shot Step-3 Fill in the following

How to create date column in MySQL to take current date automatically when row inserted

The TIMESTAMP data type is the only data type which is used to have MySQL automatically set the time when a row is inserted and/or updated. DATETIME columns can’t do this. We can define more than one TIMESTAMP column in a table, but only one TIMESTA

Custom Exceptions in Java

An exception is any problem that occurs during the execution of a program and disrupts the normal flow of the program’s instructions.In basic terms, when a condition occurs, in which it is not sure how to proceed in an ordinary way it creates an exce

How to cancel all incoming notifications in android programmatically

In this tutorial we are going to disable the Notifications and still receive the messages. When new notification is posted or removed in status bar, NotificationListener Service is called by the Android OS. NotificationListenerService has methods onC

AngularJS Factory

Hi All, In this we will discuss about factories in Angular JS, as Factory and Services plays an important role in Angular jS application as they allows us to put reusable code at a single place that can later on used in many other places like contro

How Jersey return a JSONObject?

If we try to return a JsonOject in jersey, like this @Path("/formSubmit") @POST @Produces("application/json") public JSONObject formSubmit() { JSONObject json1 =new JSONObject(); return json1; } it may give an error (org.codehaus.jackson

Promises in Angularjs

Promises - AngularJS's promise provides a built-in service $q. It provide a way to execute asynchronous call in series by registering it with a promise object. Let us now elaborate promise and deferred. Deferred - It represent the result/o

1 89 370
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: