on 03-25-2010 4:12 PM
Hi Guru's
I am trying to make a small change in the PAR file com.sap.portal.navigation.masthead. I know all HowTo-guides, but this small change is not described...
The only thing I need is to set an element <BR> (a.k.a. next row in a cell) between "Welcome" and the "Username".
End result should be:
Welcome
John Smith
The code is standard:
<tbody>
<TR>
<TD class="prtlHeaderNotch" id="header_notch" nowrap><img src="<%=themeRootURLPath%>/../common/1x1.gif" class="prtlHeaderNotchImgWidth"></TD>
<% if (showPortalPlace)
{%>
<TD nowrap ti="0" tabIndex="0" class="prtlHdrWelcome" id="welcome_message" title="<%=StringUtils.escapeToHTML(GetWelcomeMsg(componentRequest, welcomeClauseStr))%>">
<BR><%=StringUtils.escapeToHTML(GetWelcomeMsg(componentRequest, welcomeClauseStr))%><BR><%=portalPlaceTitle%></TD>
<%} else
{%>
<TD nowrap ti="0" tabIndex="0" class="prtlHdrWelcome" id="welcome_message" title="<%=StringUtils.escapeToHTML(GetWelcomeMsg(componentRequest, welcomeClauseStr))%>">
<BR><%=StringUtils.escapeToHTML(GetWelcomeMsg(componentRequest, welcomeClauseStr))%></TD>
But where can I make the statement to go to the next row?
Second question:
Where do I have to put a plain text above the links:
For example:
Options:
Contact | Help | Personalize
THANKS IN ADVANCE!
G. Leurs
Hi G. Leurs
I think you need to call this method in StringUtils.escapeToHTML(GetWelcomeMsg(componentRequest, welcomeClauseStr)
Inside <% ....%> as Java code and spilt the Welcome and Name part adn put into string field. Now then show/print in html code with page break statement.
Hope it helps
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
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.