Try:
field.amount={0} can not be '$'{1} for Sequence {2}.
The single quotes tell the underlying MessageFormat that the dollar sign
should be treated literally. You might also be able to use
{1,number,currency} which I think may include the proper currency symbol
automatically.
(*Chris*)
On Mo
I thin that the symbol $ is messing the result. Have you tried this?
field.amount= {0} can not be {1} for Sequence {2}.
addActionError(getText("field.amount", new String[] { "Amount", "$0.00",
"987654"}));
Jose Luis
Sent via BlackBerry from T-Mobile
-Original Message-
From: kamlesh shar
Hi,
i am facing same problem with other message. i.e
field.amount= {0} can not be ${1} for Sequence {2}.
On UI interface it is displaying below message:
Amount can not be 1 for Sequence 987654.
instead of
Amount can not be $0.00 for Sequence 987654.
Means ${ is not working for any erro
Hi Chris,
are You using paramPrepareParams stack?
It should work with it like You expect it to.
Best greetings,
Paweł Wielgus.
2011/1/24 CRANFORD, CHRIS :
> I recently implemented an action using the ModelDriven interface. Since
> my Domain Object doesn't contain anything beyond properties that
I recently implemented an action using the ModelDriven interface. Since
my Domain Object doesn't contain anything beyond properties that are
mapped to columns in the associated table; it made it easy to pass the
data between the DAO, Service, and View tiers.
o Creation
During creation, everythin
There's a bunch of ways this could be done.
Personally, I'd either create a standard JSP-based custom tag, do it in
JavaScript, or write a thin layer between a DB-backed UI description DSL and
a JavaScript UI builder.
Dave
On Mon, Jan 24, 2011 at 10:37 AM, John Dondapati wrote:
> Would a custom
Would a custom component be the right direction to solve this?
If this has been asked earlier, can someone please point me to that
resource. Thanks!
On Mon, Jan 24, 2011 at 10:22 AM, John Dondapati wrote:
> Hi all,
>
> I have recently started playing around with struts 2 framework. And I have
>
Hi all,
I have recently started playing around with struts 2 framework. And I have
an interesting problem that I wanna solve with Struts. We are creating a
survey from the questions stored in database and even the options like
yes/no/other/comment fields come from the database. Even the html type
Thanks my good brother. I'll attribute my weirdness to trying to code and
watch football at the same time!
Peace,
Scott
2011/1/24 Paweł Wielgus
> Hi Scott,
> i use them side by side,
> normal action by conention and freaks in xml.
>
> Best greetings,
> Paweł Wielgus.
>
>
> 2011/1/23 stanlick :
Hi Scott,
i use them side by side,
normal action by conention and freaks in xml.
Best greetings,
Paweł Wielgus.
2011/1/23 stanlick :
>
> Do you guys know if using the convention plugin is mutually exclusive of
> having an action mapping xml file? IOW, is the convention plugin an all or
> nothin
10 matches
Mail list logo