Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » indicate already processed procedures (apex 2.1 ; oracle 10g xe)
indicate already processed procedures [message #523247] Fri, 16 September 2011 06:52 Go to next message
hudo
Messages: 165
Registered: May 2004
Senior Member
On a page are 5 buttons, pressing a button starts a stored procedure.
Now I like to indicate somehow on the which procedure run already.
The "success message" of the apex interface is not enough.

Any suggestions ?
Re: indicate already processed procedures [message #523249 is a reply to message #523247] Fri, 16 September 2011 07:03 Go to previous messageGo to next message
c_stenersen
Messages: 255
Registered: August 2007
Senior Member
Why isn't the success message enough? What extra indication do you need?
Re: indicate already processed procedures [message #523250 is a reply to message #523249] Fri, 16 September 2011 07:18 Go to previous messageGo to next message
hudo
Messages: 165
Registered: May 2004
Senior Member
Cause the order of processing is important, and it is better to have a clear sign , maybe setting a checkbox, indicating where you are in the long processing order.


Re: indicate already processed procedures [message #523253 is a reply to message #523250] Fri, 16 September 2011 07:29 Go to previous messageGo to next message
c_stenersen
Messages: 255
Registered: August 2007
Senior Member
Couldn't you just use a page item for this then? Store which step you're at just as a number? (Also if the order is important I wouldn't show the buttons for processes you shouldn't be able to run)
Re: indicate already processed procedures [message #523256 is a reply to message #523253] Fri, 16 September 2011 07:32 Go to previous messageGo to next message
hudo
Messages: 165
Registered: May 2004
Senior Member
How do you hide button2 and so on correctly, until process1 is finished (successfully) ??
Re: indicate already processed procedures [message #523257 is a reply to message #523256] Fri, 16 September 2011 07:42 Go to previous message
c_stenersen
Messages: 255
Registered: August 2007
Senior Member
If you make a page item called PROCESS_NO for instance, then you can just add in your button properties (for button2) under conditions: type: item = value, and expression 1: PROCESS_NO, expression 2: 2. And in your first process you just set :PROCESS_NO := 2 at the end of it.

EDIT: typo

[Updated on: Fri, 16 September 2011 07:44]

Report message to a moderator

Previous Topic: Graph using Apex
Next Topic: Changing color of Report Column Header
Goto Forum:
  


Current Time: Wed Aug 12 02:32:41 CDT 2020