[jboss-user] [JBoss Seam] - Re: Serialization Exclusions

andres.testi do-not-reply at jboss.com
Tue Nov 13 07:12:56 EST 2007


Suppose I have a session bean working as backing bean. I don't want to enable the Facelet template access to property "accountNumber", but I want to enable my session bean to manage "accountNumber". @Restrict doen't work in this way. If my action method in the baking session bean is like this:

void updateBankClient(){
  int number = createAccountNumber();
  bankClient.setAccountNumber(number);
  em.update(bankClient);
}

an exception will be raised if I work with @Restrict.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104074



More information about the jboss-user mailing list