cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hess <p...@pbone.biz>
Subject Re: xsp:expr / compiler error: Missing semicolon
Date Tue, 28 Oct 2003 11:18:20 GMT

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

Sorry, another stupid question:

<a href="#"><xsp:expr>userName</xsp:expr></a>

How to create a href including the "userName" variable
like <a href="mypage?user=bob_foo">bob_foo</a>

Thanks,
   Patrick



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


Mime
View raw message