
Search In
In Liferay we can Validating the user submitted form or Validating AUI input fields. You have to add aui:validator tag and specify the appropriate attributes which we define with name property for ex: required,minLength etc . The Below Example can s
Some time we need to pass a tabular form data to our database.
one option is to using loop in Datatable and on every iteration we have to make a Database call.
But this approach is not too good and also it's a time taking and decrease our application
Sometimes we need to store session information for different web pages. It is mostly needed for commercial websites where we need to fill up a form through several stages. So to maintain the session information across web pages and to keep track of s
PHP has a large number of variable the are defined already.
PHP provide an additional set of predefined arrays containing variables from the web server.
PHP superglobal
1. $GLOBALS- It got the reference to every variable in the global scope.
<
We often use rake db:reset command for recreating the database, instead of conventional 3-steps for doing the same.
rake db:drop (dropping the Database, wipe away all your data)
rake db:create (Create the Database)
rake db:migrate (Runs all the
Tabindex attribute:
User uses tab key in a webpage to navigate through interactive elements(links,input fields etc) and navigation depends upon the elements order in Html code. But with the help of tabindex attribute we can change the ta
There are four types of specification-based software testing technique
Equivalence partitioning
Boundary value analysis
Decision tables testing
State transition testing
Equivalence partitioning and boundary value analy
This blog will help you when you need to select distinct records from a datatable on basis of selected columns.
Suppose we have a datatable which holds the employee records. This datatable has following columns
Name
FatherName
City
Qualificati
Hi Reader's,
Welcome to FindNerd, today we are going to discuss How to protect CakePhp application against SQL injection in 2.x version?
Basically SQL injection is a technique which is used for attacking to data-driven in a web applications. It
The first concern for every application is its security, so rails by default provides a method protect_from_forgery, which is always present by default in your application, whenever you create a new application. i.e.
class ApplicationController <
