cancel
Showing results for 
Search instead for 
Did you mean: 

Change look&feel of your search templates

popeye
Champ in-the-making
Champ in-the-making
Hi,

is there a way to change the look & feel of your search templates in the UI? It seems that they are rendered automatically by parsing the XML template => but I want to add some additional text between the search criteria (some help texts for users)…or add some icons, images,…
=> so is there a way to achieve this?


Thanks 🙂
2 REPLIES 2

vahe
Champ in-the-making
Champ in-the-making
You can also customize your search templates by using a JSP form. Just define a certain JSP starting from design folder (in this case /demo/JspFormularTest.jsp) page inside your search template and save the template to the repository into your owsearchtemplates folder:
<…>
<…>
<…>
       <jsppage>demo/JspFormularTest.jsp</jsppage>
   </searchclauses>
<options maxrecords="100" />
</searchspec>
</storedsearch>
Afterwards you have to customize your JSP file that is located in /demo/JspFormularTest.jsp:
  •  Configure the fields that should be dislayed with
“<%m_View.renderNamedRegion(out,"PROP_NAME"); %>”
  •  Add some additional text/instructions
  •  Optional: change the design (background color, images,…)

In the distribution package of the OpenWorkdesk Community Edition you will find some examples, look here:
<distribution_package>bin//ow//designs//default20//demo

deko
Star Contributor
Star Contributor
For further information please see also chapter

4.9.1   Creating custom JSPs

in the OpenWorkdesk 3.2.0.0 Configuration and Planning Guide with lots of examples.