Peter Janes wrote:
> Hello
>
> I am working my way through the Stripes Book examples
> (http://www.pragprog.com/titles/fdstr/stripes), where the displaytag library
> is used (a first timer for me). Example JSP:
>  
> <[EMAIL PROTECTED] file="/WEB-INF/jsp/common/taglibs.jsp"%> 
> <s:layout-render name="/WEB-INF/jsp/common/layout_main.jsp" title="Contact
> List">
>   <s:layout-component name="body">
>     <d:table name="${actionBean.contacts}" id="contact" requestURI=""
> defaultsort="1">
>       <d:column title="Last name" property="lastName" sortable="true"/>
>       <d:column title="First name" property="firstName" sortable="true"/>
>       <d:column title="Email" property="email" sortable="true"/>
>     </d:table>
>   </s:layout-component>
> </s:layout-render>
>  
> As long as I don't use the id="contact" attribute, everything works fine
> (not yet required for this example, but for next one). 

You can use uid instead. I think this should clear up your problem.

<d:table name="${actionBean.contacts}" uid="contact" requestURI=""
defaultsort="1">

Ed!



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to