View Javadoc

1   package org.starobjects.wicket.ui.components.scalars.noapplib;
2   
3   import org.nakedobjects.applib.value.Money;
4   import org.starobjects.wicket.model.models.ScalarModel;
5   import org.starobjects.wicket.ui.components.scalars.ScalarPanelTextFieldParseableAbstract;
6   
7   /**
8    * Panel for rendering scalars of type {@link Money Naked Objects' applib.Money}.
9    */
10  public class NoMoneyPanel extends ScalarPanelTextFieldParseableAbstract {
11  
12  	private static final long serialVersionUID = 1L;
13  	private static final String ID_SCALAR_VALUE = "scalarValue";
14  
15  	public NoMoneyPanel(String id, final ScalarModel scalarModel) {
16  		super(id, ID_SCALAR_VALUE, scalarModel);
17  	}
18  	
19  	@Override
20  	protected void addSemantics() {
21  		super.addSemantics();
22  	}
23  
24  }