示例#1
0
  private static UidWrapper makeWrapper(ActionBean parent, AbstractRecord rec, String beanType) {
    UidWrapper w =
        new UidWrapper(
            parent._uidWrapper.getBrowser(),
            beanType,
            rec.type(),
            rec.getClass().getName(),
            rec.order(),
            false);
    // TODO look up the hander for rec.type() and use that to create the wrapper
    w.setName(parent.getName() + ",puid=" + rec.order().fileStringForm());

    return w;
  }
示例#2
0
 public void init(ActionBean parent, AbstractRecord rec, ParticipantStatus listType) {
   this.parent = parent;
   this.rec = rec;
   this.listType = listType;
   _uidWrapper.setName(parent.getName() + ",puid=" + rec.order().fileStringForm());
 }