Re: [appfuse-user] Kindly help

2007-02-19 Thread VJ22
Hello Matt, I got this runningproblem was with the oracle thin driver not being properly registered in the maven repository... all working fine now.btw...the framework is absolutely awesome Thanks...VJ Matt Raible-3 wrote: > > You probably need to run "mvn dbunit:operation" to popul

Re: [appfuse-user] using delicious-java api

2007-02-19 Thread Matt Raible
This error is probably caused by the fact that delicious bundles a different version of HttpClient. You might try removing httpclient's JAR from AppFuse's classpath. Matt On 2/20/07, Dorothy Turner <[EMAIL PROTECTED]> wrote: I tried what you suggested and I get a new error... seems like it's

Re: [appfuse-user] using delicious-java api

2007-02-19 Thread Dorothy Turner
I tried what you suggested and I get a new error... seems like it's looking for org/apache/commons/httpclient/params/HttpClientParams although this class is part of the delicious.jar...so it's odd that it cannot be found. hmmm? Dorothy org.springframework.beans.factory.BeanCreationException:

Re: [appfuse-user] using delicious-java api

2007-02-19 Thread Matt Raible
Does this Delicious object take constructor args, like the username and password? If so, try: I believe the "index" attribute is zero-based, but I could be wrong. Matt On 2/19/07, Dorothy Turner <[EMAIL PROTECTED]> wrote: Hi Again - My

Re: [appfuse-user] using delicious-java api

2007-02-19 Thread Dorothy Turner
Hi Again - My mission is to connect to delicious using the delicious-java api and display links on a page within an appfuse app. With much help, i've managed to include the delicious java jar file into my lib folder, import the package into my classes and compile successfully. However, I sense

Re: [appfuse-user] Appfuse 2 tutorial for DaoTest

2007-02-19 Thread Matt Raible
If you run "mvn install" from the "core" module - this should fix this problem. Matt On 2/15/07, Tuncay A. <[EMAIL PROTECTED]> wrote: Using jsf-modular and having applicationContext.xml inside core/src/main/resources/ - it doesn't work. BasePageTestCase doesn't know about the applicationConte

Re: [appfuse-user] ASM, CIGLIB

2007-02-19 Thread Matt Raible
We use asm 1.5.3 in 2.x. You might try adding asm-attrs-1.5.3.jar and see if that helps? matt On 2/16/07, Ding, Qin <[EMAIL PROTECTED]> wrote: I use appfuse 1.9.4. I tried to use Spring AOP to do logging and email exception. The aplicationContext-logging.xml is like this:

Re: [appfuse-user] Kindly help

2007-02-19 Thread Matt Raible
You probably need to run "mvn dbunit:operation" to populate the database with sample data. Matt On 2/15/07, VJ22 <[EMAIL PROTECTED]> wrote: Hello Michael, As I said I do not have much expertise in Maven...so I did not want to follow that routeSo I just ran the wars goal on Maven to explod

Re: [appfuse-user] using delicious-java api

2007-02-19 Thread Dorothy Turner
adding the jar to properties.xml did the trick Thanks! On 2/19/07, Matt Raible <[EMAIL PROTECTED]> wrote: I'm guessing you're getting the error from Eclipse? If so, you should add it to your Java Build Path by right-clicking on your project and going to Properties. You'll need to modify prop

Re: [appfuse-user] AppFuse Integration-Test error

2007-02-19 Thread Matt Raible
It looks like the Tomcat download might have failed, or the starting of Tomcat. Do you have something running on port 8080? This may help if you want to use an existing version of Tomcat: http://appfuse.org/display/APF/FAQ#FAQ-useexistingtomcat Matt On 2/19/07, jv <[EMAIL PROTECTED]> wrote:

Re: [appfuse-user] Where to put JAR files?

2007-02-19 Thread Matt Raible
If you specify the dependency in your pom.xml, Maven should spit out the command you need to install the file in your local repository. More information is available from the install plugin: http://maven.apache.org/plugins/maven-install-plugin/ Hope this helps, Matt On 2/19/07, mstralka <[EMAI

Re: [appfuse-user] using delicious-java api

2007-02-19 Thread Matt Raible
I'm guessing you're getting the error from Eclipse? If so, you should add it to your Java Build Path by right-clicking on your project and going to Properties. You'll need to modify properties.xml if you want it in your classpath when building/testing with Ant. Matt On 2/19/07, Dorothy Turner

Re: [appfuse-user] POM Question

2007-02-19 Thread Matt Raible
This should work: mysql mysql-connector-java 5.0.4 I found this by searching mvnrepository.com for "mysql". Matt On 2/19/07, Scott Purcell <[EMAIL PROTECTED]> wrote: Hello, Over the weekend, I downloaded I believe 1.6 or 1.7 Equinox [ struts, hibernate, spring] combo. Anyway

Re: [appfuse-user] using delicious-java api

2007-02-19 Thread Dorothy Turner
Thanks for the tip. The jar is referenced in the lib.properties file and is definitely being deployed into the lib folder of the webapp. I've added the following to servlets.xml. My problem is that i don't know what to do next. How do I use the library? How do I import the classes? Do I need

Re: [appfuse-user] Modifying Simplicity Theme in Version 1.9.3

2007-02-19 Thread Matt Raible
Thanks for the great writeup Mike - I've added it to the CSS Framework's documentation page: http://appfuse.org/display/APF/CSS+Framework Matt On 2/19/07, christopherKwiatkowski <[EMAIL PROTECTED]> wrote: That Firebug Recommendation is going to be a life saver. Very slick app. Thanks for the

Re: [appfuse-user] Re: one-to-many problems, relationship not being saved

2007-02-19 Thread Matt Raible
As long as you're happy, we're happy too! ;-) Matt On 2/19/07, Dorothy Turner <[EMAIL PROTECTED]> wrote: I think I figured out a solutionI added comment.setCompetition( arch ) to the code below in my action class. Not sure if this is the best solution but it works and I'm happy. Comment

Re: [appfuse-user] using delicious-java api

2007-02-19 Thread dylan schleppe
Make sure you've added references to the external jar to lib.properties as well as build.xml for the proper targets. The pattern that the other libs use will work fine. On 2/19/07, Dorothy Turner <[EMAIL PROTECTED]> wrote: Does anyone have experience using the delicious-java api with appfuse fo

[appfuse-user] using delicious-java api

2007-02-19 Thread Dorothy Turner
Does anyone have experience using the delicious-java api with appfuse found here (http://sourceforge.net/projects/delicious-java/). I've added the jar to my lib following this guide on the wiki ( http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAddLibrary). The jar is being deployed into the l

[appfuse-user] Re: one-to-many problems, relationship not being saved

2007-02-19 Thread Dorothy Turner
I think I figured out a solutionI added comment.setCompetition( arch ) to the code below in my action class. Not sure if this is the best solution but it works and I'm happy. Comment comment = new Comment(); comment.setDate(valueDate); comment.setCopy(valueCopy); commen

Re: [appfuse-user] BaseObject Error

2007-02-19 Thread talldean
Shorter version; maybe create a section in the Eclipse guide for configuring existing installs of Eclipse to work with new installs of Maven, which (I'm guessing) might be a common case. Matt Raible-3 wrote: > > I'm curious - did you follow the Eclipse guide in the documentation? > > http://

Re: [appfuse-user] BaseObject Error

2007-02-19 Thread talldean
At the bottom of the QuickStart, I saw mvn install eclipse:eclipse, which seemed to do the majority of the work; I assumed it did *all* of it, and didn't move to the Eclipse guide, just moved onwards. Definitely my mistake on that one. The Eclipse guide shows how to install Eclipse from scratch,

Re: [appfuse-user] Modifying Simplicity Theme in Version 1.9.3

2007-02-19 Thread christopherKwiatkowski
That Firebug Recommendation is going to be a life saver. Very slick app. Thanks for the recommendations. I am going to give them a shot tomorrow. Michael Horwitz wrote: > > First off I would like to recommend you get FireFox with FireBug installed > if you don't have it alrady - it is a fan

Re: [appfuse-user] Modifying Simplicity Theme in Version 1.9.3

2007-02-19 Thread Michael Horwitz
First off I would like to recommend you get FireFox with FireBug installed if you don't have it alrady - it is a fantastic tool for debugging CSS. Just click on an element in the DOM view, and it will not only show you where that element is on the screen, but also how it is styled and, more import

[appfuse-user] POM Question

2007-02-19 Thread Scott Purcell
Hello, Over the weekend, I downloaded I believe 1.6 or 1.7 Equinox [ struts, hibernate, spring] combo. Anyway I was unable to get past the tests because the pom did not contain my mysql driver. It contains the postgres, but that isn't what I am running. When I look at the existing pom, I se

[appfuse-user] Where to put JAR files?

2007-02-19 Thread mstralka
I want to use Apache FOP 0.93 but it is not available yet in Maven. Where can I put the FOP jar files to have them available to my AppFuse-based project? I tried search for this first but the only answers I could find related to AppFuse 1.0. Thanks -- View this message in context: http://www

[appfuse-user] AppFuse Integration-Test error

2007-02-19 Thread jv
Hello, I following this QuickStart http://appfuse.org/display/APF/AppFuse+QuickStart But when I try to run the command >mvn integration-test I obtain the following exception C:\Development\test\wretail>mvn integration-test [INFO] Scanning for projects... [INFO] --

[appfuse-user] Modifying Simplicity Theme in Version 1.9.3

2007-02-19 Thread christopherKwiatkowski
Hello All, Let me start off by saying that I am not a CSS guru. What I am trying to do, I feel, shouldn't be too hard. All, I want to do is to move all of the text and forms that are being displayed all the way to the left of the browser window to make room for some long data lists that we are d

Re: [appfuse-user] maveen2 - exclude tests

2007-02-19 Thread Michael Horwitz
run mvn -Dmaven.test.skip=true package. Mike. On 2/19/07, ros <[EMAIL PROTECTED]> wrote: Hi! i do not want to run tests each time i run mvn package, what parameter should be passed to maven? Thanks. -- View this message in context: http://www.nabble.com/maveen2---exclude-tests-tf3254786s236

[appfuse-user] maveen2 - exclude tests

2007-02-19 Thread ros
Hi! i do not want to run tests each time i run mvn package, what parameter should be passed to maven? Thanks. -- View this message in context: http://www.nabble.com/maveen2---exclude-tests-tf3254786s2369.html#a9048326 Sent from the AppFuse - User mailing list archive at Nabble.com. -

Re: [appfuse-user] Displaytag functionality for thumbnails

2007-02-19 Thread ros
you can write img tag in displaytag column like this images/image.gif or you can check this one http://www.servletsuite.com/servlets/pubpic.htm hope, this helps. spurcell wrote: > > H

Re: [appfuse-user] One to many mapping question

2007-02-19 Thread 23455432
I figured this out. Thanks. Matt Raible-3 wrote: > > Did you get this solved? Have you tried writing a DaoTest that > verifies the behavior you're seeing? > > Matt > > On 2/10/07, 23455432 <[EMAIL PROTECTED]> wrote: >> >> I have a user object with whom i would like to relate multiple "per

[appfuse-user] Displaytag functionality for thumbnails

2007-02-19 Thread Scott Purcell
Hello, Just curious if anyone on this list knows if there is a solution already written for a simple need I have. I have a client who wants to display a "gallery" of thumbnails, possibly configurable number on a page, and a paginator to go from page to page. Something like Displaytag, but not f

Re: [appfuse-user] AppFuse 1.9.4 with Hibernate annotations.

2007-02-19 Thread Matt Raible
I don't know exactly how to do this because I haven't done it myself. For build.xml, my guess is you'd just need to remove the hibernatedoclet target and any references to it. As far as using annotations instead of Commons Validator - I don't believe that's possible with Struts 1.x. It is possib

Re: [appfuse-user] AppFuse 1.9.4 with Hibernate annotations.

2007-02-19 Thread Irshad Buchh
Thanks Matt for the reply. We have already done this bit. What changes do we have to put in the build.xml file? Just give us an idea of the ant targets that need to change? Also can we replace the struts validator xdoclet tags with java annotations. We will like to get rid of xdoclet tags and repl

Re: [appfuse-user] Simple Page Navigation

2007-02-19 Thread sionsmith
Awesome - cheers matt much appreciated!! Keep up the awesome work! Sion Matt Raible-3 wrote: > > You'll need to use an , as well as add a > to your faces-config.xml file. Here's an example > from mainMenu.xhtml: > > > > faces-config.xml: > > > /mainMenu.xhtml > >

Re: [appfuse-user] Web services in Struts

2007-02-19 Thread Matt Raible
AFAIK, it's not possible to re-use a Struts 1.x Action as a (SOAP-based) web service. I'd suggest moving your business logic into your middle-tier or googling around for a solution. If you're content with returning XML (REST-style) from your Action, you could probably do this with a new XML-based

[appfuse-user] Web services in Struts

2007-02-19 Thread jick
Hi , I am using appfuse 1.9.3. I'm trying to implement my web services logic in appfuse/src/services directory. I wand to Reuse the business logic from Struts Action which is exist in src/web/mypackage/action/MyAction.java How to resuse the action methods in web services. Advances thanx, jic

Re: [appfuse-user] Simple Page Navigation

2007-02-19 Thread Matt Raible
You'll need to use an , as well as add a to your faces-config.xml file. Here's an example from mainMenu.xhtml: faces-config.xml: /mainMenu.xhtml ajax4jsf /ajax4jsf.xhtml HTH, Matt On 2/19/07, sionsmith <[EMAIL PROTECTED]> wrote: hey

Re: [appfuse-user] AppFuse 1.9.4 with Hibernate annotations.

2007-02-19 Thread Matt Raible
You should be able to look at AppFuse 2.x's data/hibernate module to see what the new code will look like. Basically, you'll need to change your *.java model objects to use annotations and your sessionFactory to use AnnotationSessionFactoryBean. Matt On 2/19/07, Irshad Buchh <[EMAIL PROTECTED]>

Re: [appfuse-user] BaseObject Error

2007-02-19 Thread Matt Raible
I'm curious - did you follow the Eclipse guide in the documentation? http://appfuse.org/display/APF/Eclipse If not, is there something we can to do make this more prominent? Thanks, Matt On 2/19/07, talldean <[EMAIL PROTECTED]> wrote: Fixing my own problem, if anyone stumbles across the sam

Re: [appfuse-user] apfuse2+hibernate - GenericDaoHibernate getAll returns duplicate entities (users)

2007-02-19 Thread ros
I can do debug for "mvn jetty:run-exploded" but I'm not sure it works for mvn integration-test -Dtest=MyTest. I have exception that appears only in integration-test. So I put two breakpoints: one break point in TestAction:list and another in org.hibernate.type.EnumType at line 118. During tests

[appfuse-user] Simple Page Navigation

2007-02-19 Thread sionsmith
hey guys & girls - maybe i'm just being dumb but cant figure out how to link one .xhtml page to another. I'm using facelets & sitemesh heres an example helpMenu.xhtml : http://www.w3.org/1999/xhtml"; xmlns:c="http://java.sun.com/jstl/core"; xmlns:f="http://java.sun.com/jsf/core

[appfuse-user] one-to-many problems, relationship not being saved

2007-02-19 Thread Dorothy Turner
Hello - I have 3 pojos Arch, Feature and Comment. I have one-to-many relationships between Arch and Comment and Feature and Comment. Here is the xdoclet code from Arch (identical to setup in Feature) : /** * @hibernate.bag cascade="all" lazy="false" order-by="date" * @hibernate.col

[appfuse-user] AppFuse 1.9.4 with Hibernate annotations.

2007-02-19 Thread Irshad Buchh
Hi, We have a production application based on AppFuse 1.9.4. (Hibernate+Struts). We would like to replace the xdoclet tags in pojos with the annotations(Hibernate and Struts). Accordingly the ant targets (Hibernate Doclet etc.) would get changed. Can someone point us the optimal path to do this.

Re: [appfuse-user] BaseObject Error

2007-02-19 Thread Michael Horwitz
Getting Eclipse + Maven 2.x to work together is a two step process. This mini-guide explains the steps: http://maven.apache.org/plugins/maven-eclipse-plugin/usage.html 1) Add the maven repository variable (only needs to be run once for all projects). 2) Build the project files (run every time a