[svn r269] removed some small bugs, for empty annotations collumns
This commit is contained in:
parent
8439348458
commit
b1f6e870a3
5 changed files with 41 additions and 9 deletions
|
|
@ -36,6 +36,7 @@ import com.idcanet.vasc.annotations.VascColumnWidth;
|
|||
import com.idcanet.vasc.annotations.VascDefaultValue;
|
||||
import com.idcanet.vasc.annotations.VascHelpId;
|
||||
import com.idcanet.vasc.annotations.VascImage;
|
||||
import com.idcanet.vasc.annotations.VascModelReference;
|
||||
import com.idcanet.vasc.annotations.VascName;
|
||||
import com.idcanet.vasc.annotations.VascToolTip;
|
||||
|
||||
|
|
@ -46,12 +47,14 @@ import com.idcanet.vasc.annotations.VascToolTip;
|
|||
* @author Willem Cazander
|
||||
* @version 1.0 Mar 28, 2007
|
||||
*/
|
||||
@VascToolTip(key="En een tooltip op het model")
|
||||
public class TestModel {
|
||||
|
||||
private String name = null;
|
||||
private String description = null;
|
||||
private Float price = null;
|
||||
private Date date = null;
|
||||
private TestModel testModel = null;
|
||||
|
||||
/**
|
||||
* @return the date
|
||||
|
|
@ -116,4 +119,16 @@ public class TestModel {
|
|||
public void setPrice(Float price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
@VascImage(image="/resources/images/gabelfresser.gif")
|
||||
@VascModelReference
|
||||
@NotNull
|
||||
@Max(value=10)
|
||||
public TestModel getTestModel() {
|
||||
return testModel;
|
||||
}
|
||||
|
||||
public void setTestModel(TestModel testModel) {
|
||||
this.testModel = testModel;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue