on 11-26-2007 12:07 PM
Hello all,
I'm building a wizard for the Portal and I don't know how to use the progress bar.
could someone maybe give me an example?
thanks in advance,
Tomer
Hi,
If your NWDS version is 2004s, use TimedTrigger UI Element
1: create One ProgressIndicator UI Element, and bind it's percentvalue property
to a context value attribute, say "value"
2:create A TimedTrigger UI Element and give it's delay property to "1" (sec)
This raises action for each second..
3:Initially put 0 value to context attribute
wdContext.currentContextElement().set<Value>(0);
4: in action of TimedTrigger UIElement,say <Increase>, increase the context attribute value as required
Regards
LakshmiNarayana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, but this doesn't really help me...
maybe I wasn't clear enough with my question :
I know how to create the progress bar in WebDynpro.What I want to know is how to connect it to the actual progress of the process that is running .
thanks,
Tomer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tomer,
(1)Progress Indicator is having a property with name "percent value".
(2)create a context variable with name percentValue and type integer.
Initially set it as zero.
int percentValue=0;
wdContext.currentContextElement().setPercentValue(percentValue);
It can go to 100.
Now if you want to use for some search, then find the total number elements to be searched and divide it by 100. And increment your count( percentValue++ and set it to the context) with this difference and as soon as you come out of search make it to 100.
wdContext.currentContextElement().setPercentValue(100);
Regards,
Praveen
Hi,
this should help:
http://help.sap.com/saphelp_nw70/helpdata/en/4f/210a415a47f06fe10000000a1550b0/frameset.htm
Best regards,
Sangeeta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.