The controller:
import org.emaps.dao.Image;
| ...
|
| @Name("imageAction")
| @Scope(ScopeType.CONVERSATION)
| public class ImageActionBean implements Serializable {
|
| @Logger
| private Log logger;
|
| @In(create = true)
| private EntityManager em;
|
| @In(required=false)
| @Out(required=false)
| private Generalarticle selectedArticle;
|
| @In(required=false)
| @Out(required=false)
| private Image image;
and the pojo:
@Entity
| public class Image implements java.io.Serializable {
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026007#4026007
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026007
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user