cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agsoftware.dnsalias.com>
Subject Re: xsp:expr / compiler error: Missing semicolon
Date Tue, 28 Oct 2003 10:41:56 GMT
Patrick Hess dijo:
>
> Can somebody tell what I'm doing wrong in this XSP (snippet):
>
> XSP:
>
> 	for (int i = 0; i &lt; users.size(); i++) {
> 		UserDataBean udb = (UserDataBean) users.get(i);
> 		String userName = ((String) udb.getUserName());
> 		<xsp:expr>userName</xsp:expr>
> 	}

Try this:

 	for (int i = 0; i &lt; users.size(); i++) {
 		UserDataBean udb = (UserDataBean) users.get(i);
 		String userName = ((String) udb.getUserName());
     </xsp:logic>
 		<xsp:expr>userName</xsp:expr>
     <xsp:logic>
 	}
     </xsp:logic>


Best Regards,

Antonio Gallardo



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message