H iRobert, I would be interested in knowing your thought on the following.
I would like to create similar functionality to the Popup Panel widget but instead using selected features from a single layer. The feature info would then be displayed in html format, attributes and attachments.
Is the Popup Panel widget you have created a good starting point?
I am coming from a starting point of having a python script that returns a dynamic html page which I have been serving directly. I was going to create a geoprocessing service which would return html content and display this as output (if this is possible)? but then I noticed your Popup Panel Widget.