[appfuse-user] Re: [appfuse-dev] adding dependency

2007-03-29 Thread Michael Horwitz
Please could you post this type of question to the users mailing list - the dev mailing list is for the development of AppFuse itself. There may be an issue with the scope you have attached to dependency, or the location of the dependency. So a few questions: 1) Did you use a modular or basic ar

Re: [appfuse-user] Maven behind a proxy

2007-03-29 Thread Michael Horwitz
settings.xml should be in D:\Documents and Settings\FKTFAN\.m2\settings.xml. If you don't have one and access the internet via a proxy server that will be the problem! To set one up take a look at: http://maven.apache.org/settings.html Mike. On 3/30/07, Fan <[EMAIL PROTECTED]> wrote: I have

[appfuse-user] DisplayTag coloring individual rows

2007-03-29 Thread Travers Snyman
Hi, I have a requirement for one of my use cases using displaytag library to color individual rows according to certain column values. I implemented this with javascript as below. My problem is that the coloring only applies to the even rows. It looked like it had to do with the row highlighting,

RE: [appfuse-user] DisplayTag coloring individual rows

2007-03-29 Thread Travers Snyman
Thanks Matt, It was actually the even rows that were overridden by the css. In the end, I removed the background setting in typo.css for the even rows to get it to work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: 29 March 2007 05:22

[appfuse-user] Problem with navigation bar in my appfuse project ...

