If you think that something doesn't work in Aware IM post your message here
#50708 by weblike
Thu Apr 11, 2019 7:08 pm
1. First BO
TemplateLanguageBO
Name (plain_text)
Flag (picture_ stored in database)

In Flag field I upload a .png file like this:
gb.png
gb.png (599 Bytes) Viewed 2410 times


2. Second BO
TemplatesOrderBO:
Language_attribute (Type of TemplateLanguageBO -> non peer -> combo-box -> displayed columns "Flag")

Inside the form the combo-box is not displaying the image -> just text "undefined"
Selection_533.png
Selection_533.png (3.15 KiB) Viewed 2410 times



Is there a limitation or a bug ?
The image is displayed ok in Queries.
#50712 by Jaymer
Thu Apr 11, 2019 10:34 pm
George
Check server & tomcat output AND
Open browser Inspector to see any JS errors.

I’m sure this is doable using a Custom Template on the combo box.
#50718 by weblike
Fri Apr 12, 2019 8:26 am
With custom template, indeed the image flag is displayed when the user wants to select(expands the combo-box), but selected choice display "undefined" word(when the combo-box is closed) (seems that displays what is indicated in "Displayed Columns").
Bug || Limitation || I don't know what I'm doing :) ?

Who is online

Users browsing this forum: No registered users and 19 guests