General Attributes for User Grid Tag |
Attribute Name |
Mandatory/Optional |
Description |
component |
Mandatory |
Name of component you wish to run for the lookup |
bypassSecurity |
Optional |
If set to true this will bypass the criteria screen. Defaults in
value to false. |
dynamicParameters |
Optional |
Allows the user to specify a list of on screen fields to include
the values of |
targetFields |
Optional |
A list of fields to pass the value from the lookup back to |
staticParameters |
Optional |
Allows the user to specify a list of static parameter values. |
|
Events |
Event Name |
Description |
No Events |
|
Overview
This widget allows you to associate a lookup to a particular field(s)
on the screen passing static parameters. The returned values will then
populate targetted field(s) with values.
|
|
In Browser
|
|
JSP Code
<Portlet:Lookup component="Portlet.Widget.Test.Lookup"
bypassCriteriaScreen="true" staticParameters="status=O;condition=New"
targetFields="field1=partNo;field2=segCode">button content</Portlet:Lookup>
|
|
|
How they work
This widget works by passing static values to a lookup screen using the
staticParameters="" attribute specifying a list of static
parameters. The returned values are then populated into targetted fields
by using the targetFields="" attribute and specifying
a list of fields. The attribute bypassSecurity="" is
set to true if you do not wish a criteria screen to be used.
|
Overview
This widget allows you to associate a lookup to a particular field(s)
on the screen passing the values of fields on the screen. The returned
values will then populate targetted field(s) with values.
|
|
In Browser
|
|
JSP Code
<Portlet:Lookup component="Portlet.Widget.Test.Lookup"
dynamicParameters="partNo=field1;segCode=field2" staticParameters="status=O;condition=New"
targetFields="field1=partNo;field2=segCode">button content</Portlet:Lookup>
|
|
|
How they work
This widget works by values of fields on the screen to a lookup screen
using the dynamicParameters="" attribute specifying a
list of fields on the screen. The returned values are then populated into
targetted fields by using the targetFields="" attribute
and specifying a list of fields. The attribute bypassSecurity=""
is set to true if you do not wish a criteria screen to be used.
|
|
Controlling the look if a Lookup by CSS
The button widgets corresponding CSS can be found in 'source/html/jaffa/css/widgets/lookup.css'. The lookup has 2 states A.Lookup:hover and A.Lookup.
|