Login Screen Customization (Netweaver Portal 7.3)
We are using Netweaver Portal 7.3, i am facing problem when trying to customize the login page,
i have downloaded tc~sec~ume~logon~ui.war from <Installation drive>:\usr\sap\<SID>\J00\j2ee\cluster\apps\sap.com\com.sap.security.core.logon\servlet_jsp\logon_ui_resources
After doing this i have imported the WAR file into SAP NWDS (7.3 SP07 PAT0000).
I have also added tc~sec~ume~logon~logic_api.jar (downloaded from <Installation drive>:\usr\sap\<SID>\J00\j2ee\cluster\apps\sap.com\com.sap.security.core.logon\servlet_jsp\logon_app\root\WEB-INF\lib) to project classpath (Build Path --> Configure Build Path) and WebContent\WEB-INF\lib.
Inspite of doing this i am getting compilation errors in some of the JSP’s.
|DeviceType cannot be resolved||logonPageMobile.jsp||tc~sec~ume~logon~ui/WebContent/mobile|
|otherUiLoaded cannot be resolved||logonPageMobile.jsp||tc~sec~ume~logon~ui/WebContent/mobile|
|uiFrameTopMargin cannot be resolved||certLogonPageMobile.jsp||tc~sec~ume~logon~ui/WebContent/mobile|
Attached is the error and classpath screenshot.
Please Advice what to be done
Thanks for your support, i have raised an OSS ticket, following is the reply from SAP team.
The 'DeviceType' parameter of the equalsIgnoreCase() clause, which your
IDE cannot resove is a variable, actually. You can see it being
initialized in the certLogonPage.jsp. Somewhat later there the
certLogonPageMobile.jsp is being included, so runtime these 2 jsp-s willwork with no problem. The compilation error you get is due to the fact
that the IDE doesn't resolve and follow the include clauses, hence it
cannot know that the 'DeviceType' variable has been declared and
initialized in another jsp.
This is actually no issue, and your application will work at runtime.
Please, ignore this kind of compilation errors.