Re: [appfuse-user] Error while running integration-test

2007-05-24 Thread fadhli
When I runned [jetty:run-war], everything seems to be running fine. However, my integration-test keeps on failing. I've done mvn -U, mvn clean install, I've even change the cargo port to 8080. I had also deleted my maven repository yet still the same problem is happening. How can I get my canoo we

Re[2]: [appfuse-user] Error while running integration-test

2007-05-24 Thread bUg.
I have the same problem. look attachment. [INFO] Scanning for projects... [INFO] [INFO] Building AppFuse Spring MVC Application [INFO]task-segment: [integration-test] [INFO] -

[appfuse-user] svn: PROPFIND request failed

2007-05-24 Thread Pi, Miao
Hi, Matt When I typed in mvn appfuse:full-source on my struts2 basic archetype project, I got this error. What could have caused this? Am I doing anything wrong? Or is it related to the internet connection? But I can get the dependencies without any problem. [INFO] [appfuse:full-source] [INFO] [

[appfuse-user] Running Jetty via maven with JOTM

2007-05-24 Thread sxm
Wondering if any one has tried JOTM with Jetty and starting jetty from maven using mvn jetty:run. I have looked at various places (e.g. http://docs.codehaus.org/display/JETTY/JOTM codeHaus ), I am not sure what is missing. I have added carol.properties in my resource folder and here is how the p

Re: Re[2]: [appfuse-user] Error while running integration-test

2007-05-24 Thread Michael Horwitz
I have seen this before on Windows. At least I can reproduce on my machine at work, which connects to the internet via a proxy. In my case I found it is Maven related, and can be solved by running in offline mode. Warning: it takes a few iterations to get everything working.: 1) Run the normal co

Re: Re[2]: [appfuse-user] Error while running integration-test

2007-05-24 Thread fadhli
Thanks Michael, I did what you suggested on my machine and it all works perfectly alright. Do you have any idea how to configure your maven to get it work without the -o switch? On 5/24/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: I have seen this before on Windows. At least I can reproduce o

Re: Re[2]: [appfuse-user] Error while running integration-test

2007-05-24 Thread Michael Horwitz
Not yet. Thought about trying to track it down, but kind of lost the will to live - Maven source code can be a bit spaghetti like. It all works fine on Linux, so do most of my development there :-). Mike. On 5/24/07, fadhli <[EMAIL PROTECTED]> wrote: Thanks Michael, I did what you suggested on

Re: [appfuse-user] a few struts2.x tag don't work within appfuse2.0M4

2007-05-24 Thread jneville
Hi all, I'm also having a problem with rendering the 'datetimepicker' tag in AppFuse. I'm getting an Ajax error :- DEBUG: dojo.widget.Parse: error:TypeError: node has no properties I then followed the instructions in this thread and I'm getting the following error now :- FATAL exception raised

[appfuse-user] displaytag_zh_CN.properties works not well

