Re: [appfuse-user] Maxlength validation within pojos

2007-01-11 Thread wnqq
replace "maxLength" with "maxlength" then it should work. Petar Zaprianov wrote: > > The message always says the same, no matter yhe length is > or < 200 > characters: > > can not be greater than 200 characters. > > > On 9/21/05, Matt Raible <[EMAIL PROTECTED]> wrote: >> >> Try this: >> >>

Re: [appfuse-user] Struts 2 Basic - build issue

2007-01-11 Thread Matt Raible
For some reason, sometimes the hbm2ddl execution is skipped. Try running "mvn hibernate3:hbm2dll". After running this once, it should continue to run after that. Matt On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote: I have tried executing above steps after deleting project folder and mySql

Re: [appfuse-user] Struts 2 Basic - build issue

2007-01-11 Thread Jaymin Shah
I have tried executing above steps after deleting project folder and mySql database but it still continues to give me errors. Jaymin Shah wrote: > > I have successfully created a new Project using following command – > > F:\>mvn archetype:create -DarchetypeGroupId=org.appfuse > -DarchetypeArt

[appfuse-user] Struts 2 Basic - build issue

2007-01-11 Thread Jaymin Shah
I have successfully created a new Project using following command – F:\>mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=ap pfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/repository -Da rchetypeVersion=1.0-SNAPSHOT -DgroupId=com.james -DartifactId=RealT

Re: [appfuse-user] Could not determine type for: org.springframework.orm.hibernate.support.ClobStringType

2007-01-11 Thread simon wu
Hi chenztw, Maybe there were something incorrect setting in your *.hbm.xml files. For instance, the 'java-type' properties. Thanks. simon.wu On 1/11/07, ChenRanHow <[EMAIL PROTECTED]> wrote: Dear All I try to use Clob to store string over 4000 in oracle when db-prepare, I got the

Re: [appfuse-user] DaoJpa Merge with Primitive Values...

2007-01-11 Thread Bryan Noll
Andre... Thanks for pointing this out. Although, in this case, this is a limitation I'm satisfied with. I personally don't think it is a good idea to use a primitive as an identifier value. The perfect example of why to me is that primary key columns are almost always not nullable, and mus

Re: [appfuse-user] Interceptor doesn't log anything

2007-01-11 Thread maskkkk
I thought that's what was going on! Keep up the good work Matt! And thanks for all you've done already! Matt Raible-3 wrote: > > I think your question was pretty clear. The reason you haven't got an > answer is likely because no one knows the answer. ;-) > > Of course, I could try to repro

[appfuse-user] xdoclet hibernate param bug

2007-01-11 Thread xiuxiu
Hi, I am using Appfuse 1.9.4 with xdoclet-1.3-SNAPSHOT. And I found there is a bug in this xdoclet version. for the hibernate-param.xdt in xdoclet-hibernate-module-1.3-SNAPSHOT.jar\xdoclet\modules\hibernate\resources. There is a blank between the tag and param value. And the h

Re: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone)

2007-01-11 Thread users
Hari, First, please try my suggestion to help get a better diagnosis of the problem. Take one of the encrypted known passwords of an account that you can login to and just copy it into the password field of the account that does not login. Try to login again, what happens? To answer your que

Re: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone)

2007-01-11 Thread Hariprasad Davanagere
Hi Mark,I am using acegi 1.0.2 bundled in AppFuse-1.9.4 distribution.I am not sure how to debug this problem. LoginForm.jsp has  the following lines<"    >I am new to acegi_security and what exactly does this mean ?Can you guide me to the right resouce which explains the basics of acegi_securityTha

Re: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone)

2007-01-11 Thread users
Hari, I don't think this is a DB problem. I have had similar problems with r1.9.4 on MySQL What version of acegi are you using? Are the passwords encrypted? Try copying the password from another account with an known password into the account that does not login... can you login then? Mark

Re: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone)

2007-01-11 Thread Matt Raible
On 1/11/07, Hariprasad Davanagere <[EMAIL PROTECTED]> wrote: I have all the required data loaded in App_User, ROLE and User_Role tables. Still it i am not able to Login. As i said in my previous post, after creating a new account, if i logout and try to login again, i can't. !!! Is there

Re: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone)

2007-01-11 Thread Hariprasad Davanagere
I have all the required data loaded in App_User, ROLE and User_Role tables.Still it i am not able to Login. As i said in my previous post, after creating a new account, if i logout and try to login again, i can't. !!!Is there any other configuration to be takencare of in Oracle AS for authentic

Re: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone)

2007-01-11 Thread Matt Raible
The fact that you can create an account and the application functions after that indicates that you may need to populate your database. If you run "ant db-load", can you login to your application? Matt On 1/11/07, Hariprasad Davanagere <[EMAIL PROTECTED]> wrote: Hi Matt, I got the applicatio

Re: [appfuse-user] DaoJpa Merge with Primitive Values...

2007-01-11 Thread Matt Raible
Can you please enter this as an issue in JIRA? http://issues.appfuse.org/browse/APF Matt On 1/11/07, André Faria <[EMAIL PROTECTED]> wrote: Hi All, There is a problem in DaoJpa if you are using a primitive number (int, double, float, long) @Id the method save always will call merge becau

Re: [appfuse-user] SiteMesh in Equinox

2007-01-11 Thread Matt Raible
You might be able to indicate which menu to use from your child pages. This is what we do in AppFuse. http://raibledesigns.com/page/rd?entry=dependency_injection_with_sitemesh Matt On 1/11/07, Scott Purcell <[EMAIL PROTECTED]> wrote: Possibly the wrong forum here ... but I am in a bit of a

Re: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone)

2007-01-11 Thread Hariprasad Davanagere
Hi Matt,I got the application to deploy on ORACLE 10G AS.I am seeing a wierd behaviour. I cannot login to the application AT ALL and i don't see any error message concerned to datasource. To confirm this i used the 'sign up for an account' utility and the database activity was a success. A new user

[appfuse-user] DaoJpa Merge with Primitive Values...

2007-01-11 Thread André Faria
Hi All, There is a problem in DaoJpa if you are using a primitive number (int, double, float, long) @Id the  method save always will call merge because the objId value will return 0, not null... That's the solution that I finded     Object objId = DaoUtils.getPersistentId(o);         if (ob

[appfuse-user] SiteMesh in Equinox

2007-01-11 Thread Scott Purcell
Possibly the wrong forum here ... but I am in a bit of a bind. I switched from tiles to sitemesh on a live mission, and I am having some trouble with the sitemesh only in one area. I am hoping someone here may assist me a bit. I have a "sitemesh decorator file" like so: ... man

Re: [appfuse-user] Appfuse 2.0 and Tomcat

2007-01-11 Thread Matt Raible
I've added these questions to the FAQ. If anyone would like to modify the answers or add new questions, you should be able to create an account and edit this page. http://appfuse.org/display/APF/FAQ Matt On 1/11/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: Hi, On 1/11/07, Fan <[EMAIL PROT

Re: [appfuse-user] validation

2007-01-11 Thread Matt Raible
If you're generating your ActionForms, this is caused by struts_form.xdt. It automatically adds @struts.validator to your set methods so nested objects are processed. You can manually remove this from the template and add it where you need it. Matt On 1/11/07, Oliver Raupach <[EMAIL PROTECTED]

Re: [appfuse-user] Watij - anyone using it?

2007-01-11 Thread Matt Raible
I haven't used it, but anything that only tests IE worries me. Of course, if you're developing for an intranet application that is IE-only, it probably won't be an issue. Another IE-only testing tool I've heard good things about is Watir. Selenium is a great tool for testing in both IE and Firef

Re: [appfuse-user] Interceptor doesn't log anything

