Solved

Struts display tag issue

Posted on 2009-05-07
2
824 Views
Last Modified: 2013-11-24
I have develped a jsp page which has dropdown ..based on the drop down
data is displayed in the display tag on the JSP page..when on the page the sorthing everything works fine

but

 i have refresh button on the jsp page..this calls the same jsp page with different action.
when done..it displays the data and all fine...the problem comes when i'm trying to sort..

please need urgent hep....
code of display tag
<display:table id="data" name="UserLoginForm.displayDataLoader" requestURI="/login.do" pagesize="1000">
                                <display:column property="clientid" title="MRN" sortable="true" href="/org.kp.pyschoutcomes.toolkit/graph/graph.jsp" paramId="client_id"  />
                                <display:column property="nickname" title="Patient<br/>Name" sortable="true"  />
                                <display:column property="recentdate" title="RecentDate" sortable="true"  />
                                <display:column property="gdsscore" title="GDS" sortable="true"  />
                                <display:column property="symptoms" title="Symptoms" sortable="true" maxLength="40" />
                                <display:column property="harm" title="Harm" sortable="true" maxLength="40"  />
                                <display:column property="function1" title="Work<br/>Functioning" sortable="true"  />
                                <display:column property="social" title="Social" sortable="true" maxLength="40"  />
                                <display:column property="sa" title="Substance<br/>Abuse" sortable="true"  />
                                <display:column property="alliance" title="Allaince" sortable="true"  />
                                <display:column property="gdsassessnum1" title="Gds Assess<br/>num" sortable="true"  />
                                <display:column property="assessnum" title="Assess<br/>Num" sortable="true"  />
                                <display:column property="changescore" title="Change<br/>Score" sortable="true"  />
                                <display:column property="gdstarget" title="First<br/>Gds" sortable="true"  />
                                <display:column property="resourceid" title="Group" sortable="true"  />
                                <display:column property="status" title="Status" sortable="true"  />
                            </display:table>
 
code to refresh button
 
  <html:form action="/displayaction?parameter=refresh">
<html:submit>refresh</html:submit>
 <html:form>

Open in new window

0
Comment
Question by:pothireddysunil
2 Comments
 
LVL 12

Expert Comment

by:Gibu George
ID: 24334735
Is there any error while sorting?
0
 
LVL 1

Accepted Solution

by:
pothireddysunil earned 0 total points
ID: 24345814
No there is no error..i have solved the issues....just need to put requestURI="" the sorting works fine now
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bunnyEars2 challenge 6 129
Problem to start Neon 20 103
tomcat not starting 6 45
Unhandled exception type Exception 18 28
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now