More context - the directory structure and jsp's.

\WEB-INF
    \jsp
        expense_list.jsp
        \common
            layout_blank.jsp
        \part
            expense_table.jsp

layout_blank.jsp

<%@page contentType="text/html;charset=ISO-8859-1" language="java"%>
<%@include file="/WEB-INF/jsp/common/taglibs.jsp"%>

<s:layout-definition>
    <s:layout-component name="body">
        Body goes here
    </s:layout-component>
</s:layout-definition>

expense_table.jsp

<%@ include file="/WEB-INF/jsp/common/taglibs.jsp" %>

<s:layout-render name="/WEB-INF/jsp/common/layout_blank.jsp">
    <s:layout-component name="body">

            <d:table name="${actionBean.expenses}" id="expense" class="table"
                     requestURI="" defaultsort="1" defaultorder="descending" 
pagesize="10" sort="list">
                <d:column title="Date" property="date" sortable="true"/>
                <d:column title="Amount" property="amount" sortable="true"/>
                <d:column title="Comment" property="comment" sortable="false"/>
                <d:column title="Tags" property="formattedTags" 
sortable="false"/>
            </d:table>

    </s:layout-component>
</s:layout-render>


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to