Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

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

Peter L. Berghold

2007-02-14


-----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@(protected)
"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-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.