My joomla (2.5) module contains the following code to add a meta tag and an ajax app to the site:
$doc =& JFactory::getDocument();
$doc->addCustomTag('<meta name="gwt:property" content="locale=en" />');
The problem is, addCustomTag() (althoug it is called before addScript) adds the meta tag at the end of the head section (i.e. after the apps script tag), but the ajax app requires the meta tag to be defined before its "<script src..." tag.
How can I ensure the meta tag appears before the script tag in the output html's header?