Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



Accessing a field from a dialog window

From: John Ballnik (2011-09-08 12:05)

Hey Gang,
Does anyone know the correct JAVA syntax for accessing an attribute from a Dialog box?  I am on the search screen and have two non-persistent fields within a dialog box that I want to pass to some custom coding.  I can't figure out how to reference the entered values.  Any ideas?
thanks,
John


From: Hanna, Christopher CTR (2011-09-09 08:09)

The syntax for accessing a non-persistent attribute is no different than for a persistent attribute.
Since you say that you are working with the search screen, I believe the that is actually your issue. The MBO on a search screen is what's called a zombie, existing only for the purpose of building a search query. In my experience, you can't access the attribute values of a zombie. You can check if an MBO is a zombie and implement different custom behavior ( isZombie() method of the Mbo object), but I don't believe you can actually access the values.
-----Original Message-----
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of John Ballnik
Sent: Thursday, September 08, 2011 3:05 PM
To: MAXIMO@yahoogroups.com
Subject: [MAXIMO List] Accessing a field from a dialog window

Hey Gang,
Does anyone know the correct JAVA syntax for accessing an attribute from a Dialog box? I am on the search screen and have two non-persistent fields within a dialog box that I want to pass to some custom coding. I can't figure out how to reference the entered values. Any ideas?
thanks,
John