Re: [S2] How do I convert getText to a list for ?

2009-03-28 Thread Dave Newton
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

[S2] How do I convert getText to a list for ?

2009-03-23 Thread Burton Rhodes
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

Re: [s2] How do I output unicode characters please help

2007-12-19 Thread Jonny Cavell
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

Re: [s2] How do I output unicode characters please help

2007-09-23 Thread Laurie Harper
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

Re: [s2] How do I output unicode characters please help

2007-09-23 Thread David Harland
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

Re: [s2] How do I output unicode characters please help

2007-09-23 Thread Leonidas Papadakis
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

Re: [s2] How do I output unicode characters please help

2007-09-23 Thread David Harland
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

Re: [s2] How do I output unicode characters please help

2007-09-23 Thread Leonidas Papadakis
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

Re: [s2] How do I output unicode characters please help

2007-09-22 Thread David Harland
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

Re: [s2] How do I output unicode characters please help

2007-09-22 Thread Leonidas Papadakis
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

[s2] How do I output unicode characters please help

2007-09-22 Thread David Harland
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

Re: [s2] How do I create a custom date range validator?

2007-08-10 Thread mraible
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

[s2] How do I create a custom date range validator?

2007-08-09 Thread mraible
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

Re: Re: S2 - How do I ...

2007-06-26 Thread Ray Clough
).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 -

Re: S2 - How do I ...

2007-06-26 Thread Laurie Harper
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

Re: [S2] How do I create a client side validator?

2007-06-26 Thread Vincent Lin
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:

RE: [S2] How do I create a client side validator?

2007-06-26 Thread Dave Newton
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.

RE: [S2] How do I create a client side validator?

2007-06-26 Thread King, William S.
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

RE: [S2] How do I create a client side validator?

2007-06-26 Thread Dave Newton
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

RE: [S2] How do I create a client side validator?

2007-06-26 Thread mahesh
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

Re: [S2] How do I create a client side validator?

2007-06-26 Thread Dave Newton
--- 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

[S2] How do I create a client side validator?

2007-06-26 Thread Vincent Lin
Is there any document talking about how to create a client side validator in struts2? Thanks!

S2 - How do I ...

2007-06-25 Thread Ray Clough
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

Re: [S2] How do I get radio buttons to show vertically

2007-06-12 Thread dougwig
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

Re: [S2] How do I disable tags generated by ?

2007-06-05 Thread Eric Rank
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

Re: [S2] How do I disable tags generated by ?

2007-06-05 Thread Musachy Barroso
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

[S2] How do I disable tags generated by ?

2007-06-05 Thread Vincent Lin
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

Re: [S2] How do I get radio buttons to show vertically

2007-05-31 Thread Laurie Harper
[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

RE: Re: [S2] How do I get radio buttons to show vertically

2007-05-31 Thread Charbel Abdul-Massih
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

Re: [S2] How do I get radio buttons to show vertically

2007-05-31 Thread Laurie Harper
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

RE: [S2] How do I get radio buttons to show vertically

2007-05-31 Thread Charbel Abdul-Massih
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

RE: [S2] How do I get radio buttons to show vertically

2007-05-31 Thread Raghupathy, Gurumoorthy
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

[S2] How do I get radio buttons to show vertically

2007-05-31 Thread Charbel Abdul-Massih
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

Re: [S2] how do I handle upload larger than struts.multipart.maxSize

2007-02-17 Thread Tom Schneider
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

Re: [S2] how do I handle upload larger than struts.multipart.maxSize

2007-02-16 Thread Nagraj Rao
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]

[S2] how do I handle upload larger than struts.multipart.maxSize

2007-02-16 Thread Ladda Filer
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