Skip to content

Commit

Permalink
LPS-53683 taglib only includes one page
Browse files Browse the repository at this point in the history
  • Loading branch information
juliocamarero authored and brianchandotcom committed Feb 26, 2015
1 parent 6673f4b commit b6df5db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions util-taglib/src/com/liferay/taglib/ui/SearchTag.java
Expand Up @@ -16,35 +16,16 @@

import com.liferay.taglib.util.IncludeTag;

import javax.servlet.jsp.JspWriter;

/**
* @author Brian Wing Shun Chan
*/
public class SearchTag extends IncludeTag {

@Override
protected String getEndPage() {
return _END_PAGE;
}

@Override
protected String getStartPage() {
return _START_PAGE;
}

@Override
protected int processEndTag() throws Exception {
JspWriter jspWriter = pageContext.getOut();

jspWriter.write("</form>");

return EVAL_PAGE;
protected String getPage() {
return _PAGE;
}

private static final String _END_PAGE = "/html/taglib/ui/search/end.jsp";

private static final String _START_PAGE =
"/html/taglib/ui/search/start.jsp";
private static final String _PAGE = "/html/taglib/ui/search/page.jsp";

}

0 comments on commit b6df5db

Please sign in to comment.