0

Databind an image

asked 2011-02-27 02:23:39 +0800

fusion35 gravatar image fusion35
237 2 5

Hi :

I have databind an image like this :

<image width="125px" height="125px" content="@{MyTable.image}"/>

Problem :

Whenever there is a null image it complains about it, an error like

im==null!

How can I handle that?

regards

Devinder

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-02-27 23:59:52 +0800

woodyki gravatar image woodyki
168

The property "content" is for a Image object.
You can use property "src" to set a uri.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-02-27 02:23:39 +0800

Seen: 130 times

Last updated: Feb 27 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More