Package org.apache.empire.struts2.jsp.components

Examples of org.apache.empire.struts2.jsp.components.AnchorComponent.addParameter()


        AnchorComponent anchor = (AnchorComponent) component;
        // Set item param
        if (item != null)
        {
            anchor.addParameter(str(param, getActionItemPropertyName()), getString(item));
        }
        // get Href
        anchor.setAction(action);
        anchor.setUrlType(urlType);
        anchor.setText(getString(text));
View Full Code Here


        AnchorComponent anchor = (AnchorComponent) component;
        // Set item param
        if (item != null)
        {
            anchor.addParameter(str(param, getActionItemPropertyName()), getString(item));
        }
        // get Href
        anchor.setAction(action);
        anchor.setText(getString(text));
        anchor.setDisabled(getBoolean(disabled, false));
View Full Code Here

        AnchorComponent anchor = (AnchorComponent)component;
        // get Href
        anchor.setAction(action);
        anchor.setText(text);
        anchor.setDisabled(isCurrent);
        anchor.addParameter(setPageParam, String.valueOf( pageIndex ));
        anchor.setOnclick(onclick);
    }
   
    @Override
    public int doStartTag() throws JspException
View Full Code Here

            }
            // Start the tag
            super.doStartTag();
            // Add Sort Param
            AnchorComponent anchor = (AnchorComponent)component;
            anchor.addParameter(hri.sortColumnParam, getColumnName());
            if (hri.sortOrderChangeable && hri.sortOrderParam!=null)
            {
                anchor.addParameter(hri.sortOrderParam, (hri.sortDescending) ? "0" : "1");
            }
            // render Link
View Full Code Here

            // Add Sort Param
            AnchorComponent anchor = (AnchorComponent)component;
            anchor.addParameter(hri.sortColumnParam, getColumnName());
            if (hri.sortOrderChangeable && hri.sortOrderParam!=null)
            {
                anchor.addParameter(hri.sortOrderParam, (hri.sortDescending) ? "0" : "1");
            }
            // render Link
            super.doEndTag();
        }
        else
View Full Code Here

        AnchorComponent anchor = (AnchorComponent) component;
        // Set item param
        if (item != null)
        {
            anchor.addParameter(str(param, getActionItemPropertyName()), getString(item));
        }
        // get Href
        anchor.setAction(action);
        anchor.setText(getString(text));
        anchor.setDisabled(getBoolean(disabled, false));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.