You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Peter L. Berghold" <Pe...@berghold.net> on 2007/02/14 22:43:36 UTC

"Doing sometihng" with an attribute within a nested:nest loop.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here's what I got so far:

<nested:nest property="classSchedule">
	<nested:nest property = "trainingDays">
	
	</nested:nest>
	

</nested:nest>

Now the "trainingDays" attribute has a property called "dow_id" which in
one way or another I want to use as a key in a lookup.  Something like:

<%
         String daw_of_week = lookup_day_of_week(dow_id);
%>
<%= day_of_week %>

Am I way off base here or is there a way to do this that I'm missing?


- --
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Peter L. Berghold                                     Peter@Berghold.Net
"Those who fail to learn from history are condemned to repeat it."
AIM: redcowdawg        Yahoo IM: blue_cowdawg              ICQ: 11455958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFF04KHUM9/01RIhaARApMqAJ0S/3YfpViwQd85oYzOvCch0BA0pgCfXxiJ
O5xCSijsH94PvfS/Xx6JQwQ=
=gymp
-----END PGP SIGNATURE-----