Burton Rhodes wrote:
I know this is a simple one, but for some reason just can't crack it.
I have a resource property like so:
titleOptions=Mr.,Mr. & Mrs.,Mrs.,Ms.,Dr.,Dr. & Mrs.,Mr. & Dr.,Dr. & Dr.
And then I have html like this:
I've tried surrounding it by #{...} in several places but get
I know this is a simple one, but for some reason just can't crack it.
I have a resource property like so:
titleOptions=Mr.,Mr. & Mrs.,Mrs.,Ms.,Dr.,Dr. & Mrs.,Mr. & Dr.,Dr. & Dr.
And then I have html like this:
I've tried surrounding it by #{...} in several places but get an a
parse error or ca
properties but it is still outputting ü.
>>>
>>> Can someone please tell me what I might be doing wrong.
>>>
>>> Dave.
>>>
>>> - Original Message
>>> From: Leonidas Papadakis <[EMAIL PROTECTED]>
>>> To
From: Leonidas Papadakis <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Saturday, September 22, 2007 4:22:04 PM
Subject: Re: [s2] How do I output unicode characters please help
Hi there,
in my Greek scenario i have set the below in struts.properties file :
struts.i18n.enco
How do i do that please?
- Original Message
From: Leonidas Papadakis <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Sunday, September 23, 2007 10:38:12 AM
Subject: Re: [s2] How do I output unicode characters please help
What if you convert the hex unicode that you get fr
an action?
- Original Message
From: Leonidas Papadakis <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Sunday, September 23, 2007 9:09:30 AM
Subject: Re: [s2] How do I output unicode characters please help
Just put the umlaut character u" directly to your property file an
0 AM
Subject: Re: [s2] How do I output unicode characters please help
Just put the umlaut character u" directly to your property file and make
sure that you save it as utf-8 not ansi e.t.c.
Regards,
Leon
David Harland wrote:
> Hi,
>
> Thanks I have added those properties but it
Dave.
- Original Message
From: Leonidas Papadakis <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Saturday, September 22, 2007 4:22:04 PM
Subject: Re: [s2] How do I output unicode characters please help
Hi there,
in my Greek scenario i have set the below in struts.prop
ct: Re: [s2] How do I output unicode characters please help
Hi there,
in my Greek scenario i have set the below in struts.properties file :
struts.i18n.encoding=UTF-8
struts.locale = el_GR
in my freemarker.properties :
default_encoding=UTF-8
locale=el_GR
in my jsp file :
<%@ page contentT
Hi there,
in my Greek scenario i have set the below in struts.properties file :
struts.i18n.encoding=UTF-8
struts.locale = el_GR
in my freemarker.properties :
default_encoding=UTF-8
locale=el_GR
in my jsp file :
<%@ page contentType="text/html; charset=utf-8" %>
Also check the doctype of your
Hi,
If I put the following \u00fc in a properties file and use it in a jsp i get
the german character ü output. If I have an action with the variable test and I
set it with \u00fc and I output it in a jsp I get the encoding ü.
How do I get the character instead of this encoding please?
Thanks
ldName, "Start year must be less than or
> equal to the current year.");
> }
>
> if (endNumber < startNumber) {
> addFieldError(_endFieldName, "End Year must be after Start year.");
> }
> }
>
> public void setStartFieldNam
ldName = startFieldName;
}
public void setEndFieldName(String endFieldName)
{
_endFieldName = endFieldName;
}
}
Thanks,
Matt
--
View this message in context:
http://www.nabble.com/-s2--How-do-I-create-a-custom-date-range-validator--tf4245411.html#a12081467
Sent from the Struts - User maili
).getLocale().getLanguage()', or
something like that).
I hope that is clear. Any advice, especially on point #1 would be great.
- Ray Clough
> - Original Message -----
> From: "Laurie Harper" <[EMAIL PROTECTED]>
> To: user@struts.apache.org
> Subject: Re: S2 -
Ray Clough wrote:
How do I get the Struts properties from within my application. What I am
Depends which version of Struts you're using.
looking for is to read the property "struts.custom.i18n.resources", which is
defined in the 'struts.properties' file, so that I can get the
ResourceBundle
Thanks for your help.
But I only see how to configure client side validators.
What I want is to create a customized client side validator.
The build in validators can't meet our requirements such as validating the
length of Chinese characters.
On 6/26/07, Dave Newton <[EMAIL PROTECTED]> wrote:
Please repost under a new subject heading; you may get
more responses that way.
--- "King, William S." <[EMAIL PROTECTED]>
wrote:
> I see in documentation that to utilize the Ajax
> form validation I need to install the Dojo toolkit.
S2 comes w/ Dojo (at least in the 2.0 version).
d.
he
zip file, but it doesn't look like bringing the .jar file in to my
eclipse project will do anything for me. Any help would be greatly
appreciated.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 4:35 PM
To: Struts Users Mailing List
Su
rescribe
Now there is no escape.
--- mahesh <[EMAIL PROTECTED]> wrote:
> unscribe
>
> -Original Message-
> From: Dave Newton [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 26, 2007 4:35 PM
> To: Struts Users Mailing List
> Subject: Re: [S2] How do I creat
unscribe
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 4:35 PM
To: Struts Users Mailing List
Subject: Re: [S2] How do I create a client side validator?
--- Vincent Lin <[EMAIL PROTECTED]> wrote:
> Is there any document talking abo
--- Vincent Lin <[EMAIL PROTECTED]> wrote:
> Is there any document talking about how to create a
> client side validator in struts2?
Yes, it's one of the links under the "validation"
section on the wiki.
http://struts.apache.org/2.x/docs/validation.html
http://struts.apache.org/2.x/docs/client-v
Is there any document talking about how to create a client side validator in
struts2?
Thanks!
ies object
which can be referenced and read, the question is how.
Also, although this is not a Struts question, how do I resolve the suffix on
a ResourceBundle to the language name?
Thanks,
- Ray Clough
--
View this message in context:
http://www.nabble.com/S2---How-do-I-...-tf3980139.html#a11
t;> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
>> Sent: Thursday, May 31, 2007 3:06 PM
>> To: user@struts.apache.org
>> Subject: Re: [S2] How do I get radio buttons to show vertically
>>
>> You could switch to the xhtml or css_xhtml theme, which
Hi Vincent,
The table layout is default for forms using the xhtml theme. You have
a couple options if you don't want to use that. Try the css_xhtml
theme or the simple theme.
1. Specify a different default theme globally with the
'struts.ui.theme' property in your struts.xml file. For exa
Take a look here:
http://struts.apache.org/2.x/docs/why-do-the-form-tags-put-table-tags-around-controls.html
musachy
On 6/5/07, Vincent Lin <[EMAIL PROTECTED]> wrote:
Hi!
I've done several projects with struts1 and planned to use struts2 in my
new
project.
I am amazed the the code is so conc
Hi!
I've done several projects with struts1 and planned to use struts2 in my new
project.
I am amazed the the code is so concise in struts2.
But I have quetsion about the tag.
When I use and , the , and tags are
generated in html page.
Can I disable this feature?
Because it might interfere
[mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Thursday, May 31, 2007 3:06 PM
To: user@struts.apache.org
Subject: Re: [S2] How do I get radio buttons to show vertically
You could switch to the xhtml or css_xhtml theme, which would give you
additional markup around each radio button / label
Laurie,
That wrapped markup around all the radio buttons, not each of the
button/label combination :(
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Thursday, May 31, 2007 3:06 PM
To: user@struts.apache.org
Subject: Re: [S2] How do I get radio
To: Struts Users Mailing List
Subject: RE: [S2] How do I get radio buttons to show vertically
Apply a style sheet class which has "display:block"
http://www.w3schools.com/css/pr_class_display.asp
Google is your best friend :)
Guru
-Original Message-
From: Charbel Ab
th it to stay on the same line...any other
suggestions?
Thanks,
Charbel
-Original Message-
From: Raghupathy, Gurumoorthy
[mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 11:11 AM
To: Struts Users Mailing List
Subject: RE: [S2] How do I get radio buttons to show vertically
Apply a st
Apply a style sheet class which has "display:block"
http://www.w3schools.com/css/pr_class_display.asp
Google is your best friend :)
Guru
-Original Message-
From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED]
Sent: 31 May 2007 15:16
To: Struts Users Mailing List
Subject
I am using the following tag in my jsp
Currently, my map has two entries. The radios are displayed on the same
line...I would like them displayed on 2 separate lines...Is there an
easy way to do this???
Thanks,
Charbel
Please see the section on Parameters:
http://struts.apache.org/2.x/docs/file-upload-interceptor.html
And the multipart section of:
http://struts.apache.org/2.x/docs/strutsproperties.html
Nagraj Rao wrote:
cant we override the max size in the struts.properties file... i guess
we should be able t
cant we override the max size in the struts.properties file... i guess we
should be able to...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I use the default FileUploadInterceptor in Struts2 to handle multipart
requests.
When an upload exceeds the defined value of struts.multipart.maxSize
I see this in my logs...
02:52:04,899 ERROR [MultiPartRequest]
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException:
th
36 matches
Mail list logo