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? Tags within tags have never been allowed, unless you're talking about something like a <c:out> inside a plain-old-HTML tag.
Try Struts-EL then, <html-el:select property="${room.value}" >
Maybe I should stress that the only change I made in my code was from "implements ActionForm" to "implements LazyActionForm" and that leads to all these troubles.
implements LazyValidatorForm, I assume you mean.
IMO, writing get/set methods in a class that extends LazyValidatorForm rather defeats the purpose, and probably *is* causing you problems, since the framework "knows" it has a LazyValidatorForm, and when it sees
<html:text property="name"/>
I think it is going to call get("name") and not getName(). Likewise when it populates the form bean from the request, I'd bet that your get/set methods aren't going to be called, but the set("propName") method instead. But maybe not... only the log files or running it in a debugger is going to tell you exactly what method it's trying to call with what parameters.
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.
--
Wendy Smoak
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]