No it isn't. Now you need to keep client state on the server. Have you ever used JSF? It's doing what you describe and it's the worst framework I have ever used. Yes it's even worse than using PHP+Apache without a framework.
Never trust the state of the client... Never trust client's input...
No idea what JSF is. Sorry it didn't give you access to the data you needed when you rendered files.