Thanks. I appreciate your help.

-----Original Message-----
From: Paul McCulloch [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 15, 2004 12:42 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [displaytag-user] Can id property of table be a runtime expre ssion

You need to:

1) Add the new parameter:
        1.1) Add a bean property to TableTag.java
        1.2) Modify the TLD

2) Use the new parameter when generating URLs which encode the current page
etc. TableTag.java - encodeParamters():
            String stringIdentifier = "x-" + getId() + this.tableid +
this.name;

I can't tell you if anyone is going to make such a change to the main
codebase. I'm using a modified version of 1.0b2.

Paul

> -----Original Message-----
> From: Randy Shelley [mailto:[EMAIL PROTECTED]
> Sent: 15 June 2004 17:26
> To: [EMAIL PROTECTED]
> Subject: RE: [displaytag-user] Can id property of table be a runtime
> expre ssion
> 
> 
> Is the 1.0 final release going to contain this patch? Excuse 
> my ignorance but I think what the sourceforge mailing says is 
> to do the following:
> 1. Add entry into displaytag.tld for tableId
> 2. Modify source of diplaytag to maintain the new field 
> TableTag.java (encodeParameter()).
> 
> Do you have a snippet of the code in TableTag.java program 
> that handles the field? Getting this deep is a little new to me.
> 
> Randy
> -----Original Message-----
> From: Paul McCulloch [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 15, 2004 10:51 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [displaytag-user] Can id property of table be a 
> runtime expre ssion
> 
> The sourceforge link should contain enough info for you to 
> patch the code.
> What are specifically having a problem with?
> 
> Paul
> 
> > -----Original Message-----
> > From: Randy Shelley [mailto:[EMAIL PROTECTED]
> > Sent: 15 June 2004 15:28
> > To: [EMAIL PROTECTED]
> > Subject: RE: [displaytag-user] Can id property of table be a runtime
> > expre ssion
> > 
> > 
> > Can anyone help? Is there a solution? I am truly stuck.
> > 
> > -----Original Message-----
> > From: Randy Shelley 
> > Sent: Saturday, June 12, 2004 6:00 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [displaytag-user] Can id property of table be a 
> > runtime expre ssion
> > 
> > I tried to use the id tag as a runtime expression
> > ie id="<%"row"%>"  
> > in jakarta-tomcat-4.1.30 & jakarta-tomcat-5.0.25 and still 
> > have the problem. What is the work around if there is any. Do 
> > I need to modify the beta 3 release myself? I read the 
> > tableId solution but I would rather stick with the released 
> > code so I do not have to worry about migrating issues from 
> > release to release. We really need to come up with solution 
> > in the released version. If I have to work around this 
> > problem, could somebody send me some more details on how to 
> > patch the release
> > 
> >     -----Original Message----- 
> >     From: Paul McCulloch [mailto:[EMAIL PROTECTED] 
> >     Sent: Thu 6/10/2004 4:29 AM 
> >     To: '[EMAIL PROTECTED]' 
> >     Cc: 
> >     Subject: RE: [displaytag-user] Can id property of table 
> > be a runtime expre ssion
> >     
> >     
> > 
> >     id as a runtime expression doesn;t work with Tomcat 4. 
> >     
> > http://sourceforge.net/tracker/index.php?func=detail&aid=81300
> > 6&group_id=730 
> >     68&atid=536613 
> > 
> >     Paul 
> > 
> >     > -----Original Message----- 
> >     > From: Randy Shelley [mailto:[EMAIL PROTECTED] 
> >     > Sent: 10 June 2004 00:03 
> >     > To: [EMAIL PROTECTED] 
> >     > Subject: [displaytag-user] Can id property of table 
> > be a runtime 
> >     > expression 
> >     > 
> >     > 
> >     > I am getting the following error: 
> >     >  
> >     >       [ServletException 
> >     > in:/WEB-INF/src/jsp/dyna/searchDynaTableData.jsp] null' 
> >     > 
> >     >  with the following in my JSP 
> >     >  
> >     > <logic:iterate name="SearchDynaTableDataForm" 
> >     > property="results" id="element" type="Vector" 
> > scope="request"> 
> >     >     <display:table name="pageScope.element" export="true" 
> >     > id="<%="row%>" requestURI="SearchDynaTableDataAction.do" 
> >     > pagesize="10" class="display"> 
> >     >        <display:column sortable="true"  title="var1" 
> >     > property="var1" headerClass="sortable"></display:column> 
> >     >       <display:column sortable="true"  title="var2" 
> >     > property="var2" headerClass="sortable" ></display:column> 
> >     >     </display:table> 
> >     > </logic:iterate> 
> >     >  
> >     > if I do id="row" it works fine. 
> >     >  
> >     > The reson I need a runtime expression is that I will be 
> >     > listing a dynamic list of multiple tables and I need to 
> >     > change id for each table to do the sort properly. The 
> >     > displaytag tld says that a runtime expression is true. What 
> >     > is going on? 
> >     > NHS^éX'u4ubqrGI1N]Szt 
> >     > $DÓKÆt7zZ)z)yÂwÞ{o7Iw+m4.i×ek+Zf)+-v+)j 
> >     > zb,y+Þm+-.Ç+-bØ~Ýâek+Z 
> >     > 
> > 
> > 
> >     
> > **************************************************************
> > ******** 
> >     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.
> > 
> >     
> > **************************************************************
> > ******** 
> > 
> > 
> > 
> >     ------------------------------------------------------- 
> >     This SF.Net email is sponsored by: GNOME Foundation 
> >     Hackers Unite!  GUADEC: The world's #1 Open Source 
> > Desktop Event. 
> >     GNOME Users and Developers European Conference, 28-30th 
> > June in Norway 
> >     http://2004/guadec.org 
> >     _______________________________________________ 
> >     displaytag-user mailing list 
> >     [EMAIL PROTECTED] 
> >     https://lists.sourceforge.net/lists/listinfo/displaytag-user 
> > 
> > NHSXuJÕw.)Çên)"{jY'uxÖvx[ë-jyzÖzWozzNk+f)+v+j
> > zÛyÏ+ÊÇ+~k+
> > 
> > NHS^éX'uÓZy#wÞxwkayizljZy#{]'^%
> > Þ^*'}ÞÇwV(×tZÚÈrDAI1Q!6jËrÚwë uV0f
> > 47bZÖÇx%]ek+ZX(~zwilq
> zlX)ßbZÖÇ
> > 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San 
> Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority 
> Code NWMGYKND
> _______________________________________________
> displaytag-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> 
> NHS^éX'uÓZy#wÞxwkayizljZy#{]'^%
> Þ^*'}ÞÇwV(×tZÚÈrDAI1Q!6jËrÚwë uV0f
> 47bZÖÇx%]ek+ZX(~zwilq
zlX)ßbZÖÇ
> 


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to