Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal : Administration and Development
Viewing all articles
Browse latest Browse all 2686

Masthead 7.3 jsp errors.

$
0
0

Hi ,

 

Getting below errors after importing  Masthead into nwds 7.3 SAP 00 after resolving jar files errors.

 

1)   Can not find the tag library descriptor for "prt:taglib:tlframework"

 

<%@ taglib uri="prt:taglib:tlframework" prefix="frm" %>

 

 

 

 

2) MissingResourceException cannot be resolved to a type

 

private String getNLSString(IPortalComponentRequest request, String resource_key)

 

{

 

       try

 

       {

 

               ResourceBundle bundle = request.getResourceBundle();

 

               if(bundle != null)

 

               {

 

                      return bundle.getString(resource_key);

 

               }

 

               return resource_key;

 

        }

 

        catch(MissingResourceException e)

 

        {

 

               return resource_key;

 

        }

 

}

 

 

 

 

3)   NavigationEventsHelperService cannot be resolved to a type

 

 

private boolean isAnonymous(IPortalComponentRequest request)

 

{

 

       NavigationEventsHelperService helperService = (NavigationEventsHelperService)

 

                              PortalRuntime.getRuntimeResources().getService(NavigationEventsHelperService.KEY);

 

       return helperService.isAnonymousUser(request);

 

}

 

 

 

 

4) List cannot be resolved to a type  ,   Locale cannot be resolved to a type

 

 

 

private List getDisplayLanguagesName(IPortalComponentRequest request)

 

{

 

               ILocaleListService localeService = (ILocaleListService)PortalRuntime.getRuntimeResources().getService(ILocaleListService.KEY);

 

               Locale globalLocale = request.getLocale();

 

               List allLocales = localeService.getListOfPersLocalesOrderedByDisplayName(globalLocale);

 

               List allLocaleDisplayNames = localeService.getDisplayNamesForLocales(allLocales, globalLocale);

 

             

 

               return allLocaleDisplayNames;

 

}

 

 

 

 

 

 

 

5)   componentRequest cannot be resolved

 

 

 

String welcomeClauseStr = getNLSString(componentRequest, WELCOME_CLAUSE);

 

String helpTextStr = getNLSString(componentRequest, HELP_TEXT);

 

String logOffTextStr = getNLSString(componentRequest, LOG_OFF_TEXT);

 

String logInTextStr = getNLSString(componentRequest, LOG_ON_TEXT);

 

String personalizeTextStr = getNLSString(componentRequest, PERSONALIZE_TEXT);

 

String newWindowTextStr = getNLSString(componentRequest, NEW_WINDOW_TEXT);

 

String helpTooltipStr = getNLSString(componentRequest, HELP_TOOLTIP);

 

 

Regards,

 

Edited by: kishoreibm on Nov 8, 2011 6:07 PM

 

Edited by: kishoreibm on Nov 9, 2011 5:18 AM


Viewing all articles
Browse latest Browse all 2686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>