<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV></DIV>
<DIV>Thanks Samuel, i follow this document (<U><FONT color=#810081>QueryWidgetCustomizingResults</FONT></U>). I can show in one button only the normal query (popupresults = true in the CWC2 for query widget), and i can show the two querys (normal and custom) with popupresults = false in the CWC2 for query widget. </DIV>
<DIV> </DIV>
<DIV>My question is can i put another button with the custom query only? (it is possible in the same query widget?). I need to have two buttons, first with normal query, and second with de custom query only.</DIV>
<DIV> </DIV>
<DIV>Thanks Samuel.</DIV>
<DIV> </DIV>
<DIV>Alexys H<BR><BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Mensaje original ----<BR>De: Julien-Samuel Lacroix <jlacroix@mapgears.com><BR>Para: Alexys Herleym Rodriguez Avellaneda <alexys_6@yahoo.es><BR>CC: chameleon <chameleon@lists.maptools.org><BR>Enviado: viernes, 21 de diciembre, 2007 15:17:46<BR>Asunto: Re: [Chameleon] query normal widget and query custom widget in different widgets<BR><BR>Hi,<BR><BR>You can't have 2 query widget on the same page (or one query and one <BR>copy of the query) because of the javascript function calls. To make <BR>your custom query see:<BR><A href="http://chameleon-tiki.maptools.org/tiki-index.php?page=QueryWidgetCustomizingResults" target=_blank>http://chameleon-tiki.maptools.org/tiki-index.php?page=QueryWidgetCustomizingResults</A><BR><BR>Julien<BR><BR>Alexys Herleym Rodriguez Avellaneda wrote:<BR>> Hi,<BR>> <BR>> I wish mery cristsmas for
all.<BR>> <BR>> I want to do a copy (query2) of the query widget, for to do a custom <BR>> query widget. When i run the query2 and delete que normal query widget, <BR>> my custom work fine, but when the two widgets (query normal, and <BR>> query2) exist (are together in chamaleon widgets folder), the query2 <BR>> send the popup window from query normal. How can i have the normal <BR>> widget working (i.e in button 1) at the same time that que query <BR>> custom (i.e. in button 2). <BR>> <BR>> The option popupresults="false" is limited, i need to show the next 3 <BR>> options: only normal query (already exist), only custom query (exist?), <BR>> custom and normal (already exist).<BR>> <BR>> If the second option doesn't exist, the solution is create a query2 widget?<BR>> <BR>> Thanks.<BR>> <BR>> Alexys H<BR>> <BR>> this is the cwc2 code for call to query
and query2, in the same project:<BR>> <BR>> <BR>> <BR>> <td><cwc2 type="Query" visible="true" imagetip="Mostrar <BR>> Informacion" PopupWidth="500" PopupHeight="600" Toolbar="false" <BR>> Status="false" Menubar="false" RADIUS="3" MAXFEATURES="5" <BR>> image="icons/icon_query.png" toolset="Navigation" <BR>> styleresource="NavButtons" popupstyleresource="TextButtons" <BR>> highlightresults="false" popupresults="true" allowrectangle="true" <BR>> persistentresults="true" submitpage="false"><BR>> <image state="normal"/><BR>> <image state="hover"/><BR>> <image state="selected"/><BR>> </cwc2></td><BR>> <td><cwc2 type="Query2"
visible="true" imagetip="Consulta Fedegan" <BR>> PopupWidth="500" PopupHeight="600" Toolbar="false" Status="false" <BR>> Menubar="false" RADIUS="3" MAXFEATURES="5" image="icons/icon_query.png" <BR>> toolset="Navigation" styleresource="NavButtons" <BR>> popupstyleresource="TextButtons" highlightresults="true" <BR>> popupresults="false" allowrectangle="false" persistentresults="true" <BR>> submitpage="true"><BR>> <image state="normal"/><BR>> <image state="hover"/><BR>> <image state="selected"/><BR>> </cwc2></td><BR>> <BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> <BR>> ¿Chef por primera vez? - Sé un mejor Cocinillas.<BR>> Entra en
Yahoo! Respuestas <BR>> <<A href="http://es.rd.yahoo.com/evt:51361/*http://es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=over&sid=396545367" target=_blank>http://es.rd.yahoo.com/evt:51361/*http://es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=over&sid=396545367</A>>.<BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> <BR>> _______________________________________________<BR>> Chameleon mailing list<BR>> <A href="mailto:Chameleon@lists.maptools.org" ymailto="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR>> <A href="http://lists.maptools.org/mailman/listinfo/chameleon" target=_blank>http://lists.maptools.org/mailman/listinfo/chameleon</A><BR><BR>-- <BR>Julien-Samuel Lacroix<BR>Mapgears<BR><A
href="http://www.mapgears.com/" target=_blank>http://www.mapgears.com/</A><BR></DIV><BR></DIV></div><br>
<hr size=1><br><font face="Verdana" size="-2">¿Chef por primera vez? - Sé un mejor Cocinillas.<br><a href="http://es.rd.yahoo.com/evt:51361/*http://es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=over&sid=396545367">Entra en Yahoo! Respuestas</a>.<br></font></body></html>