This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Person { | |
private String firstName; | |
private String lastName; | |
public Person() { | |
super(); | |
} | |
public void setFirstName(String firstName) { | |
this.firstName = firstName; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<af:table var="row" rowBandingInterval="0" id="t11" | |
binding="#{pageFlowScope.tempBean.table}" value="#{pageFlowScope.tempBean.valuesList}" | |
rowSelection="multiple" | |
queryListener="#{pageFlowScope.tempBean.onQuery}" | |
filterModel="#{pageFlowScope.tempBean.qs}" | |
filterVisible="true" emptyText="no result found"> | |
<af:column sortProperty="firstName" sortable="true" filterable="true" | |
headerText="FirstName" id="c1"> | |
<af:outputText value="#{row.firstName}" id="ot1"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.AbstractMap; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.HashMap; | |
import java.util.HashSet; | |
import java.util.LinkedHashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Set; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class UserTrVOImpl extends ViewObjectImpl { | |
/** | |
* This is the default constructor (do not remove). | |
*/ | |
public UserTrVOImpl() { | |
} | |
private int resultSize=0; | |
protected Iterator<User> userIterator; | |
private boolean inExecuteEmptyRowSet = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//in bindings add | |
<searchRegion Criteria="" | |
Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer" | |
Binds="IteratorName" id="DummyName"/> | |
//in fragment use af:table add the following | |
filterModel="#{bindings.DummyName.queryDescriptor}" | |
queryListener="#{bindings.DummyName.processQuery}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This method recursively deletes and organization and its permission objects/users | |
* Its descendants if any are there before deleting the organization | |
* @param orgUnit The orgUnit name | |
* @param delAdmMgr A delegated Admin Manager instance | |
* @param revMgr A Delegated review manager instance | |
* @param rvMgr A review manager instance | |
* @param admMgr A admin manager instance | |
* @return | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package model; | |
import java.util.Map; | |
import java.util.logging.Level; | |
import model.common.AppModule; | |
import oracle.adf.share.logging.ADFLogger; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sahaj.apps.vleadministration.view.bean; | |
import java.util.Map; | |
import javax.faces.context.FacesContext; | |
import javax.faces.event.PhaseId; | |
import javax.faces.event.PhaseListener; | |
import oracle.adf.model.RegionBinding; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `places` ( | |
`woeid` int(15) NOT NULL, | |
`iso` varchar(6) NOT NULL, | |
`name` text NOT NULL, | |
`language` varchar(6) NOT NULL, | |
`type` varchar(30) NOT NULL, | |
`parent` int(15) NOT NULL, | |
PRIMARY KEY (`woeid`) | |
) ENGINE=INNODB DEFAULT CHARSET=utf8; |