cancel
Showing results for 
Search instead for 
Did you mean: 

progress bar in WebDynpro

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member485701
Active Participant
0 Kudos

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

Former Member
0 Kudos

HI,

You can use the timer control along with the progress bar.

Create and assign action for Timer OnTimeout event.

Regards

Ayyapparaj

former_member335005
Participant
0 Kudos