Questions tagged [listfield]
148 questions
15
votes
3 answers
How to customize a ListField in BlackBerry?
I want to customize a ListField in BlackBerry which would be able to list an image and text in a row.
How to accomplish this?
![](../../users/profiles/132724.webp)
Kumar
- 5,259
- 20
- 61
- 86
10
votes
1 answer
Mongoengine: How to append a new document to an Embedded ListField document?
I would like to append a new ListField EmbeddedDocument to an existing ListField EmbeddedDocument document. In other words appending a new document to list that belongs to a a document in list.
My Model: A Post can contain several Comments, each…
![](../../users/profiles/1725138.webp)
rat
- 1,109
- 14
- 23
9
votes
4 answers
Django-nonrel form field for ListField
I'm experimenting with django-nonrel on appengine and trying to use a djangotoolbox.fields.ListField to implement a many-to-many relation. As I read in the documentation a ListField is something that you can use to make a workaround for…
![](../../users/profiles/286367.webp)
Rman
- 230
- 2
- 9
9
votes
3 answers
MongoEngine - Query - How to check if a ListField is empty or not set
how do I check if an ListField() attribute of a Mongo Class is not set or empty?
Thanks!
![](../../users/profiles/1331671.webp)
Ron
- 18,164
- 27
- 98
- 185
6
votes
5 answers
BlackBerry - Add items to a ListField
Can someone please give me a simple example on how to add three rows to a ListField so that the list shows something like this?
Item 1
Item 2
Item 3
I just want to show a list in which the user can select one of the items and the program would do…
![](../../users/profiles/49229.webp)
AbsolutG
- 113
- 1
- 2
- 6
6
votes
1 answer
Adding and updating ListField with Mongoengine
Using Mongoengine and trying to form a tag cloud. To each item I would like to attach one or more tags. Something similar like the tags are used here (below each question asked).
After searching and reading many posts here, I still can't the proper…
![](../../users/profiles/2391564.webp)
user2391564
- 113
- 1
- 2
- 5
5
votes
2 answers
How to restrict the scroll to ListField itself instead of scrolling the whole screen in Blackberry
I have implemented a customized ListField with some LabelFields. Here is the screenshot.
The problem is when I scroll the ListField, the whole scroll getting scrolled. Like this Screenshot..
I want the headerfield and the Field between header and…
![](../../users/profiles/627182.webp)
Aju
- 4,367
- 6
- 33
- 56
4
votes
1 answer
How to pass multiple values for a ListField in Django Rest Framework?
I want to use a ListField in one of my serializers. However, I can't figure out how to pass multiple values for such fields via a Browsable API form. I've tried using "value1, value2" or [value1, value2] but nothing seems to work. Any help?
![](../../users/profiles/275088.webp)
planetp
- 10,603
- 14
- 62
- 124
4
votes
1 answer
Blackberry Listfield with variable height for each row?
I need to implement custom ListField which has height variable for every each row.
Selected row should has different height then other rows.
![](../../users/profiles/328908.webp)
shkaffy
- 71
- 1
- 5
4
votes
1 answer
Python - Mongoengine advanced query list field
I have a list of lists, like so:
li = [[('A', 'one'), ('A', 'two')], [('B', 'three'), ('B', 'four')]]
and I need to query a mongo database to get all objects whose list field contains at least ONE item in each sublist of li. Ex: items that have…
![](../../users/profiles/1458948.webp)
William
- 2,680
- 4
- 27
- 45
4
votes
2 answers
Custom List Field click event
i m writing one application in which i have created custom list field for displaying listview.
my CustomListField contains one image and text in a row. i m gettiing field change listener on click of listfield row but i want to put fieldchange…
![](../../users/profiles/640913.webp)
Nirav Bhandari
- 4,200
- 5
- 29
- 58
3
votes
1 answer
Blackberry Listfield Item Separator
I want add a separator in Blackberry Listfield inside drawListRow with graphics.drawLine Method but the Line is not being drawn at all below is source I am using
drawListRow(ListField listField, Graphics g, int index,int y, int width)…
![](../../users/profiles/806231.webp)
Prince Charming
- 397
- 2
- 16
3
votes
2 answers
Blackberry: why is drawListRow() called with different y for ListField and KeywordFilterField
I'm trying to move an app from using a KeywordFilterField to ListField and I'm struggling since several hours to find out, why is drawListRow() called with different y values - depending on which of these two ListField's I use:
If getRowHeight()…
![](../../users/profiles/165071.webp)
Alexander Farber
- 18,345
- 68
- 208
- 375
3
votes
1 answer
django-nonrel on Google App Engine - Implications of using ListField for ManyToMany
I am working on a Google App Engine application and I am relatively new at this.
I have built an app already in Django and have a model using a field type of ManyToMany.
I am aware that django-nonrel does not support many-to-many field types of…
![](../../users/profiles/401560.webp)
iali
- 837
- 1
- 8
- 21
3
votes
2 answers
In symfony2 with sonata: How to pass a variable to the template defined for a given field of the listmapper in the method configureListFields?
Using Symfony2 with Sonata, in a list, fields templates can be overwritten and assigning variables to templates, i.e setTemplateVar(), can sometimes be useful! (not talking about form where 'attr' serves this purpose but list...)
I would like to…
![](../../users/profiles/995072.webp)
MediaVince
- 447
- 8
- 12