Hi there, i run in an problem when using <html:img> where some attributes should be filled with dynamic content from a Bean.
my example: <c:forEach var="resultServices" items="${serviceList}"> <tr bgcolor="<bean:write name="resultServices" property="color" />"> <TD width="20%"><bean:write name="resultServices" property="serviceName" /></TD> <TD width="15%" align="center"><bean:write name="resultServices" property="statusLocal" /></TD> <TD width="15%" align="center"> <! TESTOUTPUT,if the value has content --> <bean:write name="resultServices" property="dateCheckRemote" /> <c:choose> <c:when test="${resultServices.statusRemote=='ok'}"> <!-- This seem to be impossible -> results in a compiler error --> <html:img alt="Status Fehler" src="img/img1.gif" title="<bean:write name="resultServices" property="dateCheckRemote" />"/> </c:when> <c:otherwise> <html:img alt="Status unbekannt" src="img/img2.gif" title="" /> </c:otherwise> </c:choose> </TD> </tr> </c:forEach> When i try to compile this, i run in an error saying: attribut resultServices" isn't a valid attributname. I tried several thinks without any success. What i have to do to set the attribute title with the content of resultServices.getDateCheckRemote() ??? Alternativ i tried: <html:img alt="Status unbekannt" src="img/ampel_rot_small.gif" styleClass="status" title="${resultServices.dateCheckRemote}" /> But this seemd not to be parsed et al. Any help is very welcome. Regards Mirko Mit freundlichen Grüßen Mirko Wolf ----------------------------------------------------------------------------------------------------------------------------------------- panta rhei systems gmbh budapester straße 31 10787 berlin tel +49.30.26 01-14 17 fax +49.30.26 01-414 13 [EMAIL PROTECTED] www.panta-rhei.de Diese Nachricht ist vertraulich und ausschliesslich für den Adressaten bestimmt. Jeder Gebrauch durch Dritte ist verboten. Falls Sie die Daten irrtuemlich erhalten haben, nehmen Sie bitte Kontakt mit dem Absender auf und loeschen Sie die Daten auf jedem Computer und Datentraeger. Der Absender ist nicht verantwortlich für die ordnungsgemaesse, vollstaendige oder verzoegerungsfreie Übertragung dieser Nachricht. This message is confidential and intended solely for the use by the addressee. Any use of this message by a third party is prohibited. If you received this message in error, please contact the sender and delete the data from any computer and data carrier. The sender is neither liable for the proper and complete transmission of the information in the message nor for any delay in its receipt. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]