On Tue, 28 May 2013 10:45:06 -0300, Ken in Nashua
wrote:
Hi Folks,
Hi!
I want to include both player info and player stats in the same bean
model.
Check the mailing list archives for that. You'll probably need to
implement a PropertyConduit and use it in beanModel.add("stats, new
Y
Sorry folks...
if I got this
@Entity
@ClassDescriptor(hasCyclicRelationships = true)
@BeanModels(
{ @BeanModel(pageType = PageType.LIST,
include = "player, gp, g, a, pts",
exclude="") })
public class PlayerStats implements Cloneable, Serializable {
private static final Log l
Maybe I should be doing the bean model on PlayerStats
public class PlayerStats implements Cloneable, Serializable {
private static final Log log = LogFactory.getLog(PlayerStats.class);
private Integer id = null;
private Player player = null;
...can I refer to the player from there ?
Players and stats are keyed by Season.class so there could be at any given time
one Player instance and one PlayerStats instance to deal with.
Its not immediately apparent to me how to combine properties from both classes
into the grid bveanmodel
Hi Folks,
I have a Player.class
public class Player extends Person implements Cloneable, Serializable {
private Set playerStats = new HashSet();
He has a collection of stats. goals, assists, points etc...
I am rendering league leaders... so I have a bean model I am working on
myMo