Yes, I have one! It is the only place where it didn't work in my entire
site!
-----Message d'origine-----
De : David Winterfeldt [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 28 juin 2001 16:02
À : [EMAIL PROTECTED]
Objet : Re: Something strange about "iterate" tag
Do you have a setObjectives method in your bean? You
need it for the PropertyUtils to find the method (has
to do with the JavaBean spec).
David
--- "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hello struts users,
>
> I have a very strange problem in a jsp!! Indeed, the
> iterate tag works well for a property but doesn't
> work
> properly for another:
> * In my JSP:
> <logic:iterate id="prerequisite" name="course"
> property="preRequisites">
> <bean:write name="prerequisite"/>
> </logic:iterate>
> <logic:iterate id="objective" name="course"
> property="objectives">
> <bean:write name="objective"/>
> </logic:iterate>
> * In my bean:
> public String[] getObjectives() {return
> objectives;}
> public String[] getPreRequisites()
> {return (String[]) preRequisites.clone();}
> The first iterate tag is OK (preRequistes), but the
> second doesn't work (objectives) and provide this
> error: "No getter method for property objectives of
> bean
> course ".
> Please help me, a "objectives" getter is already
> present
> in my bean !!!
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
=========================================================================
Ce message et toutes les pièces jointes sont propriété de VALTECH et
susceptibles de contenir des informations confidentielles à l'intention
exclusive de ses destinataires. Si vous avez reçu ce message par erreur
ou si celui ci vous est parvenu incomplet ou altéré, merci d'en avertir
l'expéditeur par retour.Toute utilisation, diffusion ou publication non
expressément autorisée par nous par écrit est strictement interdite.
--------------------------------------------------------------------------
This message and any attachments are Valtech property and may contain
iconfidential information intended solely for the addressees. If your are
not the intended recipient of this message or if you have received it
uncomplete or altered, please notify the author by replying to his e-mail
immediately. Any unauthorised use, diffusion or dissemination not
expressly authorised by us in writing is strictly prohibited.
=========================================================================
Copyright Valtech 2000