org.openmdx.portal.servlet
Interface Autocompleter_1_0

All Known Implementing Classes:
FindObjectsAutocompleter, ValueListAutocompleter

public interface Autocompleter_1_0


Method Summary
 boolean hasFixedSelectableValues()
          Returns true if selectable values are fixed
 void paint(HtmlPage p, String id, int index, String fieldName, AttributeValue currentValue, boolean numericCompare, CharSequence tdTag, CharSequence inputFieldDivClass, CharSequence inputFieldClass, CharSequence imgTag)
          Generates the html code for the autocompleter.
 

Method Detail

paint

void paint(HtmlPage p,
           String id,
           int index,
           String fieldName,
           AttributeValue currentValue,
           boolean numericCompare,
           CharSequence tdTag,
           CharSequence inputFieldDivClass,
           CharSequence inputFieldClass,
           CharSequence imgTag)
           throws org.openmdx.base.exception.ServiceException
Generates the html code for the autocompleter.

Parameters:
p - painting area
id - optional id for input field. If none is specified an id is automatically generated.
index - field index
fieldName - name of autocompletion field
currentValue - current value of autocompletion field
numericCompare - if a numeric compare should be applied to current value and the autocompleter value list
tdTag - td tag if the autcompleter is embedded in a table. null if no td tag must be generated
imgTag - optional image tag is placed right after the autocomplete input field
Throws:
org.openmdx.base.exception.ServiceException

hasFixedSelectableValues

boolean hasFixedSelectableValues()
Returns true if selectable values are fixed



This software is published under the BSD license. Copyright © 2006-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.