Maybe I'm being dense, but... if I read your post right, it sounds like you 
want your entity POJOs to be referenced through a JSF managed bean... so why 
not just make a stateful managed bean that has getters/setters for the entities?

Something like:

@Stateful
  | @Scope ( ... )
  | @Name ("myManagedBean")
  | class MyManagedBean {
  |   private String text ;
  |   private User user ;
  | 
  |   public String getText () { return this.text ; }
  |   public void setText (String text) { this.text = text ; }
  |   public User getUser () { ... }
  |   public void setUser (User user) { ... }
  |   
  | }

Then the EL would look something like this:


User name: #{myManagedBean.user.name}
Text: #{myManagedBean.string}


etcetera...


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021432#4021432

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021432
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to