Ah, maybe I can see what you mean.
 
I have my <%@ include file="/taglibs.jsp" %> only in my main page, while my 
fragment page, in isolation, is not a "well formed" JSP page..
I directly include objects (table) without the header and the stripes form 
enclosing it.
 
fragment.jsp-----
        <table>
        
          ...(page data)...
 
        </table>
-----------------
 
 
But is it possible/meaningfull to have a scenario like this?:
 
 
mainPage.jsp-----
<%@ include file="/taglibs.jsp" %>  
  <stripes:layout-render name="/layout/standard.jsp" title="Brikredigering">
..
    <stripes:layout-component name="contents">
      <stripes:errors/>
        <stripes:form action="/actionbeans/Brik.action" focus="">
            ...
               <div id="pageFragment">
                 <%@ include file="/fragment.jsp" %>
               </div><!-- authorsBoxBrikEdit -->
            ...
        </stripes:form>
      </stripes:layout-component>
    </stripes:layout-render>
-----------------
 
and 
 
fragment.jsp-----
<%@ include file="/taglibs.jsp" %>  
  <stripes:layout-render name="/layout/standard.jsp" title="Brikredigering">

    <stripes:layout-component name="contents">
      <stripes:errors/>
        <stripes:form action="/actionbeans/Brik.action" focus="">
        
          ...(page data)...
 
        </stripes:form>
      </stripes:layout-component>
    </stripes:layout-render>
-----------------
 
where the fragment itself is well formed? a form included in a form in 
hierarchy?


________________________________

        Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Lionel
        Sendt: 5. august 2008 18:28
        Til: [email protected]
        Emne: ***POSSIBLE SPAM*** Re: [Stripes-users] bug/issue? - include 
partial JSP, ***POSSIBLE SPAM*** AJAX and ForwardResolution() does not render 
collections in thebean ***POSSIBLE SPAM*** - only scalar fields
        
        
        you have to include the core taglib definition in the jsp.
        <[EMAIL PROTECTED] uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>

                "Tayeb Taouti DR Tes Appl. Java" <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]> > a écrit:

                        --- 
                        Object ID: 1 
                        Author List Object Reference: 
                        [EMAIL PROTECTED] id=4 payeeList=[] rapPayee=Jens Korse 
rapPayeeType= id= ], [EMAIL PROTECTED] id=5 payeeList=[] rapPayee=Oliver Zahle 
rapPayeeType= id= ]] 

                        (NO Iteration!) 
                        --- 

                        Code snippet. 

                        the Fragment JSP = Authors.jsp: 
                        ************************ 
                        ... 
                                Object ID: : ${actionBean.currentObject.id} 
                                Author List Object Reference: 
${actionBean.currentObject.brikAuthors} 
                                <c:forEach 
items="${actionBean.currentObject.brikAuthors}" var="aBrikAuthorDebug" 
varStatus="authorCounter"> 
                                        aBrikAuthor: ${aBrikAuthorDebug.id} 
                                </c:forEach> 
                        ... 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to