Sets value of hidden input field.
@param idOrName id or name of input field to set.
@param value value to set.
@return whether input field was found.
776817
public boolean setHiddenInputValue(String idOrName, String value) {
        T element = findElement(By.id(idOrName));
        if (element == null) {
            element = findElement(By.name(idOrName));
            if (element != null) {
                executeJavascript("document.getElementsByName('%s')[0].value='%s'", idOrName, value);
            }
        } else {
            executeJavascript("document.getElementById('%s').value='%s'", idOrName, value);
        }
        return element != null;
    }
531063
public void set(T value) {
        if (logger.isTraceEnabled()) {
            logger.trace("Name: " + display(name) + ": Value: " + display(value), new Throwable("Stack trace"));
        }
        T thisValue = offerInternal(value);
        if (thisValue != null) {
            throw new IllegalStateException("Value was already set to another value: " + name + " == [" + display(thisValue) + "], not: [" + display(value) + "]");
        }
    }
235664
private void setIdValue(Object target, JsonNode idValue) throws IllegalAccessException {
		Field idField = configuration.getIdField(target.getClass());
		ResourceIdHandler idHandler = configuration.getIdHandler(target.getClass());

		if (idValue != null) {
			idField.set(target, idHandler.fromString(idValue.asText()));
		}
	}
777138
public static function HiddenField( $name, $value )
	{
		$attributes	= array(
			'id'		=> $name,
			'type'		=> "hidden",
			'name'		=> $name,
			'value'		=> $value,
		);
		return UI_HTML_Tag::create( "input", NULL, $attributes );
	}
139926
public void setName(String value) {
        layoutName = value;
        
        if (root != null) {
            root.getAttributes().put("name", value);
        }
    }
953715
@Override
    public final void setApiUserId(String value) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "setApiUserId", value);
        setUserid(value);
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "setApiUserId");
    }
1305120
public function hiddenInput($name, $value = null, $htmlOptions = array())
    {
        return $this->input($name, 'hidden', $value, $htmlOptions);
    }
911722
public void addField(final String name, final Object value) {
        if (value == null) {
            this.fields.add(new Field(name, null, null));
        } else {
            this.fields.add(new Field(name, value.toString(), value.getClass().getName()));
        }
    }
1232674
public static void invokeSetter(Object object, String fieldName, Object value, boolean ignoreNonExisting)
	{
		Field field = ReflectionUtils.findField(object.getClass(), fieldName);
		if(null == field) {
			if (ignoreNonExisting) {
				return;
			} else {
				throw new NullPointerException("no field with name " + fieldName + " found on output object. ignoreNonExisting was " + ignoreNonExisting);
			}
		}
		invokeSetter(object, field, value, ignoreNonExisting);
	}
1339078
public final void setValue(Object value) {
        if (value instanceof Date) {
            content = formatDateTime((Date)value);
        } else
            if (value != null) {
                content = value.toString();
            } else {
                content = null;
            }
    }
159413
public void set(String name, Object value) {
        if (value != null) {
            attributes.put(name, String.valueOf(value));
        } else {
            attributes.remove(name);
        }

    }
1335473
public void set(String name, String value)
    {
        HeaderName hn = getHeaderName(name);
        set(hn, value);
    }
27337
public function setInputHidden(
        string $name = '',
        string $value = '',
        string $id = '',
        string $class = '',
        array $options = []
    ): InputInterface {
        $this->setType(self::TYPE_HIDDEN)
            ->setName($name)
            ->setValue($value)
            ->setId($id)
            ->setClass($class)
            ->setOptions($options);

        return $this;
    }
710796
public void setInput(String key, String value) {
        if (getAllowedKeys() != null && !getAllowedKeys().contains(key))
            throw new IllegalStateException("The input key " + key + " is not allowed for lookups");

        _inputs.put(key, value);
    }
287098
public void set(String name, String value) {
        getOverlay().setProperty(name, value);
        getProps().setProperty(name, value);
    }
441108
public void setValue(String value) {
        ImmutableMap.Builder<String, Object> builder = ImmutableMap.builder();
        builder.put("id", id).put("value", value);
        execute(MobileCommand.SET_VALUE, builder.build());
    }
861808
@JsonAnySetter
    public void set(final String name, final String value) {
        other.put(name, value);
    }