Common JSF , Hibernate issues

1. Autowire doesnt work inside a converter

    I’ve looked  for a solution and found a workaround , and make converter to a service and use the converter as below , 

<h:selectOneMenu id=”cityMenu” value=”#{bean.cityList[0]}” converter=”#{cityConverter}”>

<f:selectItems value=”#{referenceData.cityList}” var=”city” itemValue=”#{}” itemLabel=”#{city.cityName}” />


2. Deleted entity passed to persist

  soluiton is explained here




About buminda
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s