Blog

Showing posts with label JSF. Show all posts
Showing posts with label JSF. Show all posts

Monday, 30 June 2014

Problem with JSF h:selectOneMenu and dates

While implementing pages in JSF you will often encounter silly problems which may take hours to solve. The longest it takes to find solution, the stupidest problem usually is. This is one of such situations.

Friday, 1 February 2013

JSF, ManyToMany and LazyInitializationException


Recently I needed to create simple CRUD.
When I tried to modify collection of available entities with annotation @ManyToMany my application thr
ew failed to lazily initialize a collection, no session or session was closed: org.hibernate.LazyInitializationException: (…)”

Friday, 5 October 2012

JSF Component must not be script

Recently we needed form to create JSF composite component that would bind custom Ajax event handler to a form. We simply made it output <script id="xxx">...</script>. And it was mistake!