Where can I find the velocity template for dosearchsite.action

Thomas Berger July 4, 2017

I've found searchpanel.vm and search-results.vmd but both don't seem to be the correct ones or only parts of the rendered page.

 

1 answer

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 5, 2017

Please see Which vm file is the dosearchsite.action associated with?

TtheB's accepted answer was "You will find them in xwork.xml, which can be extracted from atlassian-confluence-x.x.x\confluence\WEB-INF\lib\confluence-x.x.x.jar"

Thomas Berger July 5, 2017

Thanks for the hint. However, the 'xwork.xml' does not contain a reference to 'dosearchsite.action'.

Must be a special case...

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 5, 2017

I found a reference to dosearchsite.action in <confluence_install>/confluence/template/includes/menu-macros.vm:

<form id="quick-search" class="aui-quicksearch dont-default-focus header-quicksearch" action="$req.contextPath/dosearchsite.action" method="get">

Does that help?

Thomas Berger July 6, 2017

Sorry, the quicksearch is a starting point to navigate to dosearchsite.action but not actually the template.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events