Package org.displaytag.sample

Examples of org.displaytag.sample.ListObject


    /**
     * Returns the TestObject's ID as a hyperlink that the person can click on and "drill down" for more details.
     */
    public String getLink1()
    {
        ListObject object = (ListObject) getCurrentRowObject();
        int index = getListIndex();

        return "<a href=\"details.jsp?index=" + index + "\">" + object.getId() + "</a>";
    }
View Full Code Here


     * Returns an "action bar" of sorts that allow the user to perform various actions on the TestObject based on it's
     * id.
     */
    public String getLink2()
    {
        ListObject object = (ListObject) getCurrentRowObject();
        int id = object.getId();

        return "<a href=\"details.jsp?id="
            + id
            + "&amp;action=view\">View</a> | "
            + "<a href=\"details.jsp?id="
View Full Code Here

TOP

Related Classes of org.displaytag.sample.ListObject

Copyright © 2018 www.massapicom. 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.