I'm building a Stripes app.  I have a "item list" page that displays a list
of items in a DisplayTag table.  I've added the ability to type into a text
field and filter the contents of the table based on the item name.

What I'm finding however, is that pagination and sorting don't seem to work
once I've started to filter.  This seems to be an issue others (on this
forum and others) have had w/ DisplayTag and Ajax, and I've tried a couple
of options over the last week, the most recent being AjaxAnywhere
(http://ajaxanywhere.sourceforge.net/) -- It seems though, that nothing I do
works and I need some guidance.

I have an item_list.jsp containing the following:

        <%-- The filter field --%>
        <s:url var="url"
beanclass="org.stripesbook.quickstart.action.ItemListActionBean"/>
        Item Filter: <input type="text" onkeyup="filterItems(this,
'${url}');"/><br/>

            <%-- This tag is the one called by the JS filter to redraw the
table --%>
        <div id="item_table">
            <%...@include file="/WEB-INF/jsp/parts/item_table.jsp" %>  
        </div>

Any suggestions on what I should be doing so I can maintain the same
functionality but get the DisplayTags sorting and pagination to work
properly?

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/DisplayTag-and-AJAX-filtering-in-Stripes-app-tp23476058p23476058.html
Sent from the stripes-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to