} else if (type.equals("browser")) {
if (browserElement == null) {
- setHTML("<iframe width=\"100%\" height=\"100%\" frameborder=\"0\" src=\""
+ setHTML("<iframe width=\"100%\" height=\"100%\" frameborder=\"0\" allowTransparency=\"true\" src=\""
+ getSrc(uidl, client)
+ "\" name=\""
+ uidl.getId() + "\"></iframe>");
@Override
public void setValue(Object newValue) throws Property.ReadOnlyException,
Property.ConversionException {
- if (newValue == null) {
- newValue = getNullSelectionItemId();
+ if (newValue == getNullSelectionItemId()) {
+ newValue = null;
}
setValue(newValue, false);
* </p>
*
* @param itemId
- * the tem to be selected.
+ * the identifier of Item to be selected.
* @see #getNullSelectionItemId()
* @see #setNullSelectionItemId(Object)
*
* Unselects an item.
*
* @param itemId
- * the Item to be unselected.
+ * the identifier of the Item to be unselected.
* @see #getNullSelectionItemId()
* @see #setNullSelectionItemId(Object)
*