If you can change the Details.xsp to a custom control, then you can use
"getComponent(customcontrolName).getPropertyMap();"
You can get the properties of the Details Custom Control and set those properties with the drop down value.
I am not sure about other ways...