Maximo Wire - The IBM Maximo Help & Discussion Forum
May 23, 2012, 10:39:31 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to Maximo Wire, the IBM Maximo help forum. Feel free to register and ask any Maximo related questions you like.
 
  Home Help Search Login Register  
*
Poll
Question: How to get a pop up window in application when some action is performed
getting a pop up window in application - 0 (0%)
getting popup window in application with out throwing exception - 0 (0%)
Total Voters: 0

Pages: [1]   Go Down
  Print  
Author Topic: How to get a pop up window in a application  (Read 1300 times)
0 Members and 2 Guests are viewing this topic.
shankar
Newbie
*

Karma: 1
Posts: 46


View Profile
« on: January 29, 2010, 06:19:01 am »

I want to get a pop up window in my application when some action is performed. I have tried from application designer by editing the edit dialog box where do i need to associate these dialog box to get it poped up.Is there any other way to get the popup window in application other than throwing applicationException bcoz exception suspends the code. plz suggest me a proper way to get a pop up window in my application
Logged
Ethen
Global Moderator
Sr. Member
*****

Karma: 16
Posts: 303



View Profile WWW
« Reply #1 on: January 29, 2010, 06:44:25 am »

you can edit the application xml..
there u give the event name for which pop up (dialog box) will come out..

apart from event name u define the dialog box structure and elements in application xml..


after changing application xml u need to add signature option for same event...


hope it helps..
Logged

regards,

Ethen...
vijet
Jr. Member
**

Karma: 5
Posts: 56



View Profile Email
« Reply #2 on: January 29, 2010, 06:55:17 pm »

Shankar,

Did you try utility.messagebox from the bean........... That will give you a pop up window without throwing the exception...

The message that you display will come from maxmessages which has the options column. This option has integer value which perform different actions. I dont remember correctly but these integers will decide what buttons the pop up will have.
Ex: Ok, cancel, No..

Based on these buttons even the event can be captured and certain actions can also be performed.

just go through the following link.. this might help....

http://www.taic-sams.net/index.php/blog/article/maxmessages/

Regards
Vijet
Logged
shankar
Newbie
*

Karma: 1
Posts: 46


View Profile
« Reply #3 on: January 31, 2010, 07:43:42 am »

hi vijet,

              thank you for ur help,but my requiremet is i need to get a pop window from where i can select a value and the same value need to set to the field.
 for example we have a field in the application say status when i click on these field i should get a pop window where i can get option like new operating and decomissoned i should be able to select one value say operating these value should b set to the status field.


i have tried by clicking on the edit dialog and edited thedialog box but iam not sure where i need to associate it did u get my question plz looking forward for ur help Wink
Logged
renegroz
Newbie
*

Karma: 0
Posts: 2


View Profile Email
« Reply #4 on: February 24, 2010, 04:25:26 am »

what you are describing in your example with the status sounds like a standard Maximo lookup and NOT a dialog. If you create a domain whether that is ALN, NUM or Table domain and associate this with the attribute in question and give the control in app designer a lookup Maximo will open a "dialog" from which the user can select a value like status when he clicks the hour glass
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Recent

TinyPortal v1.0 beta 4 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!