[mapguide-users] Add an Set a Search Widget (Flexible layout)

fathi fkouki at ymail.com
Mon Mar 25 04:21:44 PDT 2013


Hi all 

I want to add and set a Search widget in a fusion application (Flexible
layout). 
I download FusionLearningMaterialsforMapGuide.zip to have an idea about what
I have to do. 
This is what I add in the XML file (Manage widgets) 

<?xml version="1.0"?>
<WidgetType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="UiWidgetType">
  <Name>Recherche</Name>
  <Type>Search</Type>
  <Location>Veullez entrer votre nom</Location>
  <Extension>
    <Target>TaskPane</Target>
    <Prompt>Veuillez entrer le nom du circuit</Prompt>
    <Layer>Circuit de collecte</Layer>
    <Filter>"Nom"='$USER_VARIABLE'</Filter>
    <MatchLimit>100</MatchLimit>
    <ResultColumns>      
     <Column>
      <Name>Nom</Name>
      <Property>Nom</Property>
     </Column>
     <Column>
      <Name>Kilométrage (km)</Name>
      <Property>Distance</Property>
     </Column>
     <Column>
      <Name>Durée (min)</Name>
      <Property>Durée</Property>
     </Column>
     </ResultColumns>
    <Title>Veuillez entrer le nom de votre cicuit</Title>
  </Extension>
  <ImageUrl>images/icons.png</ImageUrl>
  <ImageClass>search</ImageClass>
  <Label>Search</Label>
  <Tooltip>Veuillez effectuer votre recherche</Tooltip>
  <StatusText/>
  <Disabled>false</Disabled>
</WidgetType>


I'm not sattisfied with the result...Any mistakes?? 

Mapguie 2.4 
Maestro 5.0 

Thanks



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Add-an-Set-a-Search-Widget-Flexible-layout-tp5042705.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list