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
|
||||
u'Zope Info'
|
||||
>>> doc1.data
|
||||
''
|
||||
u''
|
||||
>>> doc1.contentType
|
||||
u''
|
||||
|
||||
|
|
|
@ -166,7 +166,7 @@ class Document(Resource):
|
|||
def __init__(self, title=u''):
|
||||
self.title = title
|
||||
|
||||
_data = ''
|
||||
_data = u''
|
||||
def setData(self, data): self._data = data
|
||||
def getData(self): return self._data
|
||||
data = property(getData, setData)
|
||||
|
|
|
@ -171,15 +171,10 @@
|
|||
</td>
|
||||
<td>
|
||||
<tal:combo tal:define="dummy item/initDojo">
|
||||
<select dojoType="comboBox"
|
||||
dataUrl="listConceptsForComboBox.js"
|
||||
dataProviderClass="dojo.widget.incrementalComboBoxDataProvider"
|
||||
autoComplete="False"
|
||||
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>
|
||||
<input dojoType="comboBox" mode="remote" autoComplete="False"
|
||||
tal:attributes="name string:$namePrefix.text;
|
||||
id string:$idPrefix.text;
|
||||
dataUrl string:${context/@@absolute_url}/listConceptsForComboBox.js?searchString=%{searchString}&searchType=" />
|
||||
</tal:combo>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Reference in a new issue