On Tue, 2008-12-09 at 22:58 -0600, Neil Aggarwal wrote:
> Wes:
>
> I changed my code to this:
>
> <[EMAIL PROTECTED] prefix="s" uri="/struts-tags"%>
>
> <%
> String label = "Address";
> if( request.getAttribute("requireFullAddress") != null )
> label += "*";
> request.setAttribute("label",label);
> %>
> <s:textfield label="%{label}" name="address.line1" />
>
> I still get an empty label.
>
> Any ideas why this did not work?
>
Yes. Try this -
<s:textfield label="%{#attr.label}" ... />
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]