I'm trying to adad a "Last Updated on : some date" in the footer of portal page, I've tried to
use javascript "document.lastModified" but this will work with static HTML pages, but with Themes,
if you change the date of your machine and then refresh the page, the current date on your machine.
On what exactly we can depend in case of portals to implement this? Any specific date to get?
is there anything related to "Defaul.jsp" and when is was last compiled? is there anything ready
provided through the portal?
For the Web Content Management content have a few ways to get the last modified date of the content being rendered. The easiest is one of our tags rendered within the WCM page e.g. <historycmpnt type="content" context="current" field="lastmodifieddate">
The bigger problem when it comes to WCM is to deciding which date is the significant date to report when you are rendering a number of content items on the page. Equally the modified dates of the design elements might be significant.
Same problem with a portal page with multiple portlets. If the page has portlets that you control maybe you can use a last update that the portlets generate.
Tags
Use the search field to
find all types of content in My developerWorks with that tag.
Use the slider bar to see more or fewer tags.
Popular tags shows the top tags for this particular type of content or application that you're viewing.
My tags shows your tags for this particular type of content or application that
you're viewing.