I read on other threads that this does not work:
&l
This should work perfectly fine on JSF 2.x. Did you ever try it yourself? If it doesn't work, then you're either actually using JSF 1.x or you're sending a redirect after POST.
The other threads which you're referring to were undoubtely talking about JSF 1.x, when the
instead or some shot of CSS to style the
to look like a button.
E.g.
with
a.button {
display: inline-block;
background: lightgray;
border: 1px outset lightgray;
outline: none;
color: black;
text-decoration: none;
cursor: default;
}
a.button:active {
border-style: inset;
}
Note that in JSF 2.x you've also the opportunity to use the new
This will navigate to create.xhtml
with the given parameters in request URL.