I'm evaluating JSF now. I have to admit that some of JSF ideas are pretty nice, but there are many non-intuitive things which make life hard. From another point of view, it is framework, with it's own rules of the game.
From my little experience I could say that JSF doesn't like the way of passing params via GET. Of course it is possible, but I couldn't say it is trivial and easy as in Struts for example. So, here is some technical stuff.
I need to to redirect from navigation-case to URL with param which is a property of a managed bean. It looks like this :
<navigation-rule>I've tried to figure out how to do it, but had no success here. In fact I found solution, but it's more something like a hack than solution.
So, I've asked MyFaces mailing list. Many thanks to all the people who answered me.
To keep the story short, here is solution. Custom view and navigation handlers should be added to use managed bean property as url param in navigation-case.
I think to myself... should I use core JSF or switch to Apache Orchestra, or JBoss Seam to make development with JSF less painful ? JSF is still young, 1.2 is the latest version of specification and frameworks that use JSF has many additional functionality. Who knows ?