2007-05-24 Thread ChengJiaguo
is there something wrong in displaytag_zh_CN.properties ? :-( 共找到2条users记录,显示所有users记录。 用户名 全名 E-Mail

Re: [appfuse-user] displaytag_zh_CN.properties works not well

2007-05-24 Thread hiugong.gwok
Take a look at this thread: http://www.nabble.com/-JIRA--Created%3A-%28APF-747%29-Unrecognizable-code-in-chinese-version-t3726361s2369.html Basically, check the pom.xml file of your web project, find where it says "ApplicationResources_zh*.properties", then put "diaplayTag_zh*" along with it. --

[appfuse-user] Exclusion of appfuse-data-common in M5

2007-05-24 Thread Tobias Vogel
Hello, I just tried to migrate from M4 to M5, and had some problems with modified core classes. In M4 you had to add an exclusion of "appfuse-data-common" to the dependency "appfuse-service". In my M5 archetype i did the same, but even after a full rebuild, the appfuse-data-common package still ge

[appfuse-user] Need help understanding Spring/Hibernate and LazyLoad

2007-05-24 Thread kla
I'm just getting back to Hibernate after being away a few years and have used Spring though not with Hibernate. I'm having trouble understanding an issue around lazy loading collection and was looking for some help. I have a project table and a folder table. It is an optional 1 to many relation

Re: [appfuse-user] tutorial PersonControllerTest AsertionFailure (modular spring MVC)

2007-05-24 Thread marshall
Hmm; Matt, this may be where my naivete shows itself. I could add something like the following to PersonController's handleRequest method as you suggest below: return new ModelAndView().addAllObjects(personManager.getAll()); I also tested the contents of personManager as follows

Re: [appfuse-user] Need help understanding Spring/Hibernate and LazyLoad

2007-05-24 Thread Michael Horwitz
I assume from your description below that you are storing the project in the user's session? I would recommend passing the project id in the user request for the set of folders, and loading it that way instead. Mike. On 5/24/07, kla <[EMAIL PROTECTED]> wrote: I'm just getting back to Hibernat

Re: [appfuse-user] Need help understanding Spring/Hibernate and LazyLoad

2007-05-24 Thread kla
No. Sorry for any confusion. I'm not storing anything in the session. I'm displaying the project name but not the id, but its there on the page. When the user clicks a project, that id is then passed to the method getProject in the request. Michael Horwitz wrote: > > I assume from your des

Re: [appfuse-user] Need help understanding Spring/Hibernate and LazyLoad

2007-05-24 Thread Michael Horwitz
Could you check that the OpenSessionInView filter is enabled in your web.xml? It will make sure the session stays open long enough for the view to access lazy loaded collections. More info on using this filter: http://tinyurl.com/2rao5u Mike On 5/24/07, kla <[EMAIL PROTECTED]> wrote: No. So

Re: [appfuse-user] Exclusion of appfuse-data-common in M5

2007-05-24 Thread Matt Raible
If you add an exclusion to appfuse-${dao.framework} instead of appfuse-service, does it fix the problem? Maybe we just need to update our instructions. Also, if you're using Hibernate, you don't need to exclude/include appfuse-${dao.framework} in your pom.xml - it's only needed if you want to swit

Re: [appfuse-user] Problem with editProfile->userForm infinite reload/refresh loop

2007-05-24 Thread Matt Raible
Here's the latest editProfile.xhtml code from 2.0 M5 - does it work for you? http://www.w3.org/1999/xhtml"; xmlns:f="http://java.sun.com/jsf/core"; xmlns:h="http://java.sun.com/jsf/html";> var f = document.forms['userProfile']; f.elements['userProfile:_idcl'].value='u

[appfuse-user] one user with two addresses

2007-05-24 Thread Fan
I want to have residential address & company address for user, how should the JPA annotation look like in the user POJO ? or is that possible ?? Anyone can point me to Hibernate JPA quick start guide ? Thank in advance -- View this message in context: http://www.nabble.com/one-user-with-two-ad

Re: [appfuse-user] tutorial PersonControllerTest AsertionFailure (modular spring MVC)

2007-05-24 Thread Matt Raible
Do you have any Person records in your database? Maybe you forgot to add them into sample-data.xml? You could manually add some as part of your test using PersonManager.save(). Matt On 5/24/07, marshall <[EMAIL PROTECTED]> wrote: Hmm; Matt, this may be where my naivete shows itself. I could

Re: Re[2]: [appfuse-user] Error while running integration-test

2007-05-24 Thread Matt Raible
You could use Cygwin and set an alias so "mvn -o" is aliased to "m". That makes it easier to run Maven in offline mode. I haven't seen this issue myself, but I also use Cygwin on Windows. If we switched from Canoo WebTest to Selenium, it may solve this issue. ;-) Matt On 5/24/07, Michael Horwi

Re: [appfuse-user] svn: PROPFIND request failed

2007-05-24 Thread Matt Raible
The URL seems to work (with guest username and no password): https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M5/data/common/src/ Can you try running it again? Are you behind a proxy server? Can you navigate to the URL above OK? Matt On 5/24/07, Pi, Miao <[EMAIL PROTECTED]> wrote:

[appfuse-user] Appfuse Spring Basoc 2.0-M5 - Dispatcher-servlet.xml Missing

2007-05-24 Thread Sandhu
Hi, I setup Spring Basic 2.0 M5 last night. While working on the tutorial, I found out that dispatcher-servlet.xml is missing. I thought it was fixed in 2.0 M4. Please help me I really want this moving forward for our project. Thanks -- View this message in context: http://www.nabble.com/

[appfuse-user] Appfuse Spring Core 2.0 M5 mvn compile hibernate3:hbm2ddl does not work

2007-05-24 Thread Sandhu
HI, I have setup Spring Core 2.0 M5 with Maven 2.0.6. If I run mvn compile hibernate3:hbm2ddl from the core directory, it says the that hibernate.cfg.xml is not found, however, it is located in the ../resources directory. I thought it could be Maven 2.0.6 issue, based on forum posting for 2.0.M

Re: [appfuse-user] Appfuse Spring Core 2.0 M5 mvn compile hibernate3:hbm2ddl does not work

2007-05-24 Thread Matt Raible
Where are you running "mvn compile" from? It works for me if I do the following: 1. Create the project using: mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-modular-spring -DarchetypeVersion=2.0-m5 -DgroupId=com.company -DartifactId=modular-spring -DremoteRepo

Re: [appfuse-user] Appfuse Spring Basoc 2.0-M5 - Dispatcher-servlet.xml Missing

2007-05-24 Thread Matt Raible
It works for me. You might want to rm -r ~/.m2/repository/org/appfuse to make sure you're getting the latest sources. $rm -r ~/.m2/repository/org/appfuse $mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-spring -Dr emoteRepositories=http://static.appfuse.org

Re: [appfuse-user] a few struts2.x tag don't work within appfuse2.0M4

2007-05-24 Thread Matt Raible
Did you add to your element? Matt On 5/24/07, jneville <[EMAIL PROTECTED]> wrote: Hi all, I'm also having a problem with rendering the 'datetimepicker' tag in AppFuse. I'm getting an Ajax error :- DEBUG: dojo.widget.Parse: error:TypeError: node has no properties I then followed the instru

Re: [appfuse-user] one user with two addresses

2007-05-24 Thread Matt Raible
JPA 101? http://jroller.com/page/cmaki On 5/24/07, Fan <[EMAIL PROTECTED]> wrote: I want to have residential address & company address for user, how should the JPA annotation look like in the user POJO ? or is that possible ?? Anyone can point me to Hibernate JPA quick start guide ? Thank in

Re: [appfuse-user] Running Jetty via maven with JOTM

2007-05-24 Thread Matt Raible
I would suggest asking this on the Jetty mailing list. http://www.nabble.com/Jetty-Support-f61.html They're usually pretty responsive. Matt On 5/24/07, sxm <[EMAIL PROTECTED]> wrote: Wondering if any one has tried JOTM with Jetty and starting jetty from maven using mvn jetty:run. I have look

AW: [appfuse-user] Exclusion of appfuse-data-common in M5

2007-05-24 Thread Tobias Vogel
Hi Matt, thanks for your reply. Yes this works too, I should've had a look on the dependency tree. So it's just a small documentation update. I still have a small issue left now: I modified Address to be a mapped entity (e.g. to allow multiple addresses for users/persons). This works well for "

Re: [appfuse-user] displaytag_zh_CN.properties works not well

2007-05-24 Thread Matt Raible
Is there a bug open for this? I'd like to fix it in the next release. Thanks for posting the workaround. Matt On 5/24/07, hiugong.gwok <[EMAIL PROTECTED]> wrote: Take a look at this thread: http://www.nabble.com/-JIRA--Created%3A-%28APF-747%29-Unrecognizable-code-in-chinese-version-t3726361s

Re: [appfuse-user] Appfuse Spring Basoc 2.0-M5 - Dispatcher-servlet.xml Missing

2007-05-24 Thread Sandhu
Thanks. I really appreciate your help. It is working for me now. Sandhu wrote: > > Hi, > > I setup Spring Basic 2.0 M5 last night. While working on the tutorial, I > found out that dispatcher-servlet.xml is missing. I thought it was fixed > in 2.0 M4. > > Please help me I really want thi

Re: [appfuse-user] Appfuse Spring Core 2.0 M5 mvn compile hibernate3:hbm2ddl does not work

2007-05-24 Thread Sandhu
Thanks it is working now. Cleaning the repository make it happen. Sandhu wrote: > > HI, > > I have setup Spring Core 2.0 M5 with Maven 2.0.6. If I run mvn compile > hibernate3:hbm2ddl from the core directory, it says the that > hibernate.cfg.xml is not found, however, it is located in the .

Re: [appfuse-user] Exclusion of appfuse-data-common in M5

2007-05-24 Thread Matt Raible
I believe there's a bug in the hibernate3 plugin when you're running mvn:site. It may be fixed in a SNAPSHOT release. In the meantime, if you run "mvn site -Dmaven.test.skip=true", does that work? Matt On 5/24/07, Tobias Vogel <[EMAIL PROTECTED]> wrote: Hi Matt, thanks for your reply. Yes this

[appfuse-user] dbunit CLEAN_INSERT - fails with self linked entity relation

2007-05-24 Thread ros
Hi! DBUnit fails like: Embedded error: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`items/reservation`, CONSTRAINT `FKA2D543CC3DA11A3C` FOREIGN KEY (`parent_id`) REFERENCES `reservation` (`id`)) I ha

[appfuse-user] Dojo-Struts2 ... datetimepicker, doubleselect...wont work for us.

2007-05-24 Thread APenrose
Hi Guys, Our environment: Appfuse 2 m4, struts2 with dojo 0.4 i think and spring Problem: We are trying to get the datetimepicker and doubleselect working, but they just wont work for us. Illustrated by: With datatimepicker we are getting the following erors as an exception: There is no Action

Re: [appfuse-user] dbunit CLEAN_INSERT - fails with self linked entity relation

2007-05-24 Thread Matt Raible
You can turn off foreign key constraints while inserting by adding "sessionVariables=FOREIGN_KEY_CHECKS=0" to your JDBC URL. http://raibledesigns.com/rd/entry/dbunit_tip_turn_off_foreign Hope this helps, Matt On 5/24/07, ros <[EMAIL PROTECTED]> wrote: Hi! DBUnit fails like: Embedded error:

[appfuse-user] Appfuse Spring Basoc 2.0-M5 - mvn integration-test does not work

2007-05-24 Thread Sandhu
Hi, I ran the following steps and mvn integration-test does not work. I think getting the full source created some issues. 1. Create the project using: mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-modular-spring -DarchetypeVersion=2.0-m5 -DgroupId=com.compan

Re: [appfuse-user] Dojo-Struts2 ... datetimepicker, doubleselect...wont work for us.

2007-05-24 Thread Matt Raible
Do you have any better success if you add to a tag? What about if you disable SiteMesh by commenting out the filter-mapping in web.xml? Matt On 5/24/07, APenrose <[EMAIL PROTECTED]> wrote: Hi Guys, Our environment: Appfuse 2 m4, struts2 with dojo 0.4 i think and spring Problem: We are tryin

Re: [appfuse-user] Appfuse Spring Basoc 2.0-M5 - mvn integration-test does not work

2007-05-24 Thread Matt Raible
The full-source plugin currently does not work on modular archetypes. We hope to fix this in RC1, but you're more than welcome to dig into the code and try to fix it now. http://tinyurl.com/ytkaw6 Matt On 5/24/07, Sandhu <[EMAIL PROTECTED]> wrote: Hi, I ran the following steps and mvn integra

[appfuse-user] Free PDF Book: Starting Struts 2

2007-05-24 Thread Matt Raible
FYI... http://www.infoq.com/minibooks/starting-struts2 Matt -- http://raibledesigns.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] Dojo-Struts2 ... datetimepicker, doubleselect...wont work for us.

2007-05-24 Thread APenrose
I have the s:head tag in the decorator as follows: * <%@ include file="/common/taglibs.jsp"%> http://www.w3.org/1999/xhtml"; xml:lang="en"> <%@ include file="/common/meta.jsp" %> | " /> " />

AW: [appfuse-user] Exclusion of appfuse-data-common in M5

2007-05-24 Thread Tobias Vogel
Actually, the parameter does not help. The strange thing about this is, that this task starts two times while during the generation of the core-site, with the first one completing without any problem, but the second time failing. I just saw, there's actually a warning just before hmb2ddl starts

Re: [appfuse-user] Exclusion of appfuse-data-common in M5

2007-05-24 Thread Matt Raible
Can you try creating new project instead of using your upgraded one? If you create a new one, can you run "mvn install site" from the top level OK? Matt On 5/24/07, Tobias Vogel <[EMAIL PROTECTED]> wrote: Actually, the parameter does not help. The strange thing about this is, that this task st

Re: [appfuse-user] Dojo-Struts2 ... datetimepicker, doubleselect...wont work for us.

2007-05-24 Thread Matt Raible
I believe some folks on this list have it working, so hopefully one of them will pipe up. I'd like to figure out what's causing the problem and integrate a solution directly in the next version of AppFuse. If it involves distributing Dojo outside of struts.jar, I'm fine with that since they recom

Re: [appfuse-user] Dojo-Struts2 ... datetimepicker, doubleselect...wont work for us.

2007-05-24 Thread J. David Mendoza
The "problem" is the StaticFilter, I've tried using Dojo outside of the struts.jar, but haven't got it working "yet"... What I've been doing is to change the *.html mapping of the hole project and then just disable the StaticFilter... David M. Matt Raible wrote: I believe some folks on this

Re: [appfuse-user] displaytag_zh_CN.properties works not well

2007-05-24 Thread hiugong.gwok
I believe APF-747 is still opened, and there is a turkish version of the same problem in JIRA. mraible wrote: > > Is there a bug open for this? I'd like to fix it in the next release. > Thanks for posting the workaround. > > Matt > > On 5/24/07, hiugong.gwok <[EMAIL PROTECTED]> wrote: >> >>

[appfuse-user] Cannot resolve reference to bean 'personManager' while setting bean property 'personManager'

2007-05-24 Thread Sandhu
HI, Spring Modular: If I run mvn test -Dtest=PersonControllerTest it works but if I run mvn jetty:run-war Test set: org.appfuse.tutorial.webapp.controller.PersonControllerTest --- Tests run: 1, Failures: 0, Errors: 1

[appfuse-user] Security Annotation Framework

2007-05-24 Thread Matt Raible
FYI... I haven't looked at this project myself, but it may be interesting for those looking to add more fine-grained security to their projects. Matt -- Forwarded message -- From: Martin Krasser <[EMAIL PROTECTED]> Date: Apr 14, 2007 12:13 AM Subject: Re: [Acegisecurity-develope

Re: [appfuse-user] Cannot resolve reference to bean 'personManager' while setting bean property 'personManager'

2007-05-24 Thread Matt Raible
Make sure you install core using "mvn install". Matt On 5/24/07, Sandhu <[EMAIL PROTECTED]> wrote: HI, Spring Modular: If I run mvn test -Dtest=PersonControllerTest it works but if I run mvn jetty:run-war Test set: org.appfuse.tutorial.webapp.controller.PersonControllerTest -

Re: [appfuse-user] Cannot resolve reference to bean 'personManager' while setting bean property 'personManager'

2007-05-24 Thread Sandhu
Thanks. It is working now. mraible wrote: > > Make sure you install core using "mvn install". > > Matt > > On 5/24/07, Sandhu <[EMAIL PROTECTED]> wrote: >> >> HI, >> >> Spring Modular: >> >> If I run mvn test -Dtest=PersonControllerTest >> >> it works but if I run >> >> mvn jetty:run-war >> >

[appfuse-user] Getting Resin to work with Appfuse 1.9.4 (Spring MVC)/Resin 3.1.1 (Works with some minimal config tweaks)

2007-05-24 Thread rfisk
I have been looking at resin lately due to problems I've had with setting up virtual hosts in tomcat/apache. The reason I like resin so much is that it will do *dynamic* virtual hosts. And it does this well without any connectors required or with any requirement that I pre-configure my virtual ho

[appfuse-user] ACEGI exception

2007-05-24 Thread nmall
Hi, When I try to login on the login page, my appfuse based application gives me the following error. It is according to ACEGI docs an internal authentication error. It doesn't even go into my UserAction or other classes. Any idea what ths is Thanks a lot!! ( The user here is mraible as I tried

Re: [appfuse-user] ACEGI exception

2007-05-24 Thread Matt Raible
Do you have org.appfuse.model.User as a mapped class in your hibernate.cfg.xml file? On 5/24/07, nmall <[EMAIL PROTECTED]> wrote: Hi, When I try to login on the login page, my appfuse based application gives me the following error. It is according to ACEGI docs an internal authentication erro

Re: [appfuse-user] ACEGI exception

2007-05-24 Thread nmall
Yes, I do !! It actually shows me errors if I don't have something mapped right. Thanks!! mraible wrote: > > Do you have org.appfuse.model.User as a mapped class in your > hibernate.cfg.xml file? > > On 5/24/07, nmall <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> When I try to login on the log

Re: [appfuse-user] ACEGI exception

2007-05-24 Thread Matt Raible
Then it must be loading hibernate.cfg.xml from a different location than the one you think it is. I'd search your classpath, including JARs that you might suspect its in. Matt On 5/24/07, nmall <[EMAIL PROTECTED]> wrote: Yes, I do !! It actually shows me errors if I don't have something mapped

Re: [appfuse-user] Need help understanding Spring/Hibernate and LazyLoad

2007-05-24 Thread kla
No. I did not have that configured. After some additional reading. I think I know what I need to do. Thanks for the help! Michael Horwitz wrote: > > Could you check that the OpenSessionInView filter is enabled in your > web.xml? > It will make sure the session stays open long enough for th

Re: [appfuse-user] canoo web test failed with "Cannot find function findFirstElement"

2007-05-24 Thread Matt Raible
On 4/13/07, Den Orlov <[EMAIL PROTECTED]> wrote: mraible wrote: Does findFirstElement exist in prototype.js? If so, you might try turning JavaScript off for this test. Just add the following before : Yep, and this helped. Should I file jira defect? Then I've get: [INFO] Error executing ant tas

Re: [appfuse-user] Database Encryption Tutorial

2007-05-24 Thread Matt Raible
Thanks Ivan - we really appreciate it! This looks like a very well written tutorial. Best Regards, Matt On 4/15/07, Ivan Garcia <[EMAIL PROTECTED]> wrote: Hi all, there is a new tutorial on the wiki about database encryption http://appfuse.org/display/APF/Database+Encryption+with+Jasypt-Hibe

Re: [appfuse-user] Dojo-Struts2 ... datetimepicker, doubleselect...wont work for us.

2007-05-24 Thread APenrose
I change the .html struts action to something else and it dojo worked alright. Thanks for that !! I would like to retain the .html extension however and have been looking at this dojofilter? http://issues.appfuse.org/browse/APF-431#action_11458 Is there an example of how this filter can be int

Re: [appfuse-user] Dojo-Struts2 ... datetimepicker, doubleselect...wont work for us.

2007-05-24 Thread Matt Raible
The DojoFilter in the issue below was used as a basis for the StaticFilter. It sounds like it's not working as expected. Matt On 5/24/07, APenrose <[EMAIL PROTECTED]> wrote: I change the .html struts action to something else and it dojo worked alright. Thanks for that !! I would like to reta

[appfuse-user] appfuse 1.9.4 app in jboss cluster

