
Search In
Hello Readers,
Below blog shows the call of the model from one component to another component.
For Example - We have a two different components in Joomla :
>> comp1
comp1->model->m1
model: m1
comp1->controller->c
defautl keyword is used in two situations
1)switch statement.
2)export statement.
1) example of switch statement
switch (expr) {
case "Oranges":
console.log("Oranges are my 1st choice.");
break;
case "Apples":
console.log("Apples ar
With the help of threading module we can implement locking mechanism that allows you to synchronize threads. And a new lock is created by calling the Lock() method, which returns the new lock and thread in threads module.
For example you can see belo
The behavior of an ASP.NET application is affected by different settings in the configuration files:
machine.config
web.config
The machine.config file contains default and the machine-specific value for all supported settings. All thin
Hello readers, today we will discuss printing pascal's triangle using recursion. Pascal's triangle is a triangle where each number is the sum of the two numbers directly above it. We have one of the most interesting Number Patterns in Pascal&
In Ruby it is possible to send a Hash as an argument to a method.
Suppose we have a method named conversion_method which has 4 default parameters(a,b,c,d). ex:-
2.1.5 :086 > def conversion_method(a:10, b:20, c:30, d:40)
2.1.5 :087?> puts
[url=http://fifes.eu/longchamp1.html]sac à main longchamp[/url]
longchamps sac
[url=http://fifes.eu/longchamp2.html]sac longchamp pliage pas cher[/url]
sac a main longchamp pas cher
[url=http://fifes.eu/longchamp2.html]sac shopping longchamp[/url]
[u
Hey!
I am stuck in a weird problem for some 2 days,kindly help if someone knows what exactly it is.
Problem being, I have an app with tab view (3 swipe tabs somewhat like watsapp's tabs). Tab1 , Tab2 ,Tab3 .
Tab1 has edittext
There are two ways of event propagation in HTML DOM, when an event occur in an element with an element:
1. Event bubbling
2. Event capturing
1. Event bubbling : There are many times when we want to handle two or more event handlers at different leve
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
