on 01-27-2015 5:48 AM
Hi All
How to implement digital clock on Ajax frame work page on masthead layout in portal 7.4
Best Regards
Raju
Hi Raju,
Masthead customization and configuration are available in this liks
In Masthead HeaderiView.jsp is available,In that you need to try this below code for clock.
<TABLE >
<TR><TD>
<FORM NAME="clock_form">
<INPUT align="right" TYPE=TEXT NAME="clock" SIZE=35>
</FORM>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide from non JavaScript browsers
function clockTick()
{
currentTime = new Date();
document.clock_form.clock.value = " "+currentTime;
document.clock_form.clock.blur();
setTimeout("clockTick()", 1000);
}
clockTick();
// End of clock -->
</SCRIPT>
</TD></TR>
</TABLE>
i hope it helps.
Best Regards
Durga.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
You can do that by changing the Masthead war. It can be achieved either by java script or jsp changes.
Pleae check your requirement and make the changes accordingly.
Thanks,
Hamendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hamendra,
can you please tell me step by step configuration of implement the digital clock
I am downloading the war file com.sap.portal.navigation.afp.masthead
And i did not found any of the jar files in this location
\usr\sap\<SID>\<Instance>\j2ee\cluster\apps\sap.com
can you please let me know the exact location of the jar files
Best Regards
Raju
Hi Raju,
Please go through the below steps please
Download the WAR File: com.sap.portal.navigation.afp.masthead.war from the below path
C:\usr\sap\<SID>\<Instance>\j2ee\cluster\apps\sap.com\com.sap.portal.navigation.afp.masthead\servlet_jsp\ com.sap.portal.navigation.afp.masthead
Download the below JAR Files as well:
common.jar
com.sap.portal.useragent_api.jar
com.sap.portal.search.service_api.jar
com.sap.portal.search.provider_api_api.jar
com.sap.portal.runtime.system.favorites_api.jar
com.sap.portal.productivity.resolverservice_api.jar
com.sap.portal.pcd.glservice_api.jar
com.sap.portal.navigation.service_api.jar
com.sap.portal.navigation.helperservice_api.jar
com.sap.portal.navigation.api_service_api.jar
com.sap.portal.core.utils_api.jar
com.sap.portal.contenttaggingservice_api.jar
com.sap.portal.common.commonservices_api.jar
I hope most of the above jar you will find in server itself or you can get the relevent jar from masthead war file as well under lib folder.
Import the WAR File (com.sap.portal.navigation.afp.masthead.war) in your NWDS and please do it EP Perspective.
Right click on the project and import the jar files (or copy paste these files under lib folder).
Implement you clock changes in Masthead.jsp file.
Recreate you war after the changes and deploy to EP.
Thanks,
Hamendra
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.