Re: result chain action parameters value

2010-10-18 Thread Ryan Beckes
Wataru, I'm not sure what you're looking for. It seems you are trying to match the first wildcard-matched value with the id and the actionName? I've never tried this, but perhaps you could split the two values like this? {1} Ryan 2010/10/17 > Dear struts Users. > > I've been using Wi

Re: Setting associated objects for the current model

2010-10-13 Thread Ryan Beckes
Then you use map-based > property field names (it's [] or (), with the key inside, I forget which > off > the top of my head). I think () is for indexed, so I'd aim for [] first. > > Dave > > On Tue, Oct 12, 2010 at 2:21 PM, Ryan Beckes wrote: > > > Hello,

Setting associated objects for the current model

2010-10-12 Thread Ryan Beckes
Hello, I'm using an action which implements the ModelDriven interface where my model is a hibernate POJO (e.g. Customer). In this Customer I have a OneToMany relationship with another hibernate POJO (e.g. Address)... /** persistent field */ @OneToMany(mappedBy="customer", targetEntity=com

Re: getting label from property

2010-07-28 Thread Ryan Beckes
Thanks! On Wed, Jul 28, 2010 at 1:40 PM, Michal Ciasnocha wrote: > Hi Ryan, > > for getting translated text as label of select tag (and other tags) use > "key" attribute. Usage is same as . > > > Best regards, > > Michal > > Ryan Beckes wrote on 28.7

getting label from property

2010-07-28 Thread Ryan Beckes
Hi All, I'm working my way through properties and I'm kind of stuck. I have a properties file (package.properties) with a "message" entry... Index.message= Color ... I am able to pull this message via the s:text tag, so I know it's available in the value stack, but when I try to pull the same me

internationalization via tiles definition files

2010-07-16 Thread Ryan Beckes
Hello, I'm new to struts 2, so I read the "Starting Struts 2" book by Ian Roughley (very good intro!) and started playing around with the Struts blank application. I've been able to add tiles integration to the blank application (version 2.1.8.1). I'm trying to add internationalization to tiles v