RE: [appfuse-user] urgent help needed--login problem

2008-07-08 Thread Anshu Dhamija
I don't run this command I run mvn jetty:run-war directly Actually I am using my own generated db and have just mapped it thro jdbc.properties file. The login problem occurs sometimes say once in 10 times. Regards Anshu -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] S

Re: [appfuse-user] urgent help needed--login problem

2008-07-08 Thread Matt Raible
Can you run "mvn hibernate3:hbm2dll" successfully? Matt On Tue, Jul 8, 2008 at 11:34 PM, Anshu Dhamija <[EMAIL PROTECTED]> wrote: > I am sorry for writing urgent in subject list > But I am using hibernate and not jpa > > Regards > Anshu > -Original Message- > From: Matt Raible [mailto:[EM

[appfuse-user] proble with lazy loading

2008-07-08 Thread Anshu Dhamija
Hi I am facing problem if I specify fetchType as lazy I have made the following entry in web.xml lazyLoadingFilter org.springframework.orm.hibernate3.support.OpenSessionInViewFi lter And following in my model @ManyToMany(fetch = FetchType.EAGER) @Join

RE: [appfuse-user] urgent help needed--login problem

2008-07-08 Thread Anshu Dhamija
I am sorry for writing urgent in subject list But I am using hibernate and not jpa Regards Anshu -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 9:46 AM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] urgent help needed--login probl

Re: [appfuse-user] urgent help needed--login problem

2008-07-08 Thread Matt Raible
Please don't use "urgent" in the subject of your e-mails. If you're using JPA, you likely need to uncomment the OPIVF in your web.xml. Matt On Tue, Jul 8, 2008 at 10:07 PM, Anshu Dhamija <[EMAIL PROTECTED]> wrote: > Hi everyone > > I need an urgent help. When I login into my ap

Re: [appfuse-user] call to JSF action from default.jsp

2008-07-08 Thread pedro_burglin
Okay, I finally made it work. I will explain how I did it here if other people find the same problem I was facing. First of all thanks to Matt and Cens for your replies. I cannot use @PostConstruct since I need the web app to be compatible with servlet engines like Tomcat and Jetty. Cens, your

Re: [appfuse-user] onSetupBeforeTransaction vs onSetupInTransaction

2008-07-08 Thread Marcello Teodori
Hi, JC Oosthuizen wrote: > > Hi All, > > I have a question regarding the use of onSetupBeforeTransaction. This will > be called before the transaction is created and will therefore not be > rolled back when the test is done. I know one can implement the > onTearDownAfterTransaction to remove t

Re: [appfuse-user] Problem with "simple" display-only page - SOLVED

2008-07-08 Thread alibehzadian
I guess you should start your JSP url with a "/". Try this: /WEB-INF/pages/deliveryTonnageList.jsp I hope it will fix the problem. Ali Behzadian Nejad -- View this message in context: http://www.nabble.com/No-result-defined-for-action-au.com.myapp.webapp.action.DeliveryTonna

Re: [appfuse-user] Multimodular project with Struts 2 (best practice)

2008-07-08 Thread oscar perez
Hi, Thank you Pedro. After much thinking I realized your approach it is the best I can come up with as well :) I first thought of being a cool guy and using OOP by all means. I then will have a model, DAOs and managers for common and a custom specific implementation extending the common model. Prob

Re: [appfuse-user] Problem with "simple" display-only page - SOLVED

2008-07-08 Thread ulypses73
Hi, I had the same problem. I solved renaming the action in struts.xml, that is a. Action name is changed from "deliveryTonnage" (IIRC) I think struts sometimes doesn't like some names. I don't know why. Bye Rob Hills wrote: > > Hi Matt, > > Thanks for the reply. > > I'd tried previou

Re: [appfuse-user] session list in select tag

2008-07-08 Thread ulypses73
Thanks for your reply! It works if I write list="#session.objects" Bye mraible wrote: > > I'd try: > > list="#session['objects']" > > http://struts.apache.org/2.0.9/docs/ognl.html > > Matt > > On Thu, Jul 3, 2008 at 2:39 PM, ulypses73 <[EMAIL PROTECTED]> > wrote: >> >> Hi everyone, >> I

Re: [appfuse-user] CLEAN_INSERT on hsqldb fails

2008-07-08 Thread Martin Homik
@Matt: I haven't changed the JDBC URL for HSQLDB after project creation. But you have provided me with the right hint. It seems as if Windows (or my cygwin/Poderosa) is unable to substitute ${java.io.tmpdir} correctly or it might have a whitespace problem. When I replace it by 'tmp/comped' the

Re: [appfuse-user] call to JSF action from default.jsp

2008-07-08 Thread Vincenzo Caselli
Hi Pedro, I will show you my solution, but first I must make a consideration. The use of @PostConstruct annotation will work only in a full J2EE Application server (e.g. JBoss or WebSphere), not in a Servlet container (like Tomcat or Jetty). Indeed I did not test this, but this annotation is part o