JSF+tiles+newbie = navigation problem.
Hi all,
I've got two pages: test.jsp, filter.jsp.
I've got JSF forms on both of them.
Code for the form is:
-------------
<f:view>
<h:form>
<p>
Riigi id: <h:inputText value="#{backing_test.id}"/>
</p>
<p>
Kood: <h:inputText value="#{backing_test.kood}"/>
</p>
<p>
<h:commandLink action="#{backing_test.goFilter}" value="action" />
<h:commandButton value="push me" action="#{backing_test.goFilter}"/>
</p>
</h:form>
</f:view>
-------------
The idea was that I enter data into form, push the button and I'm forwarded to page with database info, selected according to parameters I've entered into form.
Everything works fine until I uncomment
------------
<definition name="/test.tiles" extends="layout">
<put name="body" value="/test.jsp"/>
</definition>
<definition name="/filtered.tiles" extends="layout">
<put name="body" value="/filtered.jsp"/>
</definition>
----------------
in tiles.xml
I haven't used tiles at all before, I can't understand - where is the error?
May such data filter can be implemented in different way?