Re: ParameterAware Issue

2008-10-06 Thread Lukasz Lenart
I've been trying to find some solution, but from my side, everything looks ok, regarding API docs [1] all parameters are stored as a Array of String in the Map, so you should be able to access it, could you show your code? [1] http://struts.apache.org/2.0.11.2/struts2-core/apidocs/org/apache/stru

RE: ParameterAware Issue

2008-10-05 Thread alley sys
Struts 2.0.11 > Date: Sun, 5 Oct 2008 22:59:13 +0200> From: [EMAIL PROTECTED]> To: > user@struts.apache.org> Subject: Re: ParameterAware Issue> > 2008/10/5 alley > sys <[EMAIL PROTECTED]>:> >> > hi,> > thanks for your quick reply. i che

Re: ParameterAware Issue

2008-10-05 Thread Lukasz Lenart
2008/10/5 alley sys <[EMAIL PROTECTED]>: > > hi, > thanks for your quick reply. i checked the code > it shows nothing. > > code: > Object o = getParameters().get("partyid"); if (o instanceof String) > { System.out.println("String = " + o); } else if (o > instanceof St

RE: ParameterAware Issue

2008-10-05 Thread alley sys
oesn't shows ? > Date: Sat, 4 Oct 2008 17:53:05 +0200> From: [EMAIL PROTECTED]> To: > user@struts.apache.org> Subject: Re: ParameterAware Issue> > 2008/10/4 alley > sys <[EMAIL PROTECTED]>:> > thanks for your mail. yeah it shows 1 value is > there hav

Re: ParameterAware Issue

2008-10-04 Thread Lukasz Lenart
2008/10/4 alley sys <[EMAIL PROTECTED]>: > thanks for your mail. yeah it shows 1 value is there having address > but i need the value not address I'm not sure if I understood you, but if it shows 1, you should be able to access it as a array, but if it's only one element, OGNL shouldn't create an

RE: ParameterAware Issue

2008-10-04 Thread alley sys
Hi , thanks for your mail. yeah it shows 1 value is there having address but i need the value not address.> Date: Sat, 4 Oct 2008 17:34:33 +0200> From: [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: Re: ParameterAware Issue> > > String[] par = (String[

Re: ParameterAware Issue

2008-10-04 Thread Lukasz Lenart
> String[] par = (String[])parameters.get("par"); > System.out.println(par[0]); > > but it doesn't show the value. > Can anyone assist ? Try System.out.println(par.length); Regards -- Lukasz http://www.lenart.org.pl/ - To unsu