473,804 Members | 2,164 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Display Tag Issue JSP

52 New Member
Hi,
I am using Displaytag to populate values on Jsp page using(display:c olumn).If I want to pass two values from this page to next jsp page with href & paramID , i am only getting one value and second value as null.
How can i pass two parameters from display:table to next jsp page?
i am using default(request ) scope to populate values from bean
Please help me out to reslove this issue.
Thanks
Naveen
Jun 26 '09 #1
4 9619
naveenkongati
52 New Member
My Code:
Expand|Select|Wrap|Line Numbers
  1. <%@page import="SSIO.MemberService"%>
  2. <%@page import="java.util.List"%>
  3. <%@taglib prefix="display" uri="http://displaytag.sf.net" %>
  4. <%
  5.  
  6.         MemberService memberService = new MemberService();
  7.         List memberList = memberService.getMyMessages(ownerno);
  8.         System.out.println("size = " + memberList.size());
  9.         request.setAttribute("memberList", memberList);
  10. %>
  11.  
  12. <div class="salesitem">
  13.     <%int i = 1;%>
  14.  
  15.     <display:table name="requestScope.memberList"  pagesize="8" style="color:#003366;background-color:#F7F7F7"   >
  16.         <display:setProperty name="paging.banner.item_name" value="User Feedback"  />
  17.         <display:setProperty name="paging.banner.items_name" value="User Feedbacks" />
  18.         <display:setProperty name="paging.banner.placement" value="bottom"></display:setProperty>
  19.         <display:column value="<%=i++ %>" title="Sl No" ></display:column>
  20.         <display:column property="messagedate" title="Message On"></display:column>
  21.         <display:column property="message" title="Message" ></display:column>
  22.         <display:column property="msgsenderdetail" title="Sender" ></display:column>
  23.         <display:column property="messageitemid" title="For ItemID" ></display:column>
  24.         <display:column href="reply.jsp" paramId="messageid"  title="Reply" ><img src="http://bytes.com/community/style/replycomments.gif" class="ownerimg" /></display:column>
  25.         <display:column href="deletemsg.jsp" paramId="messageid" autolink="true"   paramProperty="messageid" title="Delete" ><img src="http://bytes.com/community/style/delete_edit1.gif" class="ownerimg" /></display:column>
  26.         <display:caption style="font-weight:bold;font-size:13px;">MESSAGES FROM VISITORS/BUYERS</display:caption>
  27.         <display:setProperty name="basic.msg.empty_list" value="No new messages available!"></display:setProperty>
  28.     </display:table>
Jun 26 '09 #2
naveenkongati
52 New Member
I want to take messagefrom and messageid to reply.jsp. Where i am able to get messageid and messagefrom as null.
Thanks
Jun 26 '09 #3
ak1dnar
1,584 Recognized Expert Top Contributor
Hi,
First you should use code tags when posting source codes. Also select the best category from the topic list, really this should goes to the java forum.That way we can help you very easily. Please hang on until one of our moderator move this thread to the java forum. Thanks
Jun 27 '09 #4
Frinavale
9,735 Recognized Expert Moderator Expert
Thread has been moved to the Java Forum. In the future please post your Java questions in the Java Forum.
Jun 29 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1971
by: DK | last post by:
I have 3 table A, B, C. I have shown sample data in the tables below: Table A: Tabel A: This table represents the fields in a form. Each field can have 1 or more options. So in this case field 1 has 2 options – 1 & 2. Where as field 5 has no options – ie it may be a text field. FldId Field Option 1 1 1 2 1 2
2
2468
by: Anthony Cuttitta Jr. | last post by:
We have an application that outputs several different graphs from data downloaded from our AS400. The application has worked without (this) issue for several months now, but just recently, the workstation it is normally run from has been upgraded to WinXP from WinNT 5.0. The issue is that the graphs will either display the data within the recordsource (a query), OR it will display the "temp" data in the chart's datasheet (from initial...
4
1608
by: N. Graves | last post by:
Hello folks! I have a form (Equipotent) that uses a listbox(lst_EquipID to select a record in a subform(sfrm_Equip_view. On this sub form has a tab control. Issue: When I first open the form the tab control is not displaying the tab across the top of the control until I select a row in the list box. I would like them to be immediately available.
1
3437
by: Dominic via DotNetMonster.com | last post by:
With a little help from someone in this forum, I am currently creating forms and then embedding them into tabpages, so that I get a display similar to Lotus Notes. I have one container window, so I am using this approach as an alternative to a MDI container. My issue is that when I resize the container form, the controls that anchored to the right in the embedded form do not move with the container form. After investigating I have found...
1
1533
by: Dominic via DotNetMonster.com | last post by:
With a little help from someone in this forum, I am currently creating forms and then embedding them into tabpages, so that I get a display similar to Lotus Notes. I have one container window, so I am using this approach as an alternative to a MDI container. My issue is that when I resize the container form, the controls that anchored to the right in the embedded form do not move with the container form. After investigating I have found...
1
9041
by: RonY | last post by:
I have a dropdown which calls SetTimePeriod method on change the selection. In the JS function, I reset the field style.display based on what the selection is. This works fine with IE but not working with Firefox browser. The firefox browser has problem to display a field after its style.display is reset. At the end of the JS function, I printed out the fields style.display value. They are set correctly. How to resovle this? My JS is : ...
5
1488
by: David Thielen | last post by:
Hi; Ok, I will be the first to agree that this should be impossible - except we are able to keep repeating it. Our login page - which has moderately complex html and uses <LayoutTemplate> to get the look we want - looks exactly right when running on IIS. But when I run from VS 2005 using the integrated web server, it looks very different - background color in a div is gone, it's in the upper left of the
3
3932
by: ApexData | last post by:
I am using a continuous form for display purposes. Above this form, a single record is displayed so that when the user presses my NewButton they can enter a NewRecord which gets added to the continuous form that displays below. Under the NewButton I have these lines of code: Me.AllowAdditions = True DoCmd.GoToRecord , , acNewRec
1
1425
by: Tim in Phoenix | last post by:
Hello all, I have a problem with two co-existing js files. One is used to render a flash piece using proper HTML syntax, and the other to mitigate an issue in IE6 where .png graphics are not displayed properly (they do not show as transparent and are instead displayed within a non-transparent box.) http://www.avalonphoenixgroup.com/mm5/merchant.mvc?Screen=PNGFLASH This page displays as expected in Mozilla & IE7 and also passes HTML
0
1427
by: PenCraft | last post by:
Never mind. There was a stray comment tag inbetween the CSS code and the body code. I am working on a web page with a background image. I tried using the CSS background tag to avoid the slice and dice table approach. This is the page: http://www.pencraftco.com/slvrec/index.htm It works just fine in Flock 1.2.4 In IE6, the only thing that shows up on the page is the background image. Everything else is gone. If I delete the CSS...
0
9714
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10600
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10350
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10351
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9174
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7638
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5534
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.