[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/source.
Changed some dos line endings to unix. Added missing
Jim Fulton
jim at zope.com
Mon Jan 17 18:07:48 EST 2005
Log message for revision 28857:
Changed some dos line endings to unix. Added missing
proprties to make svn use "native" line endings.
Changed:
_U Zope3/trunk/src/zope/app/form/browser/source.py
UU Zope3/trunk/src/zope/app/form/browser/source.txt
-=-
Property changes on: Zope3/trunk/src/zope/app/form/browser/source.py
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Modified: Zope3/trunk/src/zope/app/form/browser/source.txt
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/source.txt 2005-01-17 16:28:05 UTC (rev 28856)
+++ Zope3/trunk/src/zope/app/form/browser/source.txt 2005-01-17 23:07:47 UTC (rev 28857)
@@ -126,21 +126,21 @@
nothing) and a form elements for seaching for values:
>>> print widget()
- <div class="value">
- <div class="row">
- <div class="field">
- Nothing
- </div>
- </div>
- <input type="hidden" name="field.dog.displayed" value="y">
- <div class="queries">
- <div class="query">
- <div class="queryinput">
- <input name="field.dog.query.string">
- <input type="submit" name="field.dog.query" value="Search">
- </div> <!-- queryinput -->
- </div> <!-- query -->
- </div> <!-- queries -->
+ <div class="value">
+ <div class="row">
+ <div class="field">
+ Nothing
+ </div>
+ </div>
+ <input type="hidden" name="field.dog.displayed" value="y">
+ <div class="queries">
+ <div class="query">
+ <div class="queryinput">
+ <input name="field.dog.query.string">
+ <input type="submit" name="field.dog.query" value="Search">
+ </div> <!-- queryinput -->
+ </div> <!-- query -->
+ </div> <!-- queries -->
</div> <!-- value -->
This shows that we haven't selected a dog. We get a search box that we
@@ -183,28 +183,28 @@
Now if we render the widget, we'll see the search results:
>>> print widget()
- <div class="value">
- <div class="row">
- <div class="field">
- Nothing
- </div>
- </div>
- <input type="hidden" name="field.dog.displayed" value="y">
- <div class="queries">
- <div class="query">
- <div class="queryinput">
- <input name="field.dog.query.string">
- <input type="submit" name="field.dog.query" value="Search">
- </div> <!-- queryinput -->
- <div class="queryresults">
- <select name="field.dog.selection">
- <option value="Ym93c2Vy">bowser</option>
- <option value="c3BvdA==">spot</option>
- </select>
- <input type="submit" name="field.dog.apply" value="Apply">
- </div> <!-- queryresults -->
- </div> <!-- query -->
- </div> <!-- queries -->
+ <div class="value">
+ <div class="row">
+ <div class="field">
+ Nothing
+ </div>
+ </div>
+ <input type="hidden" name="field.dog.displayed" value="y">
+ <div class="queries">
+ <div class="query">
+ <div class="queryinput">
+ <input name="field.dog.query.string">
+ <input type="submit" name="field.dog.query" value="Search">
+ </div> <!-- queryinput -->
+ <div class="queryresults">
+ <select name="field.dog.selection">
+ <option value="Ym93c2Vy">bowser</option>
+ <option value="c3BvdA==">spot</option>
+ </select>
+ <input type="submit" name="field.dog.apply" value="Apply">
+ </div> <!-- queryresults -->
+ </div> <!-- query -->
+ </div> <!-- queries -->
</div> <!-- value -->
If we select an item:
@@ -218,22 +218,22 @@
Then we'll show the newly selected value:
>>> print widget()
- <div class="value">
- <div class="row">
- <div class="field">
- spot
- </div>
- </div>
- <input type="hidden" name="field.dog" value="c3BvdA==">
- <input type="hidden" name="field.dog.displayed" value="y">
- <div class="queries">
- <div class="query">
- <div class="queryinput">
- <input name="field.dog.query.string">
- <input type="submit" name="field.dog.query" value="Search">
- </div> <!-- queryinput -->
- </div> <!-- query -->
- </div> <!-- queries -->
+ <div class="value">
+ <div class="row">
+ <div class="field">
+ spot
+ </div>
+ </div>
+ <input type="hidden" name="field.dog" value="c3BvdA==">
+ <input type="hidden" name="field.dog.displayed" value="y">
+ <div class="queries">
+ <div class="query">
+ <div class="queryinput">
+ <input name="field.dog.query.string">
+ <input type="submit" name="field.dog.query" value="Search">
+ </div> <!-- queryinput -->
+ </div> <!-- query -->
+ </div> <!-- queries -->
</div> <!-- value -->
Note that we should have an input value now, since pressing the 'Apply' button
@@ -299,27 +299,27 @@
and cats:
>>> print widget()
- <div class="value">
- <div class="row">
- <div class="field">
- Nothing
- </div>
- </div>
- <input type="hidden" name="field.pet.displayed" value="y">
- <div class="queries">
- <div class="query">
- <div class="queryinput">
- <input name="field.pet.MA__.query.string">
- <input type="submit" name="field.pet.MA__.query" value="Search">
- </div> <!-- queryinput -->
- </div> <!-- query -->
- <div class="query">
- <div class="queryinput">
- <input name="field.pet.MQ__.query.string">
- <input type="submit" name="field.pet.MQ__.query" value="Search">
- </div> <!-- queryinput -->
- </div> <!-- query -->
- </div> <!-- queries -->
+ <div class="value">
+ <div class="row">
+ <div class="field">
+ Nothing
+ </div>
+ </div>
+ <input type="hidden" name="field.pet.displayed" value="y">
+ <div class="queries">
+ <div class="query">
+ <div class="queryinput">
+ <input name="field.pet.MA__.query.string">
+ <input type="submit" name="field.pet.MA__.query" value="Search">
+ </div> <!-- queryinput -->
+ </div> <!-- query -->
+ <div class="query">
+ <div class="queryinput">
+ <input name="field.pet.MQ__.query.string">
+ <input type="submit" name="field.pet.MQ__.query" value="Search">
+ </div> <!-- queryinput -->
+ </div> <!-- query -->
+ </div> <!-- queries -->
</div> <!-- value -->
As before, we can perform a search:
@@ -331,36 +331,36 @@
In which case, we'll get some results:
>>> print widget() # doctest:
- <div class="value">
- <div class="row">
- <div class="field">
- Nothing
- </div>
- </div>
- <input type="hidden" name="field.pet.displayed" value="y">
- <div class="queries">
- <div class="query">
- <div class="queryinput">
- <input name="field.pet.MA__.query.string">
- <input type="submit" name="field.pet.MA__.query" value="Search">
- </div> <!-- queryinput -->
- </div> <!-- query -->
- <div class="query">
- <div class="queryinput">
- <input name="field.pet.MQ__.query.string">
- <input type="submit" name="field.pet.MQ__.query" value="Search">
- </div> <!-- queryinput -->
- <div class="queryresults">
- <select name="field.pet.MQ__.selection">
- <option value="Ym9vdHM=">boots</option>
- <option value="dGFiYnk=">tabby</option>
- <option value="dGlnZXI=">tiger</option>
- <option value="dG9t">tom</option>
- </select>
- <input type="submit" name="field.pet.MQ__.apply" value="Apply">
- </div> <!-- queryresults -->
- </div> <!-- query -->
- </div> <!-- queries -->
+ <div class="value">
+ <div class="row">
+ <div class="field">
+ Nothing
+ </div>
+ </div>
+ <input type="hidden" name="field.pet.displayed" value="y">
+ <div class="queries">
+ <div class="query">
+ <div class="queryinput">
+ <input name="field.pet.MA__.query.string">
+ <input type="submit" name="field.pet.MA__.query" value="Search">
+ </div> <!-- queryinput -->
+ </div> <!-- query -->
+ <div class="query">
+ <div class="queryinput">
+ <input name="field.pet.MQ__.query.string">
+ <input type="submit" name="field.pet.MQ__.query" value="Search">
+ </div> <!-- queryinput -->
+ <div class="queryresults">
+ <select name="field.pet.MQ__.selection">
+ <option value="Ym9vdHM=">boots</option>
+ <option value="dGFiYnk=">tabby</option>
+ <option value="dGlnZXI=">tiger</option>
+ <option value="dG9t">tom</option>
+ </select>
+ <input type="submit" name="field.pet.MQ__.apply" value="Apply">
+ </div> <!-- queryresults -->
+ </div> <!-- query -->
+ </div> <!-- queries -->
</div> <!-- value -->
from which we can choose:
@@ -374,28 +374,28 @@
and get a selection:
>>> print widget()
- <div class="value">
- <div class="row">
- <div class="field">
- tabby
- </div>
- </div>
- <input type="hidden" name="field.pet" value="dGFiYnk=">
- <input type="hidden" name="field.pet.displayed" value="y">
- <div class="queries">
- <div class="query">
- <div class="queryinput">
- <input name="field.pet.MA__.query.string">
- <input type="submit" name="field.pet.MA__.query" value="Search">
- </div> <!-- queryinput -->
- </div> <!-- query -->
- <div class="query">
- <div class="queryinput">
- <input name="field.pet.MQ__.query.string">
- <input type="submit" name="field.pet.MQ__.query" value="Search">
- </div> <!-- queryinput -->
- </div> <!-- query -->
- </div> <!-- queries -->
+ <div class="value">
+ <div class="row">
+ <div class="field">
+ tabby
+ </div>
+ </div>
+ <input type="hidden" name="field.pet" value="dGFiYnk=">
+ <input type="hidden" name="field.pet.displayed" value="y">
+ <div class="queries">
+ <div class="query">
+ <div class="queryinput">
+ <input name="field.pet.MA__.query.string">
+ <input type="submit" name="field.pet.MA__.query" value="Search">
+ </div> <!-- queryinput -->
+ </div> <!-- query -->
+ <div class="query">
+ <div class="queryinput">
+ <input name="field.pet.MQ__.query.string">
+ <input type="submit" name="field.pet.MQ__.query" value="Search">
+ </div> <!-- queryinput -->
+ </div> <!-- query -->
+ </div> <!-- queries -->
</div> <!-- value -->
Note that we should have an input value now, since pressing the 'Apply' button
Property changes on: Zope3/trunk/src/zope/app/form/browser/source.txt
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the Zope3-Checkins
mailing list