Solved

Struts display tag issue

Posted on 2009-05-07
2
822 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using object mapper in spring web application 8 54
factorial example challenge 10 93
return in catch statement 1 44
servlet example issue 6 32
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.

895 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

14 Experts available now in Live!

Get 1:1 Help Now