Re: POJO's collection not populated when submitting form

2011-06-22 Thread Sewwandi
Since you are using modeldriven and the model is FlashCard, i think the following should be changed to the name field should be given without the prefix flashcard.also you should provide the 'value' attribute in order for it to be pre-populated. thanks & regards sewdil On Thu, Jun 23, 2

Re: Problem with ValueStack in struts-2.2.3 passing Object from Action to Result - WORKAROUND

2011-06-22 Thread UV
To move forward I added the accessors for my object to an interface I created to access a certain property set. And who can believe it... finally the OgnlRuntime could find the property. What does this leave us with? In a more complex setup with multiple Action base classes and interfaces some

Problem with ValueStack in struts-2.2.3 passing Object from Action to Result

2011-06-22 Thread UV
In my website I am using an ajax method to request the current state. An action fires and provides the result object as a property (java.lang.Object). But for some reason my JsonResult class cannot find this object in the value Stack. Looking into the OgnlRuntime code, the superficial cause

Re: Migration from Struts 2.0.14 to Struts 2.2.3 - tabbed panel not working

2011-06-22 Thread Andrzej Adamczyk
Thank you Martin for suggestions. Tab library should be visible as I use other widgets (autocompleter) and they work as expected. I have moved templates from the plug-in jar into template\ajax directory but that did not solve the problem. I suspect either tabbedpanel or div tags work contrary to w

POJO's collection not populated when submitting form

2011-06-22 Thread Justin Robbins
Hi folks, I have a POJO which has a field of type java.util.Set that is collection of domain objects. When I submit a form to my Action, all the POJO fields are populated with values from the form except the field which is the collection. I have no idea why this collection isn't getting populated.

Re: [OT] Re: adding more package via Maven

2011-06-22 Thread Mohamed SIDI
Hi Martin, As I undestand, I shoud have many pom.xml, every new folders shoud have its pom.xml? 2011/6/22 Martin Gainty > > most of us on the list are build engineers (Wes and Lukaz for sure) so i'll > take the liberty of answering this: > you'll want to segregate src/main/java/com.mycampany.

RE: [OT] Re: adding more package via Maven

2011-06-22 Thread Martin Gainty
most of us on the list are build engineers (Wes and Lukaz for sure) so i'll take the liberty of answering this: you'll want to segregate src/main/java/com.mycampany.beans from src/main/java/com.mycampany.beans and setup pom for each artifact in separate folders: in your beans folder: http://

Re: [OT] Re: adding more package via Maven

2011-06-22 Thread Dave Newton
On Wed, Jun 22, 2011 at 8:43 AM, Mohamed SIDI wrote: > you're right I coul post this issue in a maven mailing list I should find > more infirmation but this idea coming after but never mind ! > > instead of creating the packages manually, I prefere use Maven to create > these packages I'm still n

Re: protect prameters avoid being show in log files

2011-06-22 Thread Dave Newton
On Wed, Jun 22, 2011 at 8:42 AM, Baka,David wrote: > Please remove me from this list > [...] > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For addi

Re: [OT] Re: adding more package via Maven

2011-06-22 Thread Mohamed SIDI
you're right I coul post this issue in a maven mailing list I should find more infirmation but this idea coming after but never mind ! instead of creating the packages manually, I prefere use Maven to create these packages I have this : */src/main/java/com/tuto/maven /src/main/java/com/tuto/mave

RE: protect prameters avoid being show in log files

2011-06-22 Thread Baka,David
Please remove me from this list -Original Message- From: Elahe [mailto:elahe_sa...@yahoo.com] Sent: Wednesday, June 22, 2011 2:55 AM To: struts-u...@jakarta.apache.org Subject: protect prameters avoid being show in log files Dear all, I want to protect some input parameters to being s

[OT] Re: adding more package via Maven

2011-06-22 Thread Dave Newton
Are you aware there's a Maven mailing list? You may need to be a bit more specific with what you're trying to do as well--is something going wrong? What behavior are you seeing, and how does it differ from what you expect? Dave On Wed, Jun 22, 2011 at 8:24 AM, Mohamed SIDI wrote: > Hello there,

adding more package via Maven

2011-06-22 Thread Mohamed SIDI
Hello there, I apologize to post this issue here in this maling list witch is reserved for Struts issues, I'm working on a Maven2's project, I would like to add a new package, my current architecure look like : src/main/java/com.mycampany.beans I want to add via maven the package /src/main/java

Re: protect prameters avoid being show in log files

2011-06-22 Thread Maurizio Cucchiara
Could you send the log message you would like to hide? (though most of the time the right solution is to orchestrate the log manager configuration ( like the log4j.xml file) On 22 June 2011 11:30, Elahe wrote: > Dear Maurizio, > thanks for the response, > I want to know about Struts2 (exactly 2.2

Re: protect prameters avoid being show in log files

2011-06-22 Thread Maurizio Cucchiara
Which version you're talking about? Maurizio Cucchiara Il giorno 22/giu/2011 10.57, "Elahe" ha scritto: > > Dear all, > I want to protect some input parameters to being show in strut's log files. > Is it possible to do, by config the struts? > > Any response will being appreciated. > > Elahe

protect prameters avoid being show in log files

2011-06-22 Thread Elahe
Dear all, I want to protect some input parameters to being show in strut's log files. Is it possible to do, by config the struts? Any response will being appreciated. Elahe