paymentSchedulePanel.setVisible(data.getPaymentSchedules() != null && data.getPaymentSchedules().isEmpty() == false);
final Button addPositionButton = new Button(SingleButtonPanel.WICKET_ID) {
@Override
public final void onSubmit()
{
data.addPaymentSchedule(new PaymentScheduleDO());
paymentSchedulePanel.rebuildEntries();
paymentSchedulePanel.setVisible(true);
}
};
final SingleButtonPanel addPositionButtonPanel = new SingleButtonPanel(dp.newChildId(), addPositionButton, getString("add"));