Hi Isomorphic,
I have the requirement that a DataBound ComboBoxItem or SelectItem transfers additional data to the server with it's fetch request for the picklist.
That data will be used for DMIs that in the end return the request picklist data.
What's the suggested approach for this?
Right now, I'm using a fake DataSource field in my optionDataSource for this:
and add fake criteria to the item:
In the serverside I get the criteria via
This works, but is this really the best approach?
Thank you & Best regards
Blama
I have the requirement that a DataBound ComboBoxItem or SelectItem transfers additional data to the server with it's fetch request for the picklist.
That data will be used for DMIs that in the end return the request picklist data.
What's the suggested approach for this?
Right now, I'm using a fake DataSource field in my optionDataSource for this:
Code:
<field name="FAKECOLUMN" type="integer" customSelectExpression="null" />
Code:
setPickListCriteria(new AdvancedCriteria("FAKECOLUMN", OperatorId.NOT_EQUAL, valueToTransmit)))
Code:
request.getCriteriaValue("FAKECOLUMN")
This works, but is this really the best approach?
Thank you & Best regards
Blama
Comment