bivouac 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/README +18 -1
  2. data/bin/bivouac +10 -6
  3. data/lib/bivouac/commands/generate.rb +2 -0
  4. data/lib/bivouac/commands/plugin.rb +47 -0
  5. data/lib/bivouac/helpers/view/goh/html.rb +17 -0
  6. data/lib/bivouac/template/application/postamble.rb +26 -4
  7. data/lib/bivouac/template/application_goh.rb +2 -1
  8. data/{examples/blog_erb/script/generate → lib/bivouac/template/plugin.rb} +1 -1
  9. data/lib/bivouac/template/static/index.html +3 -2
  10. metadata +95 -172
  11. data/doc/rdoc/classes/BivouacHelpers/BaseView.html +0 -178
  12. data/doc/rdoc/classes/BivouacHelpers/FormView.html +0 -398
  13. data/doc/rdoc/classes/BivouacHelpers/HtmlView.html +0 -274
  14. data/doc/rdoc/classes/BivouacHelpers/JavaScriptView.html +0 -573
  15. data/doc/rdoc/classes/BivouacHelpers/ScriptAculoUsView.html +0 -258
  16. data/doc/rdoc/classes/BivouacHelpers/TooltipView.html +0 -158
  17. data/doc/rdoc/classes/BivouacHelpers.html +0 -117
  18. data/doc/rdoc/classes/JavaScriptGenerator.html +0 -564
  19. data/doc/rdoc/created.rid +0 -1
  20. data/doc/rdoc/files/AUTHORS.html +0 -109
  21. data/doc/rdoc/files/COPYING.html +0 -533
  22. data/doc/rdoc/files/README.html +0 -379
  23. data/doc/rdoc/files/lib/bivouac/helpers/view/goh/base_rb.html +0 -109
  24. data/doc/rdoc/files/lib/bivouac/helpers/view/goh/form_rb.html +0 -109
  25. data/doc/rdoc/files/lib/bivouac/helpers/view/goh/html_rb.html +0 -109
  26. data/doc/rdoc/files/lib/bivouac/helpers/view/goh/javascript_rb.html +0 -113
  27. data/doc/rdoc/files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html +0 -113
  28. data/doc/rdoc/files/lib/bivouac/helpers/view/goh/tooltip_rb.html +0 -109
  29. data/doc/rdoc/index.html +0 -10
  30. data/doc/rdoc/permalink.gif +0 -0
  31. data/doc/rdoc/rdoc-style.css +0 -106
  32. data/doc/rdoc/rubyfr.png +0 -0
  33. data/examples/blog_erb/app/blog.rb +0 -84
  34. data/examples/blog_erb/app/controllers/add.rb +0 -19
  35. data/examples/blog_erb/app/controllers/comment.rb +0 -9
  36. data/examples/blog_erb/app/controllers/edit.rb +0 -18
  37. data/examples/blog_erb/app/controllers/index.rb +0 -8
  38. data/examples/blog_erb/app/controllers/info.rb +0 -11
  39. data/examples/blog_erb/app/controllers/login.rb +0 -15
  40. data/examples/blog_erb/app/controllers/logout.rb +0 -8
  41. data/examples/blog_erb/app/controllers/view.rb +0 -9
  42. data/examples/blog_erb/app/models/comment.rb +0 -5
  43. data/examples/blog_erb/app/models/post.rb +0 -5
  44. data/examples/blog_erb/app/models/user.rb +0 -4
  45. data/examples/blog_erb/app/views/add.html +0 -18
  46. data/examples/blog_erb/app/views/edit.html +0 -18
  47. data/examples/blog_erb/app/views/index.html +0 -12
  48. data/examples/blog_erb/app/views/layout.html +0 -12
  49. data/examples/blog_erb/app/views/login.html +0 -2
  50. data/examples/blog_erb/app/views/logout.html +0 -2
  51. data/examples/blog_erb/app/views/view.html +0 -20
  52. data/examples/blog_erb/config/environment.rb +0 -27
  53. data/examples/blog_erb/db/Blog.db +0 -0
  54. data/examples/blog_erb/db/create.rb +0 -8
  55. data/examples/blog_erb/db/migrate/comment.rb +0 -15
  56. data/examples/blog_erb/db/migrate/post.rb +0 -15
  57. data/examples/blog_erb/db/migrate/user.rb +0 -15
  58. data/examples/blog_erb/log/Blog.log +0 -57
  59. data/examples/blog_erb/public/images/camping.png +0 -0
  60. data/examples/blog_erb/public/index.html +0 -242
  61. data/examples/blog_erb/public/stylesheets/style.css +0 -10
  62. data/examples/blog_erb/script/server +0 -5
  63. data/lib/bivouac/commands/server.rb +0 -9
  64. data/lib/bivouac/template/application/helpers_erb.rb +0 -11
  65. data/lib/bivouac/template/application_erb.rb +0 -77
  66. data/lib/bivouac/template/application_jof.rb +0 -42
  67. data/lib/bivouac/template/generate/scaffold_view_create_erb.rb +0 -7
  68. data/lib/bivouac/template/generate/scaffold_view_list_erb.rb +0 -7
  69. data/lib/bivouac/template/generate/scaffold_view_view_erb.rb +0 -10
  70. data/lib/bivouac/template/generate/view_erb.rb +0 -2
@@ -1,379 +0,0 @@
1
-
2
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
- <html>
4
- <head>
5
- <title>
6
- Bivouac, the Documentation &raquo; File: README
7
- </title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
10
- <script language="JavaScript" type="text/javascript">
11
- // <![CDATA[
12
-
13
- function toggleSource( id )
14
- {
15
- var elem
16
- var link
17
-
18
- if( document.getElementById )
19
- {
20
- elem = document.getElementById( id )
21
- link = document.getElementById( "l_" + id )
22
- }
23
- else if ( document.all )
24
- {
25
- elem = eval( "document.all." + id )
26
- link = eval( "document.all.l_" + id )
27
- }
28
- else
29
- return false;
30
-
31
- if( elem.style.display == "block" )
32
- {
33
- elem.style.display = "none"
34
- link.innerHTML = "show source"
35
- }
36
- else
37
- {
38
- elem.style.display = "block"
39
- link.innerHTML = "hide source"
40
- }
41
- }
42
-
43
- function openCode( url )
44
- {
45
- window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
46
- }
47
- // ]]>
48
- </script>
49
- </head>
50
- <body>
51
- <!--
52
- <div id="menu">
53
- <h3 class="title">File: README</h3>
54
- </div>
55
- -->
56
- <div id="fullpage">
57
- <div id="pager">
58
- <table>
59
- <tr><td><img src="../rubyfr.png" /></td>
60
- <td id="pagertd">
61
- <strong># File: README<br />
62
- [
63
- "<a href="../files/README.html" value="File: README">README</a>",
64
- "<a href="../files/AUTHORS.html" value="File: AUTHORS">AUTHORS</a>",
65
- "<a href="../files/COPYING.html" value="File: COPYING">COPYING</a>",
66
- "<a href="../files/lib/bivouac/helpers/view/goh/base_rb.html" value="File: base.rb">lib/bivouac/helpers/view/goh/base.rb</a>",
67
- "<a href="../files/lib/bivouac/helpers/view/goh/form_rb.html" value="File: form.rb">lib/bivouac/helpers/view/goh/form.rb</a>",
68
- "<a href="../files/lib/bivouac/helpers/view/goh/html_rb.html" value="File: html.rb">lib/bivouac/helpers/view/goh/html.rb</a>",
69
- "<a href="../files/lib/bivouac/helpers/view/goh/tooltip_rb.html" value="File: tooltip.rb">lib/bivouac/helpers/view/goh/tooltip.rb</a>",
70
- "<a href="../files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html" value="File: scriptaculous.rb">lib/bivouac/helpers/view/goh/scriptaculous.rb</a>",
71
- "<a href="../files/lib/bivouac/helpers/view/goh/javascript_rb.html" value="File: javascript.rb">lib/bivouac/helpers/view/goh/javascript.rb</a>",
72
- <a href="http://greg.rubyfr.net">nil</a>].each do<br />
73
- <a href="../classes/JavaScriptGenerator.html" title="Class: JavaScriptGenerator">JavaScriptGenerator</a>.view_html<br />
74
- <a href="../classes/BivouacHelpers.html" title="Module: BivouacHelpers">BivouacHelpers</a>.view_html<br />
75
- <a href="../classes/BivouacHelpers/TooltipView.html" title="Module: BivouacHelpers::TooltipView">BivouacHelpers::TooltipView</a>.view_html<br />
76
- <a href="../classes/BivouacHelpers/ScriptAculoUsView.html" title="Module: BivouacHelpers::ScriptAculoUsView">BivouacHelpers::ScriptAculoUsView</a>.view_html<br />
77
- <a href="../classes/BivouacHelpers/BaseView.html" title="Module: BivouacHelpers::BaseView">BivouacHelpers::BaseView</a>.view_html<br />
78
- <a href="../classes/BivouacHelpers/JavaScriptView.html" title="Module: BivouacHelpers::JavaScriptView">BivouacHelpers::JavaScriptView</a>.view_html<br />
79
- <a href="../classes/BivouacHelpers/HtmlView.html" title="Module: BivouacHelpers::HtmlView">BivouacHelpers::HtmlView</a>.view_html<br />
80
- <a href="../classes/BivouacHelpers/FormView.html" title="Module: BivouacHelpers::FormView">BivouacHelpers::FormView</a>.view_html<br />
81
- end</strong>
82
- </td></tr>
83
- </table>
84
- </ul>
85
- </div>
86
-
87
- <div id="README" class="page_shade">
88
- <div class="page">
89
- <div class="header">
90
- <div class="path">README / Wed Jan 09 18:23:37 +0100 2008</div>
91
- </div>
92
-
93
- <h1>Bivouac</h1>
94
- <p>
95
- Copyright (C) 2007 Gregoire Lejeune
96
- </p>
97
- <ul>
98
- <li><a href="http://bivouac.rubyforge.org">bivouac.rubyforge.org</a>/
99
-
100
- </li>
101
- <li><a
102
- href="http://rubyforge.org/projects/bivouac">rubyforge.org/projects/bivouac</a>/
103
-
104
- </li>
105
- <li><a href="http://greg.rubyfr.net">greg.rubyfr.net</a>
106
-
107
- </li>
108
- </ul>
109
- <h2>DESCRIPTION:</h2>
110
- <p>
111
- Bivouac is a simple generator for <a
112
- href="http://code.whytheluckystiff.net/camping">camping</a>.
113
- </p>
114
- <h2>FEATURES/PROBLEMS:</h2>
115
- <h3>0.1.2:</h3>
116
- <ul>
117
- <li>You can now use
118
-
119
- <pre>
120
- $ ruby script/server webrick [options]
121
- </pre>
122
- </li>
123
- </ul>
124
- <h3>0.1.1:</h3>
125
- <ul>
126
- <li>Mineur bug correction in postamble to be really ready for Rails 2.0 !!!!!
127
-
128
- </li>
129
- <li>the index class is no longer Root (but Index)
130
-
131
- </li>
132
- </ul>
133
- <h3>0.1.0:</h3>
134
- <ul>
135
- <li>Add plugins support. See will_paginate plugin for Bivouac.
136
-
137
- </li>
138
- <li>Ready for Rails 2.0 !!!!
139
-
140
- </li>
141
- </ul>
142
- <h3>0.0.9:</h3>
143
- <ul>
144
- <li>Upgrade to simple-daemon &gt;= 0.1.2
145
-
146
- </li>
147
- <li>Better migration support! And migrate is now migration ! That&#8216;s
148
- better no ?
149
-
150
- </li>
151
- <li>Add MySQL, PostgreSQL, &#8230; support. See
152
-
153
- <pre>
154
- $ bivouac -h
155
- </pre>
156
- </li>
157
- <li>Add tests support with <a
158
- href="http://mosquito.rubyforge.org/">mosquito</a> :
159
-
160
- <pre>
161
- $ ruby script/generate test my_test_name
162
- </pre>
163
- <p>
164
- To run a test, juste do :
165
- </p>
166
- <pre>
167
- $ ruby test/test_my_test_name.rb
168
- </pre>
169
- </li>
170
- </ul>
171
- <h3>0.0.8:</h3>
172
- <ul>
173
- <li>Bivouac now work with WEBrick &#8212; Bug correction
174
-
175
- </li>
176
- <li>Markaby::Builder.set(:indent, 2)
177
-
178
- </li>
179
- </ul>
180
- <h3>0.0.7:</h3>
181
- <ul>
182
- <li><tt>&#8212;postamble</tt>&#8217; bivouac option is deprecated! You can use
183
- the <tt>-d</tt> option to start your application as a daemon :
184
-
185
- <pre>
186
- $ ruby script/server -d start
187
- </pre>
188
- <p>
189
- Then stop your server with :
190
- </p>
191
- <pre>
192
- $ ruby script/server -d stop
193
- </pre>
194
- <p>
195
- If you don&#8216;t want to demonize you app, just do
196
- </p>
197
- <pre>
198
- $ ruby script/server
199
- </pre>
200
- </li>
201
- <li>This version include helpers with a lot of limitations&#8230;
202
-
203
- </li>
204
- </ul>
205
- <h3>0.0.6:</h3>
206
- <ul>
207
- <li>Scaffold now works with ERB! It&#8216;s now time to work on a <b>real</b>
208
- scaffold!
209
-
210
- </li>
211
- </ul>
212
- <h3>0.0.5:</h3>
213
- <ul>
214
- <li>new generator : scaffold! &#8212; maybe someone need it!
215
-
216
- </li>
217
- <li>Ho my god! the code is horrible!
218
-
219
- </li>
220
- </ul>
221
- <h3>0.0.4:</h3>
222
- <ul>
223
- <li>the application file is now in app and not in app/controller
224
-
225
- </li>
226
- <li>Mongrel postamble is no more in the TODO list
227
-
228
- </li>
229
- <li>You can specify which address (<tt>-a</tt>) and port (<tt>-P</tt>) to bind
230
- to.
231
-
232
- </li>
233
- </ul>
234
- <h3>0.0.3:</h3>
235
- <ul>
236
- <li>Model generation is now ok (i hope)
237
-
238
- </li>
239
- <li>It&#8216;s now possible to create &quot;Get Out of Hand&quot; and
240
- &quot;Eruby/Erb&quot; projects
241
-
242
- </li>
243
- <li>script/generate have 3 new options :
244
-
245
- <ul>
246
- <li><tt>-v</tt> if you don&#8216;t want to create the view
247
-
248
- </li>
249
- <li><tt>-d</tt> if you don&#8216;t want the default route
250
-
251
- </li>
252
- <li><tt>-r</tt> if you want to add more routes
253
-
254
- </li>
255
- </ul>
256
- </li>
257
- <li>Only sqlite3 is supported
258
-
259
- </li>
260
- </ul>
261
- <h3>0.0.2:</h3>
262
- <ul>
263
- <li>So many problems!
264
-
265
- </li>
266
- </ul>
267
- <h3>0.0.1:</h3>
268
- <ul>
269
- <li>Can&#8216;t generate models and migrates
270
-
271
- </li>
272
- </ul>
273
- <h3>Extra:</h3>
274
- <ul>
275
- <li>With camping 1.5 there is a bug in
276
- /usr/lib/ruby/gems/1.8/gems/camping-1.5/lib/camping/webrick.rb line 59,
277
- change <tt>do_GET(req, res)</tt> to <tt>do_GET(req, resp)</tt>
278
-
279
- </li>
280
- </ul>
281
- <h2>TODO:</h2>
282
- <ul>
283
- <li>add test with <a
284
- href="http://code.whytheluckystiff.net/camping/wiki/MosquitoForBugFreeCamping">mosquito</a>
285
-
286
- </li>
287
- <li>more helpers&#8230;
288
-
289
- </li>
290
- </ul>
291
- <h2>SYNOPSIS:</h2>
292
- <pre>
293
- % bivouac -h
294
- Usage: bivouac [options] app
295
- bivouac, the generator for the microframework ON-button
296
- for ruby 1.8.6 (2007-06-07) [universal-darwin9.0]
297
-
298
- Specific options:
299
- -P, --port PORT Which port to bind to (3301)
300
- -a, --address ADDR Address to bind to (0.0.0.0)
301
- -o, --organize TYPE Type or organisation
302
- (options: JOF:Just On File
303
- GOH:Get Out of Hand
304
- ERB:use Eruby or Erb)
305
- -p, --postamble TYPE Add a postamble
306
- (options: CGI/FastCGI/Mongrel/WEBrick/none)
307
-
308
- Common options:
309
- -?, --help Show this message
310
- -v, --version Show version
311
-
312
- % bivouac your_app_name
313
- ...
314
- % cd your_app_name
315
- % ruby script/generate -h
316
- Usage: script/generate generator [options] [args]
317
-
318
- Generators
319
- Builtin: controller, model, migrate, view
320
-
321
- controller generator options:
322
- -v, --no-view Do not generate any view for the controller
323
- -d, --no-route Do not add the default route to the controller
324
- (/controller_name)
325
- -r, --route ROUTE,ROUTE,... Add ROUTES to the controller
326
-
327
- Common options:
328
- -h, --help Show this message
329
-
330
- % ruby script/generate controller your_controller
331
- ...
332
- % ruby script/server
333
- ...
334
- </pre>
335
- <h2>REQUIREMENTS:</h2>
336
- <ul>
337
- <li>camping
338
-
339
- </li>
340
- <li>mime-types
341
-
342
- </li>
343
- <li>extra
344
-
345
- </li>
346
- </ul>
347
- <h2>INSTALL:</h2>
348
- <pre>
349
- sudo gem install bivouac
350
- </pre>
351
- <p>
352
- or
353
- </p>
354
- <pre>
355
- sudo gem install bivouac --source=http://dev.rubyfr.net
356
- </pre>
357
- <h2>LICENSE:</h2>
358
- <p>
359
- Bivouac is freely distributable according to the terms of the GNU General
360
- Public License.
361
- </p>
362
- <p>
363
- This program is distributed without any warranty. See the file
364
- &#8216;COPYING&#8217; for details.
365
- </p>
366
-
367
-
368
-
369
-
370
-
371
-
372
-
373
- </div>
374
- </div>
375
-
376
-
377
- </div>
378
- </body>
379
- </html>
@@ -1,109 +0,0 @@
1
-
2
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
- <html>
4
- <head>
5
- <title>
6
- Bivouac, the Documentation &raquo; File: base.rb
7
- </title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href="../../../../../.././rdoc-style.css" type="text/css" media="screen" />
10
- <script language="JavaScript" type="text/javascript">
11
- // <![CDATA[
12
-
13
- function toggleSource( id )
14
- {
15
- var elem
16
- var link
17
-
18
- if( document.getElementById )
19
- {
20
- elem = document.getElementById( id )
21
- link = document.getElementById( "l_" + id )
22
- }
23
- else if ( document.all )
24
- {
25
- elem = eval( "document.all." + id )
26
- link = eval( "document.all.l_" + id )
27
- }
28
- else
29
- return false;
30
-
31
- if( elem.style.display == "block" )
32
- {
33
- elem.style.display = "none"
34
- link.innerHTML = "show source"
35
- }
36
- else
37
- {
38
- elem.style.display = "block"
39
- link.innerHTML = "hide source"
40
- }
41
- }
42
-
43
- function openCode( url )
44
- {
45
- window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
46
- }
47
- // ]]>
48
- </script>
49
- </head>
50
- <body>
51
- <!--
52
- <div id="menu">
53
- <h3 class="title">File: base.rb</h3>
54
- </div>
55
- -->
56
- <div id="fullpage">
57
- <div id="pager">
58
- <table>
59
- <tr><td><img src="../../../../../../rubyfr.png" /></td>
60
- <td id="pagertd">
61
- <strong># File: base.rb<br />
62
- [
63
- "<a href="../../../../../../files/README.html" value="File: README">README</a>",
64
- "<a href="../../../../../../files/AUTHORS.html" value="File: AUTHORS">AUTHORS</a>",
65
- "<a href="../../../../../../files/COPYING.html" value="File: COPYING">COPYING</a>",
66
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/base_rb.html" value="File: base.rb">lib/bivouac/helpers/view/goh/base.rb</a>",
67
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/form_rb.html" value="File: form.rb">lib/bivouac/helpers/view/goh/form.rb</a>",
68
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/html_rb.html" value="File: html.rb">lib/bivouac/helpers/view/goh/html.rb</a>",
69
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/tooltip_rb.html" value="File: tooltip.rb">lib/bivouac/helpers/view/goh/tooltip.rb</a>",
70
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html" value="File: scriptaculous.rb">lib/bivouac/helpers/view/goh/scriptaculous.rb</a>",
71
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/javascript_rb.html" value="File: javascript.rb">lib/bivouac/helpers/view/goh/javascript.rb</a>",
72
- <a href="http://greg.rubyfr.net">nil</a>].each do<br />
73
- <a href="../../../../../../classes/JavaScriptGenerator.html" title="Class: JavaScriptGenerator">JavaScriptGenerator</a>.view_html<br />
74
- <a href="../../../../../../classes/BivouacHelpers.html" title="Module: BivouacHelpers">BivouacHelpers</a>.view_html<br />
75
- <a href="../../../../../../classes/BivouacHelpers/TooltipView.html" title="Module: BivouacHelpers::TooltipView">BivouacHelpers::TooltipView</a>.view_html<br />
76
- <a href="../../../../../../classes/BivouacHelpers/ScriptAculoUsView.html" title="Module: BivouacHelpers::ScriptAculoUsView">BivouacHelpers::ScriptAculoUsView</a>.view_html<br />
77
- <a href="../../../../../../classes/BivouacHelpers/BaseView.html" title="Module: BivouacHelpers::BaseView">BivouacHelpers::BaseView</a>.view_html<br />
78
- <a href="../../../../../../classes/BivouacHelpers/JavaScriptView.html" title="Module: BivouacHelpers::JavaScriptView">BivouacHelpers::JavaScriptView</a>.view_html<br />
79
- <a href="../../../../../../classes/BivouacHelpers/HtmlView.html" title="Module: BivouacHelpers::HtmlView">BivouacHelpers::HtmlView</a>.view_html<br />
80
- <a href="../../../../../../classes/BivouacHelpers/FormView.html" title="Module: BivouacHelpers::FormView">BivouacHelpers::FormView</a>.view_html<br />
81
- end</strong>
82
- </td></tr>
83
- </table>
84
- </ul>
85
- </div>
86
-
87
- <div id="lib/bivouac/helpers/view/goh/base.rb" class="page_shade">
88
- <div class="page">
89
- <div class="header">
90
- <div class="path">lib/bivouac/helpers/view/goh/base.rb / Thu Oct 11 12:06:08 +0200 2007</div>
91
- </div>
92
-
93
- <p>
94
- bivouac/helpers/view/base
95
- </p>
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
- </div>
104
- </div>
105
-
106
-
107
- </div>
108
- </body>
109
- </html>
@@ -1,109 +0,0 @@
1
-
2
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
- <html>
4
- <head>
5
- <title>
6
- Bivouac, the Documentation &raquo; File: form.rb
7
- </title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href="../../../../../.././rdoc-style.css" type="text/css" media="screen" />
10
- <script language="JavaScript" type="text/javascript">
11
- // <![CDATA[
12
-
13
- function toggleSource( id )
14
- {
15
- var elem
16
- var link
17
-
18
- if( document.getElementById )
19
- {
20
- elem = document.getElementById( id )
21
- link = document.getElementById( "l_" + id )
22
- }
23
- else if ( document.all )
24
- {
25
- elem = eval( "document.all." + id )
26
- link = eval( "document.all.l_" + id )
27
- }
28
- else
29
- return false;
30
-
31
- if( elem.style.display == "block" )
32
- {
33
- elem.style.display = "none"
34
- link.innerHTML = "show source"
35
- }
36
- else
37
- {
38
- elem.style.display = "block"
39
- link.innerHTML = "hide source"
40
- }
41
- }
42
-
43
- function openCode( url )
44
- {
45
- window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
46
- }
47
- // ]]>
48
- </script>
49
- </head>
50
- <body>
51
- <!--
52
- <div id="menu">
53
- <h3 class="title">File: form.rb</h3>
54
- </div>
55
- -->
56
- <div id="fullpage">
57
- <div id="pager">
58
- <table>
59
- <tr><td><img src="../../../../../../rubyfr.png" /></td>
60
- <td id="pagertd">
61
- <strong># File: form.rb<br />
62
- [
63
- "<a href="../../../../../../files/README.html" value="File: README">README</a>",
64
- "<a href="../../../../../../files/AUTHORS.html" value="File: AUTHORS">AUTHORS</a>",
65
- "<a href="../../../../../../files/COPYING.html" value="File: COPYING">COPYING</a>",
66
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/base_rb.html" value="File: base.rb">lib/bivouac/helpers/view/goh/base.rb</a>",
67
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/form_rb.html" value="File: form.rb">lib/bivouac/helpers/view/goh/form.rb</a>",
68
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/html_rb.html" value="File: html.rb">lib/bivouac/helpers/view/goh/html.rb</a>",
69
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/tooltip_rb.html" value="File: tooltip.rb">lib/bivouac/helpers/view/goh/tooltip.rb</a>",
70
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html" value="File: scriptaculous.rb">lib/bivouac/helpers/view/goh/scriptaculous.rb</a>",
71
- "<a href="../../../../../../files/lib/bivouac/helpers/view/goh/javascript_rb.html" value="File: javascript.rb">lib/bivouac/helpers/view/goh/javascript.rb</a>",
72
- <a href="http://greg.rubyfr.net">nil</a>].each do<br />
73
- <a href="../../../../../../classes/JavaScriptGenerator.html" title="Class: JavaScriptGenerator">JavaScriptGenerator</a>.view_html<br />
74
- <a href="../../../../../../classes/BivouacHelpers.html" title="Module: BivouacHelpers">BivouacHelpers</a>.view_html<br />
75
- <a href="../../../../../../classes/BivouacHelpers/TooltipView.html" title="Module: BivouacHelpers::TooltipView">BivouacHelpers::TooltipView</a>.view_html<br />
76
- <a href="../../../../../../classes/BivouacHelpers/ScriptAculoUsView.html" title="Module: BivouacHelpers::ScriptAculoUsView">BivouacHelpers::ScriptAculoUsView</a>.view_html<br />
77
- <a href="../../../../../../classes/BivouacHelpers/BaseView.html" title="Module: BivouacHelpers::BaseView">BivouacHelpers::BaseView</a>.view_html<br />
78
- <a href="../../../../../../classes/BivouacHelpers/JavaScriptView.html" title="Module: BivouacHelpers::JavaScriptView">BivouacHelpers::JavaScriptView</a>.view_html<br />
79
- <a href="../../../../../../classes/BivouacHelpers/HtmlView.html" title="Module: BivouacHelpers::HtmlView">BivouacHelpers::HtmlView</a>.view_html<br />
80
- <a href="../../../../../../classes/BivouacHelpers/FormView.html" title="Module: BivouacHelpers::FormView">BivouacHelpers::FormView</a>.view_html<br />
81
- end</strong>
82
- </td></tr>
83
- </table>
84
- </ul>
85
- </div>
86
-
87
- <div id="lib/bivouac/helpers/view/goh/form.rb" class="page_shade">
88
- <div class="page">
89
- <div class="header">
90
- <div class="path">lib/bivouac/helpers/view/goh/form.rb / Wed Sep 12 11:41:16 +0200 2007</div>
91
- </div>
92
-
93
- <p>
94
- bivouac/helpers/view/form
95
- </p>
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
- </div>
104
- </div>
105
-
106
-
107
- </div>
108
- </body>
109
- </html>