[Chameleon] CWC2 service instance query result template
Jason Fournier
jfournier at dmsolutions.ca
Tue Jan 18 15:02:58 EST 2005
Excellent point ... that was overlooked when copied into the tiki
editor. I will update the tiki shortly.
Thanks,
Jay
Julien, Heryk wrote:
> Thanks Jay
> A comment that may be useful to someone else trying to customize the query
> widget:
> I think the "[ ]" brackets around the "0" should be added to the example
> script in the Wiki FAQ page
> (http://chameleon.maptools.org/tiki/tiki-view_faq.php?faqId=4).
>
>
> function myOnQuery( nX, nY )
> {
> var url = 'query.phtml?x=' + nX + '&y=' + nY + '&sid=' +
> document.forms[0].sid.value;
> }
>
> Cheers
> Héryk
>
>
> -----Message d'origine-----
> De : Jason Fournier [mailto:jfournier at dmsolutions.ca]
> Envoyé : mardi 18 janvier 2005 11:32
> À : Julien, Heryk
> Cc : 'chameleon at lists.maptools.org'
> Objet : Re: [Chameleon] CWC2 service instance query result template
>
>
> Heryk,
>
> You set the function to be called in the onload event of the body:
>
> onload="goEventManager.registerForEvent( 'ON_QUERY', 'function_to_call' ); "
>
> The sample Chameleon templates have a myOnLoad() function that gets
> called when the template loads ... following this example you could put
> your function in there.
>
> Jay
>
>
> Julien, Heryk wrote:
>
>>Hi,
>>As mentioned in the wiki, I set my query popupresults attribute to false
>
> but
>
>>where do you tell it which JS function to use?
>>
>>Thanks
>>Héryk
>>
>>-----Message d'origine-----
>>De : Paul Spencer [mailto:pspencer at dmsolutions.ca]
>>Envoyé : lundi 17 janvier 2005 15:15
>>À : Julien, Heryk
>>Cc : 'chameleon at lists.maptools.org'
>>Objet : Re: [Chameleon] CWC2 service instance query result template
>>
>>
>>Please see:
>>
>>http://chameleon.maptools.org/tiki/tiki-view_faq.php?faqId=4#q10
>>
>>This will work with Chameleon. I'm not sure that it would work with the
>>service instance unfortunately.
>>
>>Paul
>>
>>Julien, Heryk wrote:
>>
>>
>>>Hi,
>>>I've installed and correctly configured Chameleon and the CWC2 service
>>>instance.
>>>It works great. I was wondering if there was a way to modify the chameleon
>>>and CWC2 service query result template?
>>>By default cwc2 uses a predefined static table layout but I would like to
>>>use a personalized template with hyperlinks to access remote data.
>>>
>>>Cheers
>>>Héryk
>>>
>>>_______________________________________________
>>>Chameleon mailing list
>>>Chameleon at lists.maptools.org
>>>http://lists.maptools.org/mailman/listinfo/chameleon
>>>
>>
>>
>
--
_____________________________
Jason Fournier
DM Solutions Group Inc.
jfournier at dmsolutions.ca
www.dmsolutions.ca
613.565.5056 x18
More information about the Chameleon
mailing list