
Search In
This tutorial will help you to learn how to implement pagination using cakephp framework
Requisite:
Create a database
Insert some data in the table
Controller say “UsersController” to write the logic.
Model for the Users table
View to display t
Basically we work with Portlet Application development and need to submit form and display the data in JPS page or need to store into database.
In this blog I only illustrate simply submit the form data using ajax to portlet action methods and then
Insertion in Linklist:- The Insertion of Element in Singly linklist at different places like: insertion at beginning, last and middle in the linklist. In below code I will show you how to insert the element in linklist at beginning, middle and last.
You will need the following kind of python code declaration in your .py file:
class product_category(orm.Model):
_inherit = 'product.category'
_columns = {
'ean_sequence_id': fields.many2one('ir.sequence', 'Ean Sequence'),
}
If you want generate the barcode for product in odoo You will need the following kind of python code declaration in your .py file:
from openerp.osv import fields, orm
from openerp.tools.translate import _
def isodd(x):
return bool(x % 2)
Whenever we create a form, we always have a requirement to put validation for empty fields on some input fields on form submit. For this we use onSubmit attribute of the form, inside which we can define a function that will have validations.
Example
In the below example I have created Dialog Animation using windowAnimation. Here I have added DialogAnimation item in style.xml folder after that I have created a new dialoglayout.xml and added a image and button then in mainlayout I have added a but
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 this b
Making the google maps is not so difficult. Just to follow some code and google apis.We can make any location google map by using the code below. We have taken the example of dehradun location in India for making this google map.
<html>
<h
To make a android apk in flash builder is having very simple steps.
Export release build
Choose certificate
and build the project and you got your apk. Here the certificate are very easy to create, choose create and fill the details and save the p