2007-05-24 Thread J. David Mendoza
I'm trying to deploy an appfuse 1.9.4 app into a jboss cluster, but I get into trouble as soon as I try to log in, if I use a bad login it does what is supposed to do (show the warning), but when a use a good login it just shows me the login page again with the username in it and a blank passwo

Re: [appfuse-user] UniversalManager & UserManager questions

2007-05-24 Thread Matt Raible
On 4/20/07, Nathan Anderson <[EMAIL PROTECTED]> wrote: Howdy folks, I have a pretty simple AppFuse 2.0-M4 Struts 2 app that has an object that has a ManyToOne relationship to User. The idea is this object is created by or owned by the user who added it [only an admin can edit the user, yadda ya

Re: [appfuse-user] appfuse 1.9.4 app in jboss cluster

2007-05-24 Thread Matt Raible
This is probably caused by JBoss's Unified ClassLoader. If acegi-security.jar is in your WEB-INF/lib directory, you might try copying it to JBoss's server/lib directory (or whereever it's located). Matt On 5/24/07, J. David Mendoza <[EMAIL PROTECTED]> wrote: I'm trying to deploy an appfuse 1.9.

Re: [appfuse-user] memcached with appfuse app?

2007-05-24 Thread Matt Raible
I know Sun uses memcached for with Roller (which uses Hibernate). You might try posting this question to the roller mailing list. Also, I recently saw the following claiming that EhCache is much faster than memcached: http://gregluck.com/blog/archives/2007/05/comparing_memca.html Matt On 4/20/

Re: [appfuse-user] appfuse 1.9.4 app in jboss cluster

2007-05-24 Thread J. David Mendoza
Thanx... but it didn't work... I did find this: http://forum.springframework.org/showthread.php?t=34627 and got it working with jdk 1.5 though... David M. Matt Raible wrote: This is probably caused by JBoss's Unified ClassLoader. If acegi-security.jar is in your WEB-INF/lib directory, you mig

Re: [appfuse-user] struts2: make subclass of StrutsTypeConverter Spring-aware

2007-05-24 Thread Matt Raible
Did you find a solution for this problem? If not, I'd suggest posting it to the Struts mailing list. http://www.nabble.com/Struts---User-f206.html Matt On 4/21/07, wiradikusuma <[EMAIL PROTECTED]> wrote: hi, i created a PersonConverter subclassing StrutsTypeConverter. in that class, i have r

Re: [appfuse-user] How to hide and/or disable menu items on different pages for the same logged in user?

2007-05-24 Thread Matt Raible
You can show/hide Menus based on user roles thanks to the RolesPermissionsAdapter that's automatically exposed to Struts Menu. The following article might help you write your own adapter that keys showing/hiding logic based on something else. http://struts-menu.sourceforge.net/security.html Matt

Re: [appfuse-user] How to pass/access complete form on menu item click?

2007-05-24 Thread Matt Raible
I would add an Edit Password link (or button) to the table itself (in a column). It seems somewhat convoluted to select something in the table and then go to the menu to perform an action on that row. Matt On 4/20/07, snehalsao <[EMAIL PROTECTED]> wrote: I am using AppFuse and Struts menu 2.4.

Re: [appfuse-user] appfuse 1.9.4 app in jboss cluster

2007-05-24 Thread Matt Raible
Were you using JDK 6? That sounds like the cause of the problem (at least according to the thread below). Glad to hear you figured out a solution. Matt On 5/24/07, J. David Mendoza <[EMAIL PROTECTED]> wrote: Thanx... but it didn't work... I did find this: http://forum.springframework.org/sho

Re: [appfuse-user] location of generated files by hbm2java

2007-05-24 Thread Matt Raible
I'd suggest using hbm2java as a one-time code generation technique, rather than executing it each time for your build. To solve your problem, you could also move it into the "core" module so it only executes for that project. I'm guessing you don't need to generate code for both modules. If you're

Re: [appfuse-user] UniversalManager & UserManager questions

2007-05-24 Thread Nathan Anderson
Yeah, userId was a Long. I haven't had a chance to upgrade the project to M5 yet, but when I do I'll try this again. Nathan - Original Message - From: "Matt Raible" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Thursday, May 24, 2007 3:55:55 PM (GMT-0800) America/Los_Angele

Re: [appfuse-user] datepicker problems in appfuse 2m5

2007-05-24 Thread Will Berger
Fyi I did this in a test environment. It wasnt an upgrade. fresh new build just for this. I tried putting the dojo javascript error message. dojo not defined dojo.require("dojo.widget.DatePicker"); Will - Will Berger wrote: > > I can't get the datepicker

[appfuse-user] datepicker problems in appfuse 2m5

2007-05-24 Thread Will Berger
I can't get the datepicker to display. I thought this was fixed in 2m5. What am I doing wrong. <%@ include file="/common/taglibs.jsp"%> My page Div 1 Will -- View this message in context: http://www.nabble.com/datepicker-problems-in-appfuse-2m5-tf3813

[appfuse-user] ajax and datepicker on 2m4

2007-05-24 Thread Will Berger
was wondering if anyone has gotten the struts2 datepicker and the ajax working together on the same page. If i add the ajax tags, the datepicker stop working. If I take out datepicker and the dojo include, the ajax tags start working. Any help much appreciated. Will -- View this message in

Re: [appfuse-user] datepicker problems in appfuse 2m5

2007-05-24 Thread Matt Raible
I'm looking into this now. Matt On 5/24/07, Will Berger <[EMAIL PROTECTED]> wrote: Fyi I did this in a test environment. It wasnt an upgrade. fresh new build just for this. I tried putting the dojo javascript error message. dojo not defined dojo.require("dojo.widget.DatePicker");

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-24 Thread Matt Raible
Do you have example code so I can try to reproduce this problem locally? Thanks, Matt On 5/24/07, Will Berger <[EMAIL PROTECTED]> wrote: was wondering if anyone has gotten the struts2 datepicker and the ajax working together on the same page. If i add the ajax tags, the datepicker stop worki

Re: [appfuse-user] datepicker problems in appfuse 2m5

2007-05-24 Thread Matt Raible
It looks like it might be a bug in Struts 2.0.6 - I get a 404 (via Firebug) for the following files: http://localhost:8080/struts/dojo/src/i18n/calendar/nls/en-us/gregorian.js http://localhost:8080/struts/dojo/src/i18n/calendar/nls/en/gregorianExtras.js http://localhost:8080/struts/dojo/src/i18n/

Re: [appfuse-user] ACEGI exception

2007-05-24 Thread nmall
Hi, I am getting an error "Table not found" and I find that mysql is case-sensitive. What I don't understand from the DEBUG messages below is "why is the error showing lower case database instance name while the query itself shows UPPER CASE database name "SA". Thanks for any insights!!! DEBU

Re: [appfuse-user] About [appfuse:gen-model]

2007-05-24 Thread Matt Raible
Try running "mvn compile" first. On 5/24/07, fadhli <[EMAIL PROTECTED]> wrote: Yest but only Address, Role & User object files are generated. I earlier created an additonal table name product but no object created for product. On 5/25/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > Did the file

Re: [appfuse-user] About [appfuse:gen-model]

2007-05-24 Thread Matt Raible
Also, make sure "product" still exists in your database. On 5/24/07, Matt Raible <[EMAIL PROTECTED]> wrote: Try running "mvn compile" first. On 5/24/07, fadhli <[EMAIL PROTECTED]> wrote: > Yest but only Address, Role & User object files are generated. I earlier > created an additonal table name

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-24 Thread Matt Raible
I've tried just about everything to get the tag to work in 2.0 M5. I've disabled SiteMesh (as well as all other filters), changed the extension to .action, copied the dojo files locally and turned off static rendering using . Nothing works. Does anyone have a example that works with any workarou

Re: [appfuse-user] About [appfuse:gen-model]

2007-05-24 Thread fadhli
Yest but only Address, Role & User object files are generated. I earlier created an additonal table name product but no object created for product. On 5/25/07, Matt Raible <[EMAIL PROTECTED]> wrote: Did the files get generated in target/appfuse? On 5/24/07, fadhli <[EMAIL PROTECTED]> wrote: >

Re: [appfuse-user] svn: PROPFIND request failed

2007-05-24 Thread Matt Raible
I got this error a few minutes ago - when I try to access appfuse.dev.java.net in my browser, it didn't work. It's still unavailable for me - can you see it from where you are? The guest username and black password is hard-coded into this plugin. Matt On 5/24/07, Pi, Miao <[EMAIL PROTECTED]> wr

Re: [appfuse-user] svn: PROPFIND request failed

2007-05-24 Thread Pi, Miao
Hi, Matt Thank you for your reply! I've tried to access the URL, and with a guest username, I am able to see the content. So now the problem is: how can I specify the username in the command? Kinda silly question, sorry. Thanks. On 5/24/07, Matt Raible <[EMAIL PROTECTED]> wrote: The URL s

[appfuse-user] About [appfuse:gen-model]

2007-05-24 Thread fadhli
Hi, i just run the appfuse:gen-model plugin. The codes are successfully generated from the table. But in the message stack trace, it tells me that it's looking for a database.properties file. The only file i see in that folder is jdbc.properties. So is there some configuration that I need to do?

Re: [appfuse-user] About [appfuse:gen-model]

2007-05-24 Thread Matt Raible
Did the files get generated in target/appfuse? On 5/24/07, fadhli <[EMAIL PROTECTED]> wrote: Hi, i just run the appfuse:gen-model plugin. The codes are successfully generated from the table. But in the message stack trace, it tells me that it's looking for a database.properties file. The only fi

Re: [appfuse-user] LazyInitializationException and JSF web JUnit tests

2007-05-24 Thread Matt Raible
See the following for a solution: http://www.jroller.com/page/kbaum?entry=orm_lazy_initialization_with_dao You'll want to scroll down to the "Being Lazy in your Unit Tests" section at the bottom. Another solution is to turn off lazy loading in your mapping (annotations or XDoclet). Matt On 4/

Re: [appfuse-user] About [appfuse:gen-model]

2007-05-24 Thread fadhli
Still no file generated from my "product" table. Do I have to configure some files to make it work right? On 5/25/07, Matt Raible <[EMAIL PROTECTED]> wrote: Also, make sure "product" still exists in your database. On 5/24/07, Matt Raible <[EMAIL PROTECTED]> wrote: > Try running "mvn compile" f

Re: [appfuse-user] About [appfuse:gen-model]

2007-05-24 Thread Matt Raible
Can you send me your create table SQL so I can try to reproduce? Thanks, Matt On 5/24/07, fadhli <[EMAIL PROTECTED]> wrote: Still no file generated from my "product" table. Do I have to configure some files to make it work right? On 5/25/07, Matt Raible < [EMAIL PROTECTED]> wrote: > Also, ma

Re: [appfuse-user] Problem in IE using appfuse and thickbox(and jquery)

2007-05-24 Thread Matt Raible
When you say the menu doesn't work, what do you mean? Do you have a screenshot? Matt On 4/24/07, adriel manalansan <[EMAIL PROTECTED]> wrote: I added a thickbox as a feature in my project and that works fine in firefox but when I tested it in IE, my velocity menu didn't works. I added thickbox

Re: [appfuse-user] problem about renaming a webapp name

2007-05-24 Thread Matt Raible
You shouldn't need * on the end of your URLs. We use that in Acegi's configuration to include any query strings that might be passed in. Matt On 5/3/07, Haotian Sun <[EMAIL PROTECTED]> wrote: The following is the old menu-config.xml, basically I removed the "roles" from each menu item and use

Re: [appfuse-user] problem of deleting selected users in display tag

2007-05-24 Thread Matt Raible
Did you get this figured out? I believe you name all the checkboxes with the same name and give them different values, you may be able to use: String selected[] = request.getParameterValues(name); Matt On 4/28/07, jithesh <[EMAIL PROTECTED]> wrote: haii... I am using Display tag to lis

Re: [appfuse-user] tapestry - contrib table sorting

2007-05-24 Thread Matt Raible
I don't know the answer to this, you might try asking the Tapestry folks. Matt On 4/30/07, Yohan Yudanara <[EMAIL PROTECTED]> wrote: Hi.. I'm using tapestry 4.0.1 included in Appfuse 1.9.4 why does the sorting on contrib table not working (ascending to descending or descending to ascending) wh

Re: [appfuse-user] svn: PROPFIND request failed

2007-05-24 Thread Pi, Miao
Hi, Matt Yes, I can't access appfuse.dev.java.net. Got a 403. But I am still able to access https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M5/data/common/src/ . Thanks. Miao On 5/25/07, Matt Raible <[EMAIL PROTECTED]> wrote: I got this error a few minutes ago - when I try to acc

Re: [appfuse-user] svn: PROPFIND request failed

2007-05-24 Thread Pi, Miao
Hi, Matt Wow, I succeeded in a retry. Matt, You have done something, right? Anyway, thanks! Miao On 5/25/07, Pi, Miao <[EMAIL PROTECTED]> wrote: Hi, Matt Yes, I can't access appfuse.dev.java.net. Got a 403. But I am still able to access https://appfuse.dev.java.net/svn/appfuse/tags/APPFUS

Re: [appfuse-user] Dojo-Struts2 ... datetimepicker, doubleselect...wont work for us.

2007-05-24 Thread APenrose
hi matt, do you not say down the bottom that you got this working for struts 2 and tapestry and that jsf is the only issue? really want to keep that html extension... ;-) Andrew mraible wrote: > > The DojoFilter in the issue below was used as a basis for the > StaticFilter. It sounds like it

Re: [appfuse-user] How to customize login page

2007-05-24 Thread preman
Hey Luke, This is really good... I will look into the codes u gave me... For now... I need to just build a front page ... That takes - a mobile number - a password and verify it then login... Once logged in... I want to just make the user publish so post or bulletin board... For now... The

Re: [appfuse-user] About [appfuse:gen-model]

2007-05-24 Thread fadhli
Here's the table schema CREATE TABLE `kaakdb`.`product` ( `product_id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, `product_name` VARCHAR(45) NOT NULL, `product_serial_no` VARCHAR(45) NOT NULL, `product_description` VARCHAR(45) NOT NULL, PRIMARY KEY (`product_id`) ) ENGINE = InnoDB; On 5/25/0