I have a number of pages within my application where I use the c:import
tag to include content from a Stripes Action (example below) to fill
part of a page.  At a certain point in the growth of the ActionBean,
however, this pattern seems to cause an error.   I have dropped the
latest 1.5 beta into my app and I get a more helpful message, ( also
below).  In this case, I am calling an action resolution "examples" to
provide my main page and  to fill a tree view on the left side of my
page.  I am then calling though the c:import tag a request for the
examplesList resolution on the same ActionBean to fill the right side of
my page.  I do this so I can reuse this page to show related but
different things by just switching a parameter. The application is a
categorization tool that uses examples to categorize documents, so I use
the same page to show the examples as well as categorization results.
Is there a way around this?  

TIA

 

 

<%@ include file="/WEB-INF/jsps/includes/includes.jsp"%>

<s:layout-render name="/WEB-INF/jsps/layouts/default.jsp">

  <s:layout-component name="contents">

    <table class="template" height="100%" cellpadding="0"

      cellspacing="0" width="100%" border="0">

      <tbody>

        <tr>

          <td valign="top">

          <div id="leftPanel" class="leftPanel">

               <c:import url="tree.jsp?view=${param.view}" />

              </div>

          </td>

          <td valign="top" width="100%">

          <div class="rightPanel">

            <c:import url="/Categorize.action">

              <c:param name="${param.view}List" value="" />

            </c:import>

          </div>

          </td>

        </tr>  

      </tbody>

    </table>

  </s:layout-component>

</s:layout-render>

 

 

Stripes 1.5b error message: "Multiple event parameters [examplesList,
examples] are present in this request. Only one event parameter may be
specified per request. Otherwise, Stripes would be unable to determine
which event to execute."

 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to