2007-03-29 Thread some screen1
Hi all, I am using appfuse 1.9.4 with ant 1.6.5. I am adding some classes to extend the project. I am providing three pages to the end user. In the first page navigation bar is displaying automatically( i did't add any code to display navigation bar), but in the second and third pages navigation b

Re: [appfuse-user] Maven behind a proxy

2007-03-29 Thread Fan
I have downloaded the dependencies & unzipped them to D:\Documents and Settings\FKTFAN\.m2\repository but I still hit the following error , anyway, I cant find the settings.xml under my repository, where can I get it from ? D:\source>mvn archetype:create -DarchetypeGroupId=org.appfuse -Darchet

[appfuse-user] How to config the pom.xml that don't reload sample-data every time!

2007-03-29 Thread jason.jiang
Environment: * Appfuse v2 M4 with JSF basic archetype * Ubuntu OS * zh_CN AppFuse reload sample-data with dbunit(CLEAN_INSERT) ,how can i config pom.xml that don't reload data at run "mvn integration-test" or "mvn jetty:run-war" every time! Thanks in advance. -- View this message in context:

Re: [appfuse-user] More to staticFilter than meets the eye?

2007-03-29 Thread Dale Newfield
I'm not actually using dojo in this project, so I guess I could just drop this, (each struts theme="ajax" (and therefore dojo) tool I've tried has been pretty broken in some manner, so I've switched to alternatives), but I'd like to be able to try other dojo tools as I continue development...

Re: [appfuse-user] JPA Problem

2007-03-29 Thread Matt Raible
In the latest versions, changing your classes *should* magically update your tables. This is because the hibernate3 plugin now "drops" the tables before trying to create them. Make sure your configuration matches the following: true

Re: [appfuse-user] More to staticFilter than meets the eye?

2007-03-29 Thread Matt Raible
On 3/29/07, Dale Newfield <[EMAIL PROTECTED]> wrote: Matt Raible wrote: >> I don't understand why I should expect the dispatcher to find a >> "static" page that only exists deep inside the struts .jar? Do I >> need to extract part of the .jar someplace so that this can work? > > You're right, th

Re: [appfuse-user] More to staticFilter than meets the eye?

2007-03-29 Thread Dale Newfield
Matt Raible wrote: I don't understand why I should expect the dispatcher to find a "static" page that only exists deep inside the struts .jar? Do I need to extract part of the .jar someplace so that this can work? You're right, the StaticFilter just forwards to static resources. It doesn't ser

[appfuse-user] Re: [appfuse-dev] Appfuse2. Anything like appgen?

2007-03-29 Thread Nathan Anderson
I'm forwarding this question to the users list where it should be... mmaia wrote: Hi, I just have started to take a look at appfuse 2. I have develop 2 comercial apps with appfuse 1.9.X with configuration: webwork + spring + hibernate and I´m quite happy with the results and productivity. As I

Re: [appfuse-user] Feature Implementation Advice

2007-03-29 Thread Matt Raible
Did you get this figured out? It's been almost a month. Sorry about that. Matt On 3/4/07, Luke Shannon <[EMAIL PROTECTED]> wrote: Hello; In my appfuse application I have made a Doctor class that implements UserDetails, and an experimentor class which also implements UserDetails. So you can be

Re: [appfuse-user] More to staticFilter than meets the eye?

2007-03-29 Thread Matt Raible
On 3/29/07, Dale Newfield <[EMAIL PROTECTED]> wrote: Subject-was: Re: [appfuse-user] How to customize Struts2 action extention ".html" to ".pdf" or ".xls" for reports? Material related to new subject line below. Matt Raible wrote: >> I've still not gotten my urlrewrite rules working, but I'm ho

Re: [appfuse-user] java.lang.NoSuchFieldError: CACHED_DTD_RESOURCE_PATHS

2007-03-29 Thread Chris Lewis
I noticed that one of our projects I was including had jasper-compiler and jasper-compiler-jdt as dependencies. So for the heck of it I removed those dependencies and everything works now. I'm guessing that it was including different (conflicting) versions from what jetty was using. Anyhow, it

Re: [appfuse-user] FaceletException again

2007-03-29 Thread Dale Newfield
Matt Raible wrote: It's not a bug, Facelets requires well-formed XML before it processes/compiles the template Maybe having inline scripts wrapped in CDATA like this: // could help? -Dale - To unsubscribe, e-mail: [EMAIL PR

[appfuse-user] More to staticFilter than meets the eye?

2007-03-29 Thread Dale Newfield
Subject-was: Re: [appfuse-user] How to customize Struts2 action extention ".html" to ".pdf" or ".xls" for reports? Material related to new subject line below. Matt Raible wrote: I've still not gotten my urlrewrite rules working, but I'm hoping to eventually have urls like "http://mysite/myapp/

Re: [appfuse-user] Integration JSF-Comp's ChartCreator to Appfuse 1.9.4 - deperately needing help...

2007-03-29 Thread Eric Taieb
Problem solved...very trivial... Just had to add the .jsf mapping to the servlet faces in web.xml This is because Appfuse uses .xhtml as extensions and thus the .html mapping only for faces servlet. JSF Chartcreator displays the chart through a chartcreator.jsf page link so you need to add mappin

Re: [appfuse-user] java.lang.NoSuchFieldError: CACHED_DTD_RESOURCE_PATHS

2007-03-29 Thread Chris Lewis
Will do, thanks for the help! At least now I know how to run it through Cargo and can keep working. cheers, Chris mraible wrote: > > Since I've never seen these errors, I'm going to have to suggest you > contact the Jetty mailing list. > > http://www.nabble.com/Jetty-Support-f61.html > >

Re: [appfuse-user] java.lang.NoSuchFieldError: CACHED_DTD_RESOURCE_PATHS

2007-03-29 Thread Matt Raible
Since I've never seen these errors, I'm going to have to suggest you contact the Jetty mailing list. http://www.nabble.com/Jetty-Support-f61.html Matt On 3/29/07, Chris Lewis <[EMAIL PROTECTED]> wrote: After upgrading jetty I get a different error. I'm trying 6.1.2rc2 just in case, but: 200

Re: [appfuse-user] java.lang.NoSuchFieldError: CACHED_DTD_RESOURCE_PATHS

2007-03-29 Thread Chris Lewis
After upgrading jetty I get a different error. I'm trying 6.1.2rc2 just in case, but: 2007-03-29 11:53:25.509::WARN: EXCEPTION javax.servlet.ServletException: java.lang.NoSuchFieldError: STANDARD_IMPORTS at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272) at ja

Re: [appfuse-user] How to customize Struts2 action extention ".html" to ".pdf" or ".xls" for reports?

2007-03-29 Thread Matt Raible
On 3/29/07, Dale Newfield <[EMAIL PROTECTED]> wrote: wnqq wrote: > Figured out a decent solution... > Simply setting "documentName" while configuring struts action in struts.xml > is enough. So the request is still a .html request, but the response says "save me as "xxx.pdf" ? I'm a bit confuse

Re: [appfuse-user] java.lang.NoSuchFieldError: CACHED_DTD_RESOURCE_PATHS

2007-03-29 Thread Matt Raible
OK, I'd disregard the message from the tomcat-maven-plugin and just don't use it. If it works with Cargo, that means it'll work when deployed into Tomcat. Maybe your local Jetty plugin got messed up. Can your try upgrading it - maybe to version 6.1.1? Matt On 3/29/07, Chris Lewis <[EMAIL PROTE

Re: [appfuse-user] How to customize Struts2 action extention ".html" to ".pdf" or ".xls" for reports?

2007-03-29 Thread wnqq
DNewfield wrote: > > wnqq wrote: >> Figured out a decent solution... >> Simply setting "documentName" while configuring struts action in >> struts.xml >> is enough. > > So the request is still a .html request, but the response says "save me > as "xxx.pdf" ? > Yes. That's what I am using now

Re: [appfuse-user] java.lang.NoSuchFieldError: CACHED_DTD_RESOURCE_PATHS

2007-03-29 Thread Chris Lewis
Thanks for the quick resonse! java -version shows 1.5.0_07, so I think I should be ok there. I didn't explicitly update java and don't recall an automatic update happening - so I'm going to go with no to the update question. It appears to work ok using using mvn package cargo:start -Dcargo.wai

Re: [appfuse-user] FaceletException again

2007-03-29 Thread Plant More Tree
Thanks Matt...it works now. sorry i didn't read thru the namespace thoroughly ! mraible wrote: > > On 3/29/07, Plant More Tree <[EMAIL PROTECTED]> wrote: >> >> I put <%@ include file="/common/taglibs.jsp"%> at the first line of the >> page >> as I need to use the jstl function and I still

Re: [appfuse-user] How to customize Struts2 action extention ".html" to ".pdf" or ".xls" for reports?

2007-03-29 Thread Dale Newfield
wnqq wrote: Figured out a decent solution... Simply setting "documentName" while configuring struts action in struts.xml is enough. So the request is still a .html request, but the response says "save me as "xxx.pdf" ? I'm a bit confused about how that actually works, though, unless documen

Re: [appfuse-user] expired pwd not going to "change password" page

2007-03-29 Thread Matt Raible
AppFuse doesn't have a "change password page". Matt On 3/29/07, dhyatt <[EMAIL PROTECTED]> wrote: we are using the Spring variant of Appfuse V 1.9.4 when creating a new user interactively, we give the user a dumb password and check the "Password Expired" box, so the user will change it as soo

Re: [appfuse-user] JPA Problem

2007-03-29 Thread Dale Newfield
VJ22 wrote: it works after I dropped the schema and re-created it.. Any clue why this is like this ? Changing your classes doesn't magically change the DB. (I think somewhere there is a setting (hibernate.hbm2ddl.auto) that tells Hibernate to update the DB if it starts and finds the DB

[appfuse-user] expired pwd not going to "change password" page

2007-03-29 Thread dhyatt
we are using the Spring variant of Appfuse V 1.9.4 when creating a new user interactively, we give the user a dumb password and check the "Password Expired" box, so the user will change it as soon as he or she logins in. However, when the user tries to login, the application says "incorrect

Re: [appfuse-user] java.lang.NoSuchFieldError: CACHED_DTD_RESOURCE_PATHS

2007-03-29 Thread Matt Raible
Did you change your JDK at all? Does "java -version" show JDK 5 (or above)? Can you deploy your WAR on Tomcat (using mvn package cargo:start -Dcargo.wait=true). To use "mvn tomcat:war-run", add the following to your pom.xml: org.codehaus.mojo tomcat-ma

[appfuse-user] java.lang.NoSuchFieldError: CACHED_DTD_RESOURCE_PATHS

2007-03-29 Thread Chris Lewis
Hello all, I'm not quite sure what's going on, but I've spent a day or so beating my head against the wall on this one, so any suggestions would be appreciated. I'm new to AppFuse and EJB in general, but I had an app up and running and then it stopped. :) Initially I assumed it was something I

