Skip to Content
Accesing Username - Message Board Discussions, Suggestions and news
Sign In
Navigation
Welcome
Downloads
Help and Support
Examples
Follow @xmlpf
Breadcrumbs
xmlportletfactory.org
Help and Support
Forums
2.- Usage ( From Xml file to CRUD Portlet)
Accesing Username
Navigation
Welcome
Downloads
Help and Support
Forums
Wiki
Contact
Video Tutorials
Examples
Message Boards
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to 2.- Usage ( From Xml file to CRUD Portlet)
Accesing Username
Threads [
Previous
|
Next
]
Accesing Username
Anonymous
7/6/13 10:29 AM
RE: Accesing Username
Juan G.
7/7/13 11:05 AM
RE: Accesing Username
Gary Bootchma
7/9/13 7:08 AM
Anonymous
Accesing Username
Answer
7/6/13 10:29 AM
Hello, excellent product.
I, like most people fimding it daunting to begin creating new capabilities in Liferay, this makes it so much eas.
One question I have, I used some of tghe excellent examples on this site, but one thing I am not sure of, is how do I get access to the username created in the SQL table?
I would very much like to have a field, "last modified by",in the CRUD data, but cannot worrk out how to do it.
Does amnyone have any ideas?
Thanks
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Juan G.
Rank:
Padawan
Posts:
57
Join Date:
4/29/12
Recent Posts
RE: Accesing Username
Answer
7/7/13 11:05 AM as a reply to Anonymous.
Hi,
you have the last user who updated data in getUserName() method on every created entity.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Gary Bootchma
Rank:
Youngling
Posts:
3
Join Date:
7/6/13
Recent Posts
RE: Accesing Username
Answer
7/9/13 7:08 AM as a reply to Juan G..
Hi Juan,
Ok thanks. I thought the usename name might have been available as a derived field or something, along with date and time.
Okay not to worry, I can add it to the wishlist as I think wit would be useful to capture all of the fields from the tables, instead of some generated and some coded, adn these are fairly common crud type fields for auditing.
Thanks,
Cary
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top