Examples of AWBinding


Examples of ariba.ui.aribaweb.core.AWBinding

        if (MapUtil.nullOrEmptyMap(map)) return null;
        Map <String, AWBinding> bindingMap = new HashMap(map.size());
        for (Map.Entry<String, Object> e : map.entrySet()) {
            String name = e.getKey();
            Object val = e.getValue();
            AWBinding binding = null;
            if (val instanceof PropertyValue.Dynamic) {
                binding = new MetaIncludeComponent.DynamicValueBinding();
                ((MetaIncludeComponent.DynamicValueBinding)binding).init(name, (PropertyValue.Dynamic)val);
            } else {
                binding = AWBinding.bindingWithNameAndConstant(name, val);
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

        if (_selectedStep == null) {
            Object steps = valueForBinding(BindingNames.steps);
            _selectedStep = OrderedList.get(steps).elementAt(steps, 0);
        }
        _showSelections = valueForBinding(BindingNames.showSelections);
        AWBinding isClickableBinding = bindingForName(BindingNames.isClickable);
        _isClickable = isClickableBinding == null ? true : booleanValueForBinding(isClickableBinding);
        AWBinding navigateEndBinding = bindingForName("navigateStepIndexMax");       
        _navigateEnd = navigateEndBinding == null ? -1 : intValueForBinding(navigateEndBinding);
    }
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

    }

    public void renderResponse(AWRequestContext requestContext, AWComponent component) {
        _front = _value = stringValueForBinding(BindingNames.value);
        if (!StringUtil.nullOrEmptyOrBlankString(_value)) {
            AWBinding sizeBinding = bindingForName(BindingNames.size, true);
            if (sizeBinding != null) {
                int size = intValueForBinding(sizeBinding);
                int len = _value.length();
                if (_value.length() > (size + 3)) {
                    _elipsis = Elipsis;
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

     *    seems this is application logic
     */
    public boolean disabled ()
    {
        boolean enabled = false;
        AWBinding enabledBinding = bindingForName(BindingNames.enabled);
        if (enabledBinding != null) {
            enabled = booleanValueForBinding(enabledBinding);
        }
        else {
            AWEncodedString labelRight = encodedStringValueForBinding(BindingNames.labelRight);
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

    /////////////
    // Awake
    /////////////
    protected void awake ()
    {
        AWBinding binding = bindingForName(AWBindingNames.isVisible);
        _isVisible = binding == null ? true : binding.booleanValue(parent());
    }
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

        return true;
    }

    protected AWBinding _debugPrimaryBinding ()
    {
        AWBinding primaryBinding = null;
        AWComponentReference componentRef = componentReference();

        if (componentRef != null) {
            primaryBinding = bindingForName(AWBindingNames.selection, false);
            if (primaryBinding == null) {
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

{
    public Object findValueForBinding (String bindingName)
    {
        AWComponent parent;
        for (parent = parent(); parent != null; parent = parent.parent()) {
            AWBinding binding = parent.bindingForName(bindingName);
            if (binding != null) {
                return parent.valueForBinding(binding);
            }
        }
        return null;
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

        _selectedColumn = valueForBinding(AWBindingNames.selection);

        _allSelectedBinding = bindingForName(BindingNames.allSelected);
        if (_allSelectedBinding != null) {
            _allSelected = booleanValueForBinding(_allSelectedBinding);
            AWBinding showSelectAllBinding = bindingForName(BindingNames.showSelectAll);
            _showSelectAll = (showSelectAllBinding == null) ?
                true : booleanValueForBinding(showSelectAllBinding);
            _selectAllUrlBinding = bindingForName(BindingNames.selectAllUrl);
        }
        else {
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

        if (_value != null) {
            _value = _value.replaceAll("\n","<br/>");
        }

        _isManualFormatting = false;
        AWBinding autoSizeBinding = bindingForName(AutoSizeKey);
        if (autoSizeBinding != null) {
            _isManualFormatting = !booleanValueForBinding(autoSizeBinding);
        }
        if (!_isManualFormatting &&
            _value != null && _value.indexOf(StartHTMLIndicator) != -1) {
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

        _isSelected = false;
    }

    private boolean _isOpenState ()
    {
        AWBinding binding = bindingForName(BindingNames.state);
        if (binding == null) {
            return _isOpen;
        }
        else {
            return booleanValueForBinding(binding);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.