View update on DropDownByIndex selection
I have a view composed as follows:
- One DropDownByIndex linked to a context attribute SERIAL.code listing a series of serial numbers
The dropdown does
- One TextEdit linked to the calculated context attribute SERIAL.description reporting the extended description of the serial number
- One FileUpload component linked to a context attribute FILE.resource
I have this problem:
When the user selects a different SERIAL.code from the dropdown, the textedit with the description DOES NOT change its content by showing the corresponding SERIAL.description
If I attach an empty onSelect event handler to the DropDownByIndex, then the view is correctly updated and the TextEdit shows the description of the selected element but if the user inputted a file in the FileUpload, then the FileUpload input field is emptied!
(The Resource object of the FileUpload is still holding the resource loaded by the user -- ie. the context attribute IS NOT null -- but the input field becomes blank and so it seems that the file hasn't been loaded properly).
Can someone help me?