Guys i really need your help.
i got this form in the theme
1<form method="GET" action="/web/kafer-edv/suche">
2 <input type="text" name="vorname" id="vorname" size="25">
3 </p>
4 <p><input type="submit" value="Suche"></p>
5</form>
and the text that i type in should be transefered to the searchportlet. i know that the form in the search.jsp is like this
1<aui:fieldset>
2 <aui:input inlineField="<%= true %>" label="" name="keywords" size="30" value="<%= keywords %>" />
3
4 <aui:select inlineField="<%= true %>" label="" name="groupId">
5 <aui:option label="everything" selected="<%= groupId == 0 %>" value="0" />
6 <aui:option label='<%= "this-" + (group.isOrganization() ? "organization" : "site") %>' selected="<%= groupId != 0 %>" value="<%= group.getGroupId() %>" />
7 </aui:select>
8
9 <aui:button align="absmiddle" border="0" name="search" onClick='<%= renderResponse.getNamespace() + "search();" %>' src='<%= themeDisplay.getPathThemeImages() + "/common/search.png" %>' title="search" type="image" />
10
11 <portlet:renderURL var="clearSearchURL" copyCurrentRenderParameters="<%= false %>">
12 <portlet:param name="groupId" value="0" />
13 </portlet:renderURL>
14
15 <aui:button align="absmiddle" border="0" href="<%= clearSearchURL %>" name="clear-search" src='<%= themeDisplay.getPathThemeImages() + "/common/undo.png" %>' title="clear-search" type="image" />
16 </aui:fieldset>
but how do i get my word into the search.
PLEASE i need a fast answer.
im using the latest liferay version with tomcat.
and im not the best programmer so a code example would be nice
thanks in advance
Please sign in to flag this as inappropriate.