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
One doubt, how the folder for "mobile" under WebContent added, you added manually or it was already there by default? As when I used the same war file there was no folder for mobile.
So not sure about this particular problem but you can try adding com.sap.security.api.jar file under /WebContent/WEB-INF/lib and try building the application.
Mobile folder was there by default, i did not make any changes to Standard WAR file, i just imported WAR file into NWDS and added
to Web-Inf/lib and project classpath (Build Path --> Configure Build Path)
Thanks in Advance
Below is the link which will guide you to customize the logon page in NW 7.3
Hope tihs may help in your case too.
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.