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

Search In

Creating Select Boxes using form helpers in rails

One of the most common html elements in a web page is select box. In Rails select and option tag helper method is used to display it . select and option tag: <%= select_tag(:city_id, options_for_select[[‘Bangalore’, 1], [‘Dehradun’, 2]]) %>

How to mapped the records in openERP/Odoo ?

If you want to mapped the records in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: → # returns a list of summing two fields for each record in the set records.mapped(lambda r: r.field1 + r.field2) # returns a l

How to inherit the modules in OpenERP (Odoo) ?

First we have to look customized module, according to there requirement fields class, model and then we have to decide to inherit existing module. As in below .py (Python file):- class Demo(osv.osv): _inherit='sale.order.line' // sale.order.l

How to print the data from my array?

I want to print a file with the data of this struct.    struct dados { char matr[50]; char ele[50]; float ela[50]; float final[50]; int freq[50]; float recu[50]; }; Already trie

How to deploy portlets to Liferay

Portlet is application of the liferay portal, In which we write the business logic of the application. Follow below steps to create and deploy the liferay portal : Step 1: Create liferay portlet in eclipse. Step 2: Right click on portlet in eclips

Procedural Generation

Procedural !! is the word.Have you heard it before? Have you heard about Procedural generation? Yes or No what ever your answer is, But this term blows my mind out and make me curious and to think about it. So i have done some research on it. &nbs

How to fetch keys and values of an array

This article provides the details about some PHP functions which are used to fetch keys and values of an array. The article also defines a function which can also used to fetch all values from a single column of a multidimensional array. The details

Vector in C++

Vectors are sequence container which represents Arrays and can change their size during run-time. Vectors use contiguous blocks of memory (as Arrays) for their elements. That means the elements of the sequence can be accessed using offsets on regular

How to export data to csv using javascript and jquery

Sometimes you face the problem to export the data into csv file using clientside platform. In this case you can use javascript and jquery. Below is the code to find out the solution: Javascript Code: $(document).ready(function () { function

How to Avoid HTML Mistakes

Hello Reader's Here is the article which will help you to know, How to Avoid HTML Mistakes In this article I will guide you how to avoid minor mistakes when create an HTML Page. 1) Don't use block elements within Inline elements. **Wrong Approch**:

1 82 423
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: