Re: [appfuse-user] Removing Hibernate Annotations use

2007-05-08 Thread fadhli
Believe me. Annotations makes your life easier then configuring zillions xml configuration files. On 5/9/07, nmall <[EMAIL PROTECTED]> wrote: Hi, All the appfuse classes use Hibernate Annotations. How can I completely remove Hibernate Annotations dependency or is that too hard to do. Thanks

Re: [appfuse-user] 2.0-M4 - jmock.jar and junit.jar not in local project

2007-05-08 Thread oschroeder
Woah! I figured it out. My problem was in the integration of Maven and Eclipse. The local maven repository on Windows is in my home folder: C:\Documents and Settings\[username]\.m2\repository All is well now! Thank you, Olaf oschroeder wrote: > > Yes - I am using Eclipse (3.2.2). However Ec

[appfuse-user] AppFuse Project Stats: April 2007

2007-05-08 Thread Matt Raible
FYI... http://community.java.net/projects/top.csp Interesting to see how we're now ranked in the top 10 for membership too - that's a first. ;-) Thanks to everyone in the community for using AppFuse and making it so popular! Matt -- http://raibledesigns.com --

Re: [appfuse-user] Removing Hibernate Annotations use

2007-05-08 Thread Matt Raible
Why do you want to remove the annotations? You could use AppFuse 1.9.4 which uses XDoclet and .hbm.xml files? You might also be able to use Mapping files, but AMP will rely on annotations being present for code generation. Matt On 5/8/07, nmall <[EMAIL PROTECTED]> wrote: Hi, All the appfus

Re: [appfuse-user] panelGrid styles

2007-05-08 Thread Matt Raible
You want a table-based system, rather than the current "label over the field" setup? Just so you're aware, the current setup in AppFuse is recommended by experts for usability purposes: http://raibledesigns.com/rd/entry/label_placement_in_web_forms That being said, you can probably remove the cu

Re: [appfuse-user] Problems with number convertion on s:input

2007-05-08 Thread Matt Raible
Thanks for posting the solution back to this list. Matt On 5/8/07, André Faria <[EMAIL PROTECTED]> wrote: I resolved that from this way: Thank's André Faria Nathan Anderson escreveu: > I believe the Struts 2 recommended practice is to put your number [and currency and date/time] formats in

Re: [appfuse-user] user vs username

2007-05-08 Thread Matt Raible
The bug you reference was to add a convenience method to get the user's username. However, since it's easy enough to get with request.getRemoteUser(), I didn't add it. Does this answer your question? Matt On 5/8/07, tibi <[EMAIL PROTECTED]> wrote: i just stumlbed upon this bug report: http:/

Re: [appfuse-user] tomahawk styleLocation, problem: location not used

2007-05-08 Thread Matt Raible
You can use an "addResources" parameter and set it to false if you want to use your own CSS. However, in my experience, customizing the entire CSS is kinda messy because there's so many files involved. I think it's better to override the things you want to in your own stylesheet. For example, h

Re: [appfuse-user] logout problem with remember me option

2007-05-08 Thread Matt Raible
I believe if you delete all your cookies associated with the test machine it will function properly. If it doesn't, then it may have something to do with your environment setup. Are you using Tomcat standalone or behind Apache? Matt On 5/8/07, tibi <[EMAIL PROTECTED]> wrote: thanks matt for t

Re: [appfuse-user] Did I miss a step?

