Results 1 to 2 of 2
  1. #1
    ashish1987 is offline Member
    Join Date
    Apr 2012
    Rep Power

    Default Pagination in struts2

    hi friends,
    i am using pagination in struts2 by struts display tags plugins , it works properly........
    but problem is that i am not able to perform delete or edit operation because have some id problem..

    <display:table id="lst" name="lst" pagesize="10" export="false" requestURI="/view_airport_data.action" >
    <display:column property="airportid" title="AIRPORT ID" paramId="studentRoll" sortable="true"/>
    <display:column property="airport_code" title="AIRPORT KEY NAME" sortable="true"/>
    <display:column property="airport_name" title="AIRPORT NAME" sortable="true" />
    <display:column title="Action" >
    <s:form theme="simple">
    <input type="hidden" value="<s:property value="airportid" />" name="airport_id"/>
    <s:submit action="airportDetails.action" value="Remove" onclick="return confirm('Are you sure you want to delete thisitem?');"/>
    <s:submit action="displayEdit" value="Edit"/>

    <display:setProperty name="paging.banner.placement" value="bottom" />

    If you have any solution please give me......
    thank you

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Pagination in struts2

    Moved form Advanced Java.

    Your earlier thread was in this section, so I can see you were aware of it. in future, please post in the most appropriate section.

    You were also advised to use code tags. Quote tags aren't code tags.

    Forum Rules
    BB Code List - Java Programming Forum

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 0
    Last Post: 10-30-2011, 04:38 PM
  2. How to do pagination in java me
    By Basit781 in forum CLDC and MIDP
    Replies: 0
    Last Post: 07-06-2011, 08:43 AM
  3. JSP/Javascript Page Pagination
    By maas in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 08-04-2010, 11:29 AM
  4. pagination
    By akhi in forum New To Java
    Replies: 1
    Last Post: 12-31-2008, 11:51 AM
  5. Pagination in JSP
    By Albert in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-06-2007, 04:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts