struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton_Gr...@mn.man.de
Subject Antwort: RE: Logic Iterate not finding my bean
Date Tue, 02 Jul 2002 07:21:19 GMT

try using the iterate-id <refnum>
for your bean-name in bean:write

like i did in

###

<logic:iterate name="helperBean" property="applications" id="app" type=
"de.man.mn.sys.rza.model.SystemKey">
      ...
      <html:link page='<%= param %>' scope="request">
            <bean:write name="app" property="system"/>
      </html:link>
</logic:iterate>

Mit freundlichen Grüssen

A. Grimm

****************************************************
MAN Nutzfahrzeuge AG
Anton Grimm
Abt. IDP (SoftwareProduktionsumgebungen)
Dachauerstr.667
80995 München

Tel.:      089/1580-1054
Fax:      089/1580-911054
E-Mail: Anton_Grimm@mn.man.de
****************************************************


                                                                                         
                                          
                      wbchmura@Ensign-Bick                                               
                                          
                      fordInd.com                 An:       struts-user@jakarta.apache.org
                                         
                                                  Kopie:                                 
                                          
                      01.07.2002 20:35            Thema:    RE: Logic Iterate not finding
my bean                                   
                      Bitte antworten an                                                 
                                          
                      "Struts Users                                                      
                                          
                      Mailing List"                                                      
                                          
                                                                                         
                                          
                                                                                         
                                          





You mean this one:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

Nope, got that in there...


-----Original Message-----
From: Chris.Treglio [mailto:Chris_Treglio@berlex.com]
Sent: Monday, July 01, 2002 2:27 PM
To: struts-user
Subject: Re: Logic Iterate not finding my bean




I just got over a bout with this same error, and after a day of
tail-chasing and not a little profanity I realized that I had not
defined
the logic taglib. That error was coming from the write tag, because the
iterate tag was being ignored entirely.





wbchmura@Ensign-BickfordInd.com
07/01/02 02:25 PM
Please respond to "Struts Users Mailing List"



To:     struts-user@jakarta.apache.org
cc:
Subject:        Logic Iterate not finding my bean


[ServletException in:/WEB-INF/jsp/projects/mainmenu.jsp] Cannot find
bean rowset in scope session'

These are for DynaBeans incidentally... I am stuffing an array list and
then setting it like so:

-----------
System.out.println("Name is: " + ((BasicDynaBean)
results.get(0)).get("name"));
session.setAttribute("rowset",results);
-----------

In my jsp I have tried a kabillion combinations for the logic iteratate
and all yield the error above:

<logic:iterate id="refnum" name="rowset">
Next element is <bean:write name="rowset" property="refnum"/>
</logic:iterate>

Here is the simplest I tried...  I've added type, etc.. All to no avail





--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>






--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <
mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <
mailto:struts-user-help@jakarta.apache.org>






--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message