org.apache.myfaces.tobago.internal.taglib.declaration
Interface HasPlaceholder

All Known Subinterfaces:
DateTagDeclaration, InTagDeclaration

public interface HasPlaceholder


Method Summary
 void setPlaceholder(String placeholder)
          Displays a short text in the input field, that describes the meaning of this field.
 

Method Detail

setPlaceholder

void setPlaceholder(String placeholder)
Displays a short text in the input field, that describes the meaning of this field. This is part of HTML 5, the theme should emulate the behaviour, when the browser doesn't support it.

The text will not be displayed, when the input field is readonly or disabled.

Parameters:
placeholder - The text to display


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.