on 09-29-2006 11:22 AM
Hi SDN,
I am new to WebDynpro for java. Statically i could able to display the image by setting the source property of the image="image file name" but nowI wanna display the image in a view when i click a button.So how can i set the source property dynamically .
Thanks in Advance.
Regards
Basha
Hi
1.Create a attribute with type string and bond it to the image UIelement's source property and alt.
2. in the Action of button click set the attribute's value like
wdContext.currentContextElement().set<attribure>("image.ext");
You have to place the image in the folder
src/mimes/Components/<foler>/
Kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.