There is this sentence in JBoss EL resolver online documentation:
It's important to fully understand how this extension to EL works. When the page is rendered, the parameter names are stored (for example, hotel.id and user.username), and evaluated (as value expressions) when the page is submitted. You can't pass objects as parameters!
But I had used objects as function parameters in my project before I accidentally read this hint and it worked! How is it possible? I'm afraid of that there is some magic now...
EDIT: Please notice that I'm actually using full-worthy objects as parameters without any problem with our framework stack (MyFaces, Facelets, Trinidad, Spring, Webflow) and I'm asking how is this possible. For example I can do this in xhtml template: "#{pageBean.formatAccount(account)}" where account is very complex class. I know that according to the documentation it shouldn't be possible, but it is. Should I be afraid of some difficulties in the future? That's the question.