You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Da...@ovid.com on 2001/07/26 21:06:41 UTC
Re: Scriptlets see the getter method, but bean:write doesn't...
Revised version, still same problem...
Check this out:
the following works fine:
<logic:iterate name="journalList" id="journal"
type="com.ovid.csa.ojcu.journal.Journal">
<logic:present name="journal">
<%=journal.getIssnNum()%>
<%=journal.getJournalNameString()%>
</logic:present>
<logic:notPresent name="journal">
It's not working
</logic:notPresent>
</logic:iterate>
But, if I use
<bean:define name="journal" property="issnNum" scope="page"/>
instead of:
<%=journal.getIssnNum()%>
I'm told: No getter method for property issnNum of bean journal
What am I doing wrong?
Any help is appreciated.
Thank you,
Dallas Browning