I use MainFrame.java which displays a list. Each listitem has an image and text. on Selecting a list item, the FrameA.java is pushed and a form is shown to the user. When the user submits this form in FrameA, the selected listitem in MainFrame.java should be updated with a new image. I get an illegalargumentexception when i try to update the image. Please suggest me what to do.
MainScreen.xml:
<scrollPane>
<list>
<_renderer><![CDATA[
<listitem onAction="details"> <picture><_image>@{newImage}</_image></picture> <text>@{listItemText}</text> </listitem>
]]></_renderer>
<_items>@{listItems}</_items>
</list>
</scrollPane>
Please let me know if you need any further information.

