Thank you Martin for the quick response.. On Thu, Feb 12, 2015 at 1:05 PM, Martin Grigorov <[email protected]> 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 <[email protected]> > 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
