[Chameleon] query normal widget and query custom widget
in different widgets
Julien-Samuel Lacroix
jlacroix at mapgears.com
Fri Dec 21 15:17:46 EST 2007
Hi,
You can't have 2 query widget on the same page (or one query and one
copy of the query) because of the javascript function calls. To make
your custom query see:
http://chameleon-tiki.maptools.org/tiki-index.php?page=QueryWidgetCustomizingResults
Julien
Alexys Herleym Rodriguez Avellaneda wrote:
> Hi,
>
> I wish mery cristsmas for all.
>
> I want to do a copy (query2) of the query widget, for to do a custom
> query widget. When i run the query2 and delete que normal query widget,
> my custom work fine, but when the two widgets (query normal, and
> query2) exist (are together in chamaleon widgets folder), the query2
> send the popup window from query normal. How can i have the normal
> widget working (i.e in button 1) at the same time that que query
> custom (i.e. in button 2).
>
> The option popupresults="false" is limited, i need to show the next 3
> options: only normal query (already exist), only custom query (exist?),
> custom and normal (already exist).
>
> If the second option doesn't exist, the solution is create a query2 widget?
>
> Thanks.
>
> Alexys H
>
> this is the cwc2 code for call to query and query2, in the same project:
>
>
>
> <td><cwc2 type="Query" visible="true" imagetip="Mostrar
> Informacion" PopupWidth="500" PopupHeight="600" Toolbar="false"
> Status="false" Menubar="false" RADIUS="3" MAXFEATURES="5"
> image="icons/icon_query.png" toolset="Navigation"
> styleresource="NavButtons" popupstyleresource="TextButtons"
> highlightresults="false" popupresults="true" allowrectangle="true"
> persistentresults="true" submitpage="false">
> <image state="normal"/>
> <image state="hover"/>
> <image state="selected"/>
> </cwc2></td>
> <td><cwc2 type="Query2" visible="true" imagetip="Consulta Fedegan"
> PopupWidth="500" PopupHeight="600" Toolbar="false" Status="false"
> Menubar="false" RADIUS="3" MAXFEATURES="5" image="icons/icon_query.png"
> toolset="Navigation" styleresource="NavButtons"
> popupstyleresource="TextButtons" highlightresults="true"
> popupresults="false" allowrectangle="false" persistentresults="true"
> submitpage="true">
> <image state="normal"/>
> <image state="hover"/>
> <image state="selected"/>
> </cwc2></td>
>
>
>
> ------------------------------------------------------------------------
>
> ¿Chef por primera vez? - Sé un mejor Cocinillas.
> Entra en Yahoo! Respuestas
> <http://es.rd.yahoo.com/evt:51361/*http://es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=over&sid=396545367>.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
--
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/
More information about the Chameleon
mailing list