Re: Pretty navigation with JSF action methods not working

Splash Forums PrettyFaces Users Pretty navigation with JSF action methods not working Re: Pretty navigation with JSF action methods not working

#21757

m1m
Participant

There is no javascript. Source code of generated page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><link type="text/css" rel="stylesheet" href="/javax.faces.resource/theme.css.html?ln=primefaces-aristo" /></head><body>
<form id="j_idt5" name="j_idt5" method="post" action="/test1/" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="j_idt5" value="j_idt5" />
<a href="/test/">test 1</a>
<script type="text/javascript" src="/javax.faces.resource/jsf.js.html?ln=javax.faces"></script>
<a href="#" onclick="mojarra.jsfcljs(document.getElementById('j_idt5'),{'j_idt5:j_idt8':'j_idt5:j_idt8'},'');return false">test 2</a><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="-1541740442815650100:-126604687361482346" />
</form></body>

</html>