"ddlRecordnew" is instance of List<DDLRecord> and "firstName" is field name of data list in dynamic data list.
So now :
ddlRecordnew.get(i).getField("FieldName").getValue()
Following method print the matched record from searchString to database.
So now :
ddlRecordnew.get(i).getField("FieldName").getValue()
Following method print the matched record from searchString to database.
- public void SearchDdlRecord(String searchString){
- List<DDLRecord> ddlRecordnew = null;
- try {
- ddlRecordnew = DDLRecordLocalServiceUtil.getDDLRecords(-1, Integer.MAX_VALUE);
- if (ddlRecordnew != null) {
- StringTokenizer strPermit = null;
- String ptype = null;
- Read full Blog at: How to search record from dynamic data list in Liferay 6.2
You can check more informative blogs and tutorials at java development blogs section and can also browse the java questions and answers forum for posting and viewing latest questions on Java development.
Apart from this, If you have any Php issue, you can post it at Php developer forum.
You can check more informative blogs and tutorials at java development blogs section and can also browse the java questions and answers forum for posting and viewing latest questions on Java development.
Apart from this, If you have any Php issue, you can post it at Php developer forum.