summaryrefslogtreecommitdiff
path: root/demos/composer/protected/pages/Home.page
blob: b446abd2f4dade73f3d099e5d11188abe444c7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<%@ MasterClass="Application.pages.Layout" Theme="Simple" %>
<com:TContent ID="body" >

<com:TPanel GroupingText="Class Information">
class <com:TTextBox ID="ClassName" CssClass="slTextBox"/>
extends <com:TTextBox ID="ParentClass" CssClass="slTextBox"/>
implements <com:TTextBox ID="Interfaces" CssClass="slTextBox"/>
</com:TPanel>

<com:TPanel GroupingText="Property Definitions">
<table>
<tr>
  <th>Accessibility</th>
  <th>Name</th>
  <th>Type</th>
  <th>Default Value</th>
  <th>Storage Mode</th>
  <th>Comments</th>
  <th>Actions</th>
</tr>
<com:TRepeater ID="PropertyList">
<prop:ItemTemplate>
<tr>
  <td>
  <com:TCheckBox ID="IsProtected" Text="protected" Checked=<%# $this->Parent->DataItem->IsProtected %> />
  <com:TCheckBox ID="ReadOnly" Text="read-only" Checked=<%# $this->Parent->DataItem->ReadOnly %> />
  </td>
  <td>
  <com:TTextBox ID="PropertyName" Text=<%# $this->Parent->DataItem->Name %> CssClass="slTextBox"/>
  </td>
  <td>
  <com:TDropDownList ID="PropertyType" SelectedValue=<%# $this->Parent->DataItem->Type %> >
    <com:TListItem Text="string" />
    <com:TListItem Text="integer" />
    <com:TListItem Text="boolean" />
    <com:TListItem Text="enumerable" />
    <com:TListItem Text="float" />
    <com:TListItem Text="mixed" />
  </com:TDropDownList>
  </td>
  <td>
  <com:TTextBox ID="DefaultValue" Text=<%# $this->Parent->DataItem->DefaultValue %> CssClass="slTextBox"/>
  </td>
  <td>
  <com:TDropDownList ID="Storage" SelectedValue=<%# $this->Parent->DataItem->Storage %> >
    <com:TListItem Text="ViewState" />
    <com:TListItem Text="ControlState" />
    <com:TListItem Text="Memory" />
  </com:TDropDownList>
  </td>
  <td>
  <com:TTextBox ID="Comments" Text=<%# $this->Parent->DataItem->Comments %> CssClass="slTextBox"/>
  </td>
  <td>
  <com:TButton Text="Add" />
  <com:TButton Text="Remove" />
  </td>
</tr>
</prop:ItemTemplate>
</com:TRepeater>
</table>
</com:TPanel>
<com:TPanel GroupingText="Event Definitions">
Event Definitions:
</com:TPanel>
<br/>
Comments
(
Author Name: <com:TTextBox ID="AuthorName" CssClass="slTextBox"/>
Author Email: <com:TTextBox ID="AuthorEmail" CssClass="slTextBox"/>
)
<br/>
<com:TTextBox ID="Comments" TextMode="MultiLine" Columns="80" Rows="6" />
<br/>
<com:TButton Text="Generate Code" Click="generateCode" />
<pre>
<com:TLiteral ID="SourceCode" />
</pre>

</com:TContent>