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

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
is still outputting ü. > > Can someone please tell me what I might be doing wrong. > > Dave. > > - Original Message > From: Leonidas Papadakis <[EMAIL PROTECTED]> > To: Struts Users Mailing List > Sent: Saturday, September 22, 2007 4:22:04 PM > Subject: Re

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

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

2007-08-10 Thread mraible
Changing this: Integer startNumber = (Integer) getFieldValue(_startFieldName, object); if(startNumber == null) addFieldError(_startFieldName, "Start Year is a required field."); To this: Integer startNumber = (Integer) getFieldValue(_startFieldName, object); if(startNumbe

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

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

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

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]