Re: BeanEditForm onValidate()

"Christopher Dodunski" <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
Hi Geoff,

I'm not sure whether this is what you meant, but I added the below code to
my onActivate() method:

        User userVerif =
crudServiceDAO.findUniqueWithNamedQuery(User.BY_USERNAME,
QueryParameters.with("userName",
user.getUserName()).parameters());
        LOG.debug("Verify user: [" + userVerif.getUserName() + "|" +
userVerif.getFirstName() + "|" + userVerif.getLastName() + "]");

Below is the log output.  There is no error loading the page.

17-01-2018 23:29:26 DEBUG UpdateUser:74 - [ENTER]
onActivate(<EventContext: Welcome, 3>)
17-01-2018 23:29:26 DEBUG UpdateUser:103 - onActivate
17-01-2018 23:29:26 INFO  UpdateUser:154 - User James [uid:3] was granted
access to the UpdateUser page to update: James [uid:3]
17-01-2018 23:29:26 DEBUG UpdateUser:158 - Verify user: [James|James|Cook]
17-01-2018 23:29:26 DEBUG UpdateUser:154 - [ EXIT] onActivate [null]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.