Hello,
I have two dropdowns. One is a dropdown where I am values of a field in static and the over in dynamic. I want to put a value default for the second dropdown but
Please by advance,
Laura
Laura,
You could do this to have your search automatically initiate when you open the view.
<module name="HiddenSearch" autoRun="True">
<param name="search">source="tcp:5543"</param>
<module name="StaticSelect">
<param name="settingToCreate">Requester</param>
<param name="label">Requester</param>
<param name="staticFieldsToDisplay">
<list>
<param name="label">All</param>
<param name="value">*</param>
</list>
<list>
<param name="label">fr18126</param>
<param name="value">fr18126</param>
</list>
<list>
<param name="label">a187571</param>
<param name="value">a187571</param>
</list>
</param>
Please make sure you accept this as your answer in the event someone else has an issue similar to yours. Thank you.
Thx very much to your answer. The "autoRun=true" resolves my 2 problems.
Also, make note that I've put a * in your value for your 'All" label in your StaticSelect so that when your search runs it will inject a * in your Requester value.