Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 63209 invoked from network); 16 Dec 2010 05:28:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Dec 2010 05:28:28 -0000 Received: (qmail 59273 invoked by uid 500); 16 Dec 2010 05:28:26 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 59118 invoked by uid 500); 16 Dec 2010 05:28:25 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 59107 invoked by uid 99); 16 Dec 2010 05:28:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 05:28:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of philippe.goncalves@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 05:28:20 +0000 Received: by wye20 with SMTP id 20so2372823wye.35 for ; Wed, 15 Dec 2010 21:27:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=JWstV8NkCa1oj+MQtJz4Iv0YtEroeSEvgQm5J2Xz1I0=; b=cs30Syks4UODHNNw/ia1y9rjvHNYDmuEsQriTnAWkWSP5nM89Wlbi5lKcGOWAWxKqt H7DTaB5kYcHRTWbZHX3wFxvTg0OzptfT7OUqye0KmOJ4YV1zas8l03B/LufnWbWcGeya VLzQ1AaO4CZkKKiu5ZEnIJWpV+1rg3tM3AxLw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=dGqeNTyEI1wW5DfgZhXAfzYuMDUGLDHzjT5A0iY2q3BULtue6Wcr/qZ7AbfOzrGn8F l+SC1RFH+FKnQlkBgZyWDw1lu872fYSDjHDsJDeXB7YfckZ9Bj+Ijz0j5zsVaBiCTrPN F8qWNh4L53AAUUr5H8pSaa51Sr7BweEgEkLug= MIME-Version: 1.0 Received: by 10.227.129.141 with SMTP id o13mr2415088wbs.85.1292477279061; Wed, 15 Dec 2010 21:27:59 -0800 (PST) Received: by 10.227.154.132 with HTTP; Wed, 15 Dec 2010 21:27:58 -0800 (PST) In-Reply-To: References: Date: Thu, 16 Dec 2010 00:27:58 -0500 Message-ID: Subject: Re: Beans stay null From: Philippe Goncalves To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=0016e65b648219464f049780519b --0016e65b648219464f049780519b Content-Type: text/plain; charset=ISO-8859-1 Thanks for your help maurizio, I found something about my problem: I'm developping a plugin on the Jive SBS Software. To do this, all the action class must extend a JiveActionSupport class. I changed by ActionSupport directly, and my beans are not null anymore. But I can't do this way because the plugins on Jive must extend JiveActionSupport. I'm gonna send a mail to their support. Thanks On Wed, Dec 15, 2010 at 11:12 PM, Maurizio Cucchiara < maurizio.cucchiara@gmail.com> wrote: > It's very strange odd. Could you attach at least your action java file, > struts.xml and freemarker template? > > Maurizio Cucchiara > > Il giorno 16/dic/2010 05.06, "Philippe Goncalves" < > philippe.goncalves@gmail.com> ha scritto: > > Unfortunately nothing :( > > > > On Wed, Dec 15, 2010 at 10:25 PM, Maurizio Cucchiara < > > maurizio.cucchiara@gmail.com> wrote: > > > >> Did you see if you get any exception? (like conversion errors) > >> > >> Maurizio Cucchiara > >> > >> Il giorno 16/dic/2010 04.21, "Philippe Goncalves" < > >> philippe.goncalves@gmail.com> ha scritto: > >> > It's before the redirection. > >> > I come to my page: Ok, my variables are all here > >> > I submit my page: when It comes to my Action class (method execute) to > >> save > >> > the information submited, my bean objects are all null on the class, > but > >> > they are present on my request object. The only variables not null are > >> the > >> > simple Objects on my class (String, Integer, etc.). It's like it > doesn't > >> > want to deal with my pojo objects... > >> > > >> > On Wed, Dec 15, 2010 at 10:13 PM, Maurizio Cucchiara < > >> > maurizio.cucchiara@gmail.com> wrote: > >> > > >> >> As I guess, when struts do a redirect lost your bean parameters. > >> >> Try to remove and see what happens > >> >> > >> >> Maurizio Cucchiara > >> >> > >> >> Il giorno 16/dic/2010 04.09, "Philippe Goncalves" < > >> >> philippe.goncalves@gmail.com> ha scritto: > >> >> Sure, here it is: > >> >> > >> >> >> >> class="com.jivesoftware.community.ext.event.action.MyAction"> > >> >> >> >> type="redirect">/events/${event.ID} > >> >> >> >> > >> >> > >> > >> > > type="freemarker">/plugins/event-type-plugin/resources/templates/edit-event.ftl > >> >> >> >> type="redirect">/events/${event.ID} > >> >> > >> >> > >> >> > >> >> On Wed, Dec 15, 2010 at 10:05 PM, Maurizio Cucchiara < > >> >> maurizio.cucchiara@gmail.com> wrote: > >> >> > >> >> > Coul... > >> >> > >> > > >> > > >> > > >> > -- > >> > Philippe Goncalves > >> > http://www.linkedin.com/in/philippegoncalves > >> > http://www.philippegoncalves.com > >> > Tel: +15146326816 > >> > > > > > > > > -- > > Philippe Goncalves > > http://www.linkedin.com/in/philippegoncalves > > http://www.philippegoncalves.com > > Tel: +15146326816 > -- Philippe Goncalves http://www.linkedin.com/in/philippegoncalves http://www.philippegoncalves.com Tel: +15146326816 --0016e65b648219464f049780519b--