Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Check passed time in search container
Hello there
I have a question depending to search container, there is a way liferay check passed time from entries in search container grid.
I have to check the passed time, if an entry is older than three months, i have to set a yellow flag or something else, when it is older than six month the flag have to change its color to red. But i dont know how to check the time on runtime.
I have implement a method, but it only check time, when this method is called by an other method. This means, if no one use an method, the time will not be checked.
Have someone an idea?
have a nice day
Reiner
I have a question depending to search container, there is a way liferay check passed time from entries in search container grid.
I have to check the passed time, if an entry is older than three months, i have to set a yellow flag or something else, when it is older than six month the flag have to change its color to red. But i dont know how to check the time on runtime.
I have implement a method, but it only check time, when this method is called by an other method. This means, if no one use an method, the time will not be checked.
Have someone an idea?
have a nice day
Reiner
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™