Re: how to configure the json handler in the rest plugin?

2009-02-19 Thread Andrei Ivanov
On Wed, Feb 18, 2009 at 5:37 PM, Jack Qu wrote: > You can use struts2-jsonplugin ,that's can return json result type! > As I said... i need to use the rest plugin - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

how to configure the json handler in the rest plugin?

2009-02-18 Thread Andrei Ivanov
Hello, I'm trying to use some custom settings(provide my own JsonConfig) for the json content type handler(org.apache.struts2.rest.handler.JsonLibHandler) but I don't see a way to do that. Any advice? Thanks - To unsubscribe, e-m

Re: stack values in converter

2009-02-04 Thread Andrei Ivanov
On Mon, Feb 2, 2009 at 4:18 PM, Musachy Barroso wrote: > This is a known problem on xwork 2.1.2: > > http://jira.opensymphony.com/browse/XW-670 > > it is fixed in xwork trunk > AFAIS, struts 2.0 uses xwork 2.0 How will it help me that it will be fixed in xwork 2.1? ---

Re: stack values in converter

2009-02-02 Thread Andrei Ivanov
Anybody? On Tue, Jan 20, 2009 at 10:30 AM, Andrei Ivanov wrote: > On Tue, Jan 20, 2009 at 5:08 AM, dusty wrote: >> >> Sorry. I don't think I understand your problem. When you say the stack is >> being cleared are you seeing nulls in your converter for values that we

Re: stack values in converter

2009-01-22 Thread Andrei Ivanov
Any ideea? On Tue, Jan 20, 2009 at 10:30 AM, Andrei Ivanov wrote: > On Tue, Jan 20, 2009 at 5:08 AM, dusty wrote: >> >> Sorry. I don't think I understand your problem. When you say the stack is >> being cleared are you seeing nulls in your converter for valu

Re: stack values in converter

2009-01-20 Thread Andrei Ivanov
gt; 2.0.5, locale is null Is there any other way to get the current locale from a converter? > > > > Andrei Ivanov-2 wrote: >> >> On Sat, Jan 17, 2009 at 7:30 PM, Andrei Ivanov >> wrote: >>> Hello, >>> I have a date converter that does something like

Re: stack values in converter

2009-01-19 Thread Andrei Ivanov
On Sat, Jan 17, 2009 at 7:30 PM, Andrei Ivanov wrote: > Hello, > I have a date converter that does something like this: > > String value = values[0]; > Locale locale = (Locale) context.get(ActionContext.LOCALE); > DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, lo

stack values in converter

2009-01-17 Thread Andrei Ivanov
Hello, I have a date converter that does something like this: String value = values[0]; Locale locale = (Locale) context.get(ActionContext.LOCALE); DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, locale); Date date = df.parse(value); The locale is set in the context by the com.opensy

Re: struts 2 + java 1.4 + maven

2008-11-06 Thread Andrei Ivanov
On Thu, Nov 6, 2008 at 11:53 AM, Antonio <[EMAIL PROTECTED]> wrote: > 2008/11/4 Andrei Ivanov <[EMAIL PROTECTED]>: >> I'm forced to use java 1.4 and I was very happy to see there are jars >> that work with it. >> The thing is I also want to use maven for man

struts 2 + java 1.4 + maven

2008-11-06 Thread Andrei Ivanov
Hello, I'm forced to use java 1.4 and I was very happy to see there are jars that work with it. The thing is I also want to use maven for managing dependencies and I don't know how to specify in my pom that it has to use the translated jars... (I also have other projects that use struts/xwork with

struts 2 + java 1.4 + maven

2008-11-04 Thread Andrei Ivanov
Hello, I'm forced to use java 1.4 and I was very happy to see there are jars that work with it. The thing is I also want to use maven for managing dependencies and I don't know how to specify in my pom that it has to use the translated jars... Can anybody tell me how? Thank you. --

Re: [S2] problem setting parameter

2008-08-22 Thread Andrei Ivanov
On Thu, Aug 21, 2008 at 7:40 PM, Andrei Ivanov <[EMAIL PROTECTED]> wrote: > Hello, > I'm having a difficult problem for which I hope someone here can help me.. > The short story: the parameters interceptor is unable to set a parameter. > These are the classes involved: >

[S2] problem setting parameter

2008-08-21 Thread Andrei Ivanov
Hello, I'm having a difficult problem for which I hope someone here can help me.. The short story: the parameters interceptor is unable to set a parameter. These are the classes involved: package model; public class Language extends org.apache.commons.lang.enums.Enum { protected Language(S