Hello everybody... I've created simple form with two input fields and one submit button on jsp page.
test.jsp <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page contentType="text/html;charset=windows-1257"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <jsp:useBean id="backing_test" class="mypackage.beans.backing.Test" scope="request" /> <%--= backing_test.action()--%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1257"></meta> <title> test </title> </head> <body> <f:view> <h:form binding="#{backing_test.form1}"> Riigi id: <h:inputText value="#{backing_test.id}"/> Kood: <h:inputText value="#{backing_test.kood}"/> <h:commandLink action="#{backing_test.goFilter}" value="action" /> <h:commandButton value="push me" action="#{backing_test.goFilter}" binding="#{backing_test.commandButton1}"/> </h:form> </f:view> </body> </html> I've added such code to faces-config.xml <navigation-rule> <from-view-id>/test.jsp</from-view-id> <navigation-case> <from-outcome>success</from-outcome> <to-view-id>/filtered.jsp</to-view-id> </navigation-case> </navigation-rule> And that's piece of code ofTest.java bean I use to get to another page: public String goFilter() { System.out.println("came to action"); // Add event code here... return "success"; } Till now everything goes fine, user is redirected to filter.jsp page after clicking button. Now attention please: As soon as I add such a code to my tiles.xml, my button stops working :( I even don't get "came to action" message :( <definition name="/test.tiles" extends="layout"> <put name="body" value="/test.jsp"/> </definition> Here layout defines basic page, with standard information on it (banners, menus, etc). I don't understand - how to heal such code... Is it possible to heal it without printing each page's layout manually?

