some minor fixes
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1334 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
6dca8dd057
commit
a772e71f84
3 changed files with 6 additions and 11 deletions
|
@ -246,7 +246,7 @@ A common type of resource is a document:
|
||||||
>>> doc1.title
|
>>> doc1.title
|
||||||
u'Zope Info'
|
u'Zope Info'
|
||||||
>>> doc1.data
|
>>> doc1.data
|
||||||
''
|
u''
|
||||||
>>> doc1.contentType
|
>>> doc1.contentType
|
||||||
u''
|
u''
|
||||||
|
|
||||||
|
|
|
@ -166,7 +166,7 @@ class Document(Resource):
|
||||||
def __init__(self, title=u''):
|
def __init__(self, title=u''):
|
||||||
self.title = title
|
self.title = title
|
||||||
|
|
||||||
_data = ''
|
_data = u''
|
||||||
def setData(self, data): self._data = data
|
def setData(self, data): self._data = data
|
||||||
def getData(self): return self._data
|
def getData(self): return self._data
|
||||||
data = property(getData, setData)
|
data = property(getData, setData)
|
||||||
|
|
|
@ -171,15 +171,10 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<tal:combo tal:define="dummy item/initDojo">
|
<tal:combo tal:define="dummy item/initDojo">
|
||||||
<select dojoType="comboBox"
|
<input dojoType="comboBox" mode="remote" autoComplete="False"
|
||||||
dataUrl="listConceptsForComboBox.js"
|
tal:attributes="name string:$namePrefix.text;
|
||||||
dataProviderClass="dojo.widget.incrementalComboBoxDataProvider"
|
id string:$idPrefix.text;
|
||||||
autoComplete="False"
|
dataUrl string:${context/@@absolute_url}/listConceptsForComboBox.js?searchString=%{searchString}&searchType=" />
|
||||||
tal:attributes="name string:$namePrefix.text;
|
|
||||||
id string:$idPrefix.text;
|
|
||||||
dataUrl string:${context/@@absolute_url}/listConceptsForComboBox.js?searchString=%{searchString}&searchType=">
|
|
||||||
<option value="zope">Zope</option>
|
|
||||||
</select>
|
|
||||||
</tal:combo>
|
</tal:combo>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue