cancel
Showing results for 
Search instead for 
Did you mean: 

form message bar and loading icon

Former Member
0 Kudos
97

Hi,

I have some form and clicking submit button starts long-time consumpting function. And due this long time I need to show some information than iview is loading. How to do it in easist way?

thanks

Jiri Juranek

Accepted Solutions (1)

Accepted Solutions (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Jiri,

for a similar problem, see

Hope it helps

Detlev

Former Member
0 Kudos

thanks,

so without using portal service it is not possible to do it?

JJ

detlev_beutner
Active Contributor
0 Kudos

Hi Jiri,

because services are sowewhat "faceless components", they are sowehow predestinated for tasks like this.

Nevertheless, you will have to open another thread, so that the request/response cycle can be ended subsecond, while the application logic works in background.

This I would do within the service implementation. Just pass the input parameters and the session, so that the thread can put it's results into the session. The portal component which gets called every 3 seconds (or so) just controls if the result has been set into the session. If yes, take it and react on the result, if not, just repost the "Waiting for a result . . ." page (the one which reloads itself).

Hope it helps

Detlev

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jiri,

You had a good answer, but did you forget to give points? It's a way to say "thanks".

See: <u><></u> for directions.

Click on the Yellow Star icon in each reply.

You can give:

1 - 10 pointer (solves problem, marks as answered)

2 - 6 pointers (very helpful)

Lots of 2 pointers (helpful)

This time I did it for you, but you can change it.

Cheers,

Joan (and Mark Finnern)