Jackie,

Thanks for the info pointed me in the right direction !!!

I've managed to get the dialog to pop up as intended the changes we're in
fact on the dumb side of the selection-panel(component) as I check the
property name before making any changes on how to display the property ....

There's a few things I can't quiet figure out .... how can I inject html
instead of just opening the image in an iframe (this would give me control
over the size of the image and or how to display the value content if it was
something else) ...

Just wanted to put my changes here for anyone else that was interested,
these are obviously specific to my needs but perhaps there's a smarter way
of extending the selectionpanel properties?

*...\containers\selection-panel.tsx*
*Add import for showModalUrl*



*Add openDocumentUrlInModal to ISelectionPanelContainerDispatch*

*Add openDocumentUrlInModal to mapDispatchToProps (Bit of fumbling around
here to realize I needed to define the additional modal properties)*

*Add fnOpenDocumentUrlInModal and private onOpenDocumentUrlInModal to
SelectionPanelContainer
and add ?entryPoint?
onOpenDocumentUrlInModal={this.fnOpenDocumentUrlInModal} function to the
selectionPanel element *


*...\components\selection-panel.tsx*
*Add onOpenDocumentUrlInModal to the interface ISelectionPanelProps*

*Add openDocumentUrlInModal function to SelectionPanel*


*Add the new openDocumentUrlInModal to the returned property /value mapping
where required*







-----
MapGuide Maestro 6.0.0.8587
MapGuide Opensource 3.0.0.8701
Fusion, PHP, Apache
Windows 7 Pro SP1

--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Create-a-modal-dialog-from-the-selection-panel-tp5329560p5331649.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to