How to programatically set the value of the 'src' attribute?

I am working on an example in which I want to be able to dynamically set the value of the ‘src’ parameter in a tag based on the value being sent from the host in another field.

I can do this using Active Server Pages, but this example needs to be in Java/JSP using the ApplinX framework.

Has anyone done this type of programming? Can you let me know how it is done? I’m assuming that it will take a combination of JavaScript in the JSP page, along with a method in the Java codebehind. I’ve tried a number of methods to no avail.

I’d appreciate any help you could give me. Thanks!

Hi Mark,

Hi Gadi:

I think this will work. Thanks much!

I hadn’t realized that the ‘gx:’ tags give the Java codebehind access to the attributes in the tag.

I’ll adapt this for my customer and send it to him. Again. thanks for your help!

Best Regards, Mark