[jboss-dev-forums] [Design of JBossXB] - Re: Top level groups

adrian@jboss.org do-not-reply at jboss.com
Tue Oct 10 08:25:39 EDT 2006


I also broke the particles for top level groups where it was processing them
multiple times. Once at the top level then again when the group
got referenced.

I've fixed it by only processing group particles when the group
doesn't have any, but there is probably a better way to do this?

e.g.

  |       +if (groupBinding.getParticles().isEmpty())
  |       +{
  |          ctx.pushModelGroup(groupBinding);
  |          bindModelGroupParticles(ctx, group);
  |          ctx.popModelGroup();
  |       +}
  | 

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

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



More information about the jboss-dev-forums mailing list