1 <?xml version='1.0' standalone='yes'?>
2 <var:component className="Frame" title="name"
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:var="http://www.skyrix.com/od/binding"
5 xmlns:const="http://www.skyrix.com/od/constant">
7 Selection: <var:string value="selection"/>
12 <var:pageview selection="selection"
13 titleColor="titleColor"
14 contentColor="contentColor"
15 const:firstIcon = "first.gif"
16 const:firstBlindIcon = "first_blind.gif"
17 const:previousIcon = "previous.gif"
18 const:previousBlindIcon = "previous_blind.gif"
19 const:nextIcon = "next.gif"
20 const:nextBlindIcon = "next_blind.gif"
21 const:lastIcon = "last.gif"
22 const:lastBlindIcon = "last_blind.gif"
24 <var:page const:key="first" const:title="first page">
28 <var:page const:key="second" const:title="second page">
32 <var:page const:key="third" const:title="third page">
36 <var:page const:key="fourth" const:title="fourth page">
40 <var:page const:key="fifth" const:title="fifth page">
46 Dynamically generated pages (using a var:foreach ...):<br/>
49 <var:pageview selection="selection"
50 titleColor="titleColor"
51 contentColor="contentColor"
52 const:firstIcon = "first.gif"
53 const:firstBlindIcon = "first_blind.gif"
54 const:previousIcon = "previous.gif"
55 const:previousBlindIcon = "previous_blind.gif"
56 const:nextIcon = "next.gif"
57 const:nextBlindIcon = "next_blind.gif"
58 const:lastIcon = "last.gif"
59 const:lastBlindIcon = "last_blind.gif"
61 <var:foreach list="pages" item="page">
62 <var:page key="page" title="page">
63 Content of <var:string value="page"/>
70 With form inside :<br/>
71 <var:pageview selection="selection"
72 titleColor="titleColor"
73 contentColor="contentColor"
74 const:firstIcon = "first.gif"
75 const:firstBlindIcon = "first_blind.gif"
76 const:previousIcon = "previous.gif"
77 const:previousBlindIcon = "previous_blind.gif"
78 const:nextIcon = "next.gif"
79 const:nextBlindIcon = "next_blind.gif"
80 const:lastIcon = "last.gif"
81 const:lastBlindIcon = "last_blind.gif"
83 <var:page const:key="first" const:title="first page">
84 <form var:action="self">
90 <var:page const:key="second" const:title="second page">
92 <form var:action="self">
95 <td align="right">title color:</td>
96 <td><input type="text" var:value="titleColor"/></td>
99 <td align="right">content color:</td>
100 <td><input type="text" var:value="contentColor"/></td>
104 <input type="submit" var:action="self" value="apply"/>
111 <var:page const:key="third" const:title="third page">
115 <var:page const:key="fourth" const:title="fourth page">
119 <var:page const:key="fifth" const:title="fifth page">
125 With form (doesn't work ...):<br/>
126 <form var:action="self">
127 <var:pageview selection="selection"
128 titleColor="titleColor"
129 contentColor="contentColor"
130 const:firstIcon = "first.gif"
131 const:firstBlindIcon = "first_blind.gif"
132 const:previousIcon = "previous.gif"
133 const:previousBlindIcon = "previous_blind.gif"
134 const:nextIcon = "next.gif"
135 const:nextBlindIcon = "next_blind.gif"
136 const:lastIcon = "last.gif"
137 const:lastBlindIcon = "last_blind.gif"
139 <var:page const:key="first" const:title="first page">
143 <var:page const:key="second" const:title="second page">
147 <var:page const:key="third" const:title="third page">
151 <var:page const:key="fourth" const:title="fourth page">
155 <var:page const:key="fifth" const:title="fifth page">
161 <form var:action="self">
164 <td align="right">title color:</td>
165 <td><input type="text" var:value="titleColor"/></td>
168 <td align="right">content color:</td>
169 <td><input type="text" var:value="contentColor"/></td>
173 <input type="submit" var:action="self" value="apply"/>