Re: [appfuse-user] DisplayTag coloring individual rows

2007-03-29 Thread Matt Raible
Since there's already a CSS class specified on each row, that might be overriding your setting. You could try setting the class: rows[i].className += " red"; Matt On 3/29/07, Travers Snyman <[EMAIL PROTECTED]> wrote: Hi, I have a requirement for one of my use cases using displaytag libra

Re: [appfuse-user] FaceletException again

2007-03-29 Thread Matt Raible
On 3/29/07, Plant More Tree <[EMAIL PROTECTED]> wrote: I put <%@ include file="/common/taglibs.jsp"%> at the first line of the page as I need to use the jstl function and I still got error : com.sun.facelets.FaceletException: Error Parsing /addContactForm.xhtml: Error Traced[line: 1] The markup

Re: [appfuse-user] Hibernate Validation with AppFuse 1.9.4

2007-03-29 Thread Matt Raible
You'll need to change quite a few things - like the sessionFactory to use the annotations class and such. You'll also want to remove the Hibernate Doclet stuff. The downside is AppGen will no longer work since AppGen depends on having XDoclet tags in POJOs. Matt On 3/29/07, Irshad Buchh <[EMAIL

Re: [appfuse-user] Using ~/.build.properties to override the defaults in properties.xml?

2007-03-29 Thread Matt Raible
If you put the file in ~/.build.properties - it's not working? You might have to turn "ant clean" first. Matt On 3/29/07, mas <[EMAIL PROTECTED]> wrote: ERm...I thought it was working... mas wrote: > > Oh my bad... > > It didn't work because you have to put the file in > %USERPROFIL

Re: [appfuse-user] Problem with the Person Tutorial

2007-03-29 Thread lk
hiugong.gwok wrote: It should be either PersonDao or GenericDaoHibernate, but not PersonDao. That's right! Thank you so much. LuKe -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Vuoi fare business con la Cina? Videocorso pratico con utili suggerimenti

Re: [appfuse-user] Possible to load two set of ApplicationResources.properties ?

2007-03-29 Thread Fan
Matt, Thank you for your valuable advice !! mraible wrote: > > You should be able to use an HttpSessionAttributeListener (see > UserCounterListener for an example) to do this. > > http://tinyurl.com/24j7me > > Within your listener, you should be able to add logic that looks up > the user's loc

Re: [appfuse-user] FaceletException again

2007-03-29 Thread Plant More Tree
I put <%@ include file="/common/taglibs.jsp"%> at the first line of the page as I need to use the jstl function and I still got error : com.sun.facelets.FaceletException: Error Parsing /addContactForm.xhtml: Error Traced[line: 1] The markup in the document preceding the root element must be well-

[appfuse-user] DisplayTag coloring individual rows

2007-03-29 Thread Travers Snyman
Hi, I have a requirement for one of my use cases using displaytag library to color individual rows according to certain column values. I implemented this with javascript as below. My problem is that the coloring only applies to the even rows. It looked like it had to do with the row highlighting,

Re: [appfuse-user] FaceletException again

2007-03-29 Thread Plant More Tree
anyway to escape verification by Facelet of well-formed page? Plant More Tree wrote: > > I put <%@ include file="/common/taglibs.jsp"%> at the first line of the > page as I need to use the jstl function and I still got error : > > com.sun.facelets.FaceletException: Error Parsing /addContactFor

[appfuse-user] Hibernate Validation with AppFuse 1.9.4

2007-03-29 Thread Irshad Buchh
Hi, Has anyone tried to use Hibernate annotations with AppFuse 1.9.4 based on Struts 1.x. Is it without issues? --Irshad. -- View this message in context: http://www.nabble.com/Hibernate-Validation-with-AppFuse-1.9.4-tf3486569s2369.html#a9734058 Sent from the AppFuse - User mailing list archiv

Re: [appfuse-user] Using ~/.build.properties to override the defaults in properties.xml?

2007-03-29 Thread maskkkk
ERm...I thought it was working... mas wrote: > > Oh my bad... > > It didn't work because you have to put the file in > %USERPROFILE%/.build.properties > > And not the root directory of the project. > > > mas wrote: >> >> Hello, >> >> I am trying to override some defaults in prope

Re: [appfuse-user] Using ~/.build.properties to override the defaults in properties.xml?

2007-03-29 Thread maskkkk
Oh my bad... It didn't work because you have to put the file in %USERPROFILE%/.build.properties And not the root directory of the project. mas wrote: > > Hello, > > I am trying to override some defaults in properties.xml (Appfuse 1.9.4) in > order to allow the app to switch between a te

[appfuse-user] Using ~/.build.properties to override the defaults in properties.xml?

2007-03-29 Thread maskkkk
Hello, I am trying to override some defaults in properties.xml (Appfuse 1.9.4) in order to allow the app to switch between a test and a production database. I read the following in the documentation in the file build.properties: build.properties wrote: > > # database properties - written to

Re: [appfuse-user] Problem with the Person Tutorial

2007-03-29 Thread hiugong.gwok
It should be either PersonDao or GenericDaoHibernate, but not PersonDao. lk-2 wrote: > > Hi, > > I'm new to appfuse and I'm studying the example in the Person tutorial. > I followed every instructions but I get an error in the PersonDaoTest > class. Eclipse gives me an error like this: > > "

Re: [appfuse-user] How to get rid of log4j warning?

2007-03-29 Thread wnqq
Dear David, Sorry that I got confused. Have you ever successfully got rid of the log4j warning? David Bernard wrote: > > I tried setting the property log4j.configuration in the pom.xml but that > didn't work either. > > > Matt Raible wrote: > >> FWIW, I tried adding src/main/resources to t

Re: [appfuse-user] Maven behind a proxy

2007-03-29 Thread Michael Horwitz
Hi Jojo, The bad news is that Maven 2 does not support NTLM authentication by default. There are various strategies proposed in the mailing lists, but the one I would try is to see if you can activate JDK proxy support (I am assuming you are using a Sun JDK here). The ominous line can be found he

Re: [appfuse-user] Problem with the Person Tutorial

2007-03-29 Thread lk
Benoit Moraillon wrote: Have you registered your dao in applicationContext.xml as : class="org.appfuse.dao.hibernate.GenericDaoHibernate"> ? Yes, I did. LuKe -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Problemi di Liquidità

Re: [appfuse-user] Problem with the Person Tutorial

2007-03-29 Thread Benoit Moraillon
Have you registered your dao in applicationContext.xml as : ? lk a écrit : Hi, I'm new to appfuse and I'm studying the example in the Person tutorial. I followed every instructions but I get an error in the PersonDaoTest class. Eclipse gives me an error like

[appfuse-user] Problem with the Person Tutorial

2007-03-29 Thread lk
Hi, I'm new to appfuse and I'm studying the example in the Person tutorial. I followed every instructions but I get an error in the PersonDaoTest class. Eclipse gives me an error like this: "The type PersonDao is not generic; it cannot be parameterized with arguments " If I try to run the te