The settings are kept in the hsql script, I think, right?).
- I select the language option;
- After some action, I hope the replacement of the portal title depends on the language version but it does not work; Changes appear after the page is reloaded once;
I have tried to implement the Strutsortort class and set dynamically (Resenders Response) sitel, it is not working as well. Changes appear after reloading the page once. Why are not changes visible immediately? I have read () that the " setTitle method is defined only in the RenderResponse interface, you can only change the portrait title in request processing phase render . What does it mean? Any Suggestions?
You should use the resource bundle for the localization of the Portlet title.
portlet.xml
& lt; portlet & gt; Portlet-name & gt; test portlet & lt; / portlet- name & Gt; ... & lt; resource-bundle & gt; Greterest-Portlet & lt; / ResourceBundle & gt; ... & lt; / portlet & gt;
test-portlet.properties
test-portlet_sk.properties
javax Portlet.title = Testovaci Portlet
No comments:
Post a Comment