Hi That's not that. Maybe a proxy or meta info usage since code was rewritten. Le 11 août 2013 13:47, "zmirc" <[email protected]> a écrit :
> I think it shouldn't be that, because this problem appears only on pages > with rewritten URLs. > There are many @RequestScoped beans in the project, all working perfectly > fine without any constructor. > > > > ________________________________ > From: smithh032772 [via OpenEJB] < > [email protected]> > To: zmirc <[email protected]> > Sent: Sunday, August 11, 2013 12:37 PM > Subject: Re: 1.5.2 first Post not executed error works in 1.6.0 29.07.13 > > > > Your post on stackoverflow included the following: > > CDI bean: > > @Named("test") > @RequestScoped > public class TestB { > public void doSomething() { > System.out.println("I work........."); > } > } > > Maybe TomEE 1.5.2 'release' required the @RequestScoped bean to have a > constructor method defined. > > > > On Sat, Aug 10, 2013 at 11:31 AM, zmirc <[hidden email]> wrote: > > > > Hi! > > I've had a very strange error. > > While using PrimeFaces, PrettyFaces and Tomee 1.5.2, Post request > triggered > > from pages with URL rewritten by PrettyFaces didn't execute at first > > request, but from the second one. (while using a @RequestScoped CDI bean > - > > more details in the following links) > > I couldn't figure out what the problem was, so I tried to ask on > > stackoverflow and prettfaces' forum: > > > > > http://stackoverflow.com/questions/18014771/why-jsf-post-requests-dont-work-with-prettyfaces > > < > > > http://stackoverflow.com/questions/18014771/why-jsf-post-requests-dont-work-with-prettyfaces > > > > > http://ocpsoft.org/support/topic/post-requests-dont-work/ > > <http://ocpsoft.org/support/topic/post-requests-dont-work/> > > > > It's strange, I know, but this problem seems to don't appear in Tomee > 1.6.0 > > 29.07.13, which is great, but it required a lot of pain until I have > > discovered, therefore I made this post, because there may be another ones > > that face this strange behavior. > > > > For Tomee devs: any ideas why does this happen in 1.5.2? All the details > > can > > be found in those 2 links. > > Thanks a lot in advance! > > Tomee & Co rocks!!! > > > > > > > > -- > > View this message in context: > > > http://openejb.979440.n4.nabble.com/1-5-2-first-Post-not-executed-error-works-in-1-6-0-29-07-13-tp4664590.html > > Sent from the OpenEJB User mailing list archive at Nabble.com. > > > > > ________________________________ > > If you reply to this email, your message will be added to the discussion > below: > > http://openejb.979440.n4.nabble.com/1-5-2-first-Post-not-executed-error-works-in-1-6-0-29-07-13-tp4664590p4664592.html > To unsubscribe from 1.5.2 first Post not executed error works in 1.6.0 > 29.07.13, click here. > NAML > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/1-5-2-first-Post-not-executed-error-works-in-1-6-0-29-07-13-tp4664590p4664593.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
