cancel
Showing results for 
Search instead for 
Did you mean: 

Change JSP HeaderIview of the Masthead

Former Member
0 Kudos

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

View Entire Topic
p330068
Active Contributor
0 Kudos

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