Ignore:
Timestamp:
2007-09-06T08:31:07+12:00 (17 years ago)
Author:
xiao
Message:

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

File:
1 edited

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){
Note: See TracChangeset for help on using the changeset viewer.