struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf <maili...@matthias-wessendorf.de>
Subject logic:iterate -tag
Date Sun, 12 Jan 2003 22:02:56 GMT
Hello everybody,

i am just trying to use the <logic:iterate ...>-Tag

this way was successfull:

THE CODE:
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>

<jsp:useBean id="menge" class="access.Glossarbegriffsverwaltung"
scope="request"/>


<logic:iterate id="begriff" name="menge" property="begriffe">
    <bean:write name="begriff"/><br>
</logic:iterate>

END OF CODE

but i didn´t want to use the <jsp:useBean ...>-Tag
so i tried this one:

THE CODE:
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>


<logic:iterate id="begriff" name="menge" property="begriffe"
type="access.Glossarbegriffsverwaltung">
    <bean:write name="begriff"/><br>
</logic:iterate>
END OF CODE


but i get this error:
org.apache.jasper.JasperException: Cannot find bean menge in scope null

thank you very much for helping!

best greetings

Matthias

----------------------------------------------------------------------------
--------
Matthias Weßendorf
Lange Strasse 17
D-44137 Dortmund
Tel.: (02 31) 1 89 15 95
Handy: (01 79) 1 11 89 79
Email: mailto:matthias@wessendorf.NET
URL: http://www.wessendorf.NET


--
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