<snip>
On Sun, 23 Jan 2005 17:56:51 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Dakota Jack" <[EMAIL PROTECTED]>
> 
> > I want to stress that my ONLY problem is that I want to use a dynamic
> > variable in
> > <html:select property='<c:out value="${room.value}"/>'> size='1'>
> 
> Does that even work and generate HTML? 
</snip>

That is right.  Thanks.  Assume the code, for the moment, is the
following for discussion purposes.


                            <%
                              AdminForm af =
(AdminForm)request.getAttribute("adminForm");
                              Map map = (Map)af.getStateBaseMap();
                              com.crackwillow.list.ListHandler list =
(com.crackwillow.list.ListHandler)map.get("DATA_3C");
                              java.util.ListIterator iterator =
((List)list.getList()).listIterator();
                            %>
                            <c:forEach
items="${adminForm.stateBaseMap.DATA_3C.list}" var="room">
                              <%
                                if(iterator.hasNext()) {
                              %>
                              <font color='<c:out
value="${state.banMddlBgClr}"/>'>
                                <html:select property='<%=
((com.crackwillow.gui.LVB)iterator.next()).getValue() %>' size='1'>
                                  <html:options
                                    collection="sound_list"
                                    property="value"
                                    labelProperty="label" />
                                </html:select><br>
                              </font>
                              <%
                                }
                              %>
                            </c:forEach>

This will bail with a normal ActionForm with 

ApplicationDispatcher[] Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: No getter method available for
property 164.chat.rooms5 for bean under name
org.apache.struts.taglib.html.BEAN
        at 
org.apache.struts.taglib.html.SelectTag.calculateMatchValues(SelectTag.java:266)

So, I need something like LazyValidatorForm, but that is not working
for me.  Are we on all fours concerning the problem?  Where is the
best place to download html-el, by the way?

Thanks,

Jack




<snip>
> I have a 'debug.jsp' class that I include at the bottom of the Tiles layout
> when I'm developing.  It prints out everything, all the request parameters,
> cookies, the entire contents of request, session and context scope.  That
> plus the log files usually makes it clear where any "missing" values have
> gone off to.
</snip>


Can you share that class?

Jack

-- 
------------------------------

"You can lead a horse to water but you cannot make it float on its back."

~Dakota Jack~

"You can't wake a person who is pretending to be asleep."

~Native Proverb~

"Each man is good in His sight. It is not necessary for eagles to be crows."

~Hunkesni (Sitting Bull), Hunkpapa Sioux~

-----------------------------------------------

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to