cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

SUMMARY: Gathering Data for the UI (a simple table)

avillanueva
22-Sapphire II

SUMMARY: Gathering Data for the UI (a simple table)

Prathap had the most helpful reply. I ended up a class that extends
StandardManager and implements RemoteInterface and has a static method
below.



public static List getECApprovals(WTChangeOrder2 ecn) {...}

My List returned a list of a bean class holding my table data. The JSP
table is defined below



<jca:describetable var="tableDescriptor" id="goodrich.ecapprovals.table"&lt;br"/>label="EC Approvals" configurable="false" >

<jca:describecolumn id="role" label="Role"/>

<jca:describecolumn id="fullname" label="Name"/>

<jca:describecolumn id="completedDate" label="Date"/>

<jca:describecolumn id="vote" label="Vote"/>

</jca:describetable>

<jca:getmodel var="tableModel" descriptor="${tableDescriptor}"&lt;br"/>
serviceName="<my classname=">"

methodName="getECApprovals">

<jca:addserviceargument value="${param.oid}"&lt;br"/>type="wt.change2.WTChangeOrder2"/>

</jca:getmodel>

<jca:rendertable model="${tableModel}"/>



Now on to my next issue. See next post.
0 REPLIES 0
Announcements


Top Tags