[appfuse-user] Using Hibernate Tools w/ appfuse

2007-06-26 Thread Daniel.Rodriguez
I recently changed my Eclipse version to the fantastic EasyEclipse Server Java Edition it comes prepackaged with many plugins, specifically the Hibernate Tools plugins, which I believe that would be ideal (i.e.: Test those HQL for those that still don't speak fluid HQL). I tried to configure

Re: [appfuse-user] how to set default values for column using xdoclet

2007-06-26 Thread Matt Raible
Looking at XDoclet's documentation, this doesn't seem possible: http://xdoclet.sourceforge.net/xdoclet/tags/[EMAIL PROTECTED] However, you may be able to set the default value in your Java class. Matt On 6/26/07, sandeepsuku <[EMAIL PROTECTED]> wrote: Iam using xdoclet for creating and estab

Re: [appfuse-user] override User code class and link OneToMany to any other class

2007-06-26 Thread ros
Hi! You have to exclude AppFuse Data Common Package in your pom.xml. Then add in to your poroject User and Role pojos at appfuse namespace (as described in http://www.appfuse.org/display/APF/AppFuse+Core+Classes) Try to do mvn clean compile hibernate3:hbm2ddl and check database for user table s

Re: [appfuse-user] Problem with DWR configuration

2007-06-26 Thread peppix
Thanks, it works now. Added in JIRA. Peppe mraible wrote: > > Adding it to the includes seems to work: > > > staticFilter > > org.appfuse.webapp.filter.StaticFilter > > includes > /scripts/dojo/*,/dwr/* > > >

Re: [appfuse-user] Problem with DWR configuration

2007-06-26 Thread Matt Raible
Adding it to the includes seems to work: staticFilter org.appfuse.webapp.filter.StaticFilter includes /scripts/dojo/*,/dwr/* servletName dispatcher Can you please enter an issue for this in JIRA? h

Re: [appfuse-user] Problem with DWR configuration

2007-06-26 Thread peppix
Thanks for the fastest answer in the World, I tried this but doesn't work. Peppe mraible wrote: > > This may be caused by the StaticFilter. If you add an exclusion for > /dwr/*.html - does that fix the problem? > > Matt > > On 6/26/07, peppix <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> I am

Re: [appfuse-user] Open Source tool to capture entire html page in appfuse

2007-06-26 Thread Sanjiv Jivan
http://today.java.net/pub/a/today/2007/06/26/generating-pdfs-with-flying-saucer-and-itext.html On 6/26/07, Garvey, Paul M (GE Comm Fin) <[EMAIL PROTECTED]> wrote: I am try to find an open source library that allows a web application to convert a web page to PDF format. Similar to how DisplayTa

Re: [appfuse-user] Problem with DWR configuration

2007-06-26 Thread Matt Raible
This may be caused by the StaticFilter. If you add an exclusion for /dwr/*.html - does that fix the problem? Matt On 6/26/07, peppix <[EMAIL PROTECTED]> wrote: Hi all, I am using Appsuse 2.0 m5 with the Spring Basic/Hibernate artifact, everything works fine but I have a strange problem. Peopl

[appfuse-user] Problem with DWR configuration

2007-06-26 Thread peppix
Hi all, I am using Appsuse 2.0 m5 with the Spring Basic/Hibernate artifact, everything works fine but I have a strange problem. People states that DWR works with no configuration in their projects, I have just added bean in dwr.xml, after I start the app both from Idea or with the mvn jetty:run

[appfuse-user] Implementing File Download in SpringMVC

2007-06-26 Thread Bhatti, Shahzad
I am using an appfuse based web application and have a spring controller that allows users to download zip files, the code looks like public ModelAndView download(HttpServletRequest request,HttpServletResponse response,Object command,BindException throws Exception { ... byte[] data

[appfuse-user] how to set default values for column using xdoclet

2007-06-26 Thread sandeepsuku
Iam using xdoclet for creating and establishing relationship among tables . In case if i would like to provide a default value to the column , what attribute should be used .. I found that , there is a attribute called unsaved-value which is present for @hibernate.id method level tags. but i could

[appfuse-user] Open Source tool to capture entire html page in appfuse

2007-06-26 Thread Garvey, Paul M (GE Comm Fin)
I am try to find an open source library that allows a web application to convert a web page to PDF format. Similar to how DisplayTag converts table data into PDF format except I need this API to capture the entire web page and convert it to PDF. - Paul

AW: [appfuse-user] missing required library

2007-06-26 Thread Tobias Vogel
Are the error messages from eclipse? Then run: mvn eclipse:clean eclipse:eclipse -Ursprüngliche Nachricht- Von: Fan [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 26. Juni 2007 17:55 An: users@appfuse.dev.java.net Betreff: Re: [appfuse-user] missing required library Yup, I did, I even re

Re: [appfuse-user] missing required library

2007-06-26 Thread Fan
Yup, I did, I even restarted it Michael Horwitz wrote: > > Have you refreshed your eclipse project after running mvn install? > > On 6/26/07, Fan <[EMAIL PROTECTED]> wrote: >> >> >> I had run the "mvn install", it showed "BUILD SUCCESSFUL" >> >> but I still have the same errors. >> >> Any

Re: [appfuse-user] missing required library

2007-06-26 Thread Michael Horwitz
Have you refreshed your eclipse project after running mvn install? On 6/26/07, Fan <[EMAIL PROTECTED]> wrote: I had run the "mvn install", it showed "BUILD SUCCESSFUL" but I still have the same errors. Any other ways I can try ? Michael Horwitz wrote: > > To generate the warpath jar files

Re: [appfuse-user] missing required library

2007-06-26 Thread Fan
I had run the "mvn install", it showed "BUILD SUCCESSFUL" but I still have the same errors. Any other ways I can try ? Michael Horwitz wrote: > > To generate the warpath jar files you need to run mvn install from the > command line on the top level of your project. > > Mike. > > On 6/26/0

Re: [appfuse-user] missing required library

2007-06-26 Thread Michael Horwitz
To generate the warpath jar files you need to run mvn install from the command line on the top level of your project. Mike. On 6/26/07, Fan <[EMAIL PROTECTED]> wrote: I have errors showing in my eclipse IDE: 1)Project clubber is missing required library: 'target/warpath/appfuse-struts-2.0-m5

Re: [appfuse-user] override User code class and link OneToMany to any other class

2007-06-26 Thread Fan
Hey Ros: I did add the related Object to both hibernate.cfg.xml and applicationContext.xml. But it just does not work Or do you mind to show me your hibernate.cfg.xml and applicationContext.xml ? I afraid I might do it wrongly Is that necessary to exclude the AppFuse Data Common Package ? ros

[appfuse-user] missing required library

2007-06-26 Thread Fan
I have errors showing in my eclipse IDE: 1)Project clubber is missing required library: 'target/warpath/appfuse-struts-2.0-m5.warpath.jar' 2)Project clubber is missing required library: 'target/warpath/appfuse-web-common-2.0-m5.warpath.jar' 3)The project cannot be built until build path errors

Re: [appfuse-user] upgrade m4 to m5

2007-06-26 Thread tibi
clear. but why are some files not in main/resources? like errors.properties maybe i have time on my next appfuse project.. now i have to deliver vast ;) tibi If you do a war:inplace, all classes and files *will* be in WEB-INF/classes and if you do jetty:run, they'll be read from there (and n

[appfuse-user] Re: Email

2007-06-26 Thread Jens
Martin Ravell <[EMAIL PROTECTED]> writes: > > Can someone help me with the configuration requirements for an Action (2m5 > Struts 2) so that I can send an email? > > I'm assuming that I can use the sendUserMessage method in the BaseAction > class but have a strong suspicion that I need some wir

Re: [appfuse-user] To get user's login information.

2007-06-26 Thread Matt Raible
You should be able to write an ApplicationListener that listens for an AuthenticationSuccessEvent: http://www.springframework.org/docs/api/org/springframework/context/ApplicationListener.html http://www.acegisecurity.org/multiproject/acegi-security/apidocs/org/acegisecurity/event/authentication/

Re: [appfuse-user] 403 error displays a 403.jsp nested within another

2007-06-26 Thread Matt Raible
If you exclude 403.jsp in decorators.xml, it will fix this problem. We've done this in the latest release. Matt On 6/26/07, arvinder <[EMAIL PROTECTED]> wrote: If I try to access users.html when logged in as non admin user I get 403.jsp nested within another, like 403.jsp is included in itself

Re: [appfuse-user] upgrade m4 to m5

2007-06-26 Thread Matt Raible
On 6/26/07, tibi <[EMAIL PROTECTED]> wrote: thanks i missed the errors.properties in my WEB-INF/classes and than somehow it falls back to the default props? what i don't understand is some files like applicationResources.properties i can find in the src/main/resources dir and in the src/main/web

[appfuse-user] To get user's login information.

2007-06-26 Thread ujjala
I want to capture user's login information after authentication like 1- user's logintime after authentication. 2- If user gives wrong password three times in a row,his account should be locked. For this purpose where should i write the code. I tried it in usercounterlistener by wri

Re: [appfuse-user] DaoTest failed after generation of a new object

2007-06-26 Thread Michael Horwitz
There should be more detail on why the test is failing in the appropriate text file under target/surefire-reports. Mike. On 6/26/07, Laurent Dejoux <[EMAIL PROTECTED]> wrote: 1/ creation of an object : OperatingSystem.java 2/ defined it in hibernate.cfg.xml 3/ mvn appfuse:gen -Dentity=Operati

[appfuse-user] How to Confirm ?

2007-06-26 Thread Richard G. Reyes
Hi All, I was hoping someone here knows how can I confirm(automatically) that a jsp embedded video is displayed. Best regards, Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

[appfuse-user] DaoTest failed after generation of a new object

2007-06-26 Thread Laurent Dejoux
1/ creation of an object : OperatingSystem.java 2/ defined it in hibernate.cfg.xml 3/ mvn appfuse:gen -Dentity=OperatingSystem 4/ mvn appfuse:install -Dentity=OperatingSystem and run the OperatingSystemDaoTest => --- T E S T S --

Re: [appfuse-user] override User code class and link OneToMany to any other class

2007-06-26 Thread ros
Hi! I resolve that by add my Contact object to both hibernate.cfg.xml and applicationContext.xml. Reffer to http://www.appfuse.org/display/APF/AppFuse+Core+Classes Hope this helps. ros Fan wrote: > > Ros, > > What's the fix ? I am facing the same error as you did > > > ros wrote: >> >

[appfuse-user] 403 error displays a 403.jsp nested within another

2007-06-26 Thread arvinder
If I try to access users.html when logged in as non admin user I get 403.jsp nested within another, like 403.jsp is included in itself. I do not see this for 404.jsp. I thought initially that it was due to admin interceptor but it does not seem so as all other secured actions in my application exh

Re: [appfuse-user] upgrade m4 to m5

2007-06-26 Thread tibi
thanks i missed the errors.properties in my WEB-INF/classes and than somehow it falls back to the default props? what i don't understand is some files like applicationResources.properties i can find in the src/main/resources dir and in the src/main/webapp/WEB-INF/classes after i explode the w

Re: [appfuse-user] Integrating Ajaxtags with Struts Front end

2007-06-26 Thread rbtechno
Hi, Unisa provides a the StrutsTool Servlet to use for each Struts based tool.Struts Tool also helps in the dispatching of tool requests to Struts based tools.you use this tool to integrate struts front end with sakai. look at this url: http://bugs.sakaiproject.org/confluence/display/MJN/Str