isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Haywood <...@haywood-associates.co.uk>
Subject Re: How to add a Password text field in Apache Isis
Date Thu, 12 Feb 2015 08:14:05 GMT
Just to add... in 1.8.0-SNAPSHOT Isis does now natively support user
sign-up using email as a verification; see [1].

Cheers
Dan

[1] http://isis.apache.org/components/viewers/wicket/user-registration.html

On 12 February 2015 at 07:42, Hiruni Madola <hirunimadola@gmail.com> wrote:

> Thank you Martin for the quick response..
>
> On Thu, Feb 12, 2015 at 1:05 PM, Martin Grigorov <mgrigorov@apache.org>
> wrote:
>
> > Hi,
> >
> > You need to use Password [1] instead of String.
> >
> >
> > 1.
> >
> >
> https://github.com/apache/isis/blob/master/core/applib/src/main/java/org/apache/isis/applib/value/Password.java
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Thu, Feb 12, 2015 at 9:31 AM, Hiruni Madola <hirunimadola@gmail.com>
> > wrote:
> >
> > > Hi everyone,
> > >
> > > I'm developing a demo User Account Management app. Domain object is a
> > > UserAccount.  I went through the simpleApp, todoApp archetypes and some
> > of
> > > the docs in Isis web page.
> > >
> > > I have a service called UserAccountService, where I need to add a
> Signup
> > > action for new UserAccounts.
> > >
> > > So Here I need to add a Password field to add a new account.
> > > In my service class I have method as below;
> > > public void signUp(@Named("Username") String uname,@Named("Password")
> > > String password) {
> > > UserAccount acc =new UserAccount();
> > > acc.setUName(uname);
> > > acc.setPassword(password);
> > > }
> > >
> > > I need above password parameter to be a password text field in the UI
> > > (hidden text field)
> > > Can I pls know how to make the above password parameter as a password
> > field
> > > ?
> > > In Wicket there is a component called PasswordTextField.
> > >
> > > Can anyone help me to make my input param render as a PasswordTextField
> > in
> > > the Isis UI?
> > >
> > > Thank you.
> > > Hiruni
> > >
> >
>
>
>
> --
> Hiru
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message