Package com.gitblit.wicket.panels

Examples of com.gitblit.wicket.panels.TicketSearchForm


    final String searchParam = params.getString("s", null);
    final String sortBy = Lucene.fromString(params.getString("sort", Lucene.created.name())).name();
    final boolean desc = !"asc".equals(params.getString("direction", "desc"));

    // add search form
    add(new TicketSearchForm("ticketSearchForm", repositoryName, searchParam, getClass(), params));

    final String activeQuery;
    if (!StringUtils.isEmpty(searchParam)) {
      activeQuery = searchParam;
    } else if (StringUtils.isEmpty(queryParam)) {
View Full Code Here


    // add the user title panel
    add(new UserTitlePanel("userTitlePanel", currentUser, getString("gb.myTickets")));

    // add search form
    add(new TicketSearchForm("ticketSearchForm", null, searchParam, getClass(), params));

    // standard queries
    add(new BookmarkablePageLink<Void>("changesQuery", MyTicketsPage.class,
        queryParameters(
            Lucene.type.matches(TicketModel.Type.Proposal.name()),
View Full Code Here

TOP

Related Classes of com.gitblit.wicket.panels.TicketSearchForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.