Guys,

I'm trying to get nested tables working for my application, but it seems
harder than it looks.
How can I reference the current row object in my nested column?

Eg:

    <table:table name="list" pagesize="10" id="parent"
requestURI="nationalcorrespondents.action">
        <table:column property="id" title="ID" sort="true"/>
        <table:column property="name" title="NAME" sort="true"/>
        <table:column property="country.name" title="COUNTRY" sort="true"/>
        <table:column property="region.name" title="REGION" sort="true"/>
        <table:column title="ADDRESSES">
            <table:table name="parent.addresses" id="addresses">
                <table:column property="name" title="NAME" sort="true" />
                <table:column property="city" title="CITY" sort="true" />
            </table:table>
        </table:column>
        <table:column title="CONTACT INFORMATIONS">
            <table:table name="parent.contactInformations"
id="contactInformations">
                <table:column property="firstName" title="FIRST NAME"
sort="true" />
                <table:column property="lastName" title="LAST NAME"
sort="true" />
                <table:column property="phone" title="PHONE" sort="true" />
            </table:table>
        </table:column>
    </table:table>

But the parent.blah isn't working.

Thanks,
Mathias


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to