Hi All
I want to list records by default without requiring user to click lookup
button first.
Forms listed below:
<form name="LookupFindSalesLead" target="salesLead" title=""
type="single" >
<field name="name">
<text-find default-option="contains" />
</field>
<field name="noConditionFind">
<hidden value="Y"/>
<!-- if this isn't there then with all fields empty no query
will be done -->
</field>
<field name="submitButton" title="${uiLabelMap.CommonLookup}">
<submit button-type="button" />
</field>
</form>
<form name="LookupListSalesLead" list-name="listIt" type="multi"
separate-columns="true" view-size="1000" target="deleteSalesLead"
odd-row-style="alternate-row" header-row-style="header-row-2"
default-table-style="basic-table hover-bar">
<actions>
<service service-name="performFind" result-map="result"
result-map-list="listIt">
<field-map field-name="inputFields"
from-field="parameters"/>
<field-map field-name="orderBy"
from-field="parameters.sortField"/>
<field-map field-name="entityName" value="DccSalesLead"/>
</service>
</actions>
<auto-fields-entity entity-name="DccSalesLead"
default-field-type="display"/>
<field name="id">
</field>
<field name="name" required-field="true" sort-field="true">
<hyperlink target="editSalesLead?id=${id}"
description="${name}"/>
</field>
<field name="tcv" title="TCV">
<display description="${estimatedMonthlyVolume * targetPrice
* 12}" />
</field>
<field name="_rowSubmit" title="All"><check all-checked="false"
/></field>
<field name="submit" title="Delete" event="onclick"
action="return confirm('Do you really want to delete
them?');">
<submit/>
</field>
</form>
Thank you in advance!
Wishes,
Jack