[jboss-user] [JBoss Seam] - Re: s:selectItems - whto work
lawrieg
do-not-reply at jboss.com
Wed Feb 14 09:49:59 EST 2007
No - I just modified the seam-gen generated code (which just seems to use default scopes) and removed the following lines form my generated CustomerHome.java code (as I don't need status to be mutable)
@In(value = "#{statusHome.managedInstance}", required = false)
| Status status;
and
public void wire() {
| if (status != null) {
| getInstance().setStatus(status);
| }
| }
|
| public boolean isWired() {
| if (getInstance().getStatus() == null)
| return false;
| return true;
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016399#4016399
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016399
More information about the jboss-user
mailing list