Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-287

Search panel does not work, if XWiki application context root is not "/xwiki"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 1.4.1
    • None
    • XWiki version 1.4.1.10194, on WebSphere 6.1 and Oracle 10g environment..
      XWiki web application is installed at contex root : "/"
    • search panel context

    Description

      When I clicked on Search panel on the home page, I get "Error 500" on the browser..
      Finally, I found the following script at URL : http://localhost:8080/xwiki/bin/inline/Panels/Search.
      It seems /xwiki context is hard coded here.. After I modified this script, search function worked properly..

      #panelhiddenheader($msg.get("Search"))
      <form action="/xwiki/bin/view/Main/WebSearch">
      <div id="globalsearch">
      <input id="globalsearchinput" type="text" name="text" value="$msg.get('panels.search.inputText')" size="15" onfocus="if (this.value == '$msg.get('panels.search.inputText')') value=''; this.select();" onblur="if (this.value == '') value='$msg.get('panels.search.inputText')'; this.blur()"/>
       
      <input class="button" value="$msg.get('panels.search.submit')" type="image" src="$xwiki.getSkinFile("go.png")"/>
      </div>
      </form>
      #panelfooter()

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              tamer_sezgin Tamer Sezgin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: