?
Solved

Struts display tag issue

Posted on 2009-05-07
2
Medium Priority
?
833 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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 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.
Suggested Courses
Course of the Month11 days, 13 hours left to enroll

752 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