Skip to Content
author's profile photo Former Member
Former Member

dynamically change the img URL

Hi all,

I have developped an application for that I need to display four images depending some condition.

My all images are in source-mimes-components-com.ram-img1,img2,img3.img4.

These images are I mapped My view UI element InterctiveForm Object URL.

Here I only mapped statically.but I need to set the URL path dynamically how to do it.

Any suggestions welcome.

Thanks

Lohi.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 11:38 AM

    Hi

    See this Thread

    handling-dynamically-generated-images

    Kind Regards

    Mukesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 12:53 PM

    Define a calculated attribute and bind the UI element property, e.g. Image.source, to this attribute.

    In the generated getter, return the name of the image file depending on the condition value.

    Armin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.