on 10-22-2008 9:59 AM
Hi,
I have set of images and i need to display one by one automatically(I don't want to click on Previous or Next buttons). How can i do this.
Regards,
N B Hrudaya Raju
Hi
check this blog link
Regards
Ruturaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
->For this you have to use Timed Trigger UI Element.
-> Add all the images which you want to display in the context( type String).
->Change the property Delay of Timed Trigger UI Element to 5 , 10 etc.
This will display all your images like a slide show.
Thanx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a context attribute of type string lets say Img
Use the timed trigger UI element.
In the action handler onAction of TimedTrigger UI element populate the context attribute with different images
Properties for the timed Trigger UI
delay 5 will change the images based on the delay
Place an Image Ui element bind the source property to the context attribute.
//@@end
//This is the onaction of timed trigger
public void onActionLoadImage(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionLoadImage(ServerEvent)
// based on your condition set different images
// Store the images in mimes and then put their path in a arraylist use random function to get one index.
// Example to set one image.
wdContext.currentContextElement().setImg("~sapicons/s_b_aexp.gif");
//@@end
}
Regards
Ayyapparaj
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 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.