<g:ui_reference>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2015 04:58 AM
Hello Community,
I have found some documentation for various issues concerning the use of the <g:ui_reference> in a UI Page in Jelly. Most of it is related to having a dynamic query so it didn't help me much with my problem. I have created a <g:ui_reference> field on a UI Page in Jelly and I am wanting to get values related to the record that is validated. My recent attempts have been to do this in the same fashion as any other reference field on the client side using g_form.getReference() which actually does nothing. I am able to get the display value of what was inserted into the reference field but nothing related to that record. Here is the code that I am using.
<g:ui_reference name="existing_user" table="sys_user" query="user_nameISNOTEMPTY^emailISNOTEMPTY^active=true" completer="AJAXTableCompleter" onchange="validate()" />
Since this is a reference to the sys_user table, I'd like to be able to obtain sys_user.email or sys_user.manager once a value is validated in this field. Any suggestions?
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2015 07:45 AM
Alright, after much head banging, I've determined that I"m not going to get anywhere with that particular method of accessing the users information. Instead, I've fallen back utilizing GlideAjax which gives me what I need.