|
||||
[Chameleon] Problem when trying ROIRectangleTool WidgetChoi,Stephanie [Ontario] Stephanie.Choi@ec.gc.caThu, 18 Mar 2004 14:22:44 -0500
|
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C40D1E.639BA060 Content-Type: text/plain Hi all, >From the previous discussion about querying by rectangle, it mentioned that there are a few new widgets available from CVS. And I updated my widgets folder from CVS. However, after updated it, I can no longer load the CWC2 application. It seems to me that the reason for this problem is most of those new php files I updated do not have the following code in it : If ( function_exists ( "RegisterWidget" ) ) RegisterWidget ( "WidgetName", "WidgetNameWIdget" ); Therefore, no widgets are added into the register widgets array. I tried to add the above lines back. However, it doesn't work. Maybe I shouldn't update it in this way. Could anyone give me some ideas on this problem or a proper way to do this? I hope to give these new widgets a try. Any help would be greatly appreciated. Thanks, Stephanie ------_=_NextPart_001_01C40D1E.639BA060 Content-Type: text/html Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>Problem when trying ROIRectangleTool Widget</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2 FACE=3D"Arial">Hi all,</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">From the previous discussion about = querying by rectangle, it mentioned that there are a few new widgets = available from CVS. And I updated my widgets folder from = CVS. However, after updated it, I can no longer load the CWC2 = application. It seems to me that the reason for this problem is = most of those new php files I updated do not have the following code in = it :</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">If ( function_exists ( = "RegisterWidget" ) )</FONT> <BR> <FONT SIZE=3D2 = FACE=3D"Arial">RegisterWidget ( "WidgetName", = "WidgetNameWIdget" );</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">Therefore, no widgets are added into = the register widgets array. I tried to add the above lines = back. However, it doesn't work. Maybe I shouldn't update it = in this way. Could anyone give me some ideas on this problem or a = proper way to do this? I hope to give these new widgets a = try. Any help would be greatly appreciated.</FONT></P> <P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT> </P> <P><FONT SIZE=3D2 FACE=3D"Arial">Stephanie </FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C40D1E.639BA060--
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |