
Search In
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]]) %>
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
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
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
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 !! 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
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
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
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
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**:
