We are developing a service which will include localized text, and are running into issues with it locating the text.
We have already some JSP-Dynpage based iViews with localized text working, it is just the service that is not functioning properly.
The iView project layout was generated from the Eclipse Portal-Plugin, and we have the code layout as follows:
<SERVICE> \dist\PORTAL-INF\portal.xml (see contents of file below)
I have placed localization.properties (which in the documentation is said to be the default name)
but neither have helped the problem.
Localized text is being retrieved in the .java file as:
ResourceBundle objBundle = componentRequest.getResourceBundle();
where strKey does exist in the localization.properties file.
<?xml version="1.0" encoding="ISO-8859-1"?>
<property name="SharingReference" value="landscape,htmlb"/>
<property name="ClassName" value="com.etc.etc.MYService"/>
<property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
<property name="className" value="com.etc.etc.MYService"/>
<property name="startup" value="true"/>
<property name="Version" value="1.1.0"/>
Can the following be answered:
A) What should the portalapp.xml file look like?
B) How should the packaged par look like after its archived from Eclipse or ANT? (Can you give a sample directory listing)
C) Once the Service is uploaded to the portal, does it have to always be restarted?
If so, is restart enough or does the Portal have to be restarted as well for changes to take effect?