diff options
author | Ilia Motornyi <elmot@vaadin.com> | 2015-12-03 14:59:05 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-12-03 14:59:12 +0000 |
commit | 2af72ba9636bec70046394c41744f89ce4572e35 (patch) | |
tree | ccb3dc2d2239585f8c3f79eb5f131ff61ca9ce86 /documentation/components/components-passwordfield.asciidoc | |
parent | 8aa5fabe89f2967e966a64842a608eceaf80d08f (diff) | |
download | vaadin-framework-2af72ba9636bec70046394c41744f89ce4572e35.tar.gz vaadin-framework-2af72ba9636bec70046394c41744f89ce4572e35.zip |
Revert "Merge branch 'documentation'"7.6.0.beta2
This reverts commit f6874bde3d945c8b2d1b5c17ab50e2d0f1f8ff00.
Change-Id: I67ee1c30ba3e3bcc3c43a1dd2e73a822791514bf
Diffstat (limited to 'documentation/components/components-passwordfield.asciidoc')
-rw-r--r-- | documentation/components/components-passwordfield.asciidoc | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/documentation/components/components-passwordfield.asciidoc b/documentation/components/components-passwordfield.asciidoc deleted file mode 100644 index c8a8c220ba..0000000000 --- a/documentation/components/components-passwordfield.asciidoc +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: PasswordField -order: 11 -layout: page ---- - -[[components.passwordfield]] -= [classname]#PasswordField# - -The [classname]#PasswordField# is a variant of [classname]#TextField# that hides -the typed input from visual inspection. - - -[source, java] ----- -PasswordField tf = new PasswordField("Keep it secret"); ----- -See the http://demo.vaadin.com/book-examples-vaadin7/book#component.passwordfield.basic[on-line example, window="_blank"]. - -The result is shown in <<figure.components.passwordfield.basic>>. - -[[figure.components.passwordfield.basic]] -.[classname]#PasswordField# -image::img/passwordfield-basic.png[] - -You should note that the [classname]#PasswordField# hides the input only from -"over the shoulder" visual observation. Unless the server connection is -encrypted with a secure connection, such as HTTPS, the input is transmitted in -clear text and may be intercepted by anyone with low-level access to the -network. Also phishing attacks that intercept the input in the browser may be -possible by exploiting JavaScript execution security holes in the browser. - -[[components.passwordfield.css]] -== CSS Style Rules - - -[source, css] ----- -.v-textfield { } ----- - -The [classname]#PasswordField# does not have its own CSS style name but uses the -same [literal]#++v-textfield++# style as the regular [classname]#TextField#. See -<<dummy/../../../framework/components/components-textfield#components.textfield.css,"CSS -Style Rules">> for information on styling it. - -CSS Styling - - |