Then I would concatenate the query string 'manually' so to speak if you need more than one parameter. The paramId tag only supports one parameter. I don't know if this will be changed in later versions of Struts or not. I'm currently using 1.2.x.
RB -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of fea jabi Sent: Friday, December 08, 2006 10:30 AM To: [email protected] Subject: Re: [displaytag-user] put value to session thanks for your response. Is it possible to add more than one param. I want to add another param to the url. i.e the param - mode whose value is Update too apart from the session attribute you suggested. Thanks. >From: "Burgess, Randy" <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: <[email protected]> >Subject: Re: [displaytag-user] put value to session >Date: Fri, 8 Dec 2006 10:24:05 -0500 > >In your output: > ><c:if test="${custs.name != null}" > > <c:out value="${custs.name}"/> ></c:if> > >I would wrap this with an html:link. Something like this (using JSTL >1.1) > ><c:if test="${custs.name != null}" > ><html:link action="cust.do" paramId="custID" paramProperty="custID" >name="Form1.customers" paramScope="session">${custs.name}</html:link> ></c:if> > >And then get rid of the href attribute from this column. > >Randy Burgess > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of fea >jabi >Sent: Friday, December 08, 2006 9:24 AM >To: [email protected] >Subject: [displaytag-user] put value to session > ><display:table name="sessionScope.Form1.customers" id="custs" >requestURI="home.do" class="single-line-table" defaultsort="8" >defaultorder="descending" pagesize="6"> > > <display:column titleKey="lbl.name" sortable="true" href="cust.do" >sortProperty="name"> > <c:if test="${custs.name != null}" > > <c:out value="${custs.name}"/> > </c:if> > </display:column> > > <display:column titleKey="lbl.custid" sortable="true" >property="custID"/> > >.................... >.................... > ></display:table> > > > >When the user clicks on the link of first column i.e customer name, have >to >put the corresponding custID in session which is in the second column. > > >how to do this? > > >Thanks. > >_________________________________________________________________ >Visit MSN Holiday Challenge for your chance to win up to $50,000 in >Holiday >cash from MSN today! >http://www.msnholidaychallenge.com/index.aspx?ocid=tagline&locale=en-us > > >----------------------------------------------------------------------- - >- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD E >V >_______________________________________________ >displaytag-user mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/displaytag-user > > > > >----------------------------------------------------------------------- -- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD EV >_______________________________________________ >displaytag-user mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/displaytag-user _________________________________________________________________ MSN Shopping has everything on your holiday list. Get expert picks by style, age, and price. Try it! http://shopping.msn.com/content/shp/?ctId=8000,ptnrid=176,ptnrdata=20060 1&tcode=wlmtagline ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

