Changeset 14421

Show
Ignore:
Timestamp:
06.09.2007 08:31:07 (12 years ago)
Author:
xiao
Message:

modify the flax shortcut action to use strings from GSXML instead of FlaxUtil?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/action/GeneralAction.java

    r14398 r14421  
    22 
    33import org.greenstone.gsdl3.util.*; 
    4 import org.flax.util.*; 
    54// XML classes 
    65import org.w3c.dom.Node;  
     
    2322    logger.info(" request="+this.converter.getString(request)); 
    2423    //A shortcut action serving the flax web page requests 
    25     if(request.getAttribute(GSXML.SUBACTION_ATT).equals(FlaxUtil.FLAX_PAGE_GENERATION) 
    26             && request.getAttribute(FlaxUtil.TO).equals(FlaxUtil.FLAX_PAGE_GENERATION)) { 
     24    if(request.getAttribute(GSXML.SUBACTION_ATT).equals(GSXML.FLAX_PAGE_GENERATION) 
     25            && request.getAttribute(GSXML.TO_ATT).equals(GSXML.FLAX_PAGE_GENERATION)) { 
    2726        // 
    2827        Element mr_info_response = (Element) this.mr.process(message); 
    29         Node flaxPageNode = (mr_info_response.getElementsByTagName(FlaxUtil.FLAX_PAGE)).item(0); 
     28        Node flaxPageNode = (mr_info_response.getElementsByTagName(GSXML.FLAX_PAGE)).item(0); 
    3029        //logger.info(" raw page="+this.converter.getString(flaxPageNode)); 
    3130        if(flaxPageNode != null){