2007-01-11 Thread Matt Raible
I think your question was pretty clear. The reason you haven't got an answer is likely because no one knows the answer. ;-) Of course, I could try to reproduce it myself, but I'm working on AppFuse 2.x documentation today. Matt On 1/11/07, mas <[EMAIL PROTECTED]> wrote: Have I been bann

[appfuse-user] validation

2007-01-11 Thread Oliver Raupach
Hi, I'm a little bit confused about the validation. If I turn on the validation, I got the message "null ist ein Pflichtfeld" (null is a required field). What's "null" ??? It looks like the message was generated because of a nested object: /** * @hibernate.many-to-one class="org.puk.mo

Re: [appfuse-user] Appfuse 2.0 and Tomcat

2007-01-11 Thread Michael Horwitz
Hi, On 1/11/07, Fan <[EMAIL PROTECTED]> wrote: I just glanced through the Appfuse 2.0 quick start guide at http://dev.appfuse.org/display/APF/AppFuse+QuickStart I am a little bit confused that there is no prerequisite to download Tomcat first ? there is no need to install tomcat ? The ma

Re: [appfuse-user] Developer in Trouble: episode 1223 :-( How to make relationships in AppFuse

2007-01-11 Thread Bryan Noll
You're going to have to be more specific. Post smaller portions of what you're trying to do, split up into different layers of the app. Post the exact stack traces and/or error messages you're getting. That kind of thing. Attila wrote: I'll give up!!! My problems: I have to write an appli

Re: [appfuse-user] Appfuse 2.0 and Tomcat

2007-01-11 Thread Bryan Noll
There's no pre-req for tomcat because maven 2 has a handy jetty plugin that allows you to build the project, automatically download jetty, deploy it to jetty and run the thing all in one fell swoop. 'mvn jetty:run' does this That being said, one is still perfectly capable of arriving at a war

[appfuse-user] Appfuse 2.0 and Tomcat

2007-01-11 Thread Fan
I just glanced through the Appfuse 2.0 quick start guide at http://dev.appfuse.org/display/APF/AppFuse+QuickStart I am a little bit confused that there is no prerequisite to download Tomcat first ? there is no need to install tomcat ? I read in other thread that by running "mvn integration-

[appfuse-user] Developer in Trouble: episode 1223 :-( How to make relationships in AppFuse

2007-01-11 Thread Attila
I'll give up!!! My problems: I have to write an application in wich users, datas, etc are Partner dependent ( Every POJO must to have a Partner connection ). Let's write a real example: Partner POJO: public class Partner extends BaseObject implements Serializable { protected Long id;

[appfuse-user] Watij - anyone using it?

2007-01-11 Thread koevet
Hello, I have recently joined a project where they use Watij (http://watij.com/) as a web application testing tool, similar to Canoo. It is essentially a tool to automate web testing, using IExplorer and Junit. This few lines should clarify: IE ie = new IE(); ie.start("http://www.google.com";); i

Re: [appfuse-user] doesn't work!!! * * * HELP * * *

2007-01-11 Thread Attila
Thanks Your reply, I've solved. The problem was, that developer must download an other modified acegi.jar ( only for faclets?) ... but nobody has written this fact in document!!! Only Mat said somthig like this... Itnaf wrote: > > Attila, > > The source bellow is for a page that works for me

Re: [appfuse-user] Interceptor doesn't log anything

2007-01-11 Thread maskkkk
Have I been banned or is my question just that unclear? Thank you, Andrew J. Leer mas wrote: > > I'm trying to test out a simple Interceptor: > org.springframework.aop.interceptor.PerformanceMonitorInterceptor > > I've ruled out that it has to do with my log4j.xml since I have another

Re: [appfuse-user] doesn't work!!! * * * HELP * * *

2007-01-11 Thread Ocram Itnaf
Attila, The source bellow is for a page that works for me: http://www.w3.org/1999/xhtml"; xmlns:c="http://java.sun.com/jstl/core"; xmlns:f="http://java.sun.com/jsf/core"; xmlns:h="http://java.sun.com/jsf/html"; xmlns:ui="http://java.sun.com/jsf/facelets"; xmlns:authz="http://aceg

Re: [appfuse-user] Matt Raible – Need your help

2007-01-11 Thread Matt Raible
Can you try running "mvn install" from the top level, and then running "mvn eclipse:eclipse" after that? Matt On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote: Matt, Thanks for all your help and information. My internet issue is resolved and it seems that connection is much stable. I have c

[appfuse-user] Could not determine type for: org.springframework.orm.hibernate.support.ClobStringType

2007-01-11 Thread ChenRanHow
Dear All I try to use Clob to store string over 4000 in oracle when db-prepare, I got the complain below BUILD FAILED D:\work\eclipse\workspace\ipgoogle\build.xml:892: Schema text failed: Could not determine type for: org.springframework. orm.hibernate.support.ClobStringType, for columns: [o

Re: [appfuse-user] Matt Raible – Need your help

2007-01-11 Thread Jaymin Shah
Matt, Thanks for all your help and information. My internet issue is resolved and it seems that connection is much stable. I have created the project using the Archetype “Struts 2 Modular” with following command. mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=ap pfus

Re: [appfuse-user] Matt Raible – Need your help

2007-01-11 Thread Matt Raible
If you run "mvn integration-test", the Maven Cargo plugin will download and install Tomcat 5.5.17 and run the integration tests against it. If you want to see your project running in a server, you have two options: 1. Run "mvn jetty:run-war" - this will fire up a Jetty instance and it will be av

Re: [appfuse-user] Matt Raible – Need your help

2007-01-11 Thread Jaymin Shah
Matt, Thanks for all your help. Could you please let me know what command I should be using for Tomcat deployment? regards, Jaymin Matt Raible-3 wrote: > > On second thought, I'd recommend you download 1.9.4 and work with > that. It'll be much more suitable for slow or unstable internet > c

Re: [appfuse-user] Matt Raible – Need your help

2007-01-11 Thread Jaymin Shah
If possible, please use artifact id as “RealTrade” and group id as “james”. Jaymin Matt Raible-3 wrote: > > What groupId and artifactId would you like me to use? Or do you know > enough about Maven 2 to change these after the project has been > created? > > Matt > > On 1/11/07, Jaymin Shah

Re: [appfuse-user] Matt Raible – Need your help

2007-01-11 Thread Matt Raible
What groupId and artifactId would you like me to use? Or do you know enough about Maven 2 to change these after the project has been created? Matt On 1/11/07, Jaymin Shah <[EMAIL PROTECTED]> wrote: I keep on getting "Connection timed out" errors. I would appreciate your providing the zip file

Re: [appfuse-user] Matt Raible – Need your help

2007-01-11 Thread Jaymin Shah
I keep on getting "Connection timed out" errors. I would appreciate your providing the zip file with build/test and war created using Appfuse 2.0 for Archetype "Struts 2 Basic" and "Struts 2 Modular" for Eclipse+Tomcat. Jaymin Shah wrote: > > I would be downloading it from one of the internet

Re: [appfuse-user] Matt Raible – Need your help

2007-01-11 Thread Wayland Chan
Ok, it's late my fault. "remoteRespitories" On 1/11/07, Matt Raible <[EMAIL PROTECTED]> wrote: What command are you using? It looks like you're missing a groupId and the remoteRepositories parameter. Matt On 1/11/07, Wayland Chan <[EMAIL PROTECTED]> wrote: > I gave it a try on a whim and go

Re: [appfuse-user] Matt Raible – Need your help

2007-01-11 Thread Matt Raible
What command are you using? It looks like you're missing a groupId and the remoteRepositories parameter. Matt On 1/11/07, Wayland Chan <[EMAIL PROTECTED]> wrote: I gave it a try on a whim and got the following error. [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in