[Chameleon-dev] [Bug 451] Some shared resources are cached from template initialized with chameleon. Subsequent templates do not have their shared resources loaded (ie..separate languages) .

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Mon Oct 25 15:54:11 EDT 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=451

cthorne at dmsolutions.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From cthorne at dmsolutions.ca  2004-10-25 15:54 -------
ok, this bug has not been fixed. the bilingual application only uses the first
template loaded shared resources. In this cases the english template is used and
not the french.

http://localhost/chameleon/samples/sample_bilingual.phtml

I confermed this by:
* making the TextButton normal buttons red ff0000 in the english template.
* loaded app and notice red buttons on both english and french applications.

* I then opened sample_bilingual.phtml and changed the following line:
from: $oApp->CWCInitialize( dirname(__FILE__).'/sample_bilingual_en.html',
$szMapFile  );

to: $oApp->CWCInitialize( dirname(__FILE__).'/sample_bilingual_fr.html',
$szMapFile  );

This will allow the application to load the french template first. Since the
french template did not have red buttons and was loaded first the english button
became grey from the french textbutton shared resource.

The idea of having a pre template session does not seem to be true.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list