It's just a pity I don't have time right now to produce patches for all the
mods I've made to the taglib. As it is I have to reapply my chnages every
release :-(

Paul

> -----Original Message-----
> From: Jerry Jalenak [mailto:[EMAIL PROTECTED]
> Sent: 23 January 2004 14:29
> To: 'Struts Users Mailing List'
> Subject: RE: [DisplayTag] Use of ID= Parameter
> 
> 
> Paul -
> 
> Thanks!  I modifed the TLD, added the get/set methods for the 
> tableId parm,
> and modified the encodeParameter() method as suggested, and 
> everything is
> working as I expected.  Thanks again!
> 
> Jerry Jalenak
> Development Manager, Web Publishing
> LabOne, Inc.
> 10101 Renner Blvd.
> Lenexa, KS  66219
> (913) 577-1496
> 
> [EMAIL PROTECTED]
> 
> 
> > -----Original Message-----
> > From: Paul McCulloch [mailto:[EMAIL PROTECTED]
> > Sent: Friday, January 23, 2004 4:20 AM
> > To: 'Struts Users Mailing List'
> > Subject: RE: [DisplayTag] Use of ID= Parameter
> > 
> > 
> > This has been raised before. See 
> > 
> > http://sourceforge.net/tracker/index.php?func=detail&aid=81300
> > 6&group_id=730
> > 68&atid=536613
> > 
> > I've patched the taglib to support an additional tableId 
> > attribute which can
> > be dynamic. This is a simple change to TableTag.java & the 
> > supporting TLD.
> > The other change is to encodeParameter() to use the new 
> attribute for
> > pagination and sorting URL generation.
> > 
> >             change
> > 
> >             String stringIdentifier = "x-" + getId() + this.name;
> > 
> > to
> > 
> >             String stringIdentifier = "x-" + getId() + 
> this.tableid +
> > this.name;
> > 
> > Paul
> > 
> > > -----Original Message-----
> > > From: Jerry Jalenak [mailto:[EMAIL PROTECTED]
> > > Sent: 22 January 2004 16:27
> > > To: '[EMAIL PROTECTED]'
> > > Subject: [DisplayTag] Use of ID= Parameter
> > > 
> > > 
> > > All,
> > > 
> > > I'm in the process of implementing the new <display/> taglib, 
> > > and am really
> > > excited about the ability to have multiple, independent, 
> > > tables on the same
> > > page.  In order to make this work, though, the ID= parameter 
> > > for each table
> > > has to be different.  This is where I'm running into 
> > > problems.  I've got my
> > > <display:table/> inside of a <nested:iterate/> so I can 
> > > generate 1-n tables
> > > - this works fine.  However, when I try to vary the ID= 
> > > parameter, I get
> > > ClassCastExceptions in 
> org.displaytag.tags.TableTagExtraInfo on the
> > > following line:
> > > 
> > >   Object tagId = data.getAttributeString(TagAttributeInfo.ID);
> > > 
> > > I've tried to define a page-scope variable and include it in 
> > > a small chunk
> > > of scriptlet code, but I just can't seem to get around this.  
> > > Does anyone
> > > have any ideas?
> > > 
> > > Thanks!
> > > 
> > > Jerry Jalenak
> > > Development Manager, Web Publishing
> > > LabOne, Inc.
> > > 10101 Renner Blvd.
> > > Lenexa, KS  66219
> > > (913) 577-1496
> > > 
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > > This transmission (and any information attached to it) may be 
> > > confidential and
> > > is intended solely for the use of the individual or entity to 
> > > which it is
> > > addressed. If you are not the intended recipient or the 
> > > person responsible for
> > > delivering the transmission to the intended recipient, be 
> > > advised that you
> > > have received this transmission in error and that any use, 
> > > dissemination,
> > > forwarding, printing, or copying of this information is 
> > > strictly prohibited.
> > > If you have received this transmission in error, please 
> > > immediately notify
> > > LabOne at the following email address: 
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > > 
> > 
> > 
> > **************************************
> > Axios Email Confidentiality Footer
> > Privileged/Confidential Information may be contained in this 
> > message. If you are not the addressee indicated in this 
> > message (or responsible for delivery of the message to such 
> > person), you may not copy or deliver this message to anyone. 
> > In such case, you should destroy this message, and notify us 
> > immediately. If you or your employer does not consent to 
> > Internet email messages of this kind, please advise us 
> > immediately. Opinions, conclusions and other information 
> > expressed in this message are not given or endorsed by my 
> > Company or employer unless otherwise indicated by an 
> > authorised representative independent of this message.
> > WARNING:
> > While Axios Systems Ltd takes steps to prevent computer 
> > viruses from being transmitted via electronic mail 
> > attachments we cannot guarantee that attachments do not 
> > contain computer virus code.  You are therefore strongly 
> > advised to undertake anti virus checks prior to accessing the 
> > attachment to this electronic mail.  Axios Systems Ltd grants 
> > no warranties regarding performance use or quality of any 
> > attachment and undertakes no liability for loss or damage 
> > howsoever caused.
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> This transmission (and any information attached to it) may be 
> confidential and
> is intended solely for the use of the individual or entity to 
> which it is
> addressed. If you are not the intended recipient or the 
> person responsible for
> delivering the transmission to the intended recipient, be 
> advised that you
> have received this transmission in error and that any use, 
> dissemination,
> forwarding, printing, or copying of this information is 
> strictly prohibited.
> If you have received this transmission in error, please 
> immediately notify
> LabOne at the following email address: 
> [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to