2007-05-08 Thread Matt Raible
It looks like it might not be picking up your sql-map-config.xml. It's possibly loading the one from AppFuse instead. Make sure sql-map-config.xml is excluded in the warpath plugin settings in pom.xml. You could also look in the appfuse-ibatis.jar to see if there's a sql-map-config.xml in it (in

Re: [appfuse-user] Did I miss a step?

2007-05-08 Thread Philip Barlow
Running the test from the menu run as junit test will not call the necessary DBUnit step. This is my point. tibi wrote: from eclipse you can also run the test from the menu run as junit test. but you need to install the classes using: mvn integration-test mvn war:inplace rm -r src/main/webapp/W

Re: [appfuse-user] Did I miss a step?

2007-05-08 Thread Clifton
Ok, I'm on the last step on this page and still having trouble! Yes, I made my own person object but my package name is different than the examples. That could be the source of my latest problem. I use com.craig as my root package. Now when I run mvn test I get: Running com.craig.dao.PersonDaoTest

Re: [appfuse-user] Did I miss a step?

2007-05-08 Thread Matt Raible
If you changed dependencies (or the dao.framework property), you'll need to regenerate the project files using "mvn idea:idea". If that's missing from the tutorial, let me know and I'll add it. Matt On 5/8/07, Cliff <[EMAIL PROTECTED]> wrote: Oh wait! I see the problem! I'm running the test f

Re: [appfuse-user] Did I miss a step?

2007-05-08 Thread tibi
from eclipse you can also run the test from the menu run as junit test. but you need to install the classes using: mvn integration-test mvn war:inplace rm -r src/main/webapp/WEB-INF/lib rm src/main/webapp/WEB-INF/classes/struts.xml mvn install eclipse:eclipse tibi Philip Barlow wrote: I haven't

Re: [appfuse-user] Did I miss a step?

2007-05-08 Thread Philip Barlow
I haven't used intelliJ but in eclipse you can create external tools. I have created an external tool that calls things like mvn test or mvn compile, effectively you are making command line calls from within your IDE... Cliff wrote: Oh wait! I see the problem! I'm running the test from my IDE

Re: [appfuse-user] Did I miss a step?

2007-05-08 Thread Philip Barlow
There is a good chance it is something to do with database population, carried out by DBUnit This is not called from inside your IDE Cliff wrote: Oh wait! I see the problem! I'm running the test from my IDE (IntelliJ) instead of from Maven. When run from Maven the error matches the tutorial

Re: [appfuse-user] Did I miss a step?

2007-05-08 Thread Cliff
Oh wait! I see the problem! I'm running the test from my IDE (IntelliJ) instead of from Maven. When run from Maven the error matches the tutorial. Is there no way to launch the test accurately from the IDE? Obviously there's some paths missing from the classpath. What's missing? I ask because I do

Re: [appfuse-user] Did I miss a step?

2007-05-08 Thread tibi
did you make a Person class?? you are reffering to this one: org.appfuse.tutorial.model.Person and you probly made your own Person no? tibi Cliff wrote: I'm following the Spring/iBatis tutorial and I'm at the step where you run the PersonDaoTest using the GenericDao. The error I get is differe

Re: [appfuse-user] Did I miss a step?

2007-05-08 Thread tibi
did you make a Person class?? you are reffering to this one: Cliff wrote: I'm following the Spring/iBatis tutorial and I'm at the step where you run the PersonDaoTest using the GenericDao. The error I get is different from the error the tutorial expects. I get: AbandonedObjectPool is used ([EMA

[appfuse-user] Did I miss a step?

2007-05-08 Thread Cliff
I'm following the Spring/iBatis tutorial and I'm at the step where you run the PersonDaoTest using the GenericDao. The error I get is different from the error the tutorial expects. I get: AbandonedObjectPool is used ([EMAIL PROTECTED]) LogAbandoned: false RemoveAbandoned: true RemoveAban

Re: [appfuse-user] logout problem with remember me option

2007-05-08 Thread tibi
thanks matt for the reply yes and yes i think (i'm at home now) the strange thing is locally everything is fine working. and without the remeber me option it is working fine both on the test server as locally. tibi Matt Raible wrote: Do you have a logout.jsp in your project (or the target d

Re: [appfuse-user] logout problem with remember me option

2007-05-08 Thread Matt Raible
Do you have a logout.jsp in your project (or the target directory after running "mvn package") or are you using the logoutFilter in security.xml? Matt On 5/8/07, tibi <[EMAIL PROTECTED]> wrote: i'm comparing the logs and when loging out after loging in with remember me option i have hits: local

[appfuse-user] tomahawk styleLocation, problem: location not used

2007-05-08 Thread Patrick . Hartkorn
I read some other postings about this issue but no answer yet. How can we force in popup (js) mode to use a specified styleLocation="pathToCss/mystyle.css" ?? It seems to ignore that statement receiving its style information from somewhere ?? Since there is not much documentation about using to

[appfuse-user] LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log

2007-05-08 Thread SJ
I am using Eclipse 3.1.1 and attached Weblogic 8.1 SP5 server to it. When I try to deploy and start my weblogic server, the following exception is displayed. And deployment is failing. I have log4j.properties file created in WEB-INF/classes for the myreports projects. Also my WEB-INF/lib has commo

[appfuse-user] Generic Entity: Is it possible ?

2007-05-08 Thread Daniel.Rodriguez
Hello everyone, I have an application that groups different objects using a Category entity. Of course, with Java5 Generics it is possible : *** START CODE ** public class Category extends BaseObject { private String categoryName;

Re: [appfuse-user] Removing Hibernate Annotations use

2007-05-08 Thread Nathan Anderson
The only classes that should be using Hibernate annotations are: org.appfuse.model.User org.appfuse.model.Role Of course the annotations trigger other things to happen like generating the DDL, Hibernate's hbm files, etc. So you would need to replace that functionality as well. HTH, Natha

Re: [appfuse-user] panelGrid styles

2007-05-08 Thread mikebgx
Hi Matt, I too would like to use panelGrid functionality, specifically columns="3" so that I can have my prompts to the left of my fields, which should all align. What would you suggest? mraible wrote: > > The panelGrid in AppFuse overrides the default elements in > favor of elements. That

[appfuse-user] Removing Hibernate Annotations use

2007-05-08 Thread nmall
Hi, All the appfuse classes use Hibernate Annotations. How can I completely remove Hibernate Annotations dependency or is that too hard to do. Thanks for your help. I appreciate it! nmal -- View this message in context: http://www.nabble.com/Removing-Hibernate-Annotations-use-tf3710730s2369.h

Re: [appfuse-user] Problems with number convertion on s:input

2007-05-08 Thread André Faria
I resolved that from this way: value="%{getText('format.number',{cliente.salario})}"/> Thank's André Faria Nathan Anderson escreveu: I believe the Struts 2 recommended practice is to put your number [and currency and date/time] formats into your ApplicationResources*.properties files. Like

[appfuse-user] user vs username

2007-05-08 Thread tibi
i just stumlbed upon this bug report: http://issues.appfuse.org/browse/APF-650 as i understand it the first user is saying that the method setCurrentUser should be reneamed to setCurrentUserName because you are not setting the user but only his or her name. and the getCurrentUser should be c

Re: [appfuse-user] logout problem with remember me option

2007-05-08 Thread tibi
i'm comparing the logs and when loging out after loging in with remember me option i have hits: local (where all is fine): [topnet] DEBUG [btpool0-2] UrlRewriter.debug(196) | processing outbound url for /mainMenu.html [topnet] DEBUG [btpool0-2] UrlRewriter.debug(196) | processing outbound url

[appfuse-user] logout problem with remember me option

2007-05-08 Thread tibi
hi, a strange thing and maybe known. i login with rember me option with tomcat/tomcat i click logout and nothing happens. i stay loged in and go to the mainMenu.html when i remove the cookies i can offcourse logout fine. when i do this with the same war on my local system all is fine. (using