This looks like a much better form! I'll try it once I get booted up and
let you know.
Scott
On 3/23/07, Ted Husted <[EMAIL PROTECTED]> wrote:
What happens if the new (and preferred) key form is used instead?
<s:textfield key="user.zip.city" readonly="true" />
-T.
On 3/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I discovered something strange today after adding logging to my domain
> classes. If I have the following text field on my web page:
>
> <s:textfield name="user.zip.city" label="%{getText('
> user.zip.city')}"size="40" readonly="true" />
>
> the Zip is being requested from User twice! If I change my field to:
>
> <s:textfield name="user.zip.city" label="City" size="40"
> readonly="true" />
>
> it is called once! Of course I get no text from the property file
> either!!! Why would getText() need to consult with the domain
object? This
> might explain some of the performance issues.
>
> --
> Scott
> [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Scott
[EMAIL PROTECTED]