Comments (6)
There is no such built-in functionality in RAP, but it's not so hard to achieve it with client scripting. Create filed and icon in RWT. Attach client listener to the icon and change the field type from "password" to "text" and back. More information about scripting here [1].
[1] https://www.eclipse.org/rap/developers-guide/devguide.php?topic=scripting.html&version=3.20
from org.eclipse.rap.
The Nebula project has such a widget: https://wiki.eclipse.org/Nebula_PasswordRevealer
from org.eclipse.rap.
The main idea here is to use Text#setEchoChar(...)
to switch between password and text mode.
from org.eclipse.rap.
OK, thank you for the information. I'll give it a try when I have the time for it.
from org.eclipse.rap.
There is a working implementation (Nebula widget) and also a simple "hand made" solution for this request. I'll close this issue as WONTFIX.
from org.eclipse.rap.
The Nebula widget doesn't work, because it's for SWT, not for RWT. But I managed to implement the eye icon with RWT and some CSS.
from org.eclipse.rap.
Related Issues (20)
- Retry on connection error doesn't work with CSP enabled
- Handling network connection error with SeverPush active HOT 7
- Missing requirement: org.eclipse.rap.rwt.osgi 3.22.0.20220708-1200 requires 'java.package; javax.servlet [4.0.0,5.0.0)' but it could not be found HOT 3
- RAP version which support jboss8 and openjdk17 HOT 7
- Ampersand character ommited from label text HOT 1
- selection in not yet focused multiline Text widget HOT 2
- CSRF security HOT 2
- Focus issues with ContextMenu in Chrome/Edge browser
- pack column for Tableviewer
- Copy of photo is stored on server and never cleaned up
- Grid calculates row height only on Hover
- GridEditor displayed at wrong offset for auto-height rows HOT 6
- Methods annotated with @PersistState have no effect on the saved model XMI in RAP HOT 4
- ConcurrentModificationException in LifeCycleServiceHandler HOT 3
- Client sometimes doesn't re-layout on browser window size change HOT 4
- TypeError when POST fails causes error-dialog is not shown HOT 3
- No jface.databinding.swt.typed package? HOT 22
- Mouse up / down event not triggering on table header click or select HOT 7
- Improve deployment of realease artefacts to Maven Central
- Wrong handling error in ServerPush.js / Connections.js HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org.eclipse.rap.