MapTools.org

[Chameleon] Questions about ROI's widgets

Jason Fournier jfournier@dmsolutions.ca
Fri, 26 Mar 2004 10:33:35 -0500
We,

I don't believe it sets a hidden variable when you clear an ROI (well, 
none that I can find anyways).  It calls this function:

function ROIRemoveAll()
{
    goCWCROIManager.RemoveAll();
}

and uses the ROIManager to handle states.  That being said it would be 
quite easy to modify this function so that you could set a hidden 
variable in your template.  Alternatively you could access the 
goCWCROIManager object to determine the state of an ROI through javascript.

Jason




we wei wrote:

>Hi all,
>
>I got a question about ROI's widgets.  I just wonder
>if ROIRemoverAll widget is executed, is there any
>javascript or form variables which indicates there are
>no ROI specified regions left ?  
>
>Thanks!
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Finance Tax Center - File online. File on time.
>http://taxes.yahoo.com/filing.html
>_______________________________________________
>Chameleon mailing list
>Chameleon@lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/chameleon
>
>  
>

-- 
___________________________
Jason Fournier
DM Solutions Group
Application Developer
Ottawa, ON
613.565.5056 x 18
jfournier@dmsolutions.ca





This archive was generated by Pipermail.