[jboss-user] [JBoss Seam] - Re: Problem with Two DataModel
lucasdeoliveira
do-not-reply at jboss.com
Wed Aug 29 10:15:09 EDT 2007
Hi!
I'm using Jboss Seam, so I'm not sure if it will be as helpfull as u like but I would cut off these Datamodel names. So in resume, try the code below:
| @Name("servicoBean")
| @Scope(ScopeType.EVENT)
| public class ServicoBean
| {
| @Logger
| private Log log;
|
| @DataModel
| private List<Categoria> categorias;
|
| @DataModelSelection("categorias")
| private Categoria categoria;
|
| @DataModel
| private List<Servico> servicos;
| ...
| }
|
I've done that with JSF+Seam and it works like a charm.
cheers!
ps.: If that doesn't help it would be good to post the stack trace so we can take a look at it and see if it's something else.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079185#4079185
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079185
More information about the jboss-user
mailing list