I'm pretty sure it works. If I use htmlId instead of uid, I see the table ids in the generated html properly incremented. (btw, DT docs say htmlId defaults to uid if htmlId is not explicitly specified)

-Mark

On 9/13/05, Matt Raible <[EMAIL PROTECTED]> wrote:
Are you sure the scriplet code you have below actually works?  I
haven't used the "uid" attribute personally, I was just reading the
documentation. ;-)

Matt

On 9/13/05, Mark Panahi < [EMAIL PROTECTED]> wrote:
> Hi Matt, I just tried this by doing something like this:
>
>  uid="<%=""+(++k)%>"
>
>  but it still doesn't seem to work. In fact, when I look at the html source,
> I see that all table ids are the same. It seems that uid is set once and
> assigned to all tables?
>
>  Thanks,
>
>  Mark
>
>
> On 9/13/05, Matt Raible < [EMAIL PROTECTED]> wrote:
> >
> > You can use the "uid" attribute to solve this problem (I believe):
> >
> >
> http://displaytag.sourceforge.net/tagreference-displaytag-12.html
> >
> > Matt
> >
> > On 9/13/05, Mark Panahi <[EMAIL PROTECTED]> wrote:
> > > (Hello, this is a message I sent a couple weeks. I never got a reply so
> I'm
> > > reposting with a more descriptive subject line.)
> > >
> > >
> > >  I'm trying to print multiple tables from a loop like this:
> > >
> > >  <logic:iterate id="listelem" name="lists" scope="request"
> > >  type="java.lang.String ">
> > >     <bean:write name='listelem'/>
> > >     <bean:define id="nm" ><bean:write name='listelem'/></bean:define
> > > >
> > >
> > >     <display:table name="<%=nm%>" id="element" export="true">
> > >         <display:setProperty name="export.csv.filename"
> > > value="<%=fname + "_" + lname + "_" + nm +".csv"%>" />
> > >         <display:column valign="top" property="dateStr"
> > > titleKey="label.pd.date"/>
> > >         <display:column valign="top" property="caregiver.label"
> > > titleKey=" label.pd.caseManager"/>
> > >         <display:column property="note" titleKey=" label.pd.notes"/>
> > >     </display:table>
> > >
> > > </logic:iterate>
> > >
> > > The display is fine, but there is a problem with the reports -- they
> > > all link to the report of the first table generated. Any ideas what
> > > I'm doing wrong? Is this a bug?
> > >
> > > Thanks,
> > >
> > > Mark
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App Server.
> Download
> > it for free - -and be entered to win a 42" plasma tv or your very own
> > Sony(tm)PSP.  Click here to play:
> http://sourceforge.net/geronimo.php
> > _______________________________________________
> > displaytag-user mailing list
> > [email protected]
> >
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >
>
>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to