Skip to Content
0
Jun 30, 2015 at 02:55 PM

Display User Name in custom ajax masthead

31 Views

Dear all

I am currently modifying the standard ajax masthead to display the user name in line with the logo on the masthead itself, and plan to hide the menu bar

e.g.

For the User Name, I modified the Masthead.jsp

 <%if (mastHeadBean.isShowLoggedAsMessage()) {%>
  <td>
                 <div class="userWelcome_container" id="welcome_message_container">
                 
              <% if (mastHeadBean.isPreview()) { %>
         <%= (mastHeadBean.getWelcomeMsgTitle()) %>
              <% } %>
    </div>
             </td>
            <%}%>

But it does not display correctly and the last name. If you see below image, the user name is coming in a span which I do not want.

I would like to display user, then help, then log off

Any help is appreciated.

Thanks

Sandip

Attachments

Image 2.jpg (18.5 kB)
Image 3.jpg (10.6 kB)