Solved

Struts display tag issue

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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 …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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.

747 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

13 Experts available now in Live!

Get 1:1 Help Now