
Search In
Moving objects on Mouse swipe is a very interesting way of getting user input , it is very different from traditional
approach of getting input from keyboard keys . It provids user with unique experience and makes user part of the game.
Below is th
Sub query is one the important section of database query.There are n number of situation where we want to implement sub query to fetch the data from the table. In Laravel 4.x there is no specific keyword to perform any
sub query.To perform sub query
If you want to get data from dictionary and add them into an array below code will help you,In this blog firstly i have created a NSMutableAarray and after that created a NSArray which contain the value like ram,13 etc then i created a NSMutableDicti
Hello Reader's If you are genrating the time in Unix time stamp and want to show it like 5 min ago or 3 hours ago then you can use the code below:-
Here we are using NOW of the unix timestamp
function timeSince(ts){
now = new Date();
ts = n
Sometimes we need to show HTML based on some conditions, so for this we use JSTl in JSP file.
Example: In the below code I'm changinf heading based on condition.
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
&l
The delegation method is performed the reference fields automatically set up on the parent model:
For example you can take idea from below code-
class Child0(models.Model):
_name = 'delegation.child0'
field_0 = fields.Integer()
class
Hello All,
In this blog we will discuss about how to get all keys in mongoDb collection.
Sometimes we are in a situation in which we want only the keys not the data itself from the collection.
So as a result you can try by following below code to
Hello Reader's!
If you are looking to make your website pages more dynamic and light that loads the html sections as user scrolls down, Then you can use the code below:-
First thing is to make some corrections on the html page like. you need to set
To make workflow transitions in OpenERP/Odoo ?
If you want to make workflow transitions in OpenERP(Odoo) follow the below mentioned code and paste it in your workflow_xml file:
<record id="trans_idea_draft_confirmed" model="workflow.transition"&
If you want to use WebServices
in OpenERP(Odoo) follow the below mentioned code and paste it in your WebServices – XML-RPC
file:
import xmlrpclib
define HOST, PORT, DB, USER, PASS
url = 'http://%s:%d/xmlrpc/common' % (HOST,PORT)
sock = xmlrpclib.
