I am currently trying to create a Dynamic List on Oracle Apex 4.2 with an overlay of the twitter-bootstrap. I am trying to use the chat functionality, and in order to do that I would need to use an object list. I am trying to populate the list with and existing table, but the list does not populate. I was wondering if anyone can provide and example on how to create the dynamic lists.
Orcale provided this, http://docs.oracle.com/cd/E37097_01/doc.42/e35125/nav_list.htm#HTMDB28677
SELECT level, labelValue label,
[targetValue] target,
[is_current] is_current_list_entry,
[imageValue] image,
[imageAttributeValue] image_attribute,
[imageAltValue] image_alt_attribute,
[attribute1] attribute1,
[attribute2] attribute2,
[attribute3] attribute3,
[attribute4] attribute4,
[attribute5] attribute5,
[attribute6] attribute6,
[attribute7] attribute7,
[attribute8] attribute8,
[attribute9] attribute9,
[attribute10] attribute10
FROM ...
WHERE ...
ORDER BY ...
and I tried to put in this:
SELECT NULL, AUTHOR label,
'#' target,
'test' is_current_list_entry,
' ' image,
' ' image_attribute,
' ' image_alt_attribute,
RESPONSE attribute1,
DATE_CREATED attribute2
FROM CHAT_RESPONSES
WHERE AUTHOR IS NOT NULL
ORDER BY DATE_CREATED desc
The list did no populate and I was wondering if I am using this wrong.
2
Answers
I was able to get it to work,
Now I'm currently trying to figure a way to get that attribute 1 to alternate from left and right. Thank you for the help.
in list of value creation there is a note as below in tooltips
so i think you should change ‘test’ to one of opetions below
NOTE:The is_current column can be set to one of the following three values:’YES’,’NO’ or NULL. If set to NULL, the currency of the list entry will be based on the target page of the list entry.