Re: [appfuse-user] Redirect Action doesn't like in Struts 2 archetype

2007-06-21 Thread sarat.pediredla
Anyone with an idea of how to do this? I have tried changing everything that remotely references struts.xml but it does not seem to work. if I ask to exclude struts.xml completely, then my target doesnt have a struts.xml which is a pain. How do I ask the build process not to replace my lovely $

[appfuse-user] Saving Beans with One-to-One Shared Primary Keys

2007-06-21 Thread cpnguyen
Environment: Appfuse 2.0 Basic Tapestry Centos 5 Eclipse 3.2 Hello all, I have two tables which share a primary key as follows: patient_basic --- pid initials gender ... patient_phi -- pid lastname firstname midinitial ... I have managed to get Hibernate to generate the desired

Re: [appfuse-user] selenium run error

2007-06-21 Thread Matt Raible
You could try writing your tests in Java instead of HTML - that might make it easier to debug the problem. http://www.openqa.org/selenium-rc/java.html Matt On 6/21/07, ros <[EMAIL PROTECTED]> wrote: Hi! Just setup selenium tests to run as described http://raibledesigns.com/rd/entry/integrati

Re: [appfuse-user] DEBUG in RAD

2007-06-21 Thread Matt Raible
This may help: http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseDebug On 6/21/07, Ding, Qin <[EMAIL PROTECTED]> wrote: I use appfuse 1.9.4/JSF I imported the appfuse into IBM Rational Software Development Platform (RAD). I can run ant tasks within it. However, the ant task native2ascii tas

[appfuse-user] DEBUG in RAD

2007-06-21 Thread Ding, Qin
I use appfuse 1.9.4/JSF I imported the appfuse into IBM Rational Software Development Platform (RAD). I can run ant tasks within it. However, the ant task native2ascii task does not run successfully for the two Chinese property files with "conversion failed" error message. Does anyone know how

[appfuse-user] selenium run error

2007-06-21 Thread ros
Hi! Just setup selenium tests to run as described http://raibledesigns.com/rd/entry/integrating_selenium_with_maven_2. Cant find the reason why simple test failed with message: open/home.html clickAndWaitbutton_do Element button_do not found (in original application there is

AW: [appfuse-user] AppfuseAcegi.rar

2007-06-21 Thread Tobias Vogel
The rar is not corrupted, at least I can open it. Anyway, the version in it will not work with the current library versions and some minor modifications are nedded to get it working. Are you using Appfuse-1.9.x or AppFuse-2? I implemented ACLs on AppFuse-2 starting from this tutorial, but with

Re: [appfuse-user] AppfuseAcegi.rar

2007-06-21 Thread Matt Raible
Please understand that nothing is urgent on this mailing list. It may be urgent for you, but it's not urgent for anyone else - especially since we receive no reward for helping you. Simply adding "it's really urgent" probably hurts your changes of getting your question answered more than it helps

[appfuse-user] AppfuseAcegi.rar

2007-06-21 Thread ujjala
I am looking for the uncorrupted version of the rar file posted in the link, http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAcegiACL I keep on getting an exception after implementing the steps that domainInstance not supported I have gone through the posts which have mentioned a slotion for

Re: [appfuse-user] dojo in appfuse

2007-06-21 Thread Azarias Tomás
I moved /dojo/src to /webapp/src Now it works , But it has some display issues. AT Azarias Tomás wrote: > > > Now I am facing with this error : > > "Could not load 'dojo.widget.TabContainer'; last tried '__package__.js'" > > It seems that is not find other files on dojo folder. > > > >

[appfuse-user] Re: need help for decorators

2007-06-21 Thread Thinkboy
pretty easy in appfuse 1.x 1) create a new jsp(decorator) under /web/decorators/ (u may reference default.jsp as your template) e.g. minimum.jsp http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> <%@ include file="/common/taglibs.jsp"%> http://www.w3.org/1999/xhtml"; xml:lang="en"

Re: [appfuse-user] upgrade m4 to m5

2007-06-21 Thread tibi
getting there ... i fixed all tests (most problems where manager.save(obj) => obj=manager.save(obj) ) but now i have a problem with 1) the security. i had class="org.acegisecurity.intercept.web.FilterSecurityInterceptor"> PATTERN_TYPE_APAC

[appfuse-user] Using i18n for enums in Struts 2 s:select

2007-06-21 Thread sarat.pediredla
I have a s:select form element in my JSP that gets a list of enums to display in a drop down box. The following is my enum public enum Colour { WHITE, RED, BLACK; } The following is the action method that returns a List for my s:select public List getColourList() { return A

Re: [appfuse-user] upgrade m4 to m5

2007-06-21 Thread tibi
ok what happend was that with running mvn install eclipse:eclipse some tests failed and eclipse did not got updated. after running: mvn -Dmaven.test.skip=true clean install eclipse:eclipse all was fine... my error ;) tibi tibi wrote: next thing i found was that my eclipse was still pointing

Re: [appfuse-user] upgrade m4 to m5

2007-06-21 Thread Matt Raible
There's one way to find out - delete the 2.0.6 requirement from your pom.xml and see if everything runs. ;-) Matt On 6/21/07, tibi <[EMAIL PROTECTED]> wrote: hi, isn't it a prerequisite to have maven 2.0.6 for m5? thanks, tibi

Re: [appfuse-user] Parser Exception

2007-06-21 Thread smithla
mvn -U did the trick. I checked the repository and found that everything under org.maven.archetype was replaced/refreshed. I had already replaced my classpath in the current cmd window with ".", so I was fairly sure that it wasn't a classpath problem. To test that, I opened a second window, rera

Re: [appfuse-user] dojo in appfuse

2007-06-21 Thread Azarias Tomás
Now I am facing with this error : "Could not load 'dojo.widget.TabContainer'; last tried '__package__.js'" It seems that is not find other files on dojo folder. mraible wrote: > > You should be able to add Dojo to any web framework - you may need to > configure the staticFilter to exclude

Re: [appfuse-user] upgrade m4 to m5

2007-06-21 Thread tibi
next thing i found was that my eclipse was still pointing to the appfuse-struts-2.0-m4.warpath.jar and the appfuse-web-common-2.0-m4.warpath.jar tibi tibi wrote: hi, isn't it a prerequisite to have maven 2.0.6 for m5? thanks, tibi -

[appfuse-user] upgrade m4 to m5

2007-06-21 Thread tibi
hi, isn't it a prerequisite to have maven 2.0.6 for m5? thanks, tibi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] Redirect Action doesn't like in Struts 2 archetype

2007-06-21 Thread sarat.pediredla
Matt, Apologies about the maven n00b question but exclude what? struts.xml? How would I go about doing it? mraible wrote: > > The variable might be getting replaced as part of the build process. > Look at target/yourapp-version/WEB-INF/classes/struts.xml to see if > it's getting replaced at bu

Re: [appfuse-user] Redirect Action doesn't like in Struts 2 archetype

2007-06-21 Thread Matt Raible
The variable might be getting replaced as part of the build process. Look at target/yourapp-version/WEB-INF/classes/struts.xml to see if it's getting replaced at build time. If so, exclude it in your pom.xml in the resources section. Matt On 6/21/07, sarat.pediredla <[EMAIL PROTECTED]> wrote:

Re: [appfuse-user] dojo in appfuse

2007-06-21 Thread Matt Raible
You should be able to add Dojo to any web framework - you may need to configure the staticFilter to exclude /scripts/dojo/* (or wherever you put it), but that's about it. Matt On 6/21/07, Azarias Tomás <[EMAIL PROTECTED]> wrote: Is there a way to use AppFuse 2.0 M5 jsf with Dojo? Matt Ra

Re: [appfuse-user] Appfuse New user

2007-06-21 Thread Matt Raible
If you're using 1.9.x, you'll need to run "ant war" and then refresh your project in your IDE to run the tests. Matt On 6/21/07, nityan <[EMAIL PROTECTED]> wrote: If I run the PersonDAOTestCase as JUnit Test case from IDE, this is what I am getting: [appfuse] INFO [main] PersonDAOTest.loadCon

[appfuse-user] Redirect Action doesn't like in Struts 2 archetype

2007-06-21 Thread sarat.pediredla
I am using a redirect-action in my Appfuse 2.0 M5 app with Struts 2. Here is my struts.xml file list list edit true ${object.id} But when I execute this, the browser gets re-directed to a page li

[appfuse-user] JSF Ajax frameworks

2007-06-21 Thread Pavel Katsev
Dear Appfuse Users, I've spent a whole day + some night time in search of a JSF ajax framework which would play nicely with AppFuse: 1. jboss richfaces - multiple issues (read on jboss forums that there is a dependency on ajax4jsf version >= 1.1.0) [STUCK] 2. ajax4jsf - since 1.0

Re: [appfuse-user] dojo in appfuse

2007-06-21 Thread Azarias Tomás
Is there a way to use AppFuse 2.0 M5 jsf with Dojo? Matt Raible-3 wrote: > > Did you get this sorted out - I believe a solution was posted to another > thread. > > Matt > > On 1/31/07, misun chung <[EMAIL PROTECTED]> wrote: >> Matt, >> I tried the attached DojoFilter.java, and added fil

Re: [appfuse-user] Appfuse New user

2007-06-21 Thread nityan
If I run the PersonDAOTestCase as JUnit Test case from IDE, this is what I am getting: [appfuse] INFO [main] PersonDAOTest.loadContextLocations(119) | Loading config for: classpath*:/**/dao/applicationContext-*.xml,classpath*:META-INF/applicationContext-*.xml Michael Horwitz wrote: > > It all

Re: [appfuse-user] Appfuse New user

2007-06-21 Thread nityan
Can we not run the TestCase for eg. PersonDAOTestCase from the IDE as run as JUnit Test? Do we need to specify any configuration files? I could run from Command line. I want to try from IDE. Can you pls guide me on this? Michael Horwitz wrote: > > It all depends on your requirements. If you are