on 02-11-2008 12:07 PM
Hello All,
My requirement is that i want to display the "Welcome clause" on portal tool area (i have changed the location of search filed to extreme right) instead of diaplaying it on Masthead??
I tried replacing the code that displayes this Welcome message from maasthear PAR file to tool area PAR file, but didnt work..Ay inputs on how can i do this? or is it at all possilble ??
Regards,
Ameya
Ameya,
Add this code in u r tool area
<%@ taglib uri="NavigationTagLibrary" prefix="nav" %>
<%@ taglib uri="FrameworkTagLibrary" prefix="frm" %>
Welcome
<nav:ifNotAnonymousUser>
<frm:userFirstName /> <frm:userLastName />
</nav:ifNotAnonymousUser>
<nav:ifAnonymousUser>
Guest
</nav:ifAnonymousUser>
In the portalapp.xml file add this to the between <component-profile></component-profile>
<property name="NavigationTagLibrary" value="/SERVICE/com.sap.portal.navigation.navigationtaglibrary/taglib/TagLibrary.tld"/>
<property name="FrameworkTagLibrary" value="/SERVICE/com.sap.portal.pagebuilder/taglib/framework.tld"/>
Regards,
Mr.Chowdary
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Can u try with this
you have to modify the com.sap.portal.navigation.masthead.par.
To change "Welcome User Name" to "Hi User Name" you only have to change the string: "WELCOME_TEXT=Welcome" to "WELCOME_TEXT=Hi" in the file "headeriView_nls.properties" (and all other languages files, if you are working with more than one language).
For this you have to copy the file "com.sap.portal.navigation.masthead.par.bak" from the deployment directory under your own namespace, unpack and go to "PORTAL-INF\private\classes".
For other changes in the Welcome-string (i.e.: remove lastname) you will have to edit the "GetWelcomeMsg"-method from the file "HeaderiView.jsp".
After saving your changes, redeploy the par file, create a new Masthead-iView based on the portal component in the PAR and integrate this iView in your frameworkpage.
Cheers
Chinmaya
reward for helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think it should be possible. Have you included the appropriate property file (CSS) and the necessary javascript function (i.e, method)?
Regards,
Harini S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.