We are using display tag component

http://displaytag.sourceforge.net/1.2/



We are making a basic call to display a grid of values:


supplierQuotes is a list of pojo object with quoteId attribute and quoteName


Jsp code:

   <display:table id="row" name="supplierQuotes"
requestURI="/pulse/customer.do" sort="list"

                   decorator>

      <%System.out.println("pageContext.getAttribute(\"row\")
"+pageContext.getAttribute("row") );%>

            <display:column  title="QUOTE#" >



#<c:out value="${row.quoteId}"/>

        </display:column>

   </display: table>



The aim is put element from list supplierQuotes in pageContext in row
attribute.



This is working with Resin 2.x resin 3.1.x (7 and 8) tomcat also but not
with resin 3.2.1



Java code from java class build from the jsp  with 3.2.1

final org.displaytag.tags.TableTag get_jsp_TableTag_3(PageContext
pageContext, javax.servlet.jsp.tagext.JspTag _jsp_parent_tag) throws
Throwable

    {

      if (_jsp_TableTag_3 == null) {

        _jsp_TableTag_3 = new org.displaytag.tags.TableTag();

        _jsp_TableTag_3.setPageContext(pageContext);

        _jsp_TableTag_3.setParent((javax.servlet.jsp.tagext.Tag)
_jsp_AjaxDisplayTag_2);

        _jsp_TableTag_3.setId("row");

        _jsp_TableTag_3.setName("supplierQuotes");

        _jsp_TableTag_3.setRequestURI("/pulse/customer.do");

        _jsp_TableTag_3.setSort("list");


_jsp_TableTag_3.setDecorator("com.mfg.pulse.web.view.renderer.table.customersupport.SupplierQuotesTableWrapper");

      }



      return _jsp_TableTag_3;

    }



Same with 3.1.8

if (_jsp_TableTag_3 == null) {

              _jsp_TableTag_3 = new org.displaytag.tags.TableTag();

              _jsp_TableTag_3.setPageContext(pageContext);

              _jsp_TableTag_3.setParent((javax.servlet.jsp.tagext.Tag)
_jsp_AjaxDisplayTag_2);

              _jsp_TableTag_3.setUid("row");

              _jsp_TableTag_3.setName("supplierQuotes");

              _jsp_TableTag_3.setRequestURI("/pulse/customer.do");

              _jsp_TableTag_3.setSort("list");


_jsp_TableTag_3.setDecorator("com.mfg.pulse.web.view.renderer.table.customersupport.SupplierQuotesTableWrapper");

            }

Something replace automatically ID by UID
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to