Where is the Look and Feel JSP file?

147 views Asked by At

There is this Look and Feel option in every portlet settings:

Look and Feel potlet settings

I want to create hook for this tab. Which JSP file do I have to override? How can I add my custom field in this tab (like Use Custom Title)?

1

There are 1 answers

3
Tobias Liefke On BEST ANSWER

How to find such files:

  1. Look into src/content/Language.properties for a term from your screen with high significance, e.g. Use Custom Title:

    ...
    use-custom-title=Use Custom Title
    ...
    
  2. Now search for a file that contains the key, in our case use-custom-title:

    portal-web/docroot/html/portlet/portlet_css/view.jsp
    

That is indeed the file you are looking for.