AnsweredAssumed Answered

mapping search.html ...

Question asked by giluka on Nov 11, 2011
Latest reply on Nov 21, 2011 by giluka
Hi all,
i have a problem in my web quick start application: in search form how i map file /search.html  ??

my search form:

<div id="searchSection">
   <form action="${url.context}/search.html" method="get">
      <input type="hidden" value="${sectionId}" name="sectionId" />
      <fieldset>
         <label for="find">find</label>
         <input type="text" value="<#if phrase??>${phrase?html}<#else>${msg('search.box.search')?html}</#if>" name="phrase" id="search-phrase" maxlength="100"/><input type="image" id="searchSubmit" src="${url.context}/images/search_icon.png" />
      </fieldset>
   </form>
</div>

in wcmws-webapp-context.html i've found definition of search form controller

 <!– Search form controller –>    
    <bean id="searchFormController" class="org.alfresco.wcm.client.controller.SearchFormController">
        <property name="assetFactory" ref="assetFactory" />
        <property name="sectionFactory" ref="sectionFactory"/>
    </bean>

but mapping to this controller ???

thanks!

Outcomes