Chris,
Surrounding it with quotes would mean that I'd have to change all my UI
templates, as well as my theme templates. Note how my theme template expects
a Boolean (not a String) attribute, below:
> < <#if parameters.required?default(false)>
> < required="true"<#rt/>
> <
From my perspec
Try surrounding the attributes in quotes (e.g. "true" instead of true).
(*Chris*)
On Fri, May 25, 2012 at 11:58 AM, wrote:
> After installing Struts 2.3.4, it appears that dynamic attributes must be
> strings now?
>
> I've modified text.ftl in my custom theme like this (diff output):
> 23c23
>
After installing Struts 2.3.4, it appears that dynamic attributes must be
strings now?
I've modified text.ftl in my custom theme like this (diff output):
23c23
<
---
>
46,54d45
< <#if parameters.required?default(false)>
< required="true"<#rt/>
<
< <#if parameters.autofocus?default(false)>
<
The Apache Struts group is pleased to announce that Struts 2.3.4 is
available as a "General Availability" release. The GA designation is
our highest quality grade.
Apache Struts 2 is an elegant, extensible framework for creating
enterprise-ready Java web applications. The framework is designed to
Thanks Lukasz for your reply.
While preparing a minimal example, I got the reason of it all.
The real situation is:
- The input form has an int field
- The value already available should be formatted and localized: 43,000 /
43.000
- In order to achive l10n, the input field tag is like this:
5 matches
Mail list logo