bivouac 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README +6 -7
- data/bin/bivouac +1 -1
- data/doc/rdoc/classes/BivouacHelpers/BaseView.html +178 -0
- data/doc/rdoc/classes/BivouacHelpers/FormView.html +398 -0
- data/doc/rdoc/classes/BivouacHelpers/HtmlView.html +305 -0
- data/doc/rdoc/classes/BivouacHelpers/JavaScriptView.html +573 -0
- data/doc/rdoc/classes/BivouacHelpers/ScriptAculoUsView.html +258 -0
- data/doc/rdoc/classes/BivouacHelpers/TooltipView.html +158 -0
- data/doc/rdoc/classes/BivouacHelpers.html +117 -0
- data/doc/rdoc/classes/JavaScriptGenerator.html +564 -0
- data/doc/rdoc/created.rid +1 -0
- data/doc/rdoc/files/AUTHORS.html +109 -0
- data/doc/rdoc/files/COPYING.html +533 -0
- data/doc/rdoc/files/README.html +427 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/base_rb.html +109 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/form_rb.html +109 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/html_rb.html +109 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/javascript_rb.html +113 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html +113 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/tooltip_rb.html +109 -0
- data/doc/rdoc/index.html +10 -0
- data/doc/rdoc/permalink.gif +0 -0
- data/doc/rdoc/rdoc-style.css +106 -0
- data/doc/rdoc/rubyfr.png +0 -0
- data/examples/bivouac_sample/Rakefile +48 -0
- data/examples/bivouac_sample/app/bivouac_sample.rb +15 -7
- data/examples/bivouac_sample/app/controllers/index.rb +2 -2
- data/examples/bivouac_sample/app/controllers/sound.rb +10 -0
- data/examples/bivouac_sample/app/helpers/_helpers.rb +6 -3
- data/examples/bivouac_sample/app/views/sound.rb +16 -0
- data/examples/bivouac_sample/config/environment.rb +5 -2
- data/examples/bivouac_sample/config/postamble.rb +89 -18
- data/examples/bivouac_sample/public/javascripts/builder.js +12 -7
- data/examples/bivouac_sample/public/javascripts/controls.js +485 -355
- data/examples/bivouac_sample/public/javascripts/dragdrop.js +82 -52
- data/examples/bivouac_sample/public/javascripts/effects.js +361 -329
- data/examples/bivouac_sample/public/javascripts/prototype.js +2826 -1120
- data/examples/bivouac_sample/public/javascripts/scriptaculous.js +15 -8
- data/examples/bivouac_sample/public/javascripts/slider.js +40 -43
- data/examples/bivouac_sample/public/javascripts/sound.js +55 -0
- data/examples/bivouac_sample/public/javascripts/unittest.js +16 -12
- data/examples/bivouac_sample/public/sound/sword.mp3 +0 -0
- data/examples/bivouac_sample/script/console +6 -0
- data/examples/bivouac_sample/script/plugin +3 -0
- data/examples/bivouac_sample/script/server +2 -1
- data/examples/bivouac_sample/test/test_sound.rb +15 -0
- data/lib/bivouac/helpers/view/goh/sound.rb +38 -0
- data/lib/bivouac/template/application/helpers_goh.rb +2 -0
- data/lib/bivouac/template/static/builder.js +12 -7
- data/lib/bivouac/template/static/controls.js +485 -355
- data/lib/bivouac/template/static/dragdrop.js +82 -52
- data/lib/bivouac/template/static/effects.js +361 -329
- data/lib/bivouac/template/static/prototype.js +2826 -1120
- data/lib/bivouac/template/static/scriptaculous.js +15 -8
- data/lib/bivouac/template/static/slider.js +40 -43
- data/lib/bivouac/template/static/sound.js +55 -0
- data/lib/bivouac/template/static/unittest.js +16 -12
- metadata +45 -2
@@ -0,0 +1,427 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<title>
|
6
|
+
Bivouac, the Documentation » 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 / Sun Mar 23 21:14:46 +0100 2008</div>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<h1>Bivouac</h1>
|
94
|
+
<p>
|
95
|
+
Copyright (C) 2007, 2008 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.5:</h3>
|
116
|
+
<ul>
|
117
|
+
<li>Upgrade prototype (1.6.0.2)
|
118
|
+
|
119
|
+
</li>
|
120
|
+
<li>Upgrade Script.aculo.us (1.8.1)
|
121
|
+
|
122
|
+
</li>
|
123
|
+
<li>Add sound helper
|
124
|
+
|
125
|
+
</li>
|
126
|
+
</ul>
|
127
|
+
<h3>0.1.4:</h3>
|
128
|
+
<ul>
|
129
|
+
<li>Add Thin (<a
|
130
|
+
href="http://code.macournoyer.com/thin">code.macournoyer.com/thin</a>/)
|
131
|
+
support — Thin is now the default Webserver
|
132
|
+
|
133
|
+
</li>
|
134
|
+
<li>class Public modified to support thin :
|
135
|
+
|
136
|
+
<pre>
|
137
|
+
@headers['X-Sendfile'] = File.join PATH, '..', 'public', file
|
138
|
+
replaced by
|
139
|
+
@body = open( File.join( PATH, '..', 'public', file ) )
|
140
|
+
</pre>
|
141
|
+
</li>
|
142
|
+
<li>Add image_path function
|
143
|
+
|
144
|
+
</li>
|
145
|
+
<li>ERB applications are no longer supported. Sorry!
|
146
|
+
|
147
|
+
</li>
|
148
|
+
<li>Add script/plugin (beta — hum… bivouac is beta!)
|
149
|
+
|
150
|
+
</li>
|
151
|
+
<li>Update index page
|
152
|
+
|
153
|
+
</li>
|
154
|
+
</ul>
|
155
|
+
<h3>0.1.3:</h3>
|
156
|
+
<ul>
|
157
|
+
<li>add script/console
|
158
|
+
|
159
|
+
</li>
|
160
|
+
<li>add Rakefile
|
161
|
+
|
162
|
+
</li>
|
163
|
+
<li>Mineur bug corrections
|
164
|
+
|
165
|
+
</li>
|
166
|
+
</ul>
|
167
|
+
<h3>0.1.2:</h3>
|
168
|
+
<ul>
|
169
|
+
<li>You can now use
|
170
|
+
|
171
|
+
<pre>
|
172
|
+
$ ruby script/server webrick [options]
|
173
|
+
</pre>
|
174
|
+
</li>
|
175
|
+
</ul>
|
176
|
+
<h3>0.1.1:</h3>
|
177
|
+
<ul>
|
178
|
+
<li>Mineur bug correction in postamble to be really ready for Rails 2.0 !!!!!
|
179
|
+
|
180
|
+
</li>
|
181
|
+
<li>the index class is no longer Root (but Index)
|
182
|
+
|
183
|
+
</li>
|
184
|
+
</ul>
|
185
|
+
<h3>0.1.0:</h3>
|
186
|
+
<ul>
|
187
|
+
<li>Add plugins support. See will_paginate plugin for Bivouac.
|
188
|
+
|
189
|
+
</li>
|
190
|
+
<li>Ready for Rails 2.0 !!!!
|
191
|
+
|
192
|
+
</li>
|
193
|
+
</ul>
|
194
|
+
<h3>0.0.9:</h3>
|
195
|
+
<ul>
|
196
|
+
<li>Upgrade to simple-daemon >= 0.1.2
|
197
|
+
|
198
|
+
</li>
|
199
|
+
<li>Better migration support! And migrate is now migration ! That‘s
|
200
|
+
better no ?
|
201
|
+
|
202
|
+
</li>
|
203
|
+
<li>Add MySQL, PostgreSQL, … support. See
|
204
|
+
|
205
|
+
<pre>
|
206
|
+
$ bivouac -h
|
207
|
+
</pre>
|
208
|
+
</li>
|
209
|
+
<li>Add tests support with <a
|
210
|
+
href="http://mosquito.rubyforge.org/">mosquito</a> :
|
211
|
+
|
212
|
+
<pre>
|
213
|
+
$ ruby script/generate test my_test_name
|
214
|
+
</pre>
|
215
|
+
<p>
|
216
|
+
To run a test, juste do :
|
217
|
+
</p>
|
218
|
+
<pre>
|
219
|
+
$ ruby test/test_my_test_name.rb
|
220
|
+
</pre>
|
221
|
+
</li>
|
222
|
+
</ul>
|
223
|
+
<h3>0.0.8:</h3>
|
224
|
+
<ul>
|
225
|
+
<li>Bivouac now work with WEBrick — Bug correction
|
226
|
+
|
227
|
+
</li>
|
228
|
+
<li>Markaby::Builder.set(:indent, 2)
|
229
|
+
|
230
|
+
</li>
|
231
|
+
</ul>
|
232
|
+
<h3>0.0.7:</h3>
|
233
|
+
<ul>
|
234
|
+
<li><tt>—postamble</tt>’ bivouac option is deprecated! You can use
|
235
|
+
the <tt>-d</tt> option to start your application as a daemon :
|
236
|
+
|
237
|
+
<pre>
|
238
|
+
$ ruby script/server -d start
|
239
|
+
</pre>
|
240
|
+
<p>
|
241
|
+
Then stop your server with :
|
242
|
+
</p>
|
243
|
+
<pre>
|
244
|
+
$ ruby script/server -d stop
|
245
|
+
</pre>
|
246
|
+
<p>
|
247
|
+
If you don‘t want to demonize you app, just do
|
248
|
+
</p>
|
249
|
+
<pre>
|
250
|
+
$ ruby script/server
|
251
|
+
</pre>
|
252
|
+
</li>
|
253
|
+
<li>This version include helpers with a lot of limitations…
|
254
|
+
|
255
|
+
</li>
|
256
|
+
</ul>
|
257
|
+
<h3>0.0.6:</h3>
|
258
|
+
<ul>
|
259
|
+
<li>Scaffold now works with ERB! It‘s now time to work on a <b>real</b>
|
260
|
+
scaffold!
|
261
|
+
|
262
|
+
</li>
|
263
|
+
</ul>
|
264
|
+
<h3>0.0.5:</h3>
|
265
|
+
<ul>
|
266
|
+
<li>new generator : scaffold! — maybe someone need it!
|
267
|
+
|
268
|
+
</li>
|
269
|
+
<li>Ho my god! the code is horrible!
|
270
|
+
|
271
|
+
</li>
|
272
|
+
</ul>
|
273
|
+
<h3>0.0.4:</h3>
|
274
|
+
<ul>
|
275
|
+
<li>the application file is now in app and not in app/controller
|
276
|
+
|
277
|
+
</li>
|
278
|
+
<li>Mongrel postamble is no more in the TODO list
|
279
|
+
|
280
|
+
</li>
|
281
|
+
<li>You can specify which address (<tt>-a</tt>) and port (<tt>-P</tt>) to bind
|
282
|
+
to.
|
283
|
+
|
284
|
+
</li>
|
285
|
+
</ul>
|
286
|
+
<h3>0.0.3:</h3>
|
287
|
+
<ul>
|
288
|
+
<li>Model generation is now ok (i hope)
|
289
|
+
|
290
|
+
</li>
|
291
|
+
<li>It‘s now possible to create "Get Out of Hand" and
|
292
|
+
"Eruby/Erb" projects
|
293
|
+
|
294
|
+
</li>
|
295
|
+
<li>script/generate have 3 new options :
|
296
|
+
|
297
|
+
<ul>
|
298
|
+
<li><tt>-v</tt> if you don‘t want to create the view
|
299
|
+
|
300
|
+
</li>
|
301
|
+
<li><tt>-d</tt> if you don‘t want the default route
|
302
|
+
|
303
|
+
</li>
|
304
|
+
<li><tt>-r</tt> if you want to add more routes
|
305
|
+
|
306
|
+
</li>
|
307
|
+
</ul>
|
308
|
+
</li>
|
309
|
+
<li>Only sqlite3 is supported
|
310
|
+
|
311
|
+
</li>
|
312
|
+
</ul>
|
313
|
+
<h3>0.0.2:</h3>
|
314
|
+
<ul>
|
315
|
+
<li>So many problems!
|
316
|
+
|
317
|
+
</li>
|
318
|
+
</ul>
|
319
|
+
<h3>0.0.1:</h3>
|
320
|
+
<ul>
|
321
|
+
<li>Can‘t generate models and migrates
|
322
|
+
|
323
|
+
</li>
|
324
|
+
</ul>
|
325
|
+
<h3>Extra:</h3>
|
326
|
+
<ul>
|
327
|
+
<li>With camping 1.5 there is a bug in
|
328
|
+
/usr/lib/ruby/gems/1.8/gems/camping-1.5/lib/camping/webrick.rb line 59,
|
329
|
+
change <tt>do_GET(req, res)</tt> to <tt>do_GET(req, resp)</tt>
|
330
|
+
|
331
|
+
</li>
|
332
|
+
</ul>
|
333
|
+
<h2>TODO:</h2>
|
334
|
+
<ul>
|
335
|
+
<li>more helpers…
|
336
|
+
|
337
|
+
</li>
|
338
|
+
</ul>
|
339
|
+
<h2>SYNOPSIS:</h2>
|
340
|
+
<pre>
|
341
|
+
% bivouac -h
|
342
|
+
Usage: bivouac [options] app
|
343
|
+
bivouac, the generator for the microframework ON-button
|
344
|
+
for ruby 1.8.6 (2007-06-07) [universal-darwin9.0]
|
345
|
+
|
346
|
+
Specific options:
|
347
|
+
-P, --port PORT Which port to bind to (3301)
|
348
|
+
-a, --address ADDR Address to bind to (0.0.0.0)
|
349
|
+
|
350
|
+
Common options:
|
351
|
+
-?, --help Show this message
|
352
|
+
-v, --version Show version
|
353
|
+
|
354
|
+
% bivouac your_app_name
|
355
|
+
...
|
356
|
+
% cd your_app_name
|
357
|
+
% ruby script/generate -h
|
358
|
+
Usage: script/generate generator [options] [args]
|
359
|
+
|
360
|
+
Generators
|
361
|
+
Builtin: controller, model, migrate, view
|
362
|
+
|
363
|
+
controller generator options:
|
364
|
+
-v, --no-view Do not generate any view for the controller
|
365
|
+
-d, --no-route Do not add the default route to the controller
|
366
|
+
(/controller_name)
|
367
|
+
-r, --route ROUTE,ROUTE,... Add ROUTES to the controller
|
368
|
+
|
369
|
+
Common options:
|
370
|
+
-h, --help Show this message
|
371
|
+
|
372
|
+
% ruby script/generate controller your_controller
|
373
|
+
...
|
374
|
+
% ruby script/server
|
375
|
+
...
|
376
|
+
</pre>
|
377
|
+
<h2>REQUIREMENTS:</h2>
|
378
|
+
<ul>
|
379
|
+
<li>camping
|
380
|
+
|
381
|
+
</li>
|
382
|
+
<li>mime-types
|
383
|
+
|
384
|
+
</li>
|
385
|
+
<li>extra
|
386
|
+
|
387
|
+
</li>
|
388
|
+
<li>simple-daemon
|
389
|
+
|
390
|
+
</li>
|
391
|
+
<li>mosquito
|
392
|
+
|
393
|
+
</li>
|
394
|
+
</ul>
|
395
|
+
<h2>INSTALL:</h2>
|
396
|
+
<pre>
|
397
|
+
sudo gem install bivouac
|
398
|
+
</pre>
|
399
|
+
<p>
|
400
|
+
or
|
401
|
+
</p>
|
402
|
+
<pre>
|
403
|
+
sudo gem install bivouac --source=http://dev.rubyfr.net
|
404
|
+
</pre>
|
405
|
+
<h2>LICENSE:</h2>
|
406
|
+
<p>
|
407
|
+
Bivouac is freely distributable according to the terms of the GNU General
|
408
|
+
Public License.
|
409
|
+
</p>
|
410
|
+
<p>
|
411
|
+
This program is distributed without any warranty. See the file
|
412
|
+
‘COPYING’ for details.
|
413
|
+
</p>
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
</div>
|
422
|
+
</div>
|
423
|
+
|
424
|
+
|
425
|
+
</div>
|
426
|
+
</body>
|
427
|
+
</html>
|
@@ -0,0 +1,109 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<title>
|
6
|
+
Bivouac, the Documentation » 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>
|
@@ -0,0 +1,109 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<title>
|
6
|
+
Bivouac, the Documentation » 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>
|