1 package org.andromda.cartridges.jsf.taglib;
2
3 import javax.faces.component.UIComponent;
4
5 import org.andromda.cartridges.jsf.component.html.HtmlExtendedDataTable;
6 import org.apache.myfaces.taglib.html.ext.HtmlDataTableTag;
7
8
9
10
11
12
13
14 public class HtmlExtendedDataTableTag
15 extends HtmlDataTableTag
16 {
17
18
19
20 @Override
21 protected void setProperties(final UIComponent component)
22 {
23 super.setProperties(component);
24 this.setStringProperty(component, HtmlExtendedDataTable.IDENTIFIER_COLUMNS, this.identifierColumns);
25 this.setStringProperty(component, HtmlExtendedDataTable.BACKING_VALUE, this.backingValue);
26 }
27
28
29
30
31 private String identifierColumns;
32
33
34
35
36 public String getIdentifierColumns()
37 {
38 return this.identifierColumns;
39 }
40
41
42
43
44 public void setIdentifierColumns(String identifierColumnsIn)
45 {
46 this.identifierColumns = identifierColumnsIn;
47 }
48
49
50
51
52 private String backingValue;
53
54
55
56
57 public String getBackingValue()
58 {
59 return this.backingValue;
60 }
61
62
63
64
65 public void setBackingValue(String backingValueIn)
66 {
67 this.backingValue = backingValueIn;
68 }
69
70
71
72
73 private static final String COMPONENT_TYPE = HtmlExtendedDataTable.class.getName();
74
75
76
77
78 @Override
79 public String getComponentType()
80 {
81 return COMPONENT_TYPE;
82 }
83 }