[Chameleon] Widget Crosstalk

Paul Spencer pspencer at dmsolutions.ca
Tue Aug 30 10:01:04 EDT 2005


Abe,

although this is somewhat frowned on :) (widgets are supposed to be 
independent), you can do it within the framework:

1) use a session variable to indicate the visibility, have one widget 
update it and the other determine its visibility based on the contents

2) use a SharedResource (same result basically)

3) use template preprocessor

As long as you write both widgets to work if the other widget is not in 
the page, then you should probably use 1) above to do this.

Cheers

Paul

Abe Gillespie wrote:
> Is there a way to communicate information from one widget to another
> during the server-side PHP scripting?  I want the visibility of one
> widget to depend on settings that have occurred w/in another widget.
> 
> Thanks.
> -Abe
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+


More information about the Chameleon mailing list