motClefsAutoComplete1 : AjaxAutoComplete {
id = "auto1";
list = session.matchMotcClefs;
value = session.motClefs;
item = session.motClefsRepetition;
displayString = session.motClefsRepetition.refidxval;
selection = session.selectedMotClefs;
}
/**
* @return the motClefs
*/
public String getMotClefs() {
return motClefs;
}
/**
* @param motClefs
* the motClefs to set
*/
public void setMotClefs(String motClefs) {
if (!ERXStringUtilities.stringEqualsString(this.motClefs, motClefs)) {
this.motClefs = motClefs;
matchMotcClefs = null;
}
}
//Search module list generator
private NSArray<EORefidx> lesMotsClefs(){
if(listMotclefs == null){
listMotclefs = EORefidx.fetchGetMotsClefsParents(session().defaultEditingContext());
}
return listMotclefs;
}
/** TextField1*/
public NSArray<EORefidx> matchMotcClefs() {
if(matchMotcClefs == null){
if(motClefs == null){
matchMotcClefs = null;
} else {
matchMotcClefs = EORefidx.REFIDXVAL.containsAll(motClefs).filtered(lesMotsClefs());
}
}
return matchMotcClefs;
}
/**
* @return the selectedMotClefs
*/
public EORefidx getSelectedMotClefs() {
return selectedMotClefs;
}
/**
* @param selectedMotClefs the selectedMotClefs to set
*/
public void setSelectedMotClefs(EORefidx selectedMotClefs) {
this.selectedMotClefs = selectedMotClefs;
}
/**
* @return the motClefsRepetition
*/
public EORefidx getMotClefsRepetition() {
return motClefsRepetition;
}
/**
* @param motClefsRepetition the motClefsRepetition to set
*/
public void setMotClefsRepetition(EORefidx motClefsRepetition) {
this.motClefsRepetition = motClefsRepetition;
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden