Select to view content in your preferred language

FlexViewer 2.2 InfoPopup.xml Troubles

1795
3
Jump to solution
01-19-2011 06:58 AM
TylerWaring
Frequent Contributor
Greetings Everyone,
        I am starting to transition my code from FlexViewer 1.X and have run into a problem with InfoPopup.xml.  In the previous version the InfoPopop had a nice visible box, 'x' button when you moused over a graphic and Red_glow.swf would kick in. In FelxViewer 2.2 some cream colored text shows up but the container of InfoPopup is not visible and the red glow does not engage. How do I get the InfoPopup in FlexViewer 2.2 to behave simelarly to the InfoPopup in FlexViewer 1.X?

Thanks,
Tyler

P.S. Please see attached graphics.
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Tyler,

   The red glow is gone in the FlexViewer. The get the info popup working for your widgets you have to have this in your xml file for that widget:

<info>widgets/InfoTemplates/InfoPopupWidget.swf</info>


If it is your widget then you have to do some work to use the new widget info templates.

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
Tyler,

   The red glow is gone in the FlexViewer. The get the info popup working for your widgets you have to have this in your xml file for that widget:

<info>widgets/InfoTemplates/InfoPopupWidget.swf</info>


If it is your widget then you have to do some work to use the new widget info templates.
0 Kudos
by Anonymous User
Not applicable
Original User: waringt

Thanks for pointing me in the right direction. Now my popups look much cleaner. Anyone else that runs into this problem will want to look in QueryWidget.mxml and follow infoTemplate:IInfoWindowTemplate and look at the override public function showInfoWindow() and infoReady function. This should help you fill in the gaps a little. 

Thanks,
Tyler Waring
0 Kudos
xuliyun
New Contributor
Thanks for pointing me in the right direction. Now my popups look much cleaner. Anyone else that runs into this problem will want to look in QueryWidget.mxml and follow infoTemplate:IInfoWindowTemplate and look at the override public function showInfoWindow() and infoReady function. This should help you fill in the gaps a little. 

Thanks,
Tyler Waring

where should I attach the code?
0 Kudos