Bauke Scholtz wrote:I should add, you should never ever use scriptlets when you're already using taglibs and EL. It's a bad design and receipt for trouble.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:To amplify Bauke's admonition: DON'T code logic in the View!!! Not scriptlets, not logic JSP tags (à la JSTL), not nothing!
JSF is designed to be as close as possible to ... JSF View page - it belongs in upstream layers.
Bauke Scholtz wrote:Choose one of the components which I mentioned in my first reply.[/quote
i dont know them but its not what i wanted. Im trying to understand how to do this clearly with MVC standarts. Could you show me code of controller and then how it will be on page? If loops are not recommended to do?
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.