I played around a bit with POD plugins and the browse functionality that is supported there
It's working to the extend that I have a field with a browse button that opens a dialgue with the browse results. But when I choose an entry and close the dialgue the value is not written back into the browse field
But they seem to be still connected since when I write a few letters into the browse field they act as filter for the browse result
The field has a getter and a setter (but the later will not be called after closing the browse dialogue)
The field is defined like this in the JSP of the plugin:
<ls:inputField facet="content" id="OPERATION" name="OPERATION_CUSTOM"
fieldHelpPressInfoEnabled="true"
fieldHelpPressInfoClientAction="submit"
fieldHelpPressInfoResponseData="delta"
fieldHelpPressInfoParameters="#"
fieldHelp="F4LOOKUP" showHelpButton="true"
actionListener="#{customLotHoldPlugin.browseActionListener}"
value="#{customLotHoldPlugin.operation}">
<f:attribute name="browseable" value="true" />
<f:attribute name="browseId" value="OPERATION_CUSTOM" />
<f:attribute name="browseCustom" value="custom" />
<f:attribute name="browseSelectionModel" value="single" />
<f:attribute name="browseCallBack" value="customLotHoldPlugin.processOperationCallback"/>
</ls:inputField>
I also tried to use a callback function and maybe set the value manually. But I can't find the chosen value anywhere in the context
Another question would be what kind of legacy browses are supported. The manual doesn't really help here much.
What we would need would be a browse for shop order (I already found SHOP_ORDER with browseCustom set to "standard" for this one) and hold codes for a custom lot hold plugin
Thanks,
Anton