Re: Struts application

2013-02-21 Thread Harsh
I am not able to locate struts2 portlet example. can some one help me point
to correct location.
following link doesn't talk about web.xml file configuration
http://struts.apache.org/release/2.0.x/docs/struts-2-portlet-tutorial.html


On Thu, Feb 21, 2013 at 3:59 PM, Brajesh Patel wrote:

> thanks for quick reply I am navigating if found any difficulty come back ;)
>
>
>
> On Wed, Feb 20, 2013 at 11:22 PM, Miguel Almeida 
> wrote:
>
> > Or, if you already use Maven, use the Maven archetypes available at
> > http://struts.apache.org/
> >
> >
> > Miguel Almeida
> >
> > On Wed, 2013-02-20 at 22:31 +0530, Umesh Awasthi wrote:
> >
> > > download sample application from S2 official download section and you
> > will
> > > be able to see how things are being configured and how things are
> > working.
> > >
> > > This is a good place to start and get overview of the structure
> > >
> > > On Wed, Feb 20, 2013 at 10:27 PM, Brajesh Patel <
> > brajeshpate...@gmail.com>wrote:
> > >
> > > > Hi all,
> > > >
> > > > I am looking for an application that provide detail about struts 2
> app
> > > > directory structure and detail about action, and other thing.
> > > >
> > > > that will help lot to me.
> > > >
> > > > --
> > > > Thanks
> > > > Brajesh Patel
> > > >
> > > > skype: brajesh.patel11
> > > > Cell:- +91 8750709907
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
> --
> Thanks
> Brajesh Patel
> Salmonllc.com
> http://bigfish.salmonllc.com/bfDemo.html
>
> skype: brajesh.patel11
> Cell:- +91 8750709907
>


Re: Private setter method breaking application in Tomcat7

2013-02-21 Thread Lukasz Lenart
I would say, this is a bug in Ognl. The problem is in
OgnlRuntime.__getSetMethod(). This method identified with setter to
use base on matching number of parameters (!!!) and sometimes
setId(long) is first and sometimes setId(Object) is on top. I think it
should be rewritten to match on parameter type not only on the number
of parameters,

Please register an issue, but anyway it's a rare case.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: valueStack [n].parameterName -- is it still there?

2013-02-21 Thread Chris Mawata

Thanks for checking guys!
Chris


Yep, sure enough--interesting.

I think I'll start spinning through the docs and updating some stuff; that
was my claim to fame at one point--need to earn those stripes.

Dave



On Mon, Feb 18, 2013 at 12:46 PM, Maurizio Cucchiara
wrote:


Looking at the regex on the bottom of the page, I'd say: it's no more
allowed (http://goo.gl/oUlb6 click on the green button to test the regex
pattern).
But the regex could not represent the right behaviour, and I also didn't
test it.

Twitter :http://www.twitter.com/m_cucchiara
G+  :https://plus.google.com/107903711540963855921
Linkedin:http://www.linkedin.com/in/mauriziocucchiara
VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara

Maurizio Cucchiara


On 18 February 2013 18:36, Dave Newton  wrote:

> A brief look made me think [\d] was still allowed, but I also didn't play
> with it to actually find out.
>
> Dave
>
>
>
> On Mon, Feb 18, 2013 at 12:20 PM, Maurizio Cucchiara
> wrote:
>
> > There is a good chance that this notation went away after S2-009 (
> > http://goo.gl/NydYr), though I could be wrong .
> >
> > Twitter :http://www.twitter.com/m_cucchiara
> > G+  :https://plus.google.com/107903711540963855921
> > Linkedin:http://www.linkedin.com/in/mauriziocucchiara
> > VisualizeMe:
http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara
> >
> > Maurizio Cucchiara
> >
> >
> > On 18 February 2013 18:14, Dave Newton  wrote:
> >
> > > The [0].foo notation should allow direct access to the nth item on
the
> > > stack.
> > >
> > > I'm not aware of it intentionally going away, but I also don't use it
> > > regularly and would need to check.
> > >
> > > Dave
> > >
> > >
> > > On Mon, Feb 18, 2013 at 12:05 PM, Lukasz Lenart <
> lukaszlen...@apache.org
> > > >wrote:
> > >
> > > > 2013/2/18 Chris Mawata :
> > > > > Hi all,
> > > > >I am using Struts 2.3.4.1 and i noticed the notation
> > > > > [n].parameterName to get a parameter of a given name
> > > > > when the first ocurrance is not the one you want is
> > > > > not working. I can't find any documentation that it was
> > > > > removed. Can anyone point me to something? I might
> > > > > not be searching by the technically correct name.
> > > >
> > > > I cannot recall such a notation, you can use #attr.parameterName

to

> > > > search throughout the ValueStack
> > > >
> > > > http://struts.apache.org/development/2.x/docs/ognl.html
> > > >
> > > >
> > > > Regards
> > > > --
> > > > Łukasz
> > > > + 48 606 323 122 http://www.lenart.org.pl/
> > > >
> > > >
-
> > > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > > > For additional commands, e-mail: user-h...@struts.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > e: davelnew...@gmail.com
> > > m: 908-380-8699
> > > s: davelnewton_skype
> > > t: @dave_newton 
> > > b: Bucky Bits 
> > > g: davelnewton 
> > > so: Dave Newton 
> > >
> >
>
>
>
> --
> e: davelnew...@gmail.com
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton 
> b: Bucky Bits 
> g: davelnewton 
> so: Dave Newton 
>





--
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton 
b: Bucky Bits 
g: davelnewton 
so: Dave Newton 


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org