Below code represents, How to create UUID using Liferay API with AJAX call :
It's all about Liferay DXP Solutions & Support
<c:out value="${specialCharString or HTML}" escapeXml="true"/>
${fn:escapeXml("<i> This is jignesh vachhani")}
HTMLUtil.escape(String HTMLString)
${fn:escapeXml(fn:replace(fn:replace(fn:replace("<div><p>This is jignesh testing</p></div>",'"','"'),'<','<'),'>','>'))}
SELECT tablename.name FROM tablename
INNER JOIN (SELECT name FROM tablename
GROUP BY name HAVING count(name) > 1) dup_record ON tablename.name = dup_record.name
import java.io.File;
public class Test {
/**
* @param args
*/
public static void listFilesForFolder(File folder) {
for (File fileEntry : folder.listFiles()) {
if (fileEntry.isDirectory()) {
listFilesForFolder(fileEntry);
} else {
System.out.println(fileEntry.getName());
}
}
System.out.println("Total :" +folder.listFiles().length);
}
Malicious code vulnerability - Field is a mutable array |
Malicious code vulnerability - Field is a mutable Hashtable |
Malicious code vulnerability - Field isn't final and can't be protected from malicious code |
Malicious code vulnerability - Field isn't final but should be |
Malicious code vulnerability - Field should be both final and package protected |
Performance - Could be refactored into a named static inner class |
Performance - Could be refactored into a static inner class |
Performance - Explicit garbage collection; extremely dubious except in benchmarking code |
Performance - Huge string constants is duplicated across multiple class files |
Performance - Inefficient use of keySet iterator instead of entrySet iterator |
Performance - Maps and sets of URLs can be performance hogs |
Performance - Method allocates a boxed primitive just to call toString |
Performance - Method allocates an object,
only to get the class object |
Avoid Array Loops |
Avoid Assert As Identifier |
Avoid Calling Finalize |
Avoid Catching NPE |
Avoid Catching Throwable |
Avoid Decimal Literals In Big Decimal Constructor |
Avoid Duplicate Literals |
Avoid Enum As Identifier |
Avoid Instanceof Checks In Catch Clause |
Avoid Print Stack Trace |
Avoid Rethrowing Exception |
Avoid Throwing Null Pointer Exception |
Avoid Throwing Raw Exception Types |
Bad practice - Abstract class defines covariant compareTo() method |
Bad practice - Abstract class defines covariant equals() method |
Bad practice - Certain swing methods needs to be invoked in Swing thread |
Bad practice - Check for sign of bitwise operation |
Bad practice - Class defines clone() but doesn't implement Cloneable |
Bad practice - Class defines compareTo(...) and uses Object.equals() |
Bad practice - Class defines equals() and uses Object.hashCode() |
<liferay-ui:icon-menu
align="auto"
cssClass="portlet-options"
direction="down"
extended="<%= false %>"
icon=""
message="options"
showArrow="<%= false %>"
showWhenSingleIcon="<%= true %>"
>
- about
- config
- edit
- editDefaults
- editGuest
- help
- preview
- view
<custom-portlet-mode><portlet-mode>edit_guest</portlet-mode><portal-managed>true</portal-managed></custom-portlet-mode>
A.one(document).delegate(['keypress','change'],function(e){
var maxLength = this.attr('maxlength');
if(this.val().length > maxLength) {
this.val(this.val().substring(0, maxLength));
e.preventDefault();
}
}, '#<portlet:namespace/>description');
We are looking for talent to fill the following positions at our Bangalore and Ahmedabad centers.
| ||||||||||||
| ||||||||||||
If your profile matches then send your CV on jignesh.vachhani@cignex.com
| ||||||||||||
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
/**
* @author Jignesh Vachhani
*
*/
Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...