View | Details | Raw Unified | Return to bug 32381
Collapse All | Expand All

(-)TreeControlTag.java (-3 / +3 lines)
Lines 88-94 Link Here
88
88
89
    /**
89
    /**
90
     * The hyperlink to be used for submitting requests to expand and
90
     * The hyperlink to be used for submitting requests to expand and
91
     * contract tree nodes.  The placeholder "<code>${name}</code>" will
91
     * contract tree nodes.  The placeholder "<code>{name}</code>" will
92
     * be replaced by the <code>name</code> property of the current
92
     * be replaced by the <code>name</code> property of the current
93
     * tree node.
93
     * tree node.
94
     */
94
     */
Lines 350-360 Link Here
350
        // character in parameter values. 
350
        // character in parameter values. 
351
        String encodedNodeName = URLEncoder.encode(node.getName(),TomcatTreeBuilder.URL_ENCODING);
351
        String encodedNodeName = URLEncoder.encode(node.getName(),TomcatTreeBuilder.URL_ENCODING);
352
352
353
        String action = replace(getAction(), "${name}", encodedNodeName);
353
        String action = replace(getAction(), "{name}", encodedNodeName);
354
354
355
        
355
        
356
        String updateTreeAction =
356
        String updateTreeAction =
357
            replace(getAction(), "tree=${name}", "select=" + encodedNodeName);
357
            replace(getAction(), "tree={name}", "select=" + encodedNodeName);
358
        updateTreeAction =
358
        updateTreeAction =
359
            ((HttpServletResponse) pageContext.getResponse()).
359
            ((HttpServletResponse) pageContext.getResponse()).
360
            encodeURL(updateTreeAction);
360
            encodeURL(updateTreeAction);

Return to